上传查询目标用户的竞技场信息

This commit is contained in:
liwei1dao 2022-10-27 14:42:33 +08:00
parent fec69e818d
commit 95b5078667
2 changed files with 325 additions and 163 deletions

View File

@ -0,0 +1,33 @@
package arena
import (
"go_dreamfactory/comm"
"go_dreamfactory/lego/sys/mgo"
"go_dreamfactory/pb"
"google.golang.org/protobuf/proto"
)
//参数校验
func (this *apiComp) OtherInfoCheck(session comm.IUserSession, req *pb.ArenaOtherInfoReq) (code pb.ErrorCode) {
return
}
///获取自己的排行榜信息
func (this *apiComp) OtherInfo(session comm.IUserSession, req *pb.ArenaOtherInfoReq) (code pb.ErrorCode, data proto.Message) {
var (
info *pb.DBArenaUser
err error
)
if code = this.OtherInfoCheck(session, req); code != pb.ErrorCode_Success {
return
}
if info, err = this.module.modelArena.queryPlayerInfo(session.GetUserId()); err != nil && err != mgo.MongodbNil {
code = pb.ErrorCode_DBError
return
}
session.SendMsg(string(this.module.GetType()), "otherinfo", &pb.ArenaOtherInfoResp{Info: info})
return
}

View File

@ -107,6 +107,102 @@ func (x *ArenaInfoResp) GetInfo() *DBArenaUser {
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
@ -120,7 +216,7 @@ type ArenaSetAttFormtReq struct {
func (x *ArenaSetAttFormtReq) Reset() {
*x = ArenaSetAttFormtReq{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[2]
mi := &file_arena_arena_msg_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -133,7 +229,7 @@ func (x *ArenaSetAttFormtReq) String() string {
func (*ArenaSetAttFormtReq) ProtoMessage() {}
func (x *ArenaSetAttFormtReq) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[2]
mi := &file_arena_arena_msg_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -146,7 +242,7 @@ func (x *ArenaSetAttFormtReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaSetAttFormtReq.ProtoReflect.Descriptor instead.
func (*ArenaSetAttFormtReq) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{2}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{4}
}
func (x *ArenaSetAttFormtReq) GetLeadpos() int32 {
@ -175,7 +271,7 @@ type ArenaSetAttFormtResp struct {
func (x *ArenaSetAttFormtResp) Reset() {
*x = ArenaSetAttFormtResp{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[3]
mi := &file_arena_arena_msg_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -188,7 +284,7 @@ func (x *ArenaSetAttFormtResp) String() string {
func (*ArenaSetAttFormtResp) ProtoMessage() {}
func (x *ArenaSetAttFormtResp) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[3]
mi := &file_arena_arena_msg_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -201,7 +297,7 @@ func (x *ArenaSetAttFormtResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaSetAttFormtResp.ProtoReflect.Descriptor instead.
func (*ArenaSetAttFormtResp) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{3}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{5}
}
func (x *ArenaSetAttFormtResp) GetIssucc() bool {
@ -224,7 +320,7 @@ type ArenaSetDefFormtReq struct {
func (x *ArenaSetDefFormtReq) Reset() {
*x = ArenaSetDefFormtReq{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[4]
mi := &file_arena_arena_msg_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -237,7 +333,7 @@ func (x *ArenaSetDefFormtReq) String() string {
func (*ArenaSetDefFormtReq) ProtoMessage() {}
func (x *ArenaSetDefFormtReq) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[4]
mi := &file_arena_arena_msg_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -250,7 +346,7 @@ func (x *ArenaSetDefFormtReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaSetDefFormtReq.ProtoReflect.Descriptor instead.
func (*ArenaSetDefFormtReq) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{4}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{6}
}
func (x *ArenaSetDefFormtReq) GetLeadpos() int32 {
@ -279,7 +375,7 @@ type ArenaSetDefFormtResp struct {
func (x *ArenaSetDefFormtResp) Reset() {
*x = ArenaSetDefFormtResp{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[5]
mi := &file_arena_arena_msg_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -292,7 +388,7 @@ func (x *ArenaSetDefFormtResp) String() string {
func (*ArenaSetDefFormtResp) ProtoMessage() {}
func (x *ArenaSetDefFormtResp) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[5]
mi := &file_arena_arena_msg_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -305,7 +401,7 @@ func (x *ArenaSetDefFormtResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaSetDefFormtResp.ProtoReflect.Descriptor instead.
func (*ArenaSetDefFormtResp) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{5}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{7}
}
func (x *ArenaSetDefFormtResp) GetIssucc() bool {
@ -325,7 +421,7 @@ type ArenaMatcheReq struct {
func (x *ArenaMatcheReq) Reset() {
*x = ArenaMatcheReq{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[6]
mi := &file_arena_arena_msg_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -338,7 +434,7 @@ func (x *ArenaMatcheReq) String() string {
func (*ArenaMatcheReq) ProtoMessage() {}
func (x *ArenaMatcheReq) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[6]
mi := &file_arena_arena_msg_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -351,7 +447,7 @@ func (x *ArenaMatcheReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaMatcheReq.ProtoReflect.Descriptor instead.
func (*ArenaMatcheReq) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{6}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{8}
}
//竞技场匹配 回应
@ -366,7 +462,7 @@ type ArenaMatcheResp struct {
func (x *ArenaMatcheResp) Reset() {
*x = ArenaMatcheResp{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[7]
mi := &file_arena_arena_msg_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -379,7 +475,7 @@ func (x *ArenaMatcheResp) String() string {
func (*ArenaMatcheResp) ProtoMessage() {}
func (x *ArenaMatcheResp) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[7]
mi := &file_arena_arena_msg_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -392,7 +488,7 @@ func (x *ArenaMatcheResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaMatcheResp.ProtoReflect.Descriptor instead.
func (*ArenaMatcheResp) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{7}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{9}
}
func (x *ArenaMatcheResp) GetPlayers() []*ArenaPlayer {
@ -417,7 +513,7 @@ type ArenaChallengeReq struct {
func (x *ArenaChallengeReq) Reset() {
*x = ArenaChallengeReq{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[8]
mi := &file_arena_arena_msg_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -430,7 +526,7 @@ func (x *ArenaChallengeReq) String() string {
func (*ArenaChallengeReq) ProtoMessage() {}
func (x *ArenaChallengeReq) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[8]
mi := &file_arena_arena_msg_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -443,7 +539,7 @@ func (x *ArenaChallengeReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaChallengeReq.ProtoReflect.Descriptor instead.
func (*ArenaChallengeReq) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{8}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{10}
}
func (x *ArenaChallengeReq) GetPlayerid() string {
@ -487,7 +583,7 @@ type ArenaChallengeResp struct {
func (x *ArenaChallengeResp) Reset() {
*x = ArenaChallengeResp{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[9]
mi := &file_arena_arena_msg_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -500,7 +596,7 @@ func (x *ArenaChallengeResp) String() string {
func (*ArenaChallengeResp) ProtoMessage() {}
func (x *ArenaChallengeResp) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[9]
mi := &file_arena_arena_msg_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -513,7 +609,7 @@ func (x *ArenaChallengeResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaChallengeResp.ProtoReflect.Descriptor instead.
func (*ArenaChallengeResp) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{9}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{11}
}
func (x *ArenaChallengeResp) GetCode() ErrorCode {
@ -547,7 +643,7 @@ type ArenaChallengeRewardReq struct {
func (x *ArenaChallengeRewardReq) Reset() {
*x = ArenaChallengeRewardReq{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[10]
mi := &file_arena_arena_msg_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -560,7 +656,7 @@ func (x *ArenaChallengeRewardReq) String() string {
func (*ArenaChallengeRewardReq) ProtoMessage() {}
func (x *ArenaChallengeRewardReq) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[10]
mi := &file_arena_arena_msg_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -573,7 +669,7 @@ func (x *ArenaChallengeRewardReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaChallengeRewardReq.ProtoReflect.Descriptor instead.
func (*ArenaChallengeRewardReq) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{10}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{12}
}
func (x *ArenaChallengeRewardReq) GetIswin() bool {
@ -629,7 +725,7 @@ type ArenaChallengeRewardResp struct {
func (x *ArenaChallengeRewardResp) Reset() {
*x = ArenaChallengeRewardResp{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[11]
mi := &file_arena_arena_msg_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -642,7 +738,7 @@ func (x *ArenaChallengeRewardResp) String() string {
func (*ArenaChallengeRewardResp) ProtoMessage() {}
func (x *ArenaChallengeRewardResp) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[11]
mi := &file_arena_arena_msg_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -655,7 +751,7 @@ func (x *ArenaChallengeRewardResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaChallengeRewardResp.ProtoReflect.Descriptor instead.
func (*ArenaChallengeRewardResp) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{11}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{13}
}
func (x *ArenaChallengeRewardResp) GetIssucc() bool {
@ -675,7 +771,7 @@ type ArenaRankReq struct {
func (x *ArenaRankReq) Reset() {
*x = ArenaRankReq{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[12]
mi := &file_arena_arena_msg_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -688,7 +784,7 @@ func (x *ArenaRankReq) String() string {
func (*ArenaRankReq) ProtoMessage() {}
func (x *ArenaRankReq) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[12]
mi := &file_arena_arena_msg_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -701,7 +797,7 @@ func (x *ArenaRankReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaRankReq.ProtoReflect.Descriptor instead.
func (*ArenaRankReq) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{12}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{14}
}
//竞技场排行榜 回应
@ -716,7 +812,7 @@ type ArenaRankResp struct {
func (x *ArenaRankResp) Reset() {
*x = ArenaRankResp{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[13]
mi := &file_arena_arena_msg_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -729,7 +825,7 @@ func (x *ArenaRankResp) String() string {
func (*ArenaRankResp) ProtoMessage() {}
func (x *ArenaRankResp) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[13]
mi := &file_arena_arena_msg_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -742,7 +838,7 @@ func (x *ArenaRankResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaRankResp.ProtoReflect.Descriptor instead.
func (*ArenaRankResp) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{13}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{15}
}
func (x *ArenaRankResp) GetPlayers() []*ArenaPlayer {
@ -764,7 +860,7 @@ type ArenaBuyReq struct {
func (x *ArenaBuyReq) Reset() {
*x = ArenaBuyReq{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[14]
mi := &file_arena_arena_msg_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -777,7 +873,7 @@ func (x *ArenaBuyReq) String() string {
func (*ArenaBuyReq) ProtoMessage() {}
func (x *ArenaBuyReq) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[14]
mi := &file_arena_arena_msg_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -790,7 +886,7 @@ func (x *ArenaBuyReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaBuyReq.ProtoReflect.Descriptor instead.
func (*ArenaBuyReq) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{14}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{16}
}
func (x *ArenaBuyReq) GetBuyNum() int32 {
@ -812,7 +908,7 @@ type ArenaBuyResp struct {
func (x *ArenaBuyResp) Reset() {
*x = ArenaBuyResp{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[15]
mi := &file_arena_arena_msg_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -825,7 +921,7 @@ func (x *ArenaBuyResp) String() string {
func (*ArenaBuyResp) ProtoMessage() {}
func (x *ArenaBuyResp) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[15]
mi := &file_arena_arena_msg_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -838,7 +934,7 @@ func (x *ArenaBuyResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaBuyResp.ProtoReflect.Descriptor instead.
func (*ArenaBuyResp) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{15}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{17}
}
func (x *ArenaBuyResp) GetIssucc() bool {
@ -867,7 +963,7 @@ type ArenaDelRewardReq struct {
func (x *ArenaDelRewardReq) Reset() {
*x = ArenaDelRewardReq{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[16]
mi := &file_arena_arena_msg_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -880,7 +976,7 @@ func (x *ArenaDelRewardReq) String() string {
func (*ArenaDelRewardReq) ProtoMessage() {}
func (x *ArenaDelRewardReq) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[16]
mi := &file_arena_arena_msg_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -893,7 +989,7 @@ func (x *ArenaDelRewardReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaDelRewardReq.ProtoReflect.Descriptor instead.
func (*ArenaDelRewardReq) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{16}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{18}
}
func (x *ArenaDelRewardReq) GetBid() string {
@ -915,7 +1011,7 @@ type ArenaDelRewardResp struct {
func (x *ArenaDelRewardResp) Reset() {
*x = ArenaDelRewardResp{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_msg_proto_msgTypes[17]
mi := &file_arena_arena_msg_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@ -928,7 +1024,7 @@ func (x *ArenaDelRewardResp) String() string {
func (*ArenaDelRewardResp) ProtoMessage() {}
func (x *ArenaDelRewardResp) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_msg_proto_msgTypes[17]
mi := &file_arena_arena_msg_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -941,7 +1037,7 @@ func (x *ArenaDelRewardResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use ArenaDelRewardResp.ProtoReflect.Descriptor instead.
func (*ArenaDelRewardResp) Descriptor() ([]byte, []int) {
return file_arena_arena_msg_proto_rawDescGZIP(), []int{17}
return file_arena_arena_msg_proto_rawDescGZIP(), []int{19}
}
func (x *ArenaDelRewardResp) GetIssucc() bool {
@ -970,75 +1066,81 @@ var file_arena_arena_msg_proto_rawDesc = []byte{
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,
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, 0x44, 0x65, 0x66, 0x46, 0x6f, 0x72, 0x6d, 0x74, 0x52, 0x65, 0x73, 0x70,
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, 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, 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, 0x37, 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, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
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, 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, 0x37, 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, 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, 0x42,
0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@ -1053,46 +1155,49 @@ func file_arena_arena_msg_proto_rawDescGZIP() []byte {
return file_arena_arena_msg_proto_rawDescData
}
var file_arena_arena_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
var file_arena_arena_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
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
(*ArenaDelRewardReq)(nil), // 16: ArenaDelRewardReq
(*ArenaDelRewardResp)(nil), // 17: ArenaDelRewardResp
(*DBArenaUser)(nil), // 18: DBArenaUser
(*ArenaPlayer)(nil), // 19: ArenaPlayer
(*BattleFormation)(nil), // 20: BattleFormation
(ErrorCode)(0), // 21: ErrorCode
(*BattleInfo)(nil), // 22: BattleInfo
(*BattleReport)(nil), // 23: BattleReport
(*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
(*DBArenaUser)(nil), // 20: DBArenaUser
(*ArenaPlayer)(nil), // 21: ArenaPlayer
(*BattleFormation)(nil), // 22: BattleFormation
(ErrorCode)(0), // 23: ErrorCode
(*BattleInfo)(nil), // 24: BattleInfo
(*BattleReport)(nil), // 25: BattleReport
}
var file_arena_arena_msg_proto_depIdxs = []int32{
18, // 0: ArenaInfoResp.info:type_name -> DBArenaUser
19, // 1: ArenaMatcheResp.players:type_name -> ArenaPlayer
20, // 2: ArenaChallengeReq.battle:type_name -> BattleFormation
21, // 3: ArenaChallengeResp.code:type_name -> ErrorCode
22, // 4: ArenaChallengeResp.info:type_name -> BattleInfo
23, // 5: ArenaChallengeRewardReq.report:type_name -> BattleReport
19, // 6: ArenaRankResp.players:type_name -> ArenaPlayer
7, // [7:7] is the sub-list for method output_type
7, // [7:7] is the sub-list for method input_type
7, // [7:7] is the sub-list for extension type_name
7, // [7:7] is the sub-list for extension extendee
0, // [0:7] is the sub-list for field type_name
20, // 0: ArenaInfoResp.info:type_name -> DBArenaUser
20, // 1: ArenaOtherInfoResp.info:type_name -> DBArenaUser
21, // 2: ArenaMatcheResp.players:type_name -> ArenaPlayer
22, // 3: ArenaChallengeReq.battle:type_name -> BattleFormation
23, // 4: ArenaChallengeResp.code:type_name -> ErrorCode
24, // 5: ArenaChallengeResp.info:type_name -> BattleInfo
25, // 6: ArenaChallengeRewardReq.report:type_name -> BattleReport
21, // 7: ArenaRankResp.players:type_name -> ArenaPlayer
8, // [8:8] is the sub-list for method output_type
8, // [8:8] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
}
func init() { file_arena_arena_msg_proto_init() }
@ -1129,7 +1234,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaSetAttFormtReq); i {
switch v := v.(*ArenaOtherInfoReq); i {
case 0:
return &v.state
case 1:
@ -1141,7 +1246,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaSetAttFormtResp); i {
switch v := v.(*ArenaOtherInfoResp); i {
case 0:
return &v.state
case 1:
@ -1153,7 +1258,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaSetDefFormtReq); i {
switch v := v.(*ArenaSetAttFormtReq); i {
case 0:
return &v.state
case 1:
@ -1165,7 +1270,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaSetDefFormtResp); i {
switch v := v.(*ArenaSetAttFormtResp); i {
case 0:
return &v.state
case 1:
@ -1177,7 +1282,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaMatcheReq); i {
switch v := v.(*ArenaSetDefFormtReq); i {
case 0:
return &v.state
case 1:
@ -1189,7 +1294,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaMatcheResp); i {
switch v := v.(*ArenaSetDefFormtResp); i {
case 0:
return &v.state
case 1:
@ -1201,7 +1306,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaChallengeReq); i {
switch v := v.(*ArenaMatcheReq); i {
case 0:
return &v.state
case 1:
@ -1213,7 +1318,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaChallengeResp); i {
switch v := v.(*ArenaMatcheResp); i {
case 0:
return &v.state
case 1:
@ -1225,7 +1330,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaChallengeRewardReq); i {
switch v := v.(*ArenaChallengeReq); i {
case 0:
return &v.state
case 1:
@ -1237,7 +1342,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaChallengeRewardResp); i {
switch v := v.(*ArenaChallengeResp); i {
case 0:
return &v.state
case 1:
@ -1249,7 +1354,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaRankReq); i {
switch v := v.(*ArenaChallengeRewardReq); i {
case 0:
return &v.state
case 1:
@ -1261,7 +1366,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaRankResp); i {
switch v := v.(*ArenaChallengeRewardResp); i {
case 0:
return &v.state
case 1:
@ -1273,7 +1378,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaBuyReq); i {
switch v := v.(*ArenaRankReq); i {
case 0:
return &v.state
case 1:
@ -1285,7 +1390,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaBuyResp); i {
switch v := v.(*ArenaRankResp); i {
case 0:
return &v.state
case 1:
@ -1297,7 +1402,7 @@ func file_arena_arena_msg_proto_init() {
}
}
file_arena_arena_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaDelRewardReq); i {
switch v := v.(*ArenaBuyReq); i {
case 0:
return &v.state
case 1:
@ -1309,6 +1414,30 @@ func file_arena_arena_msg_proto_init() {
}
}
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
@ -1327,7 +1456,7 @@ func file_arena_arena_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_arena_arena_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 18,
NumMessages: 20,
NumExtensions: 0,
NumServices: 0,
},