go_dreamfactory/pb/growtask_msg.pb.go
2023-10-17 13:54:53 +08:00

522 lines
16 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: growtask/growtask_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 GrowtaskListReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TaskType int32 `protobuf:"varint,1,opt,name=taskType,proto3" json:"taskType"` //任务类型1初级2中级3高级
}
func (x *GrowtaskListReq) Reset() {
*x = GrowtaskListReq{}
if protoimpl.UnsafeEnabled {
mi := &file_growtask_growtask_msg_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GrowtaskListReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GrowtaskListReq) ProtoMessage() {}
func (x *GrowtaskListReq) ProtoReflect() protoreflect.Message {
mi := &file_growtask_growtask_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 GrowtaskListReq.ProtoReflect.Descriptor instead.
func (*GrowtaskListReq) Descriptor() ([]byte, []int) {
return file_growtask_growtask_msg_proto_rawDescGZIP(), []int{0}
}
func (x *GrowtaskListReq) GetTaskType() int32 {
if x != nil {
return x.TaskType
}
return 0
}
type GrowtaskListResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TaskList []*Growtask `protobuf:"bytes,1,rep,name=taskList,proto3" json:"taskList"`
CurTaskType int32 `protobuf:"varint,2,opt,name=curTaskType,proto3" json:"curTaskType"` // 进行中的任务类型
AdvReceive int32 `protobuf:"varint,3,opt,name=advReceive,proto3" json:"advReceive"` //已领取的进阶奖励ID
CurTaskId int32 `protobuf:"varint,4,opt,name=curTaskId,proto3" json:"curTaskId"` // 当前未完成的任务ID
}
func (x *GrowtaskListResp) Reset() {
*x = GrowtaskListResp{}
if protoimpl.UnsafeEnabled {
mi := &file_growtask_growtask_msg_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GrowtaskListResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GrowtaskListResp) ProtoMessage() {}
func (x *GrowtaskListResp) ProtoReflect() protoreflect.Message {
mi := &file_growtask_growtask_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 GrowtaskListResp.ProtoReflect.Descriptor instead.
func (*GrowtaskListResp) Descriptor() ([]byte, []int) {
return file_growtask_growtask_msg_proto_rawDescGZIP(), []int{1}
}
func (x *GrowtaskListResp) GetTaskList() []*Growtask {
if x != nil {
return x.TaskList
}
return nil
}
func (x *GrowtaskListResp) GetCurTaskType() int32 {
if x != nil {
return x.CurTaskType
}
return 0
}
func (x *GrowtaskListResp) GetAdvReceive() int32 {
if x != nil {
return x.AdvReceive
}
return 0
}
func (x *GrowtaskListResp) GetCurTaskId() int32 {
if x != nil {
return x.CurTaskId
}
return 0
}
//子任务奖励领取
type GrowtaskReceiveReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TaskId int32 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId"` //子任务ID
}
func (x *GrowtaskReceiveReq) Reset() {
*x = GrowtaskReceiveReq{}
if protoimpl.UnsafeEnabled {
mi := &file_growtask_growtask_msg_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GrowtaskReceiveReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GrowtaskReceiveReq) ProtoMessage() {}
func (x *GrowtaskReceiveReq) ProtoReflect() protoreflect.Message {
mi := &file_growtask_growtask_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 GrowtaskReceiveReq.ProtoReflect.Descriptor instead.
func (*GrowtaskReceiveReq) Descriptor() ([]byte, []int) {
return file_growtask_growtask_msg_proto_rawDescGZIP(), []int{2}
}
func (x *GrowtaskReceiveReq) GetTaskId() int32 {
if x != nil {
return x.TaskId
}
return 0
}
type GrowtaskReceiveResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TaskId int32 `protobuf:"varint,1,opt,name=taskId,proto3" json:"taskId"`
Reward []*UserAtno `protobuf:"bytes,2,rep,name=reward,proto3" json:"reward"`
}
func (x *GrowtaskReceiveResp) Reset() {
*x = GrowtaskReceiveResp{}
if protoimpl.UnsafeEnabled {
mi := &file_growtask_growtask_msg_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GrowtaskReceiveResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GrowtaskReceiveResp) ProtoMessage() {}
func (x *GrowtaskReceiveResp) ProtoReflect() protoreflect.Message {
mi := &file_growtask_growtask_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 GrowtaskReceiveResp.ProtoReflect.Descriptor instead.
func (*GrowtaskReceiveResp) Descriptor() ([]byte, []int) {
return file_growtask_growtask_msg_proto_rawDescGZIP(), []int{3}
}
func (x *GrowtaskReceiveResp) GetTaskId() int32 {
if x != nil {
return x.TaskId
}
return 0
}
func (x *GrowtaskReceiveResp) GetReward() []*UserAtno {
if x != nil {
return x.Reward
}
return nil
}
//进阶奖励领取
type GrowtaskAdvReceiveReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TaskType int32 `protobuf:"varint,1,opt,name=taskType,proto3" json:"taskType"` //任务类型
}
func (x *GrowtaskAdvReceiveReq) Reset() {
*x = GrowtaskAdvReceiveReq{}
if protoimpl.UnsafeEnabled {
mi := &file_growtask_growtask_msg_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GrowtaskAdvReceiveReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GrowtaskAdvReceiveReq) ProtoMessage() {}
func (x *GrowtaskAdvReceiveReq) ProtoReflect() protoreflect.Message {
mi := &file_growtask_growtask_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 GrowtaskAdvReceiveReq.ProtoReflect.Descriptor instead.
func (*GrowtaskAdvReceiveReq) Descriptor() ([]byte, []int) {
return file_growtask_growtask_msg_proto_rawDescGZIP(), []int{4}
}
func (x *GrowtaskAdvReceiveReq) GetTaskType() int32 {
if x != nil {
return x.TaskType
}
return 0
}
type GrowtaskAdvReceiveResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
TaskType int32 `protobuf:"varint,1,opt,name=taskType,proto3" json:"taskType"`
Reward []*UserAtno `protobuf:"bytes,2,rep,name=reward,proto3" json:"reward"`
}
func (x *GrowtaskAdvReceiveResp) Reset() {
*x = GrowtaskAdvReceiveResp{}
if protoimpl.UnsafeEnabled {
mi := &file_growtask_growtask_msg_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GrowtaskAdvReceiveResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GrowtaskAdvReceiveResp) ProtoMessage() {}
func (x *GrowtaskAdvReceiveResp) ProtoReflect() protoreflect.Message {
mi := &file_growtask_growtask_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 GrowtaskAdvReceiveResp.ProtoReflect.Descriptor instead.
func (*GrowtaskAdvReceiveResp) Descriptor() ([]byte, []int) {
return file_growtask_growtask_msg_proto_rawDescGZIP(), []int{5}
}
func (x *GrowtaskAdvReceiveResp) GetTaskType() int32 {
if x != nil {
return x.TaskType
}
return 0
}
func (x *GrowtaskAdvReceiveResp) GetReward() []*UserAtno {
if x != nil {
return x.Reward
}
return nil
}
var File_growtask_growtask_msg_proto protoreflect.FileDescriptor
var file_growtask_growtask_msg_proto_rawDesc = []byte{
0x0a, 0x1b, 0x67, 0x72, 0x6f, 0x77, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x67, 0x72, 0x6f, 0x77, 0x74,
0x61, 0x73, 0x6b, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67,
0x72, 0x6f, 0x77, 0x74, 0x61, 0x73, 0x6b, 0x2f, 0x67, 0x72, 0x6f, 0x77, 0x74, 0x61, 0x73, 0x6b,
0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2d, 0x0a, 0x0f, 0x47, 0x72, 0x6f, 0x77, 0x74, 0x61, 0x73,
0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b,
0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b,
0x54, 0x79, 0x70, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x10, 0x47, 0x72, 0x6f, 0x77, 0x74, 0x61, 0x73,
0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x25, 0x0a, 0x08, 0x74, 0x61, 0x73,
0x6b, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x47, 0x72,
0x6f, 0x77, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x4c, 0x69, 0x73, 0x74,
0x12, 0x20, 0x0a, 0x0b, 0x63, 0x75, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x75, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x54, 0x79,
0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x64, 0x76, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x61, 0x64, 0x76, 0x52, 0x65, 0x63, 0x65, 0x69,
0x76, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x75, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18,
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x75, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64,
0x22, 0x2c, 0x0a, 0x12, 0x47, 0x72, 0x6f, 0x77, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x63, 0x65,
0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x22, 0x50,
0x0a, 0x13, 0x47, 0x72, 0x6f, 0x77, 0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76,
0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x21, 0x0a,
0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e,
0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64,
0x22, 0x33, 0x0a, 0x15, 0x47, 0x72, 0x6f, 0x77, 0x74, 0x61, 0x73, 0x6b, 0x41, 0x64, 0x76, 0x52,
0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x73,
0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, 0x61, 0x73,
0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0x57, 0x0a, 0x16, 0x47, 0x72, 0x6f, 0x77, 0x74, 0x61, 0x73,
0x6b, 0x41, 0x64, 0x76, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12,
0x1a, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x05, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x06, 0x72,
0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73,
0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06,
0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_growtask_growtask_msg_proto_rawDescOnce sync.Once
file_growtask_growtask_msg_proto_rawDescData = file_growtask_growtask_msg_proto_rawDesc
)
func file_growtask_growtask_msg_proto_rawDescGZIP() []byte {
file_growtask_growtask_msg_proto_rawDescOnce.Do(func() {
file_growtask_growtask_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_growtask_growtask_msg_proto_rawDescData)
})
return file_growtask_growtask_msg_proto_rawDescData
}
var file_growtask_growtask_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_growtask_growtask_msg_proto_goTypes = []interface{}{
(*GrowtaskListReq)(nil), // 0: GrowtaskListReq
(*GrowtaskListResp)(nil), // 1: GrowtaskListResp
(*GrowtaskReceiveReq)(nil), // 2: GrowtaskReceiveReq
(*GrowtaskReceiveResp)(nil), // 3: GrowtaskReceiveResp
(*GrowtaskAdvReceiveReq)(nil), // 4: GrowtaskAdvReceiveReq
(*GrowtaskAdvReceiveResp)(nil), // 5: GrowtaskAdvReceiveResp
(*Growtask)(nil), // 6: Growtask
(*UserAtno)(nil), // 7: UserAtno
}
var file_growtask_growtask_msg_proto_depIdxs = []int32{
6, // 0: GrowtaskListResp.taskList:type_name -> Growtask
7, // 1: GrowtaskReceiveResp.reward:type_name -> UserAtno
7, // 2: GrowtaskAdvReceiveResp.reward:type_name -> UserAtno
3, // [3:3] is the sub-list for method output_type
3, // [3:3] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_growtask_growtask_msg_proto_init() }
func file_growtask_growtask_msg_proto_init() {
if File_growtask_growtask_msg_proto != nil {
return
}
file_growtask_growtask_db_proto_init()
file_comm_proto_init()
if !protoimpl.UnsafeEnabled {
file_growtask_growtask_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GrowtaskListReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_growtask_growtask_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GrowtaskListResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_growtask_growtask_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GrowtaskReceiveReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_growtask_growtask_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GrowtaskReceiveResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_growtask_growtask_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GrowtaskAdvReceiveReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_growtask_growtask_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GrowtaskAdvReceiveResp); 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_growtask_growtask_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_growtask_growtask_msg_proto_goTypes,
DependencyIndexes: file_growtask_growtask_msg_proto_depIdxs,
MessageInfos: file_growtask_growtask_msg_proto_msgTypes,
}.Build()
File_growtask_growtask_msg_proto = out.File
file_growtask_growtask_msg_proto_rawDesc = nil
file_growtask_growtask_msg_proto_goTypes = nil
file_growtask_growtask_msg_proto_depIdxs = nil
}