// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: battle/battle_msg.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" anypb "google.golang.org/protobuf/types/known/anypb" 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 LineData struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Leadpos int32 `protobuf:"varint,1,opt,name=leadpos,proto3" json:"leadpos"` //队长位置 Line []*LineUp `protobuf:"bytes,2,rep,name=line,proto3" json:"line"` // 阵容数据 Bid string `protobuf:"bytes,3,opt,name=bid,proto3" json:"bid"` // 战斗回放 } func (x *LineData) Reset() { *x = LineData{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LineData) String() string { return protoimpl.X.MessageStringOf(x) } func (*LineData) ProtoMessage() {} func (x *LineData) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_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 LineData.ProtoReflect.Descriptor instead. func (*LineData) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{0} } func (x *LineData) GetLeadpos() int32 { if x != nil { return x.Leadpos } return 0 } func (x *LineData) GetLine() []*LineUp { if x != nil { return x.Line } return nil } func (x *LineData) GetBid() string { if x != nil { return x.Bid } return "" } type LineUp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid"` // 配置表id Star int32 `protobuf:"varint,2,opt,name=star,proto3" json:"star"` // 星级 Lv int32 `protobuf:"varint,3,opt,name=lv,proto3" json:"lv"` // 等级 } func (x *LineUp) Reset() { *x = LineUp{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LineUp) String() string { return protoimpl.X.MessageStringOf(x) } func (*LineUp) ProtoMessage() {} func (x *LineUp) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_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 LineUp.ProtoReflect.Descriptor instead. func (*LineUp) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{1} } func (x *LineUp) GetCid() string { if x != nil { return x.Cid } return "" } func (x *LineUp) GetStar() int32 { if x != nil { return x.Star } return 0 } func (x *LineUp) GetLv() int32 { if x != nil { return x.Lv } return 0 } //战斗布阵请求 type BattleFormation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Leadpos int32 `protobuf:"varint,1,opt,name=leadpos,proto3" json:"leadpos"` //队长位置 Format []string `protobuf:"bytes,2,rep,name=format,proto3" json:"format"` //自己英雄阵容信息 0-5 Friendformat []string `protobuf:"bytes,3,rep,name=friendformat,proto3" json:"friendformat"` //助战好友 } func (x *BattleFormation) Reset() { *x = BattleFormation{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleFormation) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleFormation) ProtoMessage() {} func (x *BattleFormation) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_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 BattleFormation.ProtoReflect.Descriptor instead. func (*BattleFormation) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{2} } func (x *BattleFormation) GetLeadpos() int32 { if x != nil { return x.Leadpos } return 0 } func (x *BattleFormation) GetFormat() []string { if x != nil { return x.Format } return nil } func (x *BattleFormation) GetFriendformat() []string { if x != nil { return x.Friendformat } return nil } // pve 战斗创建请求 (此请求 为服务端间使用 客户端可忽略) type BattleEVEReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ptype PlayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` //玩法类型 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` //战斗标题 Rulesid int32 `protobuf:"varint,3,opt,name=rulesid,proto3" json:"rulesid"` //规则id Format *BattleFormation `protobuf:"bytes,4,opt,name=format,proto3" json:"format"` //布阵信息 Sysformat []int32 `protobuf:"varint,5,rep,packed,name=sysformat,proto3" json:"sysformat"` //系统辅助 Backupformat []int32 `protobuf:"varint,6,rep,packed,name=backupformat,proto3" json:"backupformat"` //后援辅助 Buleformat []int32 `protobuf:"varint,7,rep,packed,name=buleformat,proto3" json:"buleformat"` //蓝方 } func (x *BattleEVEReq) Reset() { *x = BattleEVEReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleEVEReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleEVEReq) ProtoMessage() {} func (x *BattleEVEReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_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 BattleEVEReq.ProtoReflect.Descriptor instead. func (*BattleEVEReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{3} } func (x *BattleEVEReq) GetPtype() PlayType { if x != nil { return x.Ptype } return PlayType_null } func (x *BattleEVEReq) GetTitle() string { if x != nil { return x.Title } return "" } func (x *BattleEVEReq) GetRulesid() int32 { if x != nil { return x.Rulesid } return 0 } func (x *BattleEVEReq) GetFormat() *BattleFormation { if x != nil { return x.Format } return nil } func (x *BattleEVEReq) GetSysformat() []int32 { if x != nil { return x.Sysformat } return nil } func (x *BattleEVEReq) GetBackupformat() []int32 { if x != nil { return x.Backupformat } return nil } func (x *BattleEVEReq) GetBuleformat() []int32 { if x != nil { return x.Buleformat } return nil } // pve 战斗创建请求 (此请求 为服务端间使用 客户端可忽略) type BattlePVEReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ptype PlayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` //玩法类型 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` //战斗标题 Rulesid int32 `protobuf:"varint,3,opt,name=rulesid,proto3" json:"rulesid"` //规则id Format *BattleFormation `protobuf:"bytes,4,opt,name=format,proto3" json:"format"` //布阵信息 Mformat []int32 `protobuf:"varint,5,rep,packed,name=mformat,proto3" json:"mformat"` //敌方增容信息 } func (x *BattlePVEReq) Reset() { *x = BattlePVEReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattlePVEReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattlePVEReq) ProtoMessage() {} func (x *BattlePVEReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_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 BattlePVEReq.ProtoReflect.Descriptor instead. func (*BattlePVEReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{4} } func (x *BattlePVEReq) GetPtype() PlayType { if x != nil { return x.Ptype } return PlayType_null } func (x *BattlePVEReq) GetTitle() string { if x != nil { return x.Title } return "" } func (x *BattlePVEReq) GetRulesid() int32 { if x != nil { return x.Rulesid } return 0 } func (x *BattlePVEReq) GetFormat() *BattleFormation { if x != nil { return x.Format } return nil } func (x *BattlePVEReq) GetMformat() []int32 { if x != nil { return x.Mformat } return nil } // pve 战斗创建请求 (此请求 为服务端间使用 客户端可忽略) type BattleHeroPVEReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ptype PlayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` //玩法类型 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` //战斗标题 Rulesid int32 `protobuf:"varint,3,opt,name=rulesid,proto3" json:"rulesid"` //规则id Redformat *PVPFormation `protobuf:"bytes,4,opt,name=redformat,proto3" json:"redformat"` //布阵信息 Mformat []int32 `protobuf:"varint,5,rep,packed,name=mformat,proto3" json:"mformat"` //敌方增容信息 } func (x *BattleHeroPVEReq) Reset() { *x = BattleHeroPVEReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleHeroPVEReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleHeroPVEReq) ProtoMessage() {} func (x *BattleHeroPVEReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_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 BattleHeroPVEReq.ProtoReflect.Descriptor instead. func (*BattleHeroPVEReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{5} } func (x *BattleHeroPVEReq) GetPtype() PlayType { if x != nil { return x.Ptype } return PlayType_null } func (x *BattleHeroPVEReq) GetTitle() string { if x != nil { return x.Title } return "" } func (x *BattleHeroPVEReq) GetRulesid() int32 { if x != nil { return x.Rulesid } return 0 } func (x *BattleHeroPVEReq) GetRedformat() *PVPFormation { if x != nil { return x.Redformat } return nil } func (x *BattleHeroPVEReq) GetMformat() []int32 { if x != nil { return x.Mformat } return nil } //战斗布阵请求 type PVPFormation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //用户id Leadpos int32 `protobuf:"varint,2,opt,name=leadpos,proto3" json:"leadpos"` //队长位置 Format []*DBHero `protobuf:"bytes,3,rep,name=format,proto3" json:"format"` //自己英雄阵容信息 0-5 } func (x *PVPFormation) Reset() { *x = PVPFormation{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PVPFormation) String() string { return protoimpl.X.MessageStringOf(x) } func (*PVPFormation) ProtoMessage() {} func (x *PVPFormation) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_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 PVPFormation.ProtoReflect.Descriptor instead. func (*PVPFormation) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{6} } func (x *PVPFormation) GetUid() string { if x != nil { return x.Uid } return "" } func (x *PVPFormation) GetLeadpos() int32 { if x != nil { return x.Leadpos } return 0 } func (x *PVPFormation) GetFormat() []*DBHero { if x != nil { return x.Format } return nil } // pvp 异步 战斗创建请求 (此请求 为服务端间使用 客户端可忽略) type BattlePVPReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ptype PlayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` //玩法类型 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` //战斗标题 Rulesid int32 `protobuf:"varint,3,opt,name=rulesid,proto3" json:"rulesid"` //规则id Redformat *PVPFormation `protobuf:"bytes,4,opt,name=redformat,proto3" json:"redformat"` //布阵信息 Buleformat *PVPFormation `protobuf:"bytes,5,opt,name=buleformat,proto3" json:"buleformat"` //布阵信息 } func (x *BattlePVPReq) Reset() { *x = BattlePVPReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattlePVPReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattlePVPReq) ProtoMessage() {} func (x *BattlePVPReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_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 BattlePVPReq.ProtoReflect.Descriptor instead. func (*BattlePVPReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{7} } func (x *BattlePVPReq) GetPtype() PlayType { if x != nil { return x.Ptype } return PlayType_null } func (x *BattlePVPReq) GetTitle() string { if x != nil { return x.Title } return "" } func (x *BattlePVPReq) GetRulesid() int32 { if x != nil { return x.Rulesid } return 0 } func (x *BattlePVPReq) GetRedformat() *PVPFormation { if x != nil { return x.Redformat } return nil } func (x *BattlePVPReq) GetBuleformat() *PVPFormation { if x != nil { return x.Buleformat } return nil } // pvp 同步 战斗创建请求 (此请求 为服务端间使用 客户端可忽略) type BattleRTPVPReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ptype PlayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` //玩法类型 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` //战斗标题 Rulesid int32 `protobuf:"varint,3,opt,name=rulesid,proto3" json:"rulesid"` //规则id RedCompId string `protobuf:"bytes,6,opt,name=redCompId,proto3" json:"redCompId"` //红方阵营id Redformat []*BattleFormation `protobuf:"bytes,7,rep,name=redformat,proto3" json:"redformat"` //红方阵型列表 BlueCompId string `protobuf:"bytes,8,opt,name=blueCompId,proto3" json:"blueCompId"` //蓝方阵营id Bulefformat []*BattleFormation `protobuf:"bytes,9,rep,name=bulefformat,proto3" json:"bulefformat"` //红方阵型列表 } func (x *BattleRTPVPReq) Reset() { *x = BattleRTPVPReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleRTPVPReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleRTPVPReq) ProtoMessage() {} func (x *BattleRTPVPReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_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 BattleRTPVPReq.ProtoReflect.Descriptor instead. func (*BattleRTPVPReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{8} } func (x *BattleRTPVPReq) GetPtype() PlayType { if x != nil { return x.Ptype } return PlayType_null } func (x *BattleRTPVPReq) GetTitle() string { if x != nil { return x.Title } return "" } func (x *BattleRTPVPReq) GetRulesid() int32 { if x != nil { return x.Rulesid } return 0 } func (x *BattleRTPVPReq) GetRedCompId() string { if x != nil { return x.RedCompId } return "" } func (x *BattleRTPVPReq) GetRedformat() []*BattleFormation { if x != nil { return x.Redformat } return nil } func (x *BattleRTPVPReq) GetBlueCompId() string { if x != nil { return x.BlueCompId } return "" } func (x *BattleRTPVPReq) GetBulefformat() []*BattleFormation { if x != nil { return x.Bulefformat } return nil } // 连续pve战斗 type BattleLPVEReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ptype PlayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` //玩法类型 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` //战斗标题 Rulesid int32 `protobuf:"varint,3,opt,name=rulesid,proto3" json:"rulesid"` //规则id Scene string `protobuf:"bytes,4,opt,name=scene,proto3" json:"scene"` //战斗场景 Format *BattleFormation `protobuf:"bytes,5,opt,name=format,proto3" json:"format"` //布阵信息 Monsterleadpos int32 `protobuf:"varint,6,opt,name=monsterleadpos,proto3" json:"monsterleadpos"` //队长位置 Monsters []*BattleRole `protobuf:"bytes,7,rep,name=monsters,proto3" json:"monsters"` //怪物列表 } func (x *BattleLPVEReq) Reset() { *x = BattleLPVEReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleLPVEReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleLPVEReq) ProtoMessage() {} func (x *BattleLPVEReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_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 BattleLPVEReq.ProtoReflect.Descriptor instead. func (*BattleLPVEReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{9} } func (x *BattleLPVEReq) GetPtype() PlayType { if x != nil { return x.Ptype } return PlayType_null } func (x *BattleLPVEReq) GetTitle() string { if x != nil { return x.Title } return "" } func (x *BattleLPVEReq) GetRulesid() int32 { if x != nil { return x.Rulesid } return 0 } func (x *BattleLPVEReq) GetScene() string { if x != nil { return x.Scene } return "" } func (x *BattleLPVEReq) GetFormat() *BattleFormation { if x != nil { return x.Format } return nil } func (x *BattleLPVEReq) GetMonsterleadpos() int32 { if x != nil { return x.Monsterleadpos } return 0 } func (x *BattleLPVEReq) GetMonsters() []*BattleRole { if x != nil { return x.Monsters } return nil } // pvb 战斗创建请求 (工会boos战专用) type BattlePVBReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ptype PlayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` //玩法类型 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` //战斗标题 Rulesid int32 `protobuf:"varint,3,opt,name=rulesid,proto3" json:"rulesid"` //规则id Format []*BattleFormation `protobuf:"bytes,4,rep,name=format,proto3" json:"format"` //布阵信息 Mformat []int32 `protobuf:"varint,5,rep,packed,name=mformat,proto3" json:"mformat"` //敌方增容信息 } func (x *BattlePVBReq) Reset() { *x = BattlePVBReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattlePVBReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattlePVBReq) ProtoMessage() {} func (x *BattlePVBReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_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 BattlePVBReq.ProtoReflect.Descriptor instead. func (*BattlePVBReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{10} } func (x *BattlePVBReq) GetPtype() PlayType { if x != nil { return x.Ptype } return PlayType_null } func (x *BattlePVBReq) GetTitle() string { if x != nil { return x.Title } return "" } func (x *BattlePVBReq) GetRulesid() int32 { if x != nil { return x.Rulesid } return 0 } func (x *BattlePVBReq) GetFormat() []*BattleFormation { if x != nil { return x.Format } return nil } func (x *BattlePVBReq) GetMformat() []int32 { if x != nil { return x.Mformat } return nil } //战斗开始推送 type BattleInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` //战斗id Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` //战斗标题 Rulesid int32 `protobuf:"varint,3,opt,name=rulesid,proto3" json:"rulesid"` //规则id Scoregroup int32 `protobuf:"varint,4,opt,name=scoregroup,proto3" json:"scoregroup"` //评分组 Btype BattleType `protobuf:"varint,5,opt,name=btype,proto3,enum=BattleType" json:"btype"` //战斗类型 Ptype PlayType `protobuf:"varint,6,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` //玩法类型 RedCompId string `protobuf:"bytes,7,opt,name=redCompId,proto3" json:"redCompId"` //红方阵营id Redflist []*DBBattleFormt `protobuf:"bytes,8,rep,name=redflist,proto3" json:"redflist"` //红方阵型列表 BlueCompId string `protobuf:"bytes,9,opt,name=blueCompId,proto3" json:"blueCompId"` //蓝方阵营id Buleflist []*DBBattleFormt `protobuf:"bytes,10,rep,name=buleflist,proto3" json:"buleflist"` //红方阵型列表 Tasks []int32 `protobuf:"varint,11,rep,packed,name=tasks,proto3" json:"tasks"` //任务列表 Params []float32 `protobuf:"fixed32,12,rep,packed,name=params,proto3" json:"params"` //需要代入战斗中的参数列表 Buffer []int32 `protobuf:"varint,13,rep,packed,name=buffer,proto3" json:"buffer"` //战斗buff 带入 } func (x *BattleInfo) Reset() { *x = BattleInfo{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleInfo) ProtoMessage() {} func (x *BattleInfo) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_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 BattleInfo.ProtoReflect.Descriptor instead. func (*BattleInfo) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{11} } func (x *BattleInfo) GetId() string { if x != nil { return x.Id } return "" } func (x *BattleInfo) GetTitle() string { if x != nil { return x.Title } return "" } func (x *BattleInfo) GetRulesid() int32 { if x != nil { return x.Rulesid } return 0 } func (x *BattleInfo) GetScoregroup() int32 { if x != nil { return x.Scoregroup } return 0 } func (x *BattleInfo) GetBtype() BattleType { if x != nil { return x.Btype } return BattleType_nil } func (x *BattleInfo) GetPtype() PlayType { if x != nil { return x.Ptype } return PlayType_null } func (x *BattleInfo) GetRedCompId() string { if x != nil { return x.RedCompId } return "" } func (x *BattleInfo) GetRedflist() []*DBBattleFormt { if x != nil { return x.Redflist } return nil } func (x *BattleInfo) GetBlueCompId() string { if x != nil { return x.BlueCompId } return "" } func (x *BattleInfo) GetBuleflist() []*DBBattleFormt { if x != nil { return x.Buleflist } return nil } func (x *BattleInfo) GetTasks() []int32 { if x != nil { return x.Tasks } return nil } func (x *BattleInfo) GetParams() []float32 { if x != nil { return x.Params } return nil } func (x *BattleInfo) GetBuffer() []int32 { if x != nil { return x.Buffer } return nil } //战报数据 type BattleReport struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Info *BattleInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` Costtime int32 `protobuf:"varint,2,opt,name=Costtime,proto3" json:"Costtime"` //战斗时长 单位ms WinSide int32 `protobuf:"varint,3,opt,name=winSide,proto3" json:"winSide"` //胜利方 1 - red 2 = blue Incmd []*BattleCmd `protobuf:"bytes,4,rep,name=incmd,proto3" json:"incmd"` //输入指令 Outcmd []*BattleCmd `protobuf:"bytes,5,rep,name=outcmd,proto3" json:"outcmd"` //输出指令 Completetask []int32 `protobuf:"varint,6,rep,packed,name=completetask,proto3" json:"completetask"` //完成任务 Death int32 `protobuf:"varint,7,opt,name=death,proto3" json:"death"` // 死亡人数 Round int32 `protobuf:"varint,8,opt,name=round,proto3" json:"round"` // 回合数 Score int32 `protobuf:"varint,9,opt,name=score,proto3" json:"score"` //积分 Grade int32 `protobuf:"varint,10,opt,name=grade,proto3" json:"grade"` //评级 RandSeed int32 `protobuf:"varint,11,opt,name=randSeed,proto3" json:"randSeed"` //随机数 Alive []*BattleRole `protobuf:"bytes,12,rep,name=alive,proto3" json:"alive"` //存活列表 } func (x *BattleReport) Reset() { *x = BattleReport{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleReport) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleReport) ProtoMessage() {} func (x *BattleReport) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_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 BattleReport.ProtoReflect.Descriptor instead. func (*BattleReport) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{12} } func (x *BattleReport) GetInfo() *BattleInfo { if x != nil { return x.Info } return nil } func (x *BattleReport) GetCosttime() int32 { if x != nil { return x.Costtime } return 0 } func (x *BattleReport) GetWinSide() int32 { if x != nil { return x.WinSide } return 0 } func (x *BattleReport) GetIncmd() []*BattleCmd { if x != nil { return x.Incmd } return nil } func (x *BattleReport) GetOutcmd() []*BattleCmd { if x != nil { return x.Outcmd } return nil } func (x *BattleReport) GetCompletetask() []int32 { if x != nil { return x.Completetask } return nil } func (x *BattleReport) GetDeath() int32 { if x != nil { return x.Death } return 0 } func (x *BattleReport) GetRound() int32 { if x != nil { return x.Round } return 0 } func (x *BattleReport) GetScore() int32 { if x != nil { return x.Score } return 0 } func (x *BattleReport) GetGrade() int32 { if x != nil { return x.Grade } return 0 } func (x *BattleReport) GetRandSeed() int32 { if x != nil { return x.RandSeed } return 0 } func (x *BattleReport) GetAlive() []*BattleRole { if x != nil { return x.Alive } return nil } //公用消息结构代码 type BattleRpcMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Rid uint64 `protobuf:"varint,1,opt,name=rid,proto3" json:"rid"` //服务回调id Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method"` //方法名 Data *anypb.Any `protobuf:"bytes,3,opt,name=data,proto3" json:"data"` //战斗消息对象 } func (x *BattleRpcMessage) Reset() { *x = BattleRpcMessage{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleRpcMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleRpcMessage) ProtoMessage() {} func (x *BattleRpcMessage) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_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 BattleRpcMessage.ProtoReflect.Descriptor instead. func (*BattleRpcMessage) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{13} } func (x *BattleRpcMessage) GetRid() uint64 { if x != nil { return x.Rid } return 0 } func (x *BattleRpcMessage) GetMethod() string { if x != nil { return x.Method } return "" } func (x *BattleRpcMessage) GetData() *anypb.Any { if x != nil { return x.Data } return nil } //战斗校验结果 type BattleCheckResults struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ischeck bool `protobuf:"varint,1,opt,name=ischeck,proto3" json:"ischeck"` //是否校验成功 } func (x *BattleCheckResults) Reset() { *x = BattleCheckResults{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleCheckResults) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleCheckResults) ProtoMessage() {} func (x *BattleCheckResults) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_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 BattleCheckResults.ProtoReflect.Descriptor instead. func (*BattleCheckResults) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{14} } func (x *BattleCheckResults) GetIscheck() bool { if x != nil { return x.Ischeck } return false } //服务器跑战斗 请求 type BattleRunReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Info []*BattleInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info"` } func (x *BattleRunReq) Reset() { *x = BattleRunReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleRunReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleRunReq) ProtoMessage() {} func (x *BattleRunReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_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 BattleRunReq.ProtoReflect.Descriptor instead. func (*BattleRunReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{15} } func (x *BattleRunReq) GetInfo() []*BattleInfo { if x != nil { return x.Info } return nil } //服务器跑战斗 请求回应 type BattleRunResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Reports []*BattleReport `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports"` } func (x *BattleRunResp) Reset() { *x = BattleRunResp{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleRunResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleRunResp) ProtoMessage() {} func (x *BattleRunResp) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_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 BattleRunResp.ProtoReflect.Descriptor instead. func (*BattleRunResp) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{16} } func (x *BattleRunResp) GetReports() []*BattleReport { if x != nil { return x.Reports } return nil } //创建战斗服务 请求 type BattleGetInfoReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` } func (x *BattleGetInfoReq) Reset() { *x = BattleGetInfoReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleGetInfoReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleGetInfoReq) ProtoMessage() {} func (x *BattleGetInfoReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_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 BattleGetInfoReq.ProtoReflect.Descriptor instead. func (*BattleGetInfoReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{17} } func (x *BattleGetInfoReq) GetBattleid() string { if x != nil { return x.Battleid } return "" } //创建战斗服务 请求回应 type BattleGetInfoResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` Info *BattleStateInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info"` } func (x *BattleGetInfoResp) Reset() { *x = BattleGetInfoResp{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleGetInfoResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleGetInfoResp) ProtoMessage() {} func (x *BattleGetInfoResp) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[18] 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 BattleGetInfoResp.ProtoReflect.Descriptor instead. func (*BattleGetInfoResp) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{18} } func (x *BattleGetInfoResp) GetBattleid() string { if x != nil { return x.Battleid } return "" } func (x *BattleGetInfoResp) GetInfo() *BattleStateInfo { if x != nil { return x.Info } return nil } //创建战斗服务 请求 type BattleCreateServerReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Info *BattleInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` } func (x *BattleCreateServerReq) Reset() { *x = BattleCreateServerReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleCreateServerReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleCreateServerReq) ProtoMessage() {} func (x *BattleCreateServerReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[19] 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 BattleCreateServerReq.ProtoReflect.Descriptor instead. func (*BattleCreateServerReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{19} } func (x *BattleCreateServerReq) GetInfo() *BattleInfo { if x != nil { return x.Info } return nil } //创建战斗服务 请求回应 type BattleCreateServerResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"` } func (x *BattleCreateServerResp) Reset() { *x = BattleCreateServerResp{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleCreateServerResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleCreateServerResp) ProtoMessage() {} func (x *BattleCreateServerResp) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[20] 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 BattleCreateServerResp.ProtoReflect.Descriptor instead. func (*BattleCreateServerResp) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{20} } func (x *BattleCreateServerResp) GetIssucc() bool { if x != nil { return x.Issucc } return false } //创建战斗服务 请求 type BattleInCmdReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` Side int32 `protobuf:"varint,2,opt,name=side,proto3" json:"side"` In *BattleCmd `protobuf:"bytes,3,opt,name=in,proto3" json:"in"` } func (x *BattleInCmdReq) Reset() { *x = BattleInCmdReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleInCmdReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleInCmdReq) ProtoMessage() {} func (x *BattleInCmdReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[21] 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 BattleInCmdReq.ProtoReflect.Descriptor instead. func (*BattleInCmdReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{21} } func (x *BattleInCmdReq) GetBattleid() string { if x != nil { return x.Battleid } return "" } func (x *BattleInCmdReq) GetSide() int32 { if x != nil { return x.Side } return 0 } func (x *BattleInCmdReq) GetIn() *BattleCmd { if x != nil { return x.In } return nil } //创建战斗服务 请求 type BattleInCmdResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` In *BattleCmd `protobuf:"bytes,2,opt,name=in,proto3" json:"in"` Issucc bool `protobuf:"varint,3,opt,name=issucc,proto3" json:"issucc"` } func (x *BattleInCmdResp) Reset() { *x = BattleInCmdResp{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleInCmdResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleInCmdResp) ProtoMessage() {} func (x *BattleInCmdResp) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[22] 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 BattleInCmdResp.ProtoReflect.Descriptor instead. func (*BattleInCmdResp) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{22} } func (x *BattleInCmdResp) GetBattleid() string { if x != nil { return x.Battleid } return "" } func (x *BattleInCmdResp) GetIn() *BattleCmd { if x != nil { return x.In } return nil } func (x *BattleInCmdResp) GetIssucc() bool { if x != nil { return x.Issucc } return false } //战斗服务 指令推送 type BattleOutCmdPush struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` Cmd []*BattleCmd `protobuf:"bytes,2,rep,name=cmd,proto3" json:"cmd"` } func (x *BattleOutCmdPush) Reset() { *x = BattleOutCmdPush{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleOutCmdPush) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleOutCmdPush) ProtoMessage() {} func (x *BattleOutCmdPush) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[23] 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 BattleOutCmdPush.ProtoReflect.Descriptor instead. func (*BattleOutCmdPush) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{23} } func (x *BattleOutCmdPush) GetBattleid() string { if x != nil { return x.Battleid } return "" } func (x *BattleOutCmdPush) GetCmd() []*BattleCmd { if x != nil { return x.Cmd } return nil } //战斗服务 结束推送 type BattleFinishPush struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` WinSide int32 `protobuf:"varint,2,opt,name=winSide,proto3" json:"winSide"` } func (x *BattleFinishPush) Reset() { *x = BattleFinishPush{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleFinishPush) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleFinishPush) ProtoMessage() {} func (x *BattleFinishPush) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[24] 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 BattleFinishPush.ProtoReflect.Descriptor instead. func (*BattleFinishPush) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{24} } func (x *BattleFinishPush) GetBattleid() string { if x != nil { return x.Battleid } return "" } func (x *BattleFinishPush) GetWinSide() int32 { if x != nil { return x.WinSide } return 0 } //战斗认输 请求 type BattleConcedeReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` Side int32 `protobuf:"varint,2,opt,name=side,proto3" json:"side"` } func (x *BattleConcedeReq) Reset() { *x = BattleConcedeReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleConcedeReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleConcedeReq) ProtoMessage() {} func (x *BattleConcedeReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[25] 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 BattleConcedeReq.ProtoReflect.Descriptor instead. func (*BattleConcedeReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{25} } func (x *BattleConcedeReq) GetBattleid() string { if x != nil { return x.Battleid } return "" } func (x *BattleConcedeReq) GetSide() int32 { if x != nil { return x.Side } return 0 } // 战斗认输 回应 type BattleConcedeResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"` } func (x *BattleConcedeResp) Reset() { *x = BattleConcedeResp{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleConcedeResp) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleConcedeResp) ProtoMessage() {} func (x *BattleConcedeResp) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[26] 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 BattleConcedeResp.ProtoReflect.Descriptor instead. func (*BattleConcedeResp) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{26} } func (x *BattleConcedeResp) GetIssucc() bool { if x != nil { return x.Issucc } return false } //战斗状态数据 type BattleStateInfo struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Info *BattleInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` OutCmds []*BattleCmd `protobuf:"bytes,2,rep,name=outCmds,proto3" json:"outCmds"` InputCmds []*BattleCmd `protobuf:"bytes,3,rep,name=inputCmds,proto3" json:"inputCmds"` } func (x *BattleStateInfo) Reset() { *x = BattleStateInfo{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattleStateInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattleStateInfo) ProtoMessage() {} func (x *BattleStateInfo) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[27] 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 BattleStateInfo.ProtoReflect.Descriptor instead. func (*BattleStateInfo) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{27} } func (x *BattleStateInfo) GetInfo() *BattleInfo { if x != nil { return x.Info } return nil } func (x *BattleStateInfo) GetOutCmds() []*BattleCmd { if x != nil { return x.OutCmds } return nil } func (x *BattleStateInfo) GetInputCmds() []*BattleCmd { if x != nil { return x.InputCmds } return nil } type StroneBattleReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields DiBuff []*DySkillData `protobuf:"bytes,1,rep,name=diBuff,proto3" json:"diBuff"` Format []int32 `protobuf:"varint,2,rep,packed,name=format,proto3" json:"format"` Role []*BattleRole `protobuf:"bytes,3,rep,name=role,proto3" json:"role"` Leadpos int32 `protobuf:"varint,4,opt,name=leadpos,proto3" json:"leadpos"` Btype BattleType `protobuf:"varint,5,opt,name=Btype,proto3,enum=BattleType" json:"Btype"` Ptype PlayType `protobuf:"varint,6,opt,name=Ptype,proto3,enum=PlayType" json:"Ptype"` BattleEvents int32 `protobuf:"varint,7,opt,name=BattleEvents,proto3" json:"BattleEvents"` } func (x *StroneBattleReq) Reset() { *x = StroneBattleReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StroneBattleReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*StroneBattleReq) ProtoMessage() {} func (x *StroneBattleReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[28] 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 StroneBattleReq.ProtoReflect.Descriptor instead. func (*StroneBattleReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{28} } func (x *StroneBattleReq) GetDiBuff() []*DySkillData { if x != nil { return x.DiBuff } return nil } func (x *StroneBattleReq) GetFormat() []int32 { if x != nil { return x.Format } return nil } func (x *StroneBattleReq) GetRole() []*BattleRole { if x != nil { return x.Role } return nil } func (x *StroneBattleReq) GetLeadpos() int32 { if x != nil { return x.Leadpos } return 0 } func (x *StroneBattleReq) GetBtype() BattleType { if x != nil { return x.Btype } return BattleType_nil } func (x *StroneBattleReq) GetPtype() PlayType { if x != nil { return x.Ptype } return PlayType_null } func (x *StroneBattleReq) GetBattleEvents() int32 { if x != nil { return x.BattleEvents } return 0 } type BattlePVEPlunderReq struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Ptype PlayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` //玩法类型 Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` //战斗标题 Rulesid int32 `protobuf:"varint,3,opt,name=rulesid,proto3" json:"rulesid"` //规则id Format *BattleFormation `protobuf:"bytes,4,opt,name=format,proto3" json:"format"` //布阵信息 Defformat *BattleFormation `protobuf:"bytes,5,opt,name=defformat,proto3" json:"defformat"` //敌方布阵信息 } func (x *BattlePVEPlunderReq) Reset() { *x = BattlePVEPlunderReq{} if protoimpl.UnsafeEnabled { mi := &file_battle_battle_msg_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *BattlePVEPlunderReq) String() string { return protoimpl.X.MessageStringOf(x) } func (*BattlePVEPlunderReq) ProtoMessage() {} func (x *BattlePVEPlunderReq) ProtoReflect() protoreflect.Message { mi := &file_battle_battle_msg_proto_msgTypes[29] 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 BattlePVEPlunderReq.ProtoReflect.Descriptor instead. func (*BattlePVEPlunderReq) Descriptor() ([]byte, []int) { return file_battle_battle_msg_proto_rawDescGZIP(), []int{29} } func (x *BattlePVEPlunderReq) GetPtype() PlayType { if x != nil { return x.Ptype } return PlayType_null } func (x *BattlePVEPlunderReq) GetTitle() string { if x != nil { return x.Title } return "" } func (x *BattlePVEPlunderReq) GetRulesid() int32 { if x != nil { return x.Rulesid } return 0 } func (x *BattlePVEPlunderReq) GetFormat() *BattleFormation { if x != nil { return x.Format } return nil } func (x *BattlePVEPlunderReq) GetDefformat() *BattleFormation { if x != nil { return x.Defformat } return nil } var File_battle_battle_msg_proto protoreflect.FileDescriptor var file_battle_battle_msg_proto_rawDesc = []byte{ 0x0a, 0x17, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x68, 0x65, 0x72, 0x6f, 0x2f, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x12, 0x1b, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x4c, 0x69, 0x6e, 0x65, 0x55, 0x70, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62, 0x69, 0x64, 0x22, 0x3e, 0x0a, 0x06, 0x4c, 0x69, 0x6e, 0x65, 0x55, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x74, 0x61, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x22, 0x67, 0x0a, 0x0f, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xeb, 0x01, 0x0a, 0x0c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x56, 0x45, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x79, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x73, 0x79, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x75, 0x6c, 0x65, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0a, 0x62, 0x75, 0x6c, 0x65, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xa3, 0x01, 0x0a, 0x0c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x56, 0x45, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xaa, 0x01, 0x0a, 0x10, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x48, 0x65, 0x72, 0x6f, 0x50, 0x56, 0x45, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x09, 0x72, 0x65, 0x64, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x50, 0x56, 0x50, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x64, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x5b, 0x0a, 0x0c, 0x50, 0x56, 0x50, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x12, 0x1f, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xbb, 0x01, 0x0a, 0x0c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x56, 0x50, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x09, 0x72, 0x65, 0x64, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x50, 0x56, 0x50, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x64, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x2d, 0x0a, 0x0a, 0x62, 0x75, 0x6c, 0x65, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x50, 0x56, 0x50, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x62, 0x75, 0x6c, 0x65, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x83, 0x02, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x54, 0x50, 0x56, 0x50, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x09, 0x72, 0x65, 0x64, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x64, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0b, 0x62, 0x75, 0x6c, 0x65, 0x66, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x62, 0x75, 0x6c, 0x65, 0x66, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0xf1, 0x01, 0x0a, 0x0d, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4c, 0x50, 0x56, 0x45, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x65, 0x6e, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x12, 0x27, 0x0a, 0x08, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x08, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x0c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x56, 0x42, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x8e, 0x03, 0x0a, 0x0a, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x21, 0x0a, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x08, 0x72, 0x65, 0x64, 0x66, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x74, 0x52, 0x08, 0x72, 0x65, 0x64, 0x66, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x62, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x09, 0x62, 0x75, 0x6c, 0x65, 0x66, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x74, 0x52, 0x09, 0x62, 0x75, 0x6c, 0x65, 0x66, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x62, 0x75, 0x66, 0x66, 0x65, 0x72, 0x22, 0xe6, 0x02, 0x0a, 0x0c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x6f, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x43, 0x6f, 0x73, 0x74, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x77, 0x69, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x05, 0x69, 0x6e, 0x63, 0x6d, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x52, 0x05, 0x69, 0x6e, 0x63, 0x6d, 0x64, 0x12, 0x22, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x63, 0x6d, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x63, 0x6d, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x65, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x72, 0x61, 0x6e, 0x64, 0x53, 0x65, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x22, 0x66, 0x0a, 0x10, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x70, 0x63, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x72, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2e, 0x0a, 0x12, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x73, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x22, 0x2f, 0x0a, 0x0c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x38, 0x0a, 0x0d, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x75, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x27, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x22, 0x2e, 0x0a, 0x10, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x22, 0x55, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x38, 0x0a, 0x15, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x30, 0x0a, 0x16, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x22, 0x5c, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x43, 0x6d, 0x64, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x52, 0x02, 0x69, 0x6e, 0x22, 0x61, 0x0a, 0x0f, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x43, 0x6d, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x22, 0x4c, 0x0a, 0x10, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4f, 0x75, 0x74, 0x43, 0x6d, 0x64, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x03, 0x63, 0x6d, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x52, 0x03, 0x63, 0x6d, 0x64, 0x22, 0x48, 0x0a, 0x10, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x77, 0x69, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x22, 0x42, 0x0a, 0x10, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x64, 0x65, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65, 0x22, 0x2b, 0x0a, 0x11, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x22, 0x82, 0x01, 0x0a, 0x0f, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x24, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x43, 0x6d, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x43, 0x6d, 0x64, 0x73, 0x12, 0x28, 0x0a, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6d, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x43, 0x6d, 0x64, 0x73, 0x22, 0xf2, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x6f, 0x6e, 0x65, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x24, 0x0a, 0x06, 0x64, 0x69, 0x42, 0x75, 0x66, 0x66, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x79, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x06, 0x64, 0x69, 0x42, 0x75, 0x66, 0x66, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f, 0x73, 0x12, 0x21, 0x0a, 0x05, 0x42, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x42, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x50, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x50, 0x74, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xc0, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x50, 0x56, 0x45, 0x50, 0x6c, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x2e, 0x0a, 0x09, 0x64, 0x65, 0x66, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x65, 0x66, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_battle_battle_msg_proto_rawDescOnce sync.Once file_battle_battle_msg_proto_rawDescData = file_battle_battle_msg_proto_rawDesc ) func file_battle_battle_msg_proto_rawDescGZIP() []byte { file_battle_battle_msg_proto_rawDescOnce.Do(func() { file_battle_battle_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_battle_battle_msg_proto_rawDescData) }) return file_battle_battle_msg_proto_rawDescData } var file_battle_battle_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 30) var file_battle_battle_msg_proto_goTypes = []interface{}{ (*LineData)(nil), // 0: LineData (*LineUp)(nil), // 1: LineUp (*BattleFormation)(nil), // 2: BattleFormation (*BattleEVEReq)(nil), // 3: BattleEVEReq (*BattlePVEReq)(nil), // 4: BattlePVEReq (*BattleHeroPVEReq)(nil), // 5: BattleHeroPVEReq (*PVPFormation)(nil), // 6: PVPFormation (*BattlePVPReq)(nil), // 7: BattlePVPReq (*BattleRTPVPReq)(nil), // 8: BattleRTPVPReq (*BattleLPVEReq)(nil), // 9: BattleLPVEReq (*BattlePVBReq)(nil), // 10: BattlePVBReq (*BattleInfo)(nil), // 11: BattleInfo (*BattleReport)(nil), // 12: BattleReport (*BattleRpcMessage)(nil), // 13: BattleRpcMessage (*BattleCheckResults)(nil), // 14: BattleCheckResults (*BattleRunReq)(nil), // 15: BattleRunReq (*BattleRunResp)(nil), // 16: BattleRunResp (*BattleGetInfoReq)(nil), // 17: BattleGetInfoReq (*BattleGetInfoResp)(nil), // 18: BattleGetInfoResp (*BattleCreateServerReq)(nil), // 19: BattleCreateServerReq (*BattleCreateServerResp)(nil), // 20: BattleCreateServerResp (*BattleInCmdReq)(nil), // 21: BattleInCmdReq (*BattleInCmdResp)(nil), // 22: BattleInCmdResp (*BattleOutCmdPush)(nil), // 23: BattleOutCmdPush (*BattleFinishPush)(nil), // 24: BattleFinishPush (*BattleConcedeReq)(nil), // 25: BattleConcedeReq (*BattleConcedeResp)(nil), // 26: BattleConcedeResp (*BattleStateInfo)(nil), // 27: BattleStateInfo (*StroneBattleReq)(nil), // 28: StroneBattleReq (*BattlePVEPlunderReq)(nil), // 29: BattlePVEPlunderReq (PlayType)(0), // 30: PlayType (*DBHero)(nil), // 31: DBHero (*BattleRole)(nil), // 32: BattleRole (BattleType)(0), // 33: BattleType (*DBBattleFormt)(nil), // 34: DBBattleFormt (*BattleCmd)(nil), // 35: BattleCmd (*anypb.Any)(nil), // 36: google.protobuf.Any (*DySkillData)(nil), // 37: DySkillData } var file_battle_battle_msg_proto_depIdxs = []int32{ 1, // 0: LineData.line:type_name -> LineUp 30, // 1: BattleEVEReq.ptype:type_name -> PlayType 2, // 2: BattleEVEReq.format:type_name -> BattleFormation 30, // 3: BattlePVEReq.ptype:type_name -> PlayType 2, // 4: BattlePVEReq.format:type_name -> BattleFormation 30, // 5: BattleHeroPVEReq.ptype:type_name -> PlayType 6, // 6: BattleHeroPVEReq.redformat:type_name -> PVPFormation 31, // 7: PVPFormation.format:type_name -> DBHero 30, // 8: BattlePVPReq.ptype:type_name -> PlayType 6, // 9: BattlePVPReq.redformat:type_name -> PVPFormation 6, // 10: BattlePVPReq.buleformat:type_name -> PVPFormation 30, // 11: BattleRTPVPReq.ptype:type_name -> PlayType 2, // 12: BattleRTPVPReq.redformat:type_name -> BattleFormation 2, // 13: BattleRTPVPReq.bulefformat:type_name -> BattleFormation 30, // 14: BattleLPVEReq.ptype:type_name -> PlayType 2, // 15: BattleLPVEReq.format:type_name -> BattleFormation 32, // 16: BattleLPVEReq.monsters:type_name -> BattleRole 30, // 17: BattlePVBReq.ptype:type_name -> PlayType 2, // 18: BattlePVBReq.format:type_name -> BattleFormation 33, // 19: BattleInfo.btype:type_name -> BattleType 30, // 20: BattleInfo.ptype:type_name -> PlayType 34, // 21: BattleInfo.redflist:type_name -> DBBattleFormt 34, // 22: BattleInfo.buleflist:type_name -> DBBattleFormt 11, // 23: BattleReport.info:type_name -> BattleInfo 35, // 24: BattleReport.incmd:type_name -> BattleCmd 35, // 25: BattleReport.outcmd:type_name -> BattleCmd 32, // 26: BattleReport.alive:type_name -> BattleRole 36, // 27: BattleRpcMessage.data:type_name -> google.protobuf.Any 11, // 28: BattleRunReq.info:type_name -> BattleInfo 12, // 29: BattleRunResp.reports:type_name -> BattleReport 27, // 30: BattleGetInfoResp.info:type_name -> BattleStateInfo 11, // 31: BattleCreateServerReq.info:type_name -> BattleInfo 35, // 32: BattleInCmdReq.in:type_name -> BattleCmd 35, // 33: BattleInCmdResp.in:type_name -> BattleCmd 35, // 34: BattleOutCmdPush.cmd:type_name -> BattleCmd 11, // 35: BattleStateInfo.info:type_name -> BattleInfo 35, // 36: BattleStateInfo.outCmds:type_name -> BattleCmd 35, // 37: BattleStateInfo.inputCmds:type_name -> BattleCmd 37, // 38: StroneBattleReq.diBuff:type_name -> DySkillData 32, // 39: StroneBattleReq.role:type_name -> BattleRole 33, // 40: StroneBattleReq.Btype:type_name -> BattleType 30, // 41: StroneBattleReq.Ptype:type_name -> PlayType 30, // 42: BattlePVEPlunderReq.ptype:type_name -> PlayType 2, // 43: BattlePVEPlunderReq.format:type_name -> BattleFormation 2, // 44: BattlePVEPlunderReq.defformat:type_name -> BattleFormation 45, // [45:45] is the sub-list for method output_type 45, // [45:45] is the sub-list for method input_type 45, // [45:45] is the sub-list for extension type_name 45, // [45:45] is the sub-list for extension extendee 0, // [0:45] is the sub-list for field type_name } func init() { file_battle_battle_msg_proto_init() } func file_battle_battle_msg_proto_init() { if File_battle_battle_msg_proto != nil { return } file_battle_battle_db_proto_init() file_hero_hero_db_proto_init() file_battle_battle_struct_proto_init() if !protoimpl.UnsafeEnabled { file_battle_battle_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LineData); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LineUp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleFormation); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleEVEReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattlePVEReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleHeroPVEReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PVPFormation); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattlePVPReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleRTPVPReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleLPVEReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattlePVBReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleReport); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleRpcMessage); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleCheckResults); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleRunReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleRunResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleGetInfoReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleGetInfoResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleCreateServerReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleCreateServerResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleInCmdReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleInCmdResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleOutCmdPush); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleFinishPush); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleConcedeReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleConcedeResp); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattleStateInfo); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StroneBattleReq); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_battle_battle_msg_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BattlePVEPlunderReq); 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_battle_battle_msg_proto_rawDesc, NumEnums: 0, NumMessages: 30, NumExtensions: 0, NumServices: 0, }, GoTypes: file_battle_battle_msg_proto_goTypes, DependencyIndexes: file_battle_battle_msg_proto_depIdxs, MessageInfos: file_battle_battle_msg_proto_msgTypes, }.Build() File_battle_battle_msg_proto = out.File file_battle_battle_msg_proto_rawDesc = nil file_battle_battle_msg_proto_goTypes = nil file_battle_battle_msg_proto_depIdxs = nil }