go_dreamfactory/pb/weektask_msg.pb.go
2023-08-29 16:57:05 +08:00

529 lines
17 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: weektask/weektask_msg.proto
package pb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
//周常任务信息获取
type WeekTaskInfoReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *WeekTaskInfoReq) Reset() {
*x = WeekTaskInfoReq{}
if protoimpl.UnsafeEnabled {
mi := &file_weektask_weektask_msg_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WeekTaskInfoReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WeekTaskInfoReq) ProtoMessage() {}
func (x *WeekTaskInfoReq) ProtoReflect() protoreflect.Message {
mi := &file_weektask_weektask_msg_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WeekTaskInfoReq.ProtoReflect.Descriptor instead.
func (*WeekTaskInfoReq) Descriptor() ([]byte, []int) {
return file_weektask_weektask_msg_proto_rawDescGZIP(), []int{0}
}
//周常任务信息获取 回应
type WeekTaskInfoResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Info *DBWeektask `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` //周长任务
Progress []*ConIProgress `protobuf:"bytes,2,rep,name=progress,proto3" json:"progress"` //任务进度
}
func (x *WeekTaskInfoResp) Reset() {
*x = WeekTaskInfoResp{}
if protoimpl.UnsafeEnabled {
mi := &file_weektask_weektask_msg_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WeekTaskInfoResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WeekTaskInfoResp) ProtoMessage() {}
func (x *WeekTaskInfoResp) ProtoReflect() protoreflect.Message {
mi := &file_weektask_weektask_msg_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WeekTaskInfoResp.ProtoReflect.Descriptor instead.
func (*WeekTaskInfoResp) Descriptor() ([]byte, []int) {
return file_weektask_weektask_msg_proto_rawDescGZIP(), []int{1}
}
func (x *WeekTaskInfoResp) GetInfo() *DBWeektask {
if x != nil {
return x.Info
}
return nil
}
func (x *WeekTaskInfoResp) GetProgress() []*ConIProgress {
if x != nil {
return x.Progress
}
return nil
}
//周常任务 领奖请求
type WeekTaskReceiveReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Tid int32 `protobuf:"varint,1,opt,name=tid,proto3" json:"tid"` //任务id
}
func (x *WeekTaskReceiveReq) Reset() {
*x = WeekTaskReceiveReq{}
if protoimpl.UnsafeEnabled {
mi := &file_weektask_weektask_msg_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WeekTaskReceiveReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WeekTaskReceiveReq) ProtoMessage() {}
func (x *WeekTaskReceiveReq) ProtoReflect() protoreflect.Message {
mi := &file_weektask_weektask_msg_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WeekTaskReceiveReq.ProtoReflect.Descriptor instead.
func (*WeekTaskReceiveReq) Descriptor() ([]byte, []int) {
return file_weektask_weektask_msg_proto_rawDescGZIP(), []int{2}
}
func (x *WeekTaskReceiveReq) GetTid() int32 {
if x != nil {
return x.Tid
}
return 0
}
//周常任务 领奖请求 回应
type WeekTaskReceiveResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Tid int32 `protobuf:"varint,1,opt,name=tid,proto3" json:"tid"` //任务id
Activity int32 `protobuf:"varint,2,opt,name=activity,proto3" json:"activity"` //活跃度
Tasks []int32 `protobuf:"varint,3,rep,packed,name=tasks,proto3" json:"tasks"` //任务列表
Progress []*ConIProgress `protobuf:"bytes,4,rep,name=progress,proto3" json:"progress"` //任务进度
Award []*UserAssets `protobuf:"bytes,5,rep,name=award,proto3" json:"award"` //奖励
}
func (x *WeekTaskReceiveResp) Reset() {
*x = WeekTaskReceiveResp{}
if protoimpl.UnsafeEnabled {
mi := &file_weektask_weektask_msg_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WeekTaskReceiveResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WeekTaskReceiveResp) ProtoMessage() {}
func (x *WeekTaskReceiveResp) ProtoReflect() protoreflect.Message {
mi := &file_weektask_weektask_msg_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WeekTaskReceiveResp.ProtoReflect.Descriptor instead.
func (*WeekTaskReceiveResp) Descriptor() ([]byte, []int) {
return file_weektask_weektask_msg_proto_rawDescGZIP(), []int{3}
}
func (x *WeekTaskReceiveResp) GetTid() int32 {
if x != nil {
return x.Tid
}
return 0
}
func (x *WeekTaskReceiveResp) GetActivity() int32 {
if x != nil {
return x.Activity
}
return 0
}
func (x *WeekTaskReceiveResp) GetTasks() []int32 {
if x != nil {
return x.Tasks
}
return nil
}
func (x *WeekTaskReceiveResp) GetProgress() []*ConIProgress {
if x != nil {
return x.Progress
}
return nil
}
func (x *WeekTaskReceiveResp) GetAward() []*UserAssets {
if x != nil {
return x.Award
}
return nil
}
//周常任务 领奖请求
type WeekTaskActivityReceiveReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //活跃度奖励id
}
func (x *WeekTaskActivityReceiveReq) Reset() {
*x = WeekTaskActivityReceiveReq{}
if protoimpl.UnsafeEnabled {
mi := &file_weektask_weektask_msg_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WeekTaskActivityReceiveReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WeekTaskActivityReceiveReq) ProtoMessage() {}
func (x *WeekTaskActivityReceiveReq) ProtoReflect() protoreflect.Message {
mi := &file_weektask_weektask_msg_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WeekTaskActivityReceiveReq.ProtoReflect.Descriptor instead.
func (*WeekTaskActivityReceiveReq) Descriptor() ([]byte, []int) {
return file_weektask_weektask_msg_proto_rawDescGZIP(), []int{4}
}
func (x *WeekTaskActivityReceiveReq) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
//周常任务 领奖请求 回应
type WeekTaskActivityReceiveResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
Award []*UserAssets `protobuf:"bytes,2,rep,name=award,proto3" json:"award"` //奖励
}
func (x *WeekTaskActivityReceiveResp) Reset() {
*x = WeekTaskActivityReceiveResp{}
if protoimpl.UnsafeEnabled {
mi := &file_weektask_weektask_msg_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *WeekTaskActivityReceiveResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WeekTaskActivityReceiveResp) ProtoMessage() {}
func (x *WeekTaskActivityReceiveResp) ProtoReflect() protoreflect.Message {
mi := &file_weektask_weektask_msg_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WeekTaskActivityReceiveResp.ProtoReflect.Descriptor instead.
func (*WeekTaskActivityReceiveResp) Descriptor() ([]byte, []int) {
return file_weektask_weektask_msg_proto_rawDescGZIP(), []int{5}
}
func (x *WeekTaskActivityReceiveResp) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *WeekTaskActivityReceiveResp) GetAward() []*UserAssets {
if x != nil {
return x.Award
}
return nil
}
var File_weektask_weektask_msg_proto protoreflect.FileDescriptor
var file_weektask_weektask_msg_proto_rawDesc = []byte{
0x0a, 0x1b, 0x77, 0x65, 0x65, 0x6b, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x77, 0x65, 0x65, 0x6b, 0x74,
0x61, 0x73, 0x6b, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x77,
0x65, 0x65, 0x6b, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x77, 0x65, 0x65, 0x6b, 0x74, 0x61, 0x73, 0x6b,
0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x75, 0x72, 0x69, 0x65,
0x64, 0x2f, 0x62, 0x75, 0x72, 0x69, 0x65, 0x64, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x11, 0x0a,
0x0f, 0x57, 0x65, 0x65, 0x6b, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71,
0x22, 0x5e, 0x0a, 0x10, 0x57, 0x65, 0x65, 0x6b, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f,
0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x57, 0x65, 0x65, 0x6b, 0x74, 0x61, 0x73, 0x6b, 0x52,
0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x29, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e, 0x49, 0x50, 0x72,
0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73,
0x22, 0x26, 0x0a, 0x12, 0x57, 0x65, 0x65, 0x6b, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x63, 0x65,
0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x22, 0xa7, 0x01, 0x0a, 0x13, 0x57, 0x65, 0x65,
0x6b, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70,
0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74,
0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x18, 0x02,
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x14,
0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x74,
0x61, 0x73, 0x6b, 0x73, 0x12, 0x29, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73,
0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e, 0x49, 0x50, 0x72, 0x6f,
0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12,
0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77, 0x61,
0x72, 0x64, 0x22, 0x2c, 0x0a, 0x1a, 0x57, 0x65, 0x65, 0x6b, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63,
0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71,
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64,
0x22, 0x50, 0x0a, 0x1b, 0x57, 0x65, 0x65, 0x6b, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x74, 0x69,
0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12,
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12,
0x21, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77, 0x61,
0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var (
file_weektask_weektask_msg_proto_rawDescOnce sync.Once
file_weektask_weektask_msg_proto_rawDescData = file_weektask_weektask_msg_proto_rawDesc
)
func file_weektask_weektask_msg_proto_rawDescGZIP() []byte {
file_weektask_weektask_msg_proto_rawDescOnce.Do(func() {
file_weektask_weektask_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_weektask_weektask_msg_proto_rawDescData)
})
return file_weektask_weektask_msg_proto_rawDescData
}
var file_weektask_weektask_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_weektask_weektask_msg_proto_goTypes = []interface{}{
(*WeekTaskInfoReq)(nil), // 0: WeekTaskInfoReq
(*WeekTaskInfoResp)(nil), // 1: WeekTaskInfoResp
(*WeekTaskReceiveReq)(nil), // 2: WeekTaskReceiveReq
(*WeekTaskReceiveResp)(nil), // 3: WeekTaskReceiveResp
(*WeekTaskActivityReceiveReq)(nil), // 4: WeekTaskActivityReceiveReq
(*WeekTaskActivityReceiveResp)(nil), // 5: WeekTaskActivityReceiveResp
(*DBWeektask)(nil), // 6: DBWeektask
(*ConIProgress)(nil), // 7: ConIProgress
(*UserAssets)(nil), // 8: UserAssets
}
var file_weektask_weektask_msg_proto_depIdxs = []int32{
6, // 0: WeekTaskInfoResp.info:type_name -> DBWeektask
7, // 1: WeekTaskInfoResp.progress:type_name -> ConIProgress
7, // 2: WeekTaskReceiveResp.progress:type_name -> ConIProgress
8, // 3: WeekTaskReceiveResp.award:type_name -> UserAssets
8, // 4: WeekTaskActivityReceiveResp.award:type_name -> UserAssets
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_weektask_weektask_msg_proto_init() }
func file_weektask_weektask_msg_proto_init() {
if File_weektask_weektask_msg_proto != nil {
return
}
file_weektask_weektask_db_proto_init()
file_buried_buried_db_proto_init()
file_comm_proto_init()
if !protoimpl.UnsafeEnabled {
file_weektask_weektask_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WeekTaskInfoReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_weektask_weektask_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WeekTaskInfoResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_weektask_weektask_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WeekTaskReceiveReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_weektask_weektask_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WeekTaskReceiveResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_weektask_weektask_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WeekTaskActivityReceiveReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_weektask_weektask_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*WeekTaskActivityReceiveResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_weektask_weektask_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_weektask_weektask_msg_proto_goTypes,
DependencyIndexes: file_weektask_weektask_msg_proto_depIdxs,
MessageInfos: file_weektask_weektask_msg_proto_msgTypes,
}.Build()
File_weektask_weektask_msg_proto = out.File
file_weektask_weektask_msg_proto_rawDesc = nil
file_weektask_weektask_msg_proto_goTypes = nil
file_weektask_weektask_msg_proto_depIdxs = nil
}