1818 lines
55 KiB
Go
1818 lines
55 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: arena/arena_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 ArenaInfoReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ArenaInfoReq) Reset() {
|
|
*x = ArenaInfoReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaInfoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaInfoReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaInfoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaInfoReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaInfoReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//竞技场信息 回应
|
|
type ArenaInfoResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Info *DBArenaUser `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *ArenaInfoResp) Reset() {
|
|
*x = ArenaInfoResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaInfoResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaInfoResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaInfoResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaInfoResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaInfoResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ArenaInfoResp) GetInfo() *DBArenaUser {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//竞技场信息 请求 别人的
|
|
type ArenaOtherInfoReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OtherId string `protobuf:"bytes,1,opt,name=otherId,proto3" json:"otherId"`
|
|
}
|
|
|
|
func (x *ArenaOtherInfoReq) Reset() {
|
|
*x = ArenaOtherInfoReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaOtherInfoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaOtherInfoReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaOtherInfoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaOtherInfoReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaOtherInfoReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ArenaOtherInfoReq) GetOtherId() string {
|
|
if x != nil {
|
|
return x.OtherId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//竞技场信息 回应
|
|
type ArenaOtherInfoResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Info *DBArenaUser `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *ArenaOtherInfoResp) Reset() {
|
|
*x = ArenaOtherInfoResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaOtherInfoResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaOtherInfoResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaOtherInfoResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaOtherInfoResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaOtherInfoResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ArenaOtherInfoResp) GetInfo() *DBArenaUser {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//设置进攻阵型
|
|
type ArenaSetAttFormtReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Leadpos int32 `protobuf:"varint,1,opt,name=leadpos,proto3" json:"leadpos"` //队长位置
|
|
Formt []string `protobuf:"bytes,2,rep,name=formt,proto3" json:"formt"` //进攻阵型
|
|
}
|
|
|
|
func (x *ArenaSetAttFormtReq) Reset() {
|
|
*x = ArenaSetAttFormtReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaSetAttFormtReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaSetAttFormtReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaSetAttFormtReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaSetAttFormtReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaSetAttFormtReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ArenaSetAttFormtReq) GetLeadpos() int32 {
|
|
if x != nil {
|
|
return x.Leadpos
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ArenaSetAttFormtReq) GetFormt() []string {
|
|
if x != nil {
|
|
return x.Formt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//设置进攻阵型
|
|
type ArenaSetAttFormtResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"`
|
|
}
|
|
|
|
func (x *ArenaSetAttFormtResp) Reset() {
|
|
*x = ArenaSetAttFormtResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaSetAttFormtResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaSetAttFormtResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaSetAttFormtResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaSetAttFormtResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaSetAttFormtResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *ArenaSetAttFormtResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
//设置防守阵型
|
|
type ArenaSetDefFormtReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Leadpos int32 `protobuf:"varint,1,opt,name=leadpos,proto3" json:"leadpos"` //队长位置
|
|
Formt []string `protobuf:"bytes,2,rep,name=formt,proto3" json:"formt"` //防守阵型
|
|
}
|
|
|
|
func (x *ArenaSetDefFormtReq) Reset() {
|
|
*x = ArenaSetDefFormtReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaSetDefFormtReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaSetDefFormtReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaSetDefFormtReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaSetDefFormtReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaSetDefFormtReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ArenaSetDefFormtReq) GetLeadpos() int32 {
|
|
if x != nil {
|
|
return x.Leadpos
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ArenaSetDefFormtReq) GetFormt() []string {
|
|
if x != nil {
|
|
return x.Formt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//设置防守阵型
|
|
type ArenaSetDefFormtResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"`
|
|
}
|
|
|
|
func (x *ArenaSetDefFormtResp) Reset() {
|
|
*x = ArenaSetDefFormtResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaSetDefFormtResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaSetDefFormtResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaSetDefFormtResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaSetDefFormtResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaSetDefFormtResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ArenaSetDefFormtResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
//竞技场匹配 请求
|
|
type ArenaMatcheReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ArenaMatcheReq) Reset() {
|
|
*x = ArenaMatcheReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaMatcheReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaMatcheReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaMatcheReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaMatcheReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaMatcheReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
//竞技场匹配 回应
|
|
type ArenaMatcheResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Players []*ArenaPlayer `protobuf:"bytes,1,rep,name=players,proto3" json:"players"`
|
|
}
|
|
|
|
func (x *ArenaMatcheResp) Reset() {
|
|
*x = ArenaMatcheResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaMatcheResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaMatcheResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaMatcheResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaMatcheResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaMatcheResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ArenaMatcheResp) GetPlayers() []*ArenaPlayer {
|
|
if x != nil {
|
|
return x.Players
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//竞技场挑战 请求
|
|
type ArenaChallengeReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Playerid string `protobuf:"bytes,1,opt,name=playerid,proto3" json:"playerid"`
|
|
Isai bool `protobuf:"varint,2,opt,name=isai,proto3" json:"isai"` //是否是ai
|
|
MformatId int32 `protobuf:"varint,3,opt,name=mformatId,proto3" json:"mformatId"` // AIId
|
|
Battle *BattleFormation `protobuf:"bytes,4,opt,name=battle,proto3" json:"battle"` //战斗类型
|
|
}
|
|
|
|
func (x *ArenaChallengeReq) Reset() {
|
|
*x = ArenaChallengeReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaChallengeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaChallengeReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaChallengeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaChallengeReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaChallengeReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *ArenaChallengeReq) GetPlayerid() string {
|
|
if x != nil {
|
|
return x.Playerid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ArenaChallengeReq) GetIsai() bool {
|
|
if x != nil {
|
|
return x.Isai
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ArenaChallengeReq) GetMformatId() int32 {
|
|
if x != nil {
|
|
return x.MformatId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ArenaChallengeReq) GetBattle() *BattleFormation {
|
|
if x != nil {
|
|
return x.Battle
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//竞技场挑战 回应
|
|
type ArenaChallengeResp 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 *ArenaChallengeResp) Reset() {
|
|
*x = ArenaChallengeResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaChallengeResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaChallengeResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaChallengeResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaChallengeResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaChallengeResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *ArenaChallengeResp) GetCode() ErrorCode {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ErrorCode_Success
|
|
}
|
|
|
|
func (x *ArenaChallengeResp) GetInfo() *BattleInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//领取战斗奖励
|
|
type ArenaChallengeRewardReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Iswin bool `protobuf:"varint,1,opt,name=iswin,proto3" json:"iswin"` //是否胜利
|
|
Isai bool `protobuf:"varint,2,opt,name=isai,proto3" json:"isai"` //对手是否是ai
|
|
Aiintegral int32 `protobuf:"varint,3,opt,name=aiintegral,proto3" json:"aiintegral"` // ai 积分
|
|
Ainame string `protobuf:"bytes,4,opt,name=ainame,proto3" json:"ainame"` // ai名称
|
|
Report *BattleReport `protobuf:"bytes,5,opt,name=report,proto3" json:"report"` //战报
|
|
Revengeid string `protobuf:"bytes,6,opt,name=revengeid,proto3" json:"revengeid"` //复仇id
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardReq) Reset() {
|
|
*x = ArenaChallengeRewardReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaChallengeRewardReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaChallengeRewardReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaChallengeRewardReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaChallengeRewardReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardReq) GetIswin() bool {
|
|
if x != nil {
|
|
return x.Iswin
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardReq) GetIsai() bool {
|
|
if x != nil {
|
|
return x.Isai
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardReq) GetAiintegral() int32 {
|
|
if x != nil {
|
|
return x.Aiintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardReq) GetAiname() string {
|
|
if x != nil {
|
|
return x.Ainame
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardReq) GetReport() *BattleReport {
|
|
if x != nil {
|
|
return x.Report
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardReq) GetRevengeid() string {
|
|
if x != nil {
|
|
return x.Revengeid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ArenaChallengeRewardResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"`
|
|
Integral int32 `protobuf:"varint,2,opt,name=integral,proto3" json:"integral"`
|
|
Dan int32 `protobuf:"varint,3,opt,name=dan,proto3" json:"dan"`
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardResp) Reset() {
|
|
*x = ArenaChallengeRewardResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaChallengeRewardResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaChallengeRewardResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaChallengeRewardResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaChallengeRewardResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardResp) GetIntegral() int32 {
|
|
if x != nil {
|
|
return x.Integral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ArenaChallengeRewardResp) GetDan() int32 {
|
|
if x != nil {
|
|
return x.Dan
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//竞技场排行榜 请求
|
|
type ArenaRankReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ArenaRankReq) Reset() {
|
|
*x = ArenaRankReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaRankReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaRankReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaRankReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaRankReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaRankReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
//竞技场排行榜 回应
|
|
type ArenaRankResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Players []*ArenaPlayer `protobuf:"bytes,1,rep,name=players,proto3" json:"players"`
|
|
Info *DBArenaUser `protobuf:"bytes,2,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *ArenaRankResp) Reset() {
|
|
*x = ArenaRankResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaRankResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaRankResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaRankResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaRankResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaRankResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *ArenaRankResp) GetPlayers() []*ArenaPlayer {
|
|
if x != nil {
|
|
return x.Players
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ArenaRankResp) GetInfo() *DBArenaUser {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//购买票据
|
|
type ArenaBuyReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
BuyNum int32 `protobuf:"varint,1,opt,name=buyNum,proto3" json:"buyNum"`
|
|
}
|
|
|
|
func (x *ArenaBuyReq) Reset() {
|
|
*x = ArenaBuyReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaBuyReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaBuyReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaBuyReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaBuyReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaBuyReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *ArenaBuyReq) GetBuyNum() int32 {
|
|
if x != nil {
|
|
return x.BuyNum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ArenaBuyResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"` //是否成功
|
|
Ticket int32 `protobuf:"varint,2,opt,name=ticket,proto3" json:"ticket"` //当前挑战次数
|
|
}
|
|
|
|
func (x *ArenaBuyResp) Reset() {
|
|
*x = ArenaBuyResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaBuyResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaBuyResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaBuyResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaBuyResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaBuyResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *ArenaBuyResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ArenaBuyResp) GetTicket() int32 {
|
|
if x != nil {
|
|
return x.Ticket
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//删除战斗记录
|
|
type ArenaDelRewardReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Bid string `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid"` //战斗id
|
|
}
|
|
|
|
func (x *ArenaDelRewardReq) Reset() {
|
|
*x = ArenaDelRewardReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaDelRewardReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaDelRewardReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaDelRewardReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaDelRewardReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaDelRewardReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *ArenaDelRewardReq) GetBid() string {
|
|
if x != nil {
|
|
return x.Bid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ArenaDelRewardResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"` //是否成功
|
|
Bid string `protobuf:"bytes,2,opt,name=bid,proto3" json:"bid"` //战斗id
|
|
}
|
|
|
|
func (x *ArenaDelRewardResp) Reset() {
|
|
*x = ArenaDelRewardResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaDelRewardResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaDelRewardResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaDelRewardResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaDelRewardResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaDelRewardResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *ArenaDelRewardResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ArenaDelRewardResp) GetBid() string {
|
|
if x != nil {
|
|
return x.Bid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//剧情战斗 请求
|
|
type ArenaPlotReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid"` //剧情id
|
|
Battle *BattleFormation `protobuf:"bytes,2,opt,name=battle,proto3" json:"battle"` //战斗类型
|
|
}
|
|
|
|
func (x *ArenaPlotReq) Reset() {
|
|
*x = ArenaPlotReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaPlotReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaPlotReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaPlotReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaPlotReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaPlotReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *ArenaPlotReq) GetPid() int32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ArenaPlotReq) GetBattle() *BattleFormation {
|
|
if x != nil {
|
|
return x.Battle
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ArenaPlotResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功
|
|
Pid int32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid"` //剧情id
|
|
Info *BattleInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *ArenaPlotResp) Reset() {
|
|
*x = ArenaPlotResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaPlotResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaPlotResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaPlotResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaPlotResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaPlotResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *ArenaPlotResp) GetCode() ErrorCode {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ErrorCode_Success
|
|
}
|
|
|
|
func (x *ArenaPlotResp) GetPid() int32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ArenaPlotResp) GetInfo() *BattleInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//剧情战斗奖励领取 请求
|
|
type ArenaPlotRewardReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid"` //剧情id
|
|
Report *BattleReport `protobuf:"bytes,2,opt,name=report,proto3" json:"report"` //战报
|
|
}
|
|
|
|
func (x *ArenaPlotRewardReq) Reset() {
|
|
*x = ArenaPlotRewardReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaPlotRewardReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaPlotRewardReq) ProtoMessage() {}
|
|
|
|
func (x *ArenaPlotRewardReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaPlotRewardReq.ProtoReflect.Descriptor instead.
|
|
func (*ArenaPlotRewardReq) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *ArenaPlotRewardReq) GetPid() int32 {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ArenaPlotRewardReq) GetReport() *BattleReport {
|
|
if x != nil {
|
|
return x.Report
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ArenaPlotRewardResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"`
|
|
Npc map[int32]*DBNpc `protobuf:"bytes,2,rep,name=npc,proto3" json:"npc" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // npc Cd
|
|
}
|
|
|
|
func (x *ArenaPlotRewardResp) Reset() {
|
|
*x = ArenaPlotRewardResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_arena_arena_msg_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ArenaPlotRewardResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ArenaPlotRewardResp) ProtoMessage() {}
|
|
|
|
func (x *ArenaPlotRewardResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_arena_arena_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 ArenaPlotRewardResp.ProtoReflect.Descriptor instead.
|
|
func (*ArenaPlotRewardResp) Descriptor() ([]byte, []int) {
|
|
return file_arena_arena_msg_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *ArenaPlotRewardResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ArenaPlotRewardResp) GetNpc() map[int32]*DBNpc {
|
|
if x != nil {
|
|
return x.Npc
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_arena_arena_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_arena_arena_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x15, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x2f, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x6d, 0x73,
|
|
0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x2f, 0x61,
|
|
0x72, 0x65, 0x6e, 0x61, 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, 0x0e, 0x0a, 0x0c, 0x41, 0x72, 0x65, 0x6e, 0x61,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x22, 0x31, 0x0a, 0x0d, 0x41, 0x72, 0x65, 0x6e, 0x61,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x41, 0x72, 0x65, 0x6e, 0x61,
|
|
0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x2d, 0x0a, 0x11, 0x41, 0x72,
|
|
0x65, 0x6e, 0x61, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12,
|
|
0x18, 0x0a, 0x07, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x07, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x49, 0x64, 0x22, 0x36, 0x0a, 0x12, 0x41, 0x72, 0x65,
|
|
0x6e, 0x61, 0x4f, 0x74, 0x68, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x20, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
|
|
0x44, 0x42, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x69, 0x6e, 0x66,
|
|
0x6f, 0x22, 0x45, 0x0a, 0x13, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74,
|
|
0x46, 0x6f, 0x72, 0x6d, 0x74, 0x52, 0x65, 0x71, 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x6d, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28,
|
|
0x09, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x6d, 0x74, 0x22, 0x2e, 0x0a, 0x14, 0x41, 0x72, 0x65, 0x6e,
|
|
0x61, 0x53, 0x65, 0x74, 0x41, 0x74, 0x74, 0x46, 0x6f, 0x72, 0x6d, 0x74, 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, 0x45, 0x0a, 0x13, 0x41, 0x72, 0x65, 0x6e,
|
|
0x61, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x46, 0x6f, 0x72, 0x6d, 0x74, 0x52, 0x65, 0x71, 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, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72,
|
|
0x6d, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x6d, 0x74, 0x22,
|
|
0x2e, 0x0a, 0x14, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65, 0x74, 0x44, 0x65, 0x66, 0x46, 0x6f,
|
|
0x72, 0x6d, 0x74, 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,
|
|
0x10, 0x0a, 0x0e, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x52, 0x65,
|
|
0x71, 0x22, 0x39, 0x0a, 0x0f, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x65,
|
|
0x52, 0x65, 0x73, 0x70, 0x12, 0x26, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x18,
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x50, 0x6c, 0x61,
|
|
0x79, 0x65, 0x72, 0x52, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x22, 0x8b, 0x01, 0x0a,
|
|
0x11, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52,
|
|
0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x69, 0x64, 0x12, 0x12,
|
|
0x0a, 0x04, 0x69, 0x73, 0x61, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73,
|
|
0x61, 0x69, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x49, 0x64, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x49, 0x64,
|
|
0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 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, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x22, 0x55, 0x0a, 0x12, 0x41, 0x72,
|
|
0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 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, 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, 0xc0, 0x01, 0x0a, 0x17, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61, 0x6c, 0x6c,
|
|
0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a,
|
|
0x05, 0x69, 0x73, 0x77, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73,
|
|
0x77, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x61, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x04, 0x69, 0x73, 0x61, 0x69, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x69, 0x69, 0x6e, 0x74,
|
|
0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x61, 0x69, 0x69,
|
|
0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x69, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x69, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06,
|
|
0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x65, 0x6e, 0x67,
|
|
0x65, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x76, 0x65, 0x6e,
|
|
0x67, 0x65, 0x69, 0x64, 0x22, 0x60, 0x0a, 0x18, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x43, 0x68, 0x61,
|
|
0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 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, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65,
|
|
0x67, 0x72, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65,
|
|
0x67, 0x72, 0x61, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x03, 0x64, 0x61, 0x6e, 0x22, 0x0e, 0x0a, 0x0c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52,
|
|
0x61, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x22, 0x59, 0x0a, 0x0d, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52,
|
|
0x61, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x26, 0x0a, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65,
|
|
0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x41, 0x72, 0x65, 0x6e, 0x61,
|
|
0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x07, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x12,
|
|
0x20, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
|
|
0x44, 0x42, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x69, 0x6e, 0x66,
|
|
0x6f, 0x22, 0x25, 0x0a, 0x0b, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x42, 0x75, 0x79, 0x52, 0x65, 0x71,
|
|
0x12, 0x16, 0x0a, 0x06, 0x62, 0x75, 0x79, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x06, 0x62, 0x75, 0x79, 0x4e, 0x75, 0x6d, 0x22, 0x3e, 0x0a, 0x0c, 0x41, 0x72, 0x65, 0x6e,
|
|
0x61, 0x42, 0x75, 0x79, 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,
|
|
0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x22, 0x25, 0x0a, 0x11, 0x41, 0x72, 0x65, 0x6e,
|
|
0x61, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a,
|
|
0x03, 0x62, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62, 0x69, 0x64, 0x22,
|
|
0x3e, 0x0a, 0x12, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x44, 0x65, 0x6c, 0x52, 0x65, 0x77, 0x61, 0x72,
|
|
0x64, 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, 0x12, 0x10, 0x0a,
|
|
0x03, 0x62, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62, 0x69, 0x64, 0x22,
|
|
0x4a, 0x0a, 0x0c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x50, 0x6c, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x12,
|
|
0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69,
|
|
0x64, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 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, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x22, 0x62, 0x0a, 0x0d, 0x41,
|
|
0x72, 0x65, 0x6e, 0x61, 0x50, 0x6c, 0x6f, 0x74, 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, 0x10, 0x0a, 0x03,
|
|
0x70, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x1f,
|
|
0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42,
|
|
0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22,
|
|
0x4d, 0x0a, 0x12, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x50, 0x6c, 0x6f, 0x74, 0x52, 0x65, 0x77, 0x61,
|
|
0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72,
|
|
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
|
0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x9e,
|
|
0x01, 0x0a, 0x13, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x50, 0x6c, 0x6f, 0x74, 0x52, 0x65, 0x77, 0x61,
|
|
0x72, 0x64, 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, 0x12, 0x2f,
|
|
0x0a, 0x03, 0x6e, 0x70, 0x63, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x41, 0x72,
|
|
0x65, 0x6e, 0x61, 0x50, 0x6c, 0x6f, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73,
|
|
0x70, 0x2e, 0x4e, 0x70, 0x63, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x6e, 0x70, 0x63, 0x1a,
|
|
0x3e, 0x0a, 0x08, 0x4e, 0x70, 0x63, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x44,
|
|
0x42, 0x4e, 0x70, 0x63, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42,
|
|
0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_arena_arena_msg_proto_rawDescOnce sync.Once
|
|
file_arena_arena_msg_proto_rawDescData = file_arena_arena_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_arena_arena_msg_proto_rawDescGZIP() []byte {
|
|
file_arena_arena_msg_proto_rawDescOnce.Do(func() {
|
|
file_arena_arena_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_arena_arena_msg_proto_rawDescData)
|
|
})
|
|
return file_arena_arena_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_arena_arena_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
|
|
var file_arena_arena_msg_proto_goTypes = []interface{}{
|
|
(*ArenaInfoReq)(nil), // 0: ArenaInfoReq
|
|
(*ArenaInfoResp)(nil), // 1: ArenaInfoResp
|
|
(*ArenaOtherInfoReq)(nil), // 2: ArenaOtherInfoReq
|
|
(*ArenaOtherInfoResp)(nil), // 3: ArenaOtherInfoResp
|
|
(*ArenaSetAttFormtReq)(nil), // 4: ArenaSetAttFormtReq
|
|
(*ArenaSetAttFormtResp)(nil), // 5: ArenaSetAttFormtResp
|
|
(*ArenaSetDefFormtReq)(nil), // 6: ArenaSetDefFormtReq
|
|
(*ArenaSetDefFormtResp)(nil), // 7: ArenaSetDefFormtResp
|
|
(*ArenaMatcheReq)(nil), // 8: ArenaMatcheReq
|
|
(*ArenaMatcheResp)(nil), // 9: ArenaMatcheResp
|
|
(*ArenaChallengeReq)(nil), // 10: ArenaChallengeReq
|
|
(*ArenaChallengeResp)(nil), // 11: ArenaChallengeResp
|
|
(*ArenaChallengeRewardReq)(nil), // 12: ArenaChallengeRewardReq
|
|
(*ArenaChallengeRewardResp)(nil), // 13: ArenaChallengeRewardResp
|
|
(*ArenaRankReq)(nil), // 14: ArenaRankReq
|
|
(*ArenaRankResp)(nil), // 15: ArenaRankResp
|
|
(*ArenaBuyReq)(nil), // 16: ArenaBuyReq
|
|
(*ArenaBuyResp)(nil), // 17: ArenaBuyResp
|
|
(*ArenaDelRewardReq)(nil), // 18: ArenaDelRewardReq
|
|
(*ArenaDelRewardResp)(nil), // 19: ArenaDelRewardResp
|
|
(*ArenaPlotReq)(nil), // 20: ArenaPlotReq
|
|
(*ArenaPlotResp)(nil), // 21: ArenaPlotResp
|
|
(*ArenaPlotRewardReq)(nil), // 22: ArenaPlotRewardReq
|
|
(*ArenaPlotRewardResp)(nil), // 23: ArenaPlotRewardResp
|
|
nil, // 24: ArenaPlotRewardResp.NpcEntry
|
|
(*DBArenaUser)(nil), // 25: DBArenaUser
|
|
(*ArenaPlayer)(nil), // 26: ArenaPlayer
|
|
(*BattleFormation)(nil), // 27: BattleFormation
|
|
(ErrorCode)(0), // 28: ErrorCode
|
|
(*BattleInfo)(nil), // 29: BattleInfo
|
|
(*BattleReport)(nil), // 30: BattleReport
|
|
(*DBNpc)(nil), // 31: DBNpc
|
|
}
|
|
var file_arena_arena_msg_proto_depIdxs = []int32{
|
|
25, // 0: ArenaInfoResp.info:type_name -> DBArenaUser
|
|
25, // 1: ArenaOtherInfoResp.info:type_name -> DBArenaUser
|
|
26, // 2: ArenaMatcheResp.players:type_name -> ArenaPlayer
|
|
27, // 3: ArenaChallengeReq.battle:type_name -> BattleFormation
|
|
28, // 4: ArenaChallengeResp.code:type_name -> ErrorCode
|
|
29, // 5: ArenaChallengeResp.info:type_name -> BattleInfo
|
|
30, // 6: ArenaChallengeRewardReq.report:type_name -> BattleReport
|
|
26, // 7: ArenaRankResp.players:type_name -> ArenaPlayer
|
|
25, // 8: ArenaRankResp.info:type_name -> DBArenaUser
|
|
27, // 9: ArenaPlotReq.battle:type_name -> BattleFormation
|
|
28, // 10: ArenaPlotResp.code:type_name -> ErrorCode
|
|
29, // 11: ArenaPlotResp.info:type_name -> BattleInfo
|
|
30, // 12: ArenaPlotRewardReq.report:type_name -> BattleReport
|
|
24, // 13: ArenaPlotRewardResp.npc:type_name -> ArenaPlotRewardResp.NpcEntry
|
|
31, // 14: ArenaPlotRewardResp.NpcEntry.value:type_name -> DBNpc
|
|
15, // [15:15] is the sub-list for method output_type
|
|
15, // [15:15] is the sub-list for method input_type
|
|
15, // [15:15] is the sub-list for extension type_name
|
|
15, // [15:15] is the sub-list for extension extendee
|
|
0, // [0:15] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_arena_arena_msg_proto_init() }
|
|
func file_arena_arena_msg_proto_init() {
|
|
if File_arena_arena_msg_proto != nil {
|
|
return
|
|
}
|
|
file_arena_arena_db_proto_init()
|
|
file_battle_battle_msg_proto_init()
|
|
file_errorcode_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_arena_arena_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaInfoReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaInfoResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaOtherInfoReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaOtherInfoResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaSetAttFormtReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaSetAttFormtResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaSetDefFormtReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaSetDefFormtResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaMatcheReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaMatcheResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaChallengeReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaChallengeResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaChallengeRewardReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaChallengeRewardResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaRankReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaRankResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaBuyReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaBuyResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaDelRewardReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaDelRewardResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaPlotReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaPlotResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaPlotRewardReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_arena_arena_msg_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ArenaPlotRewardResp); 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_arena_arena_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 25,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_arena_arena_msg_proto_goTypes,
|
|
DependencyIndexes: file_arena_arena_msg_proto_depIdxs,
|
|
MessageInfos: file_arena_arena_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_arena_arena_msg_proto = out.File
|
|
file_arena_arena_msg_proto_rawDesc = nil
|
|
file_arena_arena_msg_proto_goTypes = nil
|
|
file_arena_arena_msg_proto_depIdxs = nil
|
|
}
|