// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: monkey/monkey_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 MonkeyGetListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *MonkeyGetListReq) Reset() { *x = MonkeyGetListReq{} if protoimpl.UnsafeEnabled { mi := &file_monkey_monkey_msg_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MonkeyGetListReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*MonkeyGetListReq) ProtoMessage() {} func (x *MonkeyGetListReq) ProtoReflect() protoreflect.Message { mi := &file_monkey_monkey_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 MonkeyGetListReq.ProtoReflect.Descriptor instead. func (*MonkeyGetListReq) Descriptor() ([]byte, []int) { return file_monkey_monkey_msg_proto_rawDescGZIP(), []int{0} } type MonkeyGetListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Data *DBMonkey `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` } func (x *MonkeyGetListResp) Reset() { *x = MonkeyGetListResp{} if protoimpl.UnsafeEnabled { mi := &file_monkey_monkey_msg_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MonkeyGetListResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*MonkeyGetListResp) ProtoMessage() {} func (x *MonkeyGetListResp) ProtoReflect() protoreflect.Message { mi := &file_monkey_monkey_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 MonkeyGetListResp.ProtoReflect.Descriptor instead. func (*MonkeyGetListResp) Descriptor() ([]byte, []int) { return file_monkey_monkey_msg_proto_rawDescGZIP(), []int{1} } func (x *MonkeyGetListResp) GetData() *DBMonkey { if x != nil { return x.Data } return nil } // 奖励领取 type MonkeyAwardReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ChapterId int32 `protobuf:"varint,1,opt,name=chapterId,proto3" json:"chapterId"` // 章节id Starnum int32 `protobuf:"varint,2,opt,name=starnum,proto3" json:"starnum"` // 奖励所对应的星星数量 } func (x *MonkeyAwardReq) Reset() { *x = MonkeyAwardReq{} if protoimpl.UnsafeEnabled { mi := &file_monkey_monkey_msg_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MonkeyAwardReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*MonkeyAwardReq) ProtoMessage() {} func (x *MonkeyAwardReq) ProtoReflect() protoreflect.Message { mi := &file_monkey_monkey_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 MonkeyAwardReq.ProtoReflect.Descriptor instead. func (*MonkeyAwardReq) Descriptor() ([]byte, []int) { return file_monkey_monkey_msg_proto_rawDescGZIP(), []int{2} } func (x *MonkeyAwardReq) GetChapterId() int32 { if x != nil { return x.ChapterId } return 0 } func (x *MonkeyAwardReq) GetStarnum() int32 { if x != nil { return x.Starnum } return 0 } type MonkeyAwardResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Data *DBMonkey `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` Award []*UserAtno `protobuf:"bytes,2,rep,name=award,proto3" json:"award"` //获取资源 } func (x *MonkeyAwardResp) Reset() { *x = MonkeyAwardResp{} if protoimpl.UnsafeEnabled { mi := &file_monkey_monkey_msg_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MonkeyAwardResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*MonkeyAwardResp) ProtoMessage() {} func (x *MonkeyAwardResp) ProtoReflect() protoreflect.Message { mi := &file_monkey_monkey_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 MonkeyAwardResp.ProtoReflect.Descriptor instead. func (*MonkeyAwardResp) Descriptor() ([]byte, []int) { return file_monkey_monkey_msg_proto_rawDescGZIP(), []int{3} } func (x *MonkeyAwardResp) GetData() *DBMonkey { if x != nil { return x.Data } return nil } func (x *MonkeyAwardResp) GetAward() []*UserAtno { if x != nil { return x.Award } return nil } // 更新关卡星级 type MonkeyUpdateStarReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Stage int32 `protobuf:"varint,1,opt,name=stage,proto3" json:"stage"` // 关卡ID Star int32 `protobuf:"varint,2,opt,name=star,proto3" json:"star"` // 星星数 } func (x *MonkeyUpdateStarReq) Reset() { *x = MonkeyUpdateStarReq{} if protoimpl.UnsafeEnabled { mi := &file_monkey_monkey_msg_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MonkeyUpdateStarReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*MonkeyUpdateStarReq) ProtoMessage() {} func (x *MonkeyUpdateStarReq) ProtoReflect() protoreflect.Message { mi := &file_monkey_monkey_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 MonkeyUpdateStarReq.ProtoReflect.Descriptor instead. func (*MonkeyUpdateStarReq) Descriptor() ([]byte, []int) { return file_monkey_monkey_msg_proto_rawDescGZIP(), []int{4} } func (x *MonkeyUpdateStarReq) GetStage() int32 { if x != nil { return x.Stage } return 0 } func (x *MonkeyUpdateStarReq) GetStar() int32 { if x != nil { return x.Star } return 0 } type MonkeyUpdateStarResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Data *DBMonkey `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` } func (x *MonkeyUpdateStarResp) Reset() { *x = MonkeyUpdateStarResp{} if protoimpl.UnsafeEnabled { mi := &file_monkey_monkey_msg_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *MonkeyUpdateStarResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*MonkeyUpdateStarResp) ProtoMessage() {} func (x *MonkeyUpdateStarResp) ProtoReflect() protoreflect.Message { mi := &file_monkey_monkey_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 MonkeyUpdateStarResp.ProtoReflect.Descriptor instead. func (*MonkeyUpdateStarResp) Descriptor() ([]byte, []int) { return file_monkey_monkey_msg_proto_rawDescGZIP(), []int{5} } func (x *MonkeyUpdateStarResp) GetData() *DBMonkey { if x != nil { return x.Data } return nil } var File_monkey_monkey_msg_proto protoreflect.FileDescriptor var file_monkey_monkey_msg_proto_rawDesc = []byte{ 0x0a, 0x17, 0x6d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x2f, 0x6d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x6d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x2f, 0x6d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x12, 0x0a, 0x10, 0x4d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x32, 0x0a, 0x11, 0x4d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x4d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x48, 0x0a, 0x0e, 0x4d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, 0x6e, 0x75, 0x6d, 0x22, 0x51, 0x0a, 0x0f, 0x4d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x4d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x22, 0x3f, 0x0a, 0x13, 0x4d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x74, 0x61, 0x72, 0x22, 0x35, 0x0a, 0x14, 0x4d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x4d, 0x6f, 0x6e, 0x6b, 0x65, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_monkey_monkey_msg_proto_rawDescOnce sync.Once file_monkey_monkey_msg_proto_rawDescData = file_monkey_monkey_msg_proto_rawDesc ) func file_monkey_monkey_msg_proto_rawDescGZIP() []byte { file_monkey_monkey_msg_proto_rawDescOnce.Do(func() { file_monkey_monkey_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_monkey_monkey_msg_proto_rawDescData) }) return file_monkey_monkey_msg_proto_rawDescData } var file_monkey_monkey_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 6) var file_monkey_monkey_msg_proto_goTypes = []interface{}{ (*MonkeyGetListReq)(nil), // 0: MonkeyGetListReq (*MonkeyGetListResp)(nil), // 1: MonkeyGetListResp (*MonkeyAwardReq)(nil), // 2: MonkeyAwardReq (*MonkeyAwardResp)(nil), // 3: MonkeyAwardResp (*MonkeyUpdateStarReq)(nil), // 4: MonkeyUpdateStarReq (*MonkeyUpdateStarResp)(nil), // 5: MonkeyUpdateStarResp (*DBMonkey)(nil), // 6: DBMonkey (*UserAtno)(nil), // 7: UserAtno } var file_monkey_monkey_msg_proto_depIdxs = []int32{ 6, // 0: MonkeyGetListResp.data:type_name -> DBMonkey 6, // 1: MonkeyAwardResp.data:type_name -> DBMonkey 7, // 2: MonkeyAwardResp.award:type_name -> UserAtno 6, // 3: MonkeyUpdateStarResp.data:type_name -> DBMonkey 4, // [4:4] is the sub-list for method output_type 4, // [4:4] is the sub-list for method input_type 4, // [4:4] is the sub-list for extension type_name 4, // [4:4] is the sub-list for extension extendee 0, // [0:4] is the sub-list for field type_name } func init() { file_monkey_monkey_msg_proto_init() } func file_monkey_monkey_msg_proto_init() { if File_monkey_monkey_msg_proto != nil { return } file_monkey_monkey_db_proto_init() file_comm_proto_init() if !protoimpl.UnsafeEnabled { file_monkey_monkey_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MonkeyGetListReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_monkey_monkey_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MonkeyGetListResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_monkey_monkey_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MonkeyAwardReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_monkey_monkey_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MonkeyAwardResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_monkey_monkey_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MonkeyUpdateStarReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_monkey_monkey_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*MonkeyUpdateStarResp); 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_monkey_monkey_msg_proto_rawDesc, NumEnums: 0, NumMessages: 6, NumExtensions: 0, NumServices: 0, }, GoTypes: file_monkey_monkey_msg_proto_goTypes, DependencyIndexes: file_monkey_monkey_msg_proto_depIdxs, MessageInfos: file_monkey_monkey_msg_proto_msgTypes, }.Build() File_monkey_monkey_msg_proto = out.File file_monkey_monkey_msg_proto_rawDesc = nil file_monkey_monkey_msg_proto_goTypes = nil file_monkey_monkey_msg_proto_depIdxs = nil }