// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.8.0 // source: game.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) ) //ResponseCmd HeartRsp type HeartReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` } func (x *HeartReq) Reset() { *x = HeartReq{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *HeartReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*HeartReq) ProtoMessage() {} func (x *HeartReq) ProtoReflect() protoreflect.Message { mi := &file_game_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 HeartReq.ProtoReflect.Descriptor instead. func (*HeartReq) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{0} } func (x *HeartReq) GetCode() int64 { if x != nil { return x.Code } return 0 } type HeartRsp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` } func (x *HeartRsp) Reset() { *x = HeartRsp{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *HeartRsp) String() string { return protoimpl.X.MessageStringOf(x) } func (*HeartRsp) ProtoMessage() {} func (x *HeartRsp) ProtoReflect() protoreflect.Message { mi := &file_game_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 HeartRsp.ProtoReflect.Descriptor instead. func (*HeartRsp) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{1} } func (x *HeartRsp) GetCode() int64 { if x != nil { return x.Code } return 0 } //ResponseCmd RoleRsp type LoginReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Device string `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` } func (x *LoginReq) Reset() { *x = LoginReq{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LoginReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*LoginReq) ProtoMessage() {} func (x *LoginReq) ProtoReflect() protoreflect.Message { mi := &file_game_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 LoginReq.ProtoReflect.Descriptor instead. func (*LoginReq) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{2} } func (x *LoginReq) GetToken() string { if x != nil { return x.Token } return "" } func (x *LoginReq) GetDevice() string { if x != nil { return x.Device } return "" } //ResponseCmd CreateReq type CreateReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Device string `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` } func (x *CreateReq) Reset() { *x = CreateReq{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateReq) ProtoMessage() {} func (x *CreateReq) ProtoReflect() protoreflect.Message { mi := &file_game_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 CreateReq.ProtoReflect.Descriptor instead. func (*CreateReq) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{3} } func (x *CreateReq) GetToken() string { if x != nil { return x.Token } return "" } func (x *CreateReq) GetDevice() string { if x != nil { return x.Device } return "" } type DisConnectRsp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *DisConnectRsp) Reset() { *x = DisConnectRsp{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DisConnectRsp) String() string { return protoimpl.X.MessageStringOf(x) } func (*DisConnectRsp) ProtoMessage() {} func (x *DisConnectRsp) ProtoReflect() protoreflect.Message { mi := &file_game_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 DisConnectRsp.ProtoReflect.Descriptor instead. func (*DisConnectRsp) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{4} } //ResponseCmd ChangeTeamReq type ChangeTeamReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Team []*Team `protobuf:"bytes,1,rep,name=team,proto3" json:"team,omitempty"` } func (x *ChangeTeamReq) Reset() { *x = ChangeTeamReq{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ChangeTeamReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*ChangeTeamReq) ProtoMessage() {} func (x *ChangeTeamReq) ProtoReflect() protoreflect.Message { mi := &file_game_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 ChangeTeamReq.ProtoReflect.Descriptor instead. func (*ChangeTeamReq) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{5} } func (x *ChangeTeamReq) GetTeam() []*Team { if x != nil { return x.Team } return nil } type EquipInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields EquipId string `protobuf:"bytes,1,opt,name=equipId,proto3" json:"equipId,omitempty"` Pos int32 `protobuf:"varint,2,opt,name=pos,proto3" json:"pos,omitempty"` } func (x *EquipInfo) Reset() { *x = EquipInfo{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EquipInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*EquipInfo) ProtoMessage() {} func (x *EquipInfo) ProtoReflect() protoreflect.Message { mi := &file_game_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 EquipInfo.ProtoReflect.Descriptor instead. func (*EquipInfo) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{6} } func (x *EquipInfo) GetEquipId() string { if x != nil { return x.EquipId } return "" } func (x *EquipInfo) GetPos() int32 { if x != nil { return x.Pos } return 0 } //ResponseCmd HeroEquipReferReq type HeroEquipReferReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields EquipIds []*EquipInfo `protobuf:"bytes,1,rep,name=equipIds,proto3" json:"equipIds,omitempty"` HeroId string `protobuf:"bytes,2,opt,name=hero_id,json=heroId,proto3" json:"hero_id,omitempty"` Refer bool `protobuf:"varint,3,opt,name=refer,proto3" json:"refer,omitempty"` //true 穿戴, false 脱下 } func (x *HeroEquipReferReq) Reset() { *x = HeroEquipReferReq{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *HeroEquipReferReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*HeroEquipReferReq) ProtoMessage() {} func (x *HeroEquipReferReq) ProtoReflect() protoreflect.Message { mi := &file_game_proto_msgTypes[7] 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 HeroEquipReferReq.ProtoReflect.Descriptor instead. func (*HeroEquipReferReq) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{7} } func (x *HeroEquipReferReq) GetEquipIds() []*EquipInfo { if x != nil { return x.EquipIds } return nil } func (x *HeroEquipReferReq) GetHeroId() string { if x != nil { return x.HeroId } return "" } func (x *HeroEquipReferReq) GetRefer() bool { if x != nil { return x.Refer } return false } type RoleRsp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Role *Role `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` Hero []*Hero `protobuf:"bytes,3,rep,name=hero,proto3" json:"hero,omitempty"` Team []*Team `protobuf:"bytes,4,rep,name=team,proto3" json:"team,omitempty"` Equipments []*Equipment `protobuf:"bytes,5,rep,name=equipments,proto3" json:"equipments,omitempty"` } func (x *RoleRsp) Reset() { *x = RoleRsp{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RoleRsp) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoleRsp) ProtoMessage() {} func (x *RoleRsp) ProtoReflect() protoreflect.Message { mi := &file_game_proto_msgTypes[8] 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 RoleRsp.ProtoReflect.Descriptor instead. func (*RoleRsp) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{8} } func (x *RoleRsp) GetRole() *Role { if x != nil { return x.Role } return nil } func (x *RoleRsp) GetHero() []*Hero { if x != nil { return x.Hero } return nil } func (x *RoleRsp) GetTeam() []*Team { if x != nil { return x.Team } return nil } func (x *RoleRsp) GetEquipments() []*Equipment { if x != nil { return x.Equipments } return nil } //ResponseCmd RoleUpdatePropertyRsp type RoleUpdatePropertyRsp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id []int32 `protobuf:"varint,1,rep,packed,name=id,proto3" json:"id,omitempty"` Role *Role `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` } func (x *RoleUpdatePropertyRsp) Reset() { *x = RoleUpdatePropertyRsp{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RoleUpdatePropertyRsp) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoleUpdatePropertyRsp) ProtoMessage() {} func (x *RoleUpdatePropertyRsp) ProtoReflect() protoreflect.Message { mi := &file_game_proto_msgTypes[9] 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 RoleUpdatePropertyRsp.ProtoReflect.Descriptor instead. func (*RoleUpdatePropertyRsp) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{9} } func (x *RoleUpdatePropertyRsp) GetId() []int32 { if x != nil { return x.Id } return nil } func (x *RoleUpdatePropertyRsp) GetRole() *Role { if x != nil { return x.Role } return nil } //ResponseCmd RoleUpdateItemsRsp type RoleUpdateItemsRsp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Items string `protobuf:"bytes,1,opt,name=items,proto3" json:"items,omitempty"` } func (x *RoleUpdateItemsRsp) Reset() { *x = RoleUpdateItemsRsp{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RoleUpdateItemsRsp) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoleUpdateItemsRsp) ProtoMessage() {} func (x *RoleUpdateItemsRsp) ProtoReflect() protoreflect.Message { mi := &file_game_proto_msgTypes[10] 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 RoleUpdateItemsRsp.ProtoReflect.Descriptor instead. func (*RoleUpdateItemsRsp) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{10} } func (x *RoleUpdateItemsRsp) GetItems() string { if x != nil { return x.Items } return "" } //ResponseCmd RoleClearItemsReq type RoleClearItemsReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Items []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *RoleClearItemsReq) Reset() { *x = RoleClearItemsReq{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RoleClearItemsReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoleClearItemsReq) ProtoMessage() {} func (x *RoleClearItemsReq) ProtoReflect() protoreflect.Message { mi := &file_game_proto_msgTypes[11] 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 RoleClearItemsReq.ProtoReflect.Descriptor instead. func (*RoleClearItemsReq) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{11} } func (x *RoleClearItemsReq) GetItems() []string { if x != nil { return x.Items } return nil } type RoleStartBattleReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ChapterId int32 `protobuf:"varint,1,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` CarbonId int32 `protobuf:"varint,2,opt,name=carbon_id,json=carbonId,proto3" json:"carbon_id,omitempty"` } func (x *RoleStartBattleReq) Reset() { *x = RoleStartBattleReq{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RoleStartBattleReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoleStartBattleReq) ProtoMessage() {} func (x *RoleStartBattleReq) ProtoReflect() protoreflect.Message { mi := &file_game_proto_msgTypes[12] 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 RoleStartBattleReq.ProtoReflect.Descriptor instead. func (*RoleStartBattleReq) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{12} } func (x *RoleStartBattleReq) GetChapterId() int32 { if x != nil { return x.ChapterId } return 0 } func (x *RoleStartBattleReq) GetCarbonId() int32 { if x != nil { return x.CarbonId } return 0 } //ResponseCmd RoleEndBattleRsp type RoleEndBattleReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields ChapterId int32 `protobuf:"varint,1,opt,name=chapter_id,json=chapterId,proto3" json:"chapter_id,omitempty"` CarbonId int32 `protobuf:"varint,2,opt,name=carbon_id,json=carbonId,proto3" json:"carbon_id,omitempty"` Pass bool `protobuf:"varint,3,opt,name=pass,proto3" json:"pass,omitempty"` TeamId string `protobuf:"bytes,4,opt,name=team_id,json=teamId,proto3" json:"team_id,omitempty"` } func (x *RoleEndBattleReq) Reset() { *x = RoleEndBattleReq{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RoleEndBattleReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoleEndBattleReq) ProtoMessage() {} func (x *RoleEndBattleReq) ProtoReflect() protoreflect.Message { mi := &file_game_proto_msgTypes[13] 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 RoleEndBattleReq.ProtoReflect.Descriptor instead. func (*RoleEndBattleReq) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{13} } func (x *RoleEndBattleReq) GetChapterId() int32 { if x != nil { return x.ChapterId } return 0 } func (x *RoleEndBattleReq) GetCarbonId() int32 { if x != nil { return x.CarbonId } return 0 } func (x *RoleEndBattleReq) GetPass() bool { if x != nil { return x.Pass } return false } func (x *RoleEndBattleReq) GetTeamId() string { if x != nil { return x.TeamId } return "" } //ResponseCmd RoleEndBattleRsp type RoleEndBattleRsp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields RoleLevel int32 `protobuf:"varint,1,opt,name=role_level,json=roleLevel,proto3" json:"role_level,omitempty"` RoleExp int32 `protobuf:"varint,2,opt,name=role_exp,json=roleExp,proto3" json:"role_exp,omitempty"` RoleExpamount int32 `protobuf:"varint,3,opt,name=role_expamount,json=roleExpamount,proto3" json:"role_expamount,omitempty"` Reward string `protobuf:"bytes,4,opt,name=reward,proto3" json:"reward,omitempty"` Pass bool `protobuf:"varint,5,opt,name=pass,proto3" json:"pass,omitempty"` Hero []*Hero `protobuf:"bytes,6,rep,name=hero,proto3" json:"hero,omitempty"` } func (x *RoleEndBattleRsp) Reset() { *x = RoleEndBattleRsp{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RoleEndBattleRsp) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoleEndBattleRsp) ProtoMessage() {} func (x *RoleEndBattleRsp) ProtoReflect() protoreflect.Message { mi := &file_game_proto_msgTypes[14] 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 RoleEndBattleRsp.ProtoReflect.Descriptor instead. func (*RoleEndBattleRsp) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{14} } func (x *RoleEndBattleRsp) GetRoleLevel() int32 { if x != nil { return x.RoleLevel } return 0 } func (x *RoleEndBattleRsp) GetRoleExp() int32 { if x != nil { return x.RoleExp } return 0 } func (x *RoleEndBattleRsp) GetRoleExpamount() int32 { if x != nil { return x.RoleExpamount } return 0 } func (x *RoleEndBattleRsp) GetReward() string { if x != nil { return x.Reward } return "" } func (x *RoleEndBattleRsp) GetPass() bool { if x != nil { return x.Pass } return false } func (x *RoleEndBattleRsp) GetHero() []*Hero { if x != nil { return x.Hero } return nil } //ResponseCmd EquipmentDelReq type EquipmentDelReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id []string `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"` } func (x *EquipmentDelReq) Reset() { *x = EquipmentDelReq{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EquipmentDelReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*EquipmentDelReq) ProtoMessage() {} func (x *EquipmentDelReq) ProtoReflect() protoreflect.Message { mi := &file_game_proto_msgTypes[15] 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 EquipmentDelReq.ProtoReflect.Descriptor instead. func (*EquipmentDelReq) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{15} } func (x *EquipmentDelReq) GetId() []string { if x != nil { return x.Id } return nil } //ResponseCmd EquipmentAddRsp type EquipmentAddRsp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Equip *Equipment `protobuf:"bytes,1,opt,name=equip,proto3" json:"equip,omitempty"` } func (x *EquipmentAddRsp) Reset() { *x = EquipmentAddRsp{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EquipmentAddRsp) String() string { return protoimpl.X.MessageStringOf(x) } func (*EquipmentAddRsp) ProtoMessage() {} func (x *EquipmentAddRsp) ProtoReflect() protoreflect.Message { mi := &file_game_proto_msgTypes[16] 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 EquipmentAddRsp.ProtoReflect.Descriptor instead. func (*EquipmentAddRsp) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{16} } func (x *EquipmentAddRsp) GetEquip() *Equipment { if x != nil { return x.Equip } return nil } type HeroUpLevelReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields HeroId string `protobuf:"bytes,1,opt,name=heroId,proto3" json:"heroId,omitempty"` ItemId int32 `protobuf:"varint,2,opt,name=itemId,proto3" json:"itemId,omitempty"` Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` } func (x *HeroUpLevelReq) Reset() { *x = HeroUpLevelReq{} if protoimpl.UnsafeEnabled { mi := &file_game_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *HeroUpLevelReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*HeroUpLevelReq) ProtoMessage() {} func (x *HeroUpLevelReq) ProtoReflect() protoreflect.Message { mi := &file_game_proto_msgTypes[17] 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 HeroUpLevelReq.ProtoReflect.Descriptor instead. func (*HeroUpLevelReq) Descriptor() ([]byte, []int) { return file_game_proto_rawDescGZIP(), []int{17} } func (x *HeroUpLevelReq) GetHeroId() string { if x != nil { return x.HeroId } return "" } func (x *HeroUpLevelReq) GetItemId() int32 { if x != nil { return x.ItemId } return 0 } func (x *HeroUpLevelReq) GetCount() int32 { if x != nil { return x.Count } return 0 } var File_game_proto protoreflect.FileDescriptor var file_game_proto_rawDesc = []byte{ 0x0a, 0x0a, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x04, 0x67, 0x61, 0x6d, 0x65, 0x1a, 0x0c, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x08, 0x48, 0x65, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x1e, 0x0a, 0x08, 0x48, 0x65, 0x61, 0x72, 0x74, 0x52, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x38, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x39, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x22, 0x0f, 0x0a, 0x0d, 0x44, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x73, 0x70, 0x22, 0x31, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x22, 0x37, 0x0a, 0x09, 0x45, 0x71, 0x75, 0x69, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x6f, 0x0a, 0x11, 0x48, 0x65, 0x72, 0x6f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x66, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x2b, 0x0a, 0x08, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x65, 0x71, 0x75, 0x69, 0x70, 0x49, 0x64, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x66, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x66, 0x65, 0x72, 0x22, 0xa2, 0x01, 0x0a, 0x07, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x12, 0x20, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x12, 0x31, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x15, 0x52, 0x6f, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x52, 0x73, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x22, 0x2a, 0x0a, 0x12, 0x52, 0x6f, 0x6c, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x29, 0x0a, 0x11, 0x52, 0x6f, 0x6c, 0x65, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x50, 0x0a, 0x12, 0x52, 0x6f, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x72, 0x62, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x61, 0x72, 0x62, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x7b, 0x0a, 0x10, 0x52, 0x6f, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x61, 0x72, 0x62, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x61, 0x72, 0x62, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x6d, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x61, 0x6d, 0x49, 0x64, 0x22, 0xc1, 0x01, 0x0a, 0x10, 0x52, 0x6f, 0x6c, 0x65, 0x45, 0x6e, 0x64, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x6f, 0x6c, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x6f, 0x6c, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x6f, 0x6c, 0x65, 0x45, 0x78, 0x70, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70, 0x61, 0x73, 0x73, 0x12, 0x20, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x22, 0x21, 0x0a, 0x0f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x3a, 0x0a, 0x0f, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x52, 0x73, 0x70, 0x12, 0x27, 0x0a, 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2e, 0x45, 0x71, 0x75, 0x69, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x22, 0x56, 0x0a, 0x0e, 0x48, 0x65, 0x72, 0x6f, 0x55, 0x70, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2e, 0x2f, 0x70, 0x62, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_game_proto_rawDescOnce sync.Once file_game_proto_rawDescData = file_game_proto_rawDesc ) func file_game_proto_rawDescGZIP() []byte { file_game_proto_rawDescOnce.Do(func() { file_game_proto_rawDescData = protoimpl.X.CompressGZIP(file_game_proto_rawDescData) }) return file_game_proto_rawDescData } var file_game_proto_msgTypes = make([]protoimpl.MessageInfo, 18) var file_game_proto_goTypes = []interface{}{ (*HeartReq)(nil), // 0: game.HeartReq (*HeartRsp)(nil), // 1: game.HeartRsp (*LoginReq)(nil), // 2: game.LoginReq (*CreateReq)(nil), // 3: game.CreateReq (*DisConnectRsp)(nil), // 4: game.DisConnectRsp (*ChangeTeamReq)(nil), // 5: game.ChangeTeamReq (*EquipInfo)(nil), // 6: game.EquipInfo (*HeroEquipReferReq)(nil), // 7: game.HeroEquipReferReq (*RoleRsp)(nil), // 8: game.RoleRsp (*RoleUpdatePropertyRsp)(nil), // 9: game.RoleUpdatePropertyRsp (*RoleUpdateItemsRsp)(nil), // 10: game.RoleUpdateItemsRsp (*RoleClearItemsReq)(nil), // 11: game.RoleClearItemsReq (*RoleStartBattleReq)(nil), // 12: game.RoleStartBattleReq (*RoleEndBattleReq)(nil), // 13: game.RoleEndBattleReq (*RoleEndBattleRsp)(nil), // 14: game.RoleEndBattleRsp (*EquipmentDelReq)(nil), // 15: game.EquipmentDelReq (*EquipmentAddRsp)(nil), // 16: game.EquipmentAddRsp (*HeroUpLevelReq)(nil), // 17: game.HeroUpLevelReq (*Team)(nil), // 18: models.Team (*Role)(nil), // 19: models.Role (*Hero)(nil), // 20: models.Hero (*Equipment)(nil), // 21: models.Equipment } var file_game_proto_depIdxs = []int32{ 18, // 0: game.ChangeTeamReq.team:type_name -> models.Team 6, // 1: game.HeroEquipReferReq.equipIds:type_name -> game.EquipInfo 19, // 2: game.RoleRsp.role:type_name -> models.Role 20, // 3: game.RoleRsp.hero:type_name -> models.Hero 18, // 4: game.RoleRsp.team:type_name -> models.Team 21, // 5: game.RoleRsp.equipments:type_name -> models.Equipment 19, // 6: game.RoleUpdatePropertyRsp.role:type_name -> models.Role 20, // 7: game.RoleEndBattleRsp.hero:type_name -> models.Hero 21, // 8: game.EquipmentAddRsp.equip:type_name -> models.Equipment 9, // [9:9] is the sub-list for method output_type 9, // [9:9] is the sub-list for method input_type 9, // [9:9] is the sub-list for extension type_name 9, // [9:9] is the sub-list for extension extendee 0, // [0:9] is the sub-list for field type_name } func init() { file_game_proto_init() } func file_game_proto_init() { if File_game_proto != nil { return } file_models_proto_init() if !protoimpl.UnsafeEnabled { file_game_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HeartReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HeartRsp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoginReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DisConnectRsp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChangeTeamReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EquipInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HeroEquipReferReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RoleRsp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RoleUpdatePropertyRsp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RoleUpdateItemsRsp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RoleClearItemsReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RoleStartBattleReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RoleEndBattleReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RoleEndBattleRsp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EquipmentDelReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EquipmentAddRsp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_game_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*HeroUpLevelReq); 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_game_proto_rawDesc, NumEnums: 0, NumMessages: 18, NumExtensions: 0, NumServices: 0, }, GoTypes: file_game_proto_goTypes, DependencyIndexes: file_game_proto_depIdxs, MessageInfos: file_game_proto_msgTypes, }.Build() File_game_proto = out.File file_game_proto_rawDesc = nil file_game_proto_goTypes = nil file_game_proto_depIdxs = nil }