// 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 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[2] 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[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 ArenaSetAttFormtReq.ProtoReflect.Descriptor instead. func (*ArenaSetAttFormtReq) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{2} } 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[3] 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[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 ArenaSetAttFormtResp.ProtoReflect.Descriptor instead. func (*ArenaSetAttFormtResp) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{3} } 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[4] 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[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 ArenaSetDefFormtReq.ProtoReflect.Descriptor instead. func (*ArenaSetDefFormtReq) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{4} } 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[5] 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[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 ArenaSetDefFormtResp.ProtoReflect.Descriptor instead. func (*ArenaSetDefFormtResp) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{5} } 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[6] 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[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 ArenaMatcheReq.ProtoReflect.Descriptor instead. func (*ArenaMatcheReq) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{6} } //竞技场匹配 回应 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[7] 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[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 ArenaMatcheResp.ProtoReflect.Descriptor instead. func (*ArenaMatcheResp) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{7} } 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[8] 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[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 ArenaChallengeReq.ProtoReflect.Descriptor instead. func (*ArenaChallengeReq) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{8} } 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[9] 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[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 ArenaChallengeResp.ProtoReflect.Descriptor instead. func (*ArenaChallengeResp) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{9} } 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 积分 Report *BattleReport `protobuf:"bytes,4,opt,name=report,proto3" json:"report"` //战报 } func (x *ArenaChallengeRewardReq) Reset() { *x = ArenaChallengeRewardReq{} if protoimpl.UnsafeEnabled { mi := &file_arena_arena_msg_proto_msgTypes[10] 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[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 ArenaChallengeRewardReq.ProtoReflect.Descriptor instead. func (*ArenaChallengeRewardReq) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{10} } 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) GetReport() *BattleReport { if x != nil { return x.Report } return nil } type ArenaChallengeRewardResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"` } func (x *ArenaChallengeRewardResp) Reset() { *x = ArenaChallengeRewardResp{} if protoimpl.UnsafeEnabled { mi := &file_arena_arena_msg_proto_msgTypes[11] 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[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 ArenaChallengeRewardResp.ProtoReflect.Descriptor instead. func (*ArenaChallengeRewardResp) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{11} } func (x *ArenaChallengeRewardResp) GetIssucc() bool { if x != nil { return x.Issucc } return false } //竞技场排行榜 请求 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[12] 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[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 ArenaRankReq.ProtoReflect.Descriptor instead. func (*ArenaRankReq) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{12} } //竞技场排行榜 回应 type ArenaRankResp struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *ArenaRankResp) Reset() { *x = ArenaRankResp{} if protoimpl.UnsafeEnabled { mi := &file_arena_arena_msg_proto_msgTypes[13] 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[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 ArenaRankResp.ProtoReflect.Descriptor instead. func (*ArenaRankResp) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{13} } //购买票据 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[14] 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[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 ArenaBuyReq.ProtoReflect.Descriptor instead. func (*ArenaBuyReq) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{14} } 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[15] 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[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 ArenaBuyResp.ProtoReflect.Descriptor instead. func (*ArenaBuyResp) Descriptor() ([]byte, []int) { return file_arena_arena_msg_proto_rawDescGZIP(), []int{15} } 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 } 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, 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, 0x8a, 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, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 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, 0x32, 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, 0x22, 0x0e, 0x0a, 0x0c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x71, 0x22, 0x0f, 0x0a, 0x0d, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52, 0x61, 0x6e, 0x6b, 0x52, 0x65, 0x73, 0x70, 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, 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, 16) var file_arena_arena_msg_proto_goTypes = []interface{}{ (*ArenaInfoReq)(nil), // 0: ArenaInfoReq (*ArenaInfoResp)(nil), // 1: ArenaInfoResp (*ArenaSetAttFormtReq)(nil), // 2: ArenaSetAttFormtReq (*ArenaSetAttFormtResp)(nil), // 3: ArenaSetAttFormtResp (*ArenaSetDefFormtReq)(nil), // 4: ArenaSetDefFormtReq (*ArenaSetDefFormtResp)(nil), // 5: ArenaSetDefFormtResp (*ArenaMatcheReq)(nil), // 6: ArenaMatcheReq (*ArenaMatcheResp)(nil), // 7: ArenaMatcheResp (*ArenaChallengeReq)(nil), // 8: ArenaChallengeReq (*ArenaChallengeResp)(nil), // 9: ArenaChallengeResp (*ArenaChallengeRewardReq)(nil), // 10: ArenaChallengeRewardReq (*ArenaChallengeRewardResp)(nil), // 11: ArenaChallengeRewardResp (*ArenaRankReq)(nil), // 12: ArenaRankReq (*ArenaRankResp)(nil), // 13: ArenaRankResp (*ArenaBuyReq)(nil), // 14: ArenaBuyReq (*ArenaBuyResp)(nil), // 15: ArenaBuyResp (*DBArenaUser)(nil), // 16: DBArenaUser (*ArenaPlayer)(nil), // 17: ArenaPlayer (*BattleFormation)(nil), // 18: BattleFormation (ErrorCode)(0), // 19: ErrorCode (*BattleInfo)(nil), // 20: BattleInfo (*BattleReport)(nil), // 21: BattleReport } var file_arena_arena_msg_proto_depIdxs = []int32{ 16, // 0: ArenaInfoResp.info:type_name -> DBArenaUser 17, // 1: ArenaMatcheResp.players:type_name -> ArenaPlayer 18, // 2: ArenaChallengeReq.battle:type_name -> BattleFormation 19, // 3: ArenaChallengeResp.code:type_name -> ErrorCode 20, // 4: ArenaChallengeResp.info:type_name -> BattleInfo 21, // 5: ArenaChallengeRewardReq.report:type_name -> BattleReport 6, // [6:6] is the sub-list for method output_type 6, // [6:6] is the sub-list for method input_type 6, // [6:6] is the sub-list for extension type_name 6, // [6:6] is the sub-list for extension extendee 0, // [0:6] 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.(*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[3].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[4].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[5].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[6].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[7].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[8].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[9].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[10].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[11].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[12].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[13].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[14].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[15].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 } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_arena_arena_msg_proto_rawDesc, NumEnums: 0, NumMessages: 16, 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 }