// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: dragon/dragon_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 DragonGetListReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *DragonGetListReq) Reset() { *x = DragonGetListReq{} if protoimpl.UnsafeEnabled { mi := &file_dragon_dragon_msg_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DragonGetListReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*DragonGetListReq) ProtoMessage() {} func (x *DragonGetListReq) ProtoReflect() protoreflect.Message { mi := &file_dragon_dragon_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 DragonGetListReq.ProtoReflect.Descriptor instead. func (*DragonGetListReq) Descriptor() ([]byte, []int) { return file_dragon_dragon_msg_proto_rawDescGZIP(), []int{0} } type DragonGetListResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Dragons []*DBDragon `protobuf:"bytes,1,rep,name=dragons,proto3" json:"dragons"` } func (x *DragonGetListResp) Reset() { *x = DragonGetListResp{} if protoimpl.UnsafeEnabled { mi := &file_dragon_dragon_msg_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DragonGetListResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*DragonGetListResp) ProtoMessage() {} func (x *DragonGetListResp) ProtoReflect() protoreflect.Message { mi := &file_dragon_dragon_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 DragonGetListResp.ProtoReflect.Descriptor instead. func (*DragonGetListResp) Descriptor() ([]byte, []int) { return file_dragon_dragon_msg_proto_rawDescGZIP(), []int{1} } func (x *DragonGetListResp) GetDragons() []*DBDragon { if x != nil { return x.Dragons } return nil } // 训练 type DragonTrainReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid"` Ttype int32 `protobuf:"varint,2,opt,name=ttype,proto3" json:"ttype"` // 训练类型 } func (x *DragonTrainReq) Reset() { *x = DragonTrainReq{} if protoimpl.UnsafeEnabled { mi := &file_dragon_dragon_msg_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DragonTrainReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*DragonTrainReq) ProtoMessage() {} func (x *DragonTrainReq) ProtoReflect() protoreflect.Message { mi := &file_dragon_dragon_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 DragonTrainReq.ProtoReflect.Descriptor instead. func (*DragonTrainReq) Descriptor() ([]byte, []int) { return file_dragon_dragon_msg_proto_rawDescGZIP(), []int{2} } func (x *DragonTrainReq) GetOid() string { if x != nil { return x.Oid } return "" } func (x *DragonTrainReq) GetTtype() int32 { if x != nil { return x.Ttype } return 0 } // 训练结果 type DragonTrainResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Dragons *DBDragon `protobuf:"bytes,1,opt,name=dragons,proto3" json:"dragons"` Reward []*UserAtno `protobuf:"bytes,2,rep,name=reward,proto3" json:"reward"` // 升级奖励 } func (x *DragonTrainResp) Reset() { *x = DragonTrainResp{} if protoimpl.UnsafeEnabled { mi := &file_dragon_dragon_msg_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DragonTrainResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*DragonTrainResp) ProtoMessage() {} func (x *DragonTrainResp) ProtoReflect() protoreflect.Message { mi := &file_dragon_dragon_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 DragonTrainResp.ProtoReflect.Descriptor instead. func (*DragonTrainResp) Descriptor() ([]byte, []int) { return file_dragon_dragon_msg_proto_rawDescGZIP(), []int{3} } func (x *DragonTrainResp) GetDragons() *DBDragon { if x != nil { return x.Dragons } return nil } func (x *DragonTrainResp) GetReward() []*UserAtno { if x != nil { return x.Reward } return nil } // 坐骑变化推送 type DragonChangePush struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Dragons []*DBDragon `protobuf:"bytes,1,rep,name=dragons,proto3" json:"dragons"` } func (x *DragonChangePush) Reset() { *x = DragonChangePush{} if protoimpl.UnsafeEnabled { mi := &file_dragon_dragon_msg_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DragonChangePush) String() string { return protoimpl.X.MessageStringOf(x) } func (*DragonChangePush) ProtoMessage() {} func (x *DragonChangePush) ProtoReflect() protoreflect.Message { mi := &file_dragon_dragon_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 DragonChangePush.ProtoReflect.Descriptor instead. func (*DragonChangePush) Descriptor() ([]byte, []int) { return file_dragon_dragon_msg_proto_rawDescGZIP(), []int{4} } func (x *DragonChangePush) GetDragons() []*DBDragon { if x != nil { return x.Dragons } return nil } type DragonLvItemReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Oid string `protobuf:"bytes,1,opt,name=oid,proto3" json:"oid"` Attribute string `protobuf:"bytes,2,opt,name=attribute,proto3" json:"attribute"` // 属性类型 } func (x *DragonLvItemReq) Reset() { *x = DragonLvItemReq{} if protoimpl.UnsafeEnabled { mi := &file_dragon_dragon_msg_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DragonLvItemReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*DragonLvItemReq) ProtoMessage() {} func (x *DragonLvItemReq) ProtoReflect() protoreflect.Message { mi := &file_dragon_dragon_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 DragonLvItemReq.ProtoReflect.Descriptor instead. func (*DragonLvItemReq) Descriptor() ([]byte, []int) { return file_dragon_dragon_msg_proto_rawDescGZIP(), []int{5} } func (x *DragonLvItemReq) GetOid() string { if x != nil { return x.Oid } return "" } func (x *DragonLvItemReq) GetAttribute() string { if x != nil { return x.Attribute } return "" } // 训练结果 type DragonLvItemResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Dragons *DBDragon `protobuf:"bytes,1,opt,name=dragons,proto3" json:"dragons"` } func (x *DragonLvItemResp) Reset() { *x = DragonLvItemResp{} if protoimpl.UnsafeEnabled { mi := &file_dragon_dragon_msg_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DragonLvItemResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*DragonLvItemResp) ProtoMessage() {} func (x *DragonLvItemResp) ProtoReflect() protoreflect.Message { mi := &file_dragon_dragon_msg_proto_msgTypes[6] 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 DragonLvItemResp.ProtoReflect.Descriptor instead. func (*DragonLvItemResp) Descriptor() ([]byte, []int) { return file_dragon_dragon_msg_proto_rawDescGZIP(), []int{6} } func (x *DragonLvItemResp) GetDragons() *DBDragon { if x != nil { return x.Dragons } return nil } var File_dragon_dragon_msg_proto protoreflect.FileDescriptor var file_dragon_dragon_msg_proto_rawDesc = []byte{ 0x0a, 0x17, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x2f, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x2f, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 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, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x38, 0x0a, 0x11, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x07, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x52, 0x07, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x73, 0x22, 0x38, 0x0a, 0x0e, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x74, 0x79, 0x70, 0x65, 0x22, 0x59, 0x0a, 0x0f, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x54, 0x72, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x07, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x52, 0x07, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x73, 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, 0x37, 0x0a, 0x10, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x23, 0x0a, 0x07, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x52, 0x07, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x73, 0x22, 0x41, 0x0a, 0x0f, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x4c, 0x76, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x22, 0x37, 0x0a, 0x10, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x4c, 0x76, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x23, 0x0a, 0x07, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x44, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x52, 0x07, 0x64, 0x72, 0x61, 0x67, 0x6f, 0x6e, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_dragon_dragon_msg_proto_rawDescOnce sync.Once file_dragon_dragon_msg_proto_rawDescData = file_dragon_dragon_msg_proto_rawDesc ) func file_dragon_dragon_msg_proto_rawDescGZIP() []byte { file_dragon_dragon_msg_proto_rawDescOnce.Do(func() { file_dragon_dragon_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_dragon_dragon_msg_proto_rawDescData) }) return file_dragon_dragon_msg_proto_rawDescData } var file_dragon_dragon_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 7) var file_dragon_dragon_msg_proto_goTypes = []interface{}{ (*DragonGetListReq)(nil), // 0: DragonGetListReq (*DragonGetListResp)(nil), // 1: DragonGetListResp (*DragonTrainReq)(nil), // 2: DragonTrainReq (*DragonTrainResp)(nil), // 3: DragonTrainResp (*DragonChangePush)(nil), // 4: DragonChangePush (*DragonLvItemReq)(nil), // 5: DragonLvItemReq (*DragonLvItemResp)(nil), // 6: DragonLvItemResp (*DBDragon)(nil), // 7: DBDragon (*UserAtno)(nil), // 8: UserAtno } var file_dragon_dragon_msg_proto_depIdxs = []int32{ 7, // 0: DragonGetListResp.dragons:type_name -> DBDragon 7, // 1: DragonTrainResp.dragons:type_name -> DBDragon 8, // 2: DragonTrainResp.reward:type_name -> UserAtno 7, // 3: DragonChangePush.dragons:type_name -> DBDragon 7, // 4: DragonLvItemResp.dragons:type_name -> DBDragon 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_dragon_dragon_msg_proto_init() } func file_dragon_dragon_msg_proto_init() { if File_dragon_dragon_msg_proto != nil { return } file_dragon_dragon_db_proto_init() file_comm_proto_init() if !protoimpl.UnsafeEnabled { file_dragon_dragon_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DragonGetListReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dragon_dragon_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DragonGetListResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dragon_dragon_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DragonTrainReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dragon_dragon_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DragonTrainResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dragon_dragon_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DragonChangePush); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dragon_dragon_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DragonLvItemReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_dragon_dragon_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DragonLvItemResp); 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_dragon_dragon_msg_proto_rawDesc, NumEnums: 0, NumMessages: 7, NumExtensions: 0, NumServices: 0, }, GoTypes: file_dragon_dragon_msg_proto_goTypes, DependencyIndexes: file_dragon_dragon_msg_proto_depIdxs, MessageInfos: file_dragon_dragon_msg_proto_msgTypes, }.Build() File_dragon_dragon_msg_proto = out.File file_dragon_dragon_msg_proto_rawDesc = nil file_dragon_dragon_msg_proto_goTypes = nil file_dragon_dragon_msg_proto_depIdxs = nil }