1518 lines
45 KiB
Go
1518 lines
45 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: pvp/pvp_msg.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
//战斗列表 请求
|
|
type PvpListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *PvpListReq) Reset() {
|
|
*x = PvpListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpListReq) ProtoMessage() {}
|
|
|
|
func (x *PvpListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpListReq.ProtoReflect.Descriptor instead.
|
|
func (*PvpListReq) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//战斗列表 请求回应
|
|
type PvpListResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
List []*DBPvpBattle `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
|
|
}
|
|
|
|
func (x *PvpListResp) Reset() {
|
|
*x = PvpListResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpListResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpListResp) ProtoMessage() {}
|
|
|
|
func (x *PvpListResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpListResp.ProtoReflect.Descriptor instead.
|
|
func (*PvpListResp) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *PvpListResp) GetList() []*DBPvpBattle {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//战斗列表推送
|
|
type PvpIntoReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
|
}
|
|
|
|
func (x *PvpIntoReq) Reset() {
|
|
*x = PvpIntoReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpIntoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpIntoReq) ProtoMessage() {}
|
|
|
|
func (x *PvpIntoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpIntoReq.ProtoReflect.Descriptor instead.
|
|
func (*PvpIntoReq) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *PvpIntoReq) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//战斗列表推送
|
|
type PvpIntoResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功
|
|
Battleid string `protobuf:"bytes,2,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
|
Info *BattleStateInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info"` //战斗状态数据
|
|
}
|
|
|
|
func (x *PvpIntoResp) Reset() {
|
|
*x = PvpIntoResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpIntoResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpIntoResp) ProtoMessage() {}
|
|
|
|
func (x *PvpIntoResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpIntoResp.ProtoReflect.Descriptor instead.
|
|
func (*PvpIntoResp) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *PvpIntoResp) GetCode() ErrorCode {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ErrorCode_Success
|
|
}
|
|
|
|
func (x *PvpIntoResp) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PvpIntoResp) GetInfo() *BattleStateInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//Pvp 战斗准备推送
|
|
type PvpReadyPush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ServicePath string `protobuf:"bytes,1,opt,name=servicePath,proto3" json:"servicePath"` //战斗区服地址
|
|
Battleid string `protobuf:"bytes,2,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
|
Red *PvpUserInfo `protobuf:"bytes,3,opt,name=red,proto3" json:"red"` //红方用户信息
|
|
Blue *PvpUserInfo `protobuf:"bytes,4,opt,name=blue,proto3" json:"blue"` //蓝方用户信息
|
|
Countdown int32 `protobuf:"varint,5,opt,name=countdown,proto3" json:"countdown"` //布阵倒计时
|
|
}
|
|
|
|
func (x *PvpReadyPush) Reset() {
|
|
*x = PvpReadyPush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpReadyPush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpReadyPush) ProtoMessage() {}
|
|
|
|
func (x *PvpReadyPush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpReadyPush.ProtoReflect.Descriptor instead.
|
|
func (*PvpReadyPush) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *PvpReadyPush) GetServicePath() string {
|
|
if x != nil {
|
|
return x.ServicePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PvpReadyPush) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PvpReadyPush) GetRed() *PvpUserInfo {
|
|
if x != nil {
|
|
return x.Red
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PvpReadyPush) GetBlue() *PvpUserInfo {
|
|
if x != nil {
|
|
return x.Blue
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PvpReadyPush) GetCountdown() int32 {
|
|
if x != nil {
|
|
return x.Countdown
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//加载完毕请求
|
|
type PvpLoadCompleteReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
|
}
|
|
|
|
func (x *PvpLoadCompleteReq) Reset() {
|
|
*x = PvpLoadCompleteReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpLoadCompleteReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpLoadCompleteReq) ProtoMessage() {}
|
|
|
|
func (x *PvpLoadCompleteReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpLoadCompleteReq.ProtoReflect.Descriptor instead.
|
|
func (*PvpLoadCompleteReq) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *PvpLoadCompleteReq) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//加载完毕请求
|
|
type PvpLoadCompleteResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
|
Issucc bool `protobuf:"varint,2,opt,name=issucc,proto3" json:"issucc"`
|
|
}
|
|
|
|
func (x *PvpLoadCompleteResp) Reset() {
|
|
*x = PvpLoadCompleteResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpLoadCompleteResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpLoadCompleteResp) ProtoMessage() {}
|
|
|
|
func (x *PvpLoadCompleteResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpLoadCompleteResp.ProtoReflect.Descriptor instead.
|
|
func (*PvpLoadCompleteResp) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *PvpLoadCompleteResp) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PvpLoadCompleteResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
//加载完毕 通知
|
|
type PvpLoadCompleteNoticePush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
|
Side int32 `protobuf:"varint,2,opt,name=side,proto3" json:"side"`
|
|
}
|
|
|
|
func (x *PvpLoadCompleteNoticePush) Reset() {
|
|
*x = PvpLoadCompleteNoticePush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpLoadCompleteNoticePush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpLoadCompleteNoticePush) ProtoMessage() {}
|
|
|
|
func (x *PvpLoadCompleteNoticePush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpLoadCompleteNoticePush.ProtoReflect.Descriptor instead.
|
|
func (*PvpLoadCompleteNoticePush) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *PvpLoadCompleteNoticePush) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PvpLoadCompleteNoticePush) GetSide() int32 {
|
|
if x != nil {
|
|
return x.Side
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//Pvp 战斗准备推送
|
|
type PvpCancelPush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ServicePath string `protobuf:"bytes,1,opt,name=servicePath,proto3" json:"servicePath"` //战斗区服地址
|
|
Battleid string `protobuf:"bytes,2,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
|
}
|
|
|
|
func (x *PvpCancelPush) Reset() {
|
|
*x = PvpCancelPush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpCancelPush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpCancelPush) ProtoMessage() {}
|
|
|
|
func (x *PvpCancelPush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpCancelPush.ProtoReflect.Descriptor instead.
|
|
func (*PvpCancelPush) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *PvpCancelPush) GetServicePath() string {
|
|
if x != nil {
|
|
return x.ServicePath
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PvpCancelPush) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PvpActiveCancelReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
|
}
|
|
|
|
func (x *PvpActiveCancelReq) Reset() {
|
|
*x = PvpActiveCancelReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpActiveCancelReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpActiveCancelReq) ProtoMessage() {}
|
|
|
|
func (x *PvpActiveCancelReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpActiveCancelReq.ProtoReflect.Descriptor instead.
|
|
func (*PvpActiveCancelReq) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *PvpActiveCancelReq) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PvpActiveCancelResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"`
|
|
}
|
|
|
|
func (x *PvpActiveCancelResp) Reset() {
|
|
*x = PvpActiveCancelResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpActiveCancelResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpActiveCancelResp) ProtoMessage() {}
|
|
|
|
func (x *PvpActiveCancelResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpActiveCancelResp.ProtoReflect.Descriptor instead.
|
|
func (*PvpActiveCancelResp) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *PvpActiveCancelResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
//布阵 请求
|
|
type PvpFormationReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"` //战斗id
|
|
Formation *BattleFormation `protobuf:"bytes,2,opt,name=formation,proto3" json:"formation"` //阵型
|
|
}
|
|
|
|
func (x *PvpFormationReq) Reset() {
|
|
*x = PvpFormationReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpFormationReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpFormationReq) ProtoMessage() {}
|
|
|
|
func (x *PvpFormationReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpFormationReq.ProtoReflect.Descriptor instead.
|
|
func (*PvpFormationReq) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *PvpFormationReq) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PvpFormationReq) GetFormation() *BattleFormation {
|
|
if x != nil {
|
|
return x.Formation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//布阵 请求 回应
|
|
type PvpFormationResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"`
|
|
}
|
|
|
|
func (x *PvpFormationResp) Reset() {
|
|
*x = PvpFormationResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpFormationResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpFormationResp) ProtoMessage() {}
|
|
|
|
func (x *PvpFormationResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpFormationResp.ProtoReflect.Descriptor instead.
|
|
func (*PvpFormationResp) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *PvpFormationResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
//战斗开始推送
|
|
type PvpStartPush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功
|
|
Info *BattleInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *PvpStartPush) Reset() {
|
|
*x = PvpStartPush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpStartPush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpStartPush) ProtoMessage() {}
|
|
|
|
func (x *PvpStartPush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpStartPush.ProtoReflect.Descriptor instead.
|
|
func (*PvpStartPush) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *PvpStartPush) GetCode() ErrorCode {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ErrorCode_Success
|
|
}
|
|
|
|
func (x *PvpStartPush) GetInfo() *BattleInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//实时Pvp 指令推送
|
|
type PvpOutCmdPush 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 *PvpOutCmdPush) Reset() {
|
|
*x = PvpOutCmdPush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpOutCmdPush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpOutCmdPush) ProtoMessage() {}
|
|
|
|
func (x *PvpOutCmdPush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpOutCmdPush.ProtoReflect.Descriptor instead.
|
|
func (*PvpOutCmdPush) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *PvpOutCmdPush) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PvpOutCmdPush) GetCmd() []*BattleCmd {
|
|
if x != nil {
|
|
return x.Cmd
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//pvp 输入指令请求
|
|
type PvpInCmdReq 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,opt,name=cmd,proto3" json:"cmd"`
|
|
}
|
|
|
|
func (x *PvpInCmdReq) Reset() {
|
|
*x = PvpInCmdReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpInCmdReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpInCmdReq) ProtoMessage() {}
|
|
|
|
func (x *PvpInCmdReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpInCmdReq.ProtoReflect.Descriptor instead.
|
|
func (*PvpInCmdReq) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *PvpInCmdReq) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PvpInCmdReq) GetCmd() *BattleCmd {
|
|
if x != nil {
|
|
return x.Cmd
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//pvp 输入指令请求 回应
|
|
type PvpInCmdResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功
|
|
Battleid string `protobuf:"bytes,2,opt,name=battleid,proto3" json:"battleid"`
|
|
Cmd *BattleCmd `protobuf:"bytes,3,opt,name=cmd,proto3" json:"cmd"`
|
|
}
|
|
|
|
func (x *PvpInCmdResp) Reset() {
|
|
*x = PvpInCmdResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpInCmdResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpInCmdResp) ProtoMessage() {}
|
|
|
|
func (x *PvpInCmdResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpInCmdResp.ProtoReflect.Descriptor instead.
|
|
func (*PvpInCmdResp) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *PvpInCmdResp) GetCode() ErrorCode {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ErrorCode_Success
|
|
}
|
|
|
|
func (x *PvpInCmdResp) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PvpInCmdResp) GetCmd() *BattleCmd {
|
|
if x != nil {
|
|
return x.Cmd
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//实时Pvp 战斗结束推送
|
|
type PvpFinishPush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Battleid string `protobuf:"bytes,1,opt,name=battleid,proto3" json:"battleid"`
|
|
}
|
|
|
|
func (x *PvpFinishPush) Reset() {
|
|
*x = PvpFinishPush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PvpFinishPush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PvpFinishPush) ProtoMessage() {}
|
|
|
|
func (x *PvpFinishPush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 PvpFinishPush.ProtoReflect.Descriptor instead.
|
|
func (*PvpFinishPush) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *PvpFinishPush) GetBattleid() string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RPC_PVPTrusteeshipReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Battleid []string `protobuf:"bytes,1,rep,name=battleid,proto3" json:"battleid"`
|
|
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
|
|
}
|
|
|
|
func (x *RPC_PVPTrusteeshipReq) Reset() {
|
|
*x = RPC_PVPTrusteeshipReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RPC_PVPTrusteeshipReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPC_PVPTrusteeshipReq) ProtoMessage() {}
|
|
|
|
func (x *RPC_PVPTrusteeshipReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 RPC_PVPTrusteeshipReq.ProtoReflect.Descriptor instead.
|
|
func (*RPC_PVPTrusteeshipReq) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *RPC_PVPTrusteeshipReq) GetBattleid() []string {
|
|
if x != nil {
|
|
return x.Battleid
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RPC_PVPTrusteeshipReq) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RPC_PVPTrusteeshipResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *RPC_PVPTrusteeshipResp) Reset() {
|
|
*x = RPC_PVPTrusteeshipResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_pvp_pvp_msg_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RPC_PVPTrusteeshipResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPC_PVPTrusteeshipResp) ProtoMessage() {}
|
|
|
|
func (x *RPC_PVPTrusteeshipResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_pvp_pvp_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 RPC_PVPTrusteeshipResp.ProtoReflect.Descriptor instead.
|
|
func (*RPC_PVPTrusteeshipResp) Descriptor() ([]byte, []int) {
|
|
return file_pvp_pvp_msg_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
var File_pvp_pvp_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_pvp_pvp_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x11, 0x70, 0x76, 0x70, 0x2f, 0x70, 0x76, 0x70, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x70, 0x76, 0x70, 0x2f, 0x70, 0x76, 0x70, 0x5f, 0x64, 0x62, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 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, 0x0f,
|
|
0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
|
0x0c, 0x0a, 0x0a, 0x50, 0x76, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x2f, 0x0a,
|
|
0x0b, 0x50, 0x76, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04,
|
|
0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x50,
|
|
0x76, 0x70, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x28,
|
|
0x0a, 0x0a, 0x50, 0x76, 0x70, 0x49, 0x6e, 0x74, 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, 0x6f, 0x0a, 0x0b, 0x50, 0x76, 0x70, 0x49,
|
|
0x6e, 0x74, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64,
|
|
0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c,
|
|
0x65, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c,
|
|
0x65, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 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, 0xac, 0x01, 0x0a, 0x0c, 0x50, 0x76,
|
|
0x70, 0x52, 0x65, 0x61, 0x64, 0x79, 0x50, 0x75, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65,
|
|
0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08,
|
|
0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
|
0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x50, 0x76, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49,
|
|
0x6e, 0x66, 0x6f, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, 0x20, 0x0a, 0x04, 0x62, 0x6c, 0x75, 0x65,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x50, 0x76, 0x70, 0x55, 0x73, 0x65, 0x72,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f,
|
|
0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x22, 0x30, 0x0a, 0x12, 0x50, 0x76, 0x70, 0x4c,
|
|
0x6f, 0x61, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 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, 0x22, 0x49, 0x0a, 0x13, 0x50, 0x76,
|
|
0x70, 0x4c, 0x6f, 0x61, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 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, 0x16, 0x0a,
|
|
0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69,
|
|
0x73, 0x73, 0x75, 0x63, 0x63, 0x22, 0x4b, 0x0a, 0x19, 0x50, 0x76, 0x70, 0x4c, 0x6f, 0x61, 0x64,
|
|
0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 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, 0x12,
|
|
0x0a, 0x04, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69,
|
|
0x64, 0x65, 0x22, 0x4d, 0x0a, 0x0d, 0x50, 0x76, 0x70, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x50,
|
|
0x75, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61,
|
|
0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
|
|
0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69,
|
|
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69,
|
|
0x64, 0x22, 0x30, 0x0a, 0x12, 0x50, 0x76, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x61,
|
|
0x6e, 0x63, 0x65, 0x6c, 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, 0x2d, 0x0a, 0x13, 0x50, 0x76, 0x70, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65,
|
|
0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 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, 0x5d, 0x0a, 0x0f, 0x50, 0x76, 0x70, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 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, 0x2e, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72,
|
|
0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x22, 0x2a, 0x0a, 0x10, 0x50, 0x76, 0x70, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 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, 0x4f, 0x0a,
|
|
0x0c, 0x50, 0x76, 0x70, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1e, 0x0a,
|
|
0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72,
|
|
0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a,
|
|
0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61,
|
|
0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x49,
|
|
0x0a, 0x0d, 0x50, 0x76, 0x70, 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, 0x47, 0x0a, 0x0b, 0x50, 0x76, 0x70,
|
|
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, 0x1c, 0x0a, 0x03, 0x63, 0x6d, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x0a, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x52, 0x03, 0x63,
|
|
0x6d, 0x64, 0x22, 0x68, 0x0a, 0x0c, 0x50, 0x76, 0x70, 0x49, 0x6e, 0x43, 0x6d, 0x64, 0x52, 0x65,
|
|
0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f,
|
|
0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x12, 0x1c,
|
|
0x0a, 0x03, 0x63, 0x6d, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x42, 0x61,
|
|
0x74, 0x74, 0x6c, 0x65, 0x43, 0x6d, 0x64, 0x52, 0x03, 0x63, 0x6d, 0x64, 0x22, 0x2b, 0x0a, 0x0d,
|
|
0x50, 0x76, 0x70, 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, 0x22, 0x45, 0x0a, 0x15, 0x52, 0x50, 0x43,
|
|
0x5f, 0x50, 0x56, 0x50, 0x54, 0x72, 0x75, 0x73, 0x74, 0x65, 0x65, 0x73, 0x68, 0x69, 0x70, 0x52,
|
|
0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x69, 0x64, 0x12, 0x10,
|
|
0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64,
|
|
0x22, 0x18, 0x0a, 0x16, 0x52, 0x50, 0x43, 0x5f, 0x50, 0x56, 0x50, 0x54, 0x72, 0x75, 0x73, 0x74,
|
|
0x65, 0x65, 0x73, 0x68, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b,
|
|
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_pvp_pvp_msg_proto_rawDescOnce sync.Once
|
|
file_pvp_pvp_msg_proto_rawDescData = file_pvp_pvp_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_pvp_pvp_msg_proto_rawDescGZIP() []byte {
|
|
file_pvp_pvp_msg_proto_rawDescOnce.Do(func() {
|
|
file_pvp_pvp_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_pvp_pvp_msg_proto_rawDescData)
|
|
})
|
|
return file_pvp_pvp_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_pvp_pvp_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
|
var file_pvp_pvp_msg_proto_goTypes = []interface{}{
|
|
(*PvpListReq)(nil), // 0: PvpListReq
|
|
(*PvpListResp)(nil), // 1: PvpListResp
|
|
(*PvpIntoReq)(nil), // 2: PvpIntoReq
|
|
(*PvpIntoResp)(nil), // 3: PvpIntoResp
|
|
(*PvpReadyPush)(nil), // 4: PvpReadyPush
|
|
(*PvpLoadCompleteReq)(nil), // 5: PvpLoadCompleteReq
|
|
(*PvpLoadCompleteResp)(nil), // 6: PvpLoadCompleteResp
|
|
(*PvpLoadCompleteNoticePush)(nil), // 7: PvpLoadCompleteNoticePush
|
|
(*PvpCancelPush)(nil), // 8: PvpCancelPush
|
|
(*PvpActiveCancelReq)(nil), // 9: PvpActiveCancelReq
|
|
(*PvpActiveCancelResp)(nil), // 10: PvpActiveCancelResp
|
|
(*PvpFormationReq)(nil), // 11: PvpFormationReq
|
|
(*PvpFormationResp)(nil), // 12: PvpFormationResp
|
|
(*PvpStartPush)(nil), // 13: PvpStartPush
|
|
(*PvpOutCmdPush)(nil), // 14: PvpOutCmdPush
|
|
(*PvpInCmdReq)(nil), // 15: PvpInCmdReq
|
|
(*PvpInCmdResp)(nil), // 16: PvpInCmdResp
|
|
(*PvpFinishPush)(nil), // 17: PvpFinishPush
|
|
(*RPC_PVPTrusteeshipReq)(nil), // 18: RPC_PVPTrusteeshipReq
|
|
(*RPC_PVPTrusteeshipResp)(nil), // 19: RPC_PVPTrusteeshipResp
|
|
(*DBPvpBattle)(nil), // 20: DBPvpBattle
|
|
(ErrorCode)(0), // 21: ErrorCode
|
|
(*BattleStateInfo)(nil), // 22: BattleStateInfo
|
|
(*PvpUserInfo)(nil), // 23: PvpUserInfo
|
|
(*BattleFormation)(nil), // 24: BattleFormation
|
|
(*BattleInfo)(nil), // 25: BattleInfo
|
|
(*BattleCmd)(nil), // 26: BattleCmd
|
|
}
|
|
var file_pvp_pvp_msg_proto_depIdxs = []int32{
|
|
20, // 0: PvpListResp.list:type_name -> DBPvpBattle
|
|
21, // 1: PvpIntoResp.code:type_name -> ErrorCode
|
|
22, // 2: PvpIntoResp.info:type_name -> BattleStateInfo
|
|
23, // 3: PvpReadyPush.red:type_name -> PvpUserInfo
|
|
23, // 4: PvpReadyPush.blue:type_name -> PvpUserInfo
|
|
24, // 5: PvpFormationReq.formation:type_name -> BattleFormation
|
|
21, // 6: PvpStartPush.code:type_name -> ErrorCode
|
|
25, // 7: PvpStartPush.info:type_name -> BattleInfo
|
|
26, // 8: PvpOutCmdPush.cmd:type_name -> BattleCmd
|
|
26, // 9: PvpInCmdReq.cmd:type_name -> BattleCmd
|
|
21, // 10: PvpInCmdResp.code:type_name -> ErrorCode
|
|
26, // 11: PvpInCmdResp.cmd:type_name -> BattleCmd
|
|
12, // [12:12] is the sub-list for method output_type
|
|
12, // [12:12] is the sub-list for method input_type
|
|
12, // [12:12] is the sub-list for extension type_name
|
|
12, // [12:12] is the sub-list for extension extendee
|
|
0, // [0:12] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_pvp_pvp_msg_proto_init() }
|
|
func file_pvp_pvp_msg_proto_init() {
|
|
if File_pvp_pvp_msg_proto != nil {
|
|
return
|
|
}
|
|
file_pvp_pvp_db_proto_init()
|
|
file_battle_battle_msg_proto_init()
|
|
file_errorcode_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_pvp_pvp_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpListResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpIntoReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpIntoResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpReadyPush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpLoadCompleteReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpLoadCompleteResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpLoadCompleteNoticePush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpCancelPush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpActiveCancelReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpActiveCancelResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpFormationReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpFormationResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpStartPush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpOutCmdPush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpInCmdReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpInCmdResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PvpFinishPush); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RPC_PVPTrusteeshipReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_pvp_pvp_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RPC_PVPTrusteeshipResp); 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_pvp_pvp_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 20,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_pvp_pvp_msg_proto_goTypes,
|
|
DependencyIndexes: file_pvp_pvp_msg_proto_depIdxs,
|
|
MessageInfos: file_pvp_pvp_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_pvp_pvp_msg_proto = out.File
|
|
file_pvp_pvp_msg_proto_rawDesc = nil
|
|
file_pvp_pvp_msg_proto_goTypes = nil
|
|
file_pvp_pvp_msg_proto_depIdxs = nil
|
|
}
|