上传匹配取消代码

This commit is contained in:
liwei1dao 2024-03-06 17:25:36 +08:00
parent 2750f4c4c9
commit c7137135ad
5 changed files with 331 additions and 156 deletions

View File

@ -0,0 +1,53 @@
package realarena
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
)
//参数校验
func (this *apiComp) MatchCancelCheck(session comm.IUserSession, req *pb.RealArenaMatchCancelReq) (errdata *pb.ErrorData) {
return
}
///取消匹配
func (this *apiComp) MatchCancel(session comm.IUserSession, req *pb.RealArenaMatchCancelReq) (errdata *pb.ErrorData) {
var (
info *pb.DBRealArena
err error
)
if errdata = this.MatchCancelCheck(session, req); errdata != nil {
return
}
if info, err = this.module.model.getinfo(session); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_ReqParameterError,
Message: err.Error(),
}
return
}
if info.State == 1 {
if err = this.module.match.CancelMatch(session.GetUserId()); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_DBError,
Title: pb.ErrorCode_DBError.ToString(),
Message: err.Error(),
}
return
}
if err = this.module.model.change(session, map[string]interface{}{
"state": 0,
}); err != nil {
errdata = &pb.ErrorData{
Code: pb.ErrorCode_DBError,
Title: pb.ErrorCode_DBError.ToString(),
Message: err.Error(),
}
return
}
}
session.SendMsg(string(this.module.GetType()), "racematchcancel", &pb.ParkourRaceMatchCancelResp{})
return
}

View File

@ -98,3 +98,8 @@ func (this *RealArena) createroom(red, bule *pb.DBRealArenaMember) (room *Room,
this.lock.Unlock() this.lock.Unlock()
return return
} }
// 用户离线处理
func (this *RealArena) useroffline(uid, sessionid string) {
}

View File

@ -32,6 +32,7 @@ type DBRealArena struct {
Dan int32 `protobuf:"varint,4,opt,name=dan,proto3" json:"dan"` //段位 Dan int32 `protobuf:"varint,4,opt,name=dan,proto3" json:"dan"` //段位
Integral int32 `protobuf:"varint,5,opt,name=integral,proto3" json:"integral"` //积分 Integral int32 `protobuf:"varint,5,opt,name=integral,proto3" json:"integral"` //积分
Danaward map[int32]int32 `protobuf:"bytes,6,rep,name=danaward,proto3" json:"danaward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //段位奖励 Danaward map[int32]int32 `protobuf:"bytes,6,rep,name=danaward,proto3" json:"danaward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //段位奖励
State int32 `protobuf:"varint,7,opt,name=state,proto3" json:"state"` //队伍状态 0 空闲 1匹配中 2游戏中
} }
func (x *DBRealArena) Reset() { func (x *DBRealArena) Reset() {
@ -108,6 +109,13 @@ func (x *DBRealArena) GetDanaward() map[int32]int32 {
return nil return nil
} }
func (x *DBRealArena) GetState() int32 {
if x != nil {
return x.State
}
return 0
}
//队员信息 //队员信息
type DBRealArenaMember struct { type DBRealArenaMember struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -281,7 +289,7 @@ var File_realarena_realarena_db_proto protoreflect.FileDescriptor
var file_realarena_realarena_db_proto_rawDesc = []byte{ var file_realarena_realarena_db_proto_rawDesc = []byte{
0x0a, 0x1c, 0x72, 0x65, 0x61, 0x6c, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x2f, 0x72, 0x65, 0x61, 0x6c, 0x0a, 0x1c, 0x72, 0x65, 0x61, 0x6c, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x2f, 0x72, 0x65, 0x61, 0x6c,
0x61, 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a,
0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf7, 0x01, 0x0a, 0x0b, 0x44, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x02, 0x0a, 0x0b, 0x44,
0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69,
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x05, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x05,
@ -293,34 +301,35 @@ var file_realarena_realarena_db_proto_rawDesc = []byte{
0x36, 0x0a, 0x08, 0x64, 0x61, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x36, 0x0a, 0x08, 0x64, 0x61, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x1a, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x2e, 0x0b, 0x32, 0x1a, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x2e,
0x44, 0x61, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x64, 0x44, 0x61, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x64,
0x61, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x3b, 0x0a, 0x0d, 0x44, 0x61, 0x6e, 0x61, 0x77, 0x61, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x3b, 0x0a,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x0d, 0x44, 0x61, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79,
0x3a, 0x02, 0x38, 0x01, 0x22, 0xc8, 0x01, 0x0a, 0x11, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x04, 0x75, 0x73, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc8, 0x01, 0x0a, 0x11, 0x44,
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x55, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x12, 0x21, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
0x03, 0x64, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61, 0x6e, 0x12, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x75,
0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x73, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x52, 0x03, 0x64, 0x61, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61,
0x65, 0x72, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x68, 0x65, 0x72, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61,
0x73, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x63, 0x69, 0x64, 0x18, 0x05, 0x20, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09,
0x03, 0x28, 0x09, 0x52, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x63, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x52, 0x05, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73,
0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x69, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73,
0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x63, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06,
0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a,
0x91, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c,
0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c,
0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72,
0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x03, 0x72,
0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x62, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61,
0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65,
0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x04, 0x62, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x75, 0x6c, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d,
0x74, 0x6f, 0x33, 0x62, 0x65, 0x72, 0x52, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (

View File

@ -184,6 +184,83 @@ func (*RealArenaMatchResp) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{3} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{3}
} }
//匹配取消请求
type RealArenaMatchCancelReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *RealArenaMatchCancelReq) Reset() {
*x = RealArenaMatchCancelReq{}
if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RealArenaMatchCancelReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RealArenaMatchCancelReq) ProtoMessage() {}
func (x *RealArenaMatchCancelReq) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_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 RealArenaMatchCancelReq.ProtoReflect.Descriptor instead.
func (*RealArenaMatchCancelReq) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{4}
}
type RealArenaMatchCancelResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *RealArenaMatchCancelResp) Reset() {
*x = RealArenaMatchCancelResp{}
if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RealArenaMatchCancelResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RealArenaMatchCancelResp) ProtoMessage() {}
func (x *RealArenaMatchCancelResp) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_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 RealArenaMatchCancelResp.ProtoReflect.Descriptor instead.
func (*RealArenaMatchCancelResp) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{5}
}
//匹配成功推送 //匹配成功推送
type RealArenaMatchSuccPush struct { type RealArenaMatchSuccPush struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -196,7 +273,7 @@ type RealArenaMatchSuccPush struct {
func (x *RealArenaMatchSuccPush) Reset() { func (x *RealArenaMatchSuccPush) Reset() {
*x = RealArenaMatchSuccPush{} *x = RealArenaMatchSuccPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[4] mi := &file_realarena_realarena_msg_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -209,7 +286,7 @@ func (x *RealArenaMatchSuccPush) String() string {
func (*RealArenaMatchSuccPush) ProtoMessage() {} func (*RealArenaMatchSuccPush) ProtoMessage() {}
func (x *RealArenaMatchSuccPush) ProtoReflect() protoreflect.Message { func (x *RealArenaMatchSuccPush) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[4] mi := &file_realarena_realarena_msg_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -222,7 +299,7 @@ func (x *RealArenaMatchSuccPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaMatchSuccPush.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaMatchSuccPush.ProtoReflect.Descriptor instead.
func (*RealArenaMatchSuccPush) Descriptor() ([]byte, []int) { func (*RealArenaMatchSuccPush) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{4} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{6}
} }
func (x *RealArenaMatchSuccPush) GetRace() *DBRealArenaRace { func (x *RealArenaMatchSuccPush) GetRace() *DBRealArenaRace {
@ -246,7 +323,7 @@ type RealArenaStartSelectHeroPush struct {
func (x *RealArenaStartSelectHeroPush) Reset() { func (x *RealArenaStartSelectHeroPush) Reset() {
*x = RealArenaStartSelectHeroPush{} *x = RealArenaStartSelectHeroPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[5] mi := &file_realarena_realarena_msg_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -259,7 +336,7 @@ func (x *RealArenaStartSelectHeroPush) String() string {
func (*RealArenaStartSelectHeroPush) ProtoMessage() {} func (*RealArenaStartSelectHeroPush) ProtoMessage() {}
func (x *RealArenaStartSelectHeroPush) ProtoReflect() protoreflect.Message { func (x *RealArenaStartSelectHeroPush) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[5] mi := &file_realarena_realarena_msg_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -272,7 +349,7 @@ func (x *RealArenaStartSelectHeroPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaStartSelectHeroPush.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaStartSelectHeroPush.ProtoReflect.Descriptor instead.
func (*RealArenaStartSelectHeroPush) Descriptor() ([]byte, []int) { func (*RealArenaStartSelectHeroPush) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{5} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{7}
} }
func (x *RealArenaStartSelectHeroPush) GetUid() string { func (x *RealArenaStartSelectHeroPush) GetUid() string {
@ -310,7 +387,7 @@ type RealArenaSelectTeamHeroReq struct {
func (x *RealArenaSelectTeamHeroReq) Reset() { func (x *RealArenaSelectTeamHeroReq) Reset() {
*x = RealArenaSelectTeamHeroReq{} *x = RealArenaSelectTeamHeroReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[6] mi := &file_realarena_realarena_msg_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -323,7 +400,7 @@ func (x *RealArenaSelectTeamHeroReq) String() string {
func (*RealArenaSelectTeamHeroReq) ProtoMessage() {} func (*RealArenaSelectTeamHeroReq) ProtoMessage() {}
func (x *RealArenaSelectTeamHeroReq) ProtoReflect() protoreflect.Message { func (x *RealArenaSelectTeamHeroReq) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[6] mi := &file_realarena_realarena_msg_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -336,7 +413,7 @@ func (x *RealArenaSelectTeamHeroReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectTeamHeroReq.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaSelectTeamHeroReq.ProtoReflect.Descriptor instead.
func (*RealArenaSelectTeamHeroReq) Descriptor() ([]byte, []int) { func (*RealArenaSelectTeamHeroReq) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{6} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{8}
} }
func (x *RealArenaSelectTeamHeroReq) GetRoomid() string { func (x *RealArenaSelectTeamHeroReq) GetRoomid() string {
@ -369,7 +446,7 @@ type RealArenaSelectTeamHeroResp struct {
func (x *RealArenaSelectTeamHeroResp) Reset() { func (x *RealArenaSelectTeamHeroResp) Reset() {
*x = RealArenaSelectTeamHeroResp{} *x = RealArenaSelectTeamHeroResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[7] mi := &file_realarena_realarena_msg_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -382,7 +459,7 @@ func (x *RealArenaSelectTeamHeroResp) String() string {
func (*RealArenaSelectTeamHeroResp) ProtoMessage() {} func (*RealArenaSelectTeamHeroResp) ProtoMessage() {}
func (x *RealArenaSelectTeamHeroResp) ProtoReflect() protoreflect.Message { func (x *RealArenaSelectTeamHeroResp) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[7] mi := &file_realarena_realarena_msg_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -395,7 +472,7 @@ func (x *RealArenaSelectTeamHeroResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectTeamHeroResp.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaSelectTeamHeroResp.ProtoReflect.Descriptor instead.
func (*RealArenaSelectTeamHeroResp) Descriptor() ([]byte, []int) { func (*RealArenaSelectTeamHeroResp) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{7} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{9}
} }
//开始选择英雄推送 //开始选择英雄推送
@ -411,7 +488,7 @@ type RealArenaSelectHeroPush struct {
func (x *RealArenaSelectHeroPush) Reset() { func (x *RealArenaSelectHeroPush) Reset() {
*x = RealArenaSelectHeroPush{} *x = RealArenaSelectHeroPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[8] mi := &file_realarena_realarena_msg_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -424,7 +501,7 @@ func (x *RealArenaSelectHeroPush) String() string {
func (*RealArenaSelectHeroPush) ProtoMessage() {} func (*RealArenaSelectHeroPush) ProtoMessage() {}
func (x *RealArenaSelectHeroPush) ProtoReflect() protoreflect.Message { func (x *RealArenaSelectHeroPush) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[8] mi := &file_realarena_realarena_msg_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -437,7 +514,7 @@ func (x *RealArenaSelectHeroPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectHeroPush.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaSelectHeroPush.ProtoReflect.Descriptor instead.
func (*RealArenaSelectHeroPush) Descriptor() ([]byte, []int) { func (*RealArenaSelectHeroPush) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{8} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{10}
} }
func (x *RealArenaSelectHeroPush) GetUid() string { func (x *RealArenaSelectHeroPush) GetUid() string {
@ -467,7 +544,7 @@ type RealArenaStartDisableHeroPush struct {
func (x *RealArenaStartDisableHeroPush) Reset() { func (x *RealArenaStartDisableHeroPush) Reset() {
*x = RealArenaStartDisableHeroPush{} *x = RealArenaStartDisableHeroPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[9] mi := &file_realarena_realarena_msg_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -480,7 +557,7 @@ func (x *RealArenaStartDisableHeroPush) String() string {
func (*RealArenaStartDisableHeroPush) ProtoMessage() {} func (*RealArenaStartDisableHeroPush) ProtoMessage() {}
func (x *RealArenaStartDisableHeroPush) ProtoReflect() protoreflect.Message { func (x *RealArenaStartDisableHeroPush) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[9] mi := &file_realarena_realarena_msg_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -493,7 +570,7 @@ func (x *RealArenaStartDisableHeroPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaStartDisableHeroPush.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaStartDisableHeroPush.ProtoReflect.Descriptor instead.
func (*RealArenaStartDisableHeroPush) Descriptor() ([]byte, []int) { func (*RealArenaStartDisableHeroPush) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{9} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{11}
} }
func (x *RealArenaStartDisableHeroPush) GetUid() string { func (x *RealArenaStartDisableHeroPush) GetUid() string {
@ -523,7 +600,7 @@ type RealArenaDisableTeamHeroReq struct {
func (x *RealArenaDisableTeamHeroReq) Reset() { func (x *RealArenaDisableTeamHeroReq) Reset() {
*x = RealArenaDisableTeamHeroReq{} *x = RealArenaDisableTeamHeroReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[10] mi := &file_realarena_realarena_msg_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -536,7 +613,7 @@ func (x *RealArenaDisableTeamHeroReq) String() string {
func (*RealArenaDisableTeamHeroReq) ProtoMessage() {} func (*RealArenaDisableTeamHeroReq) ProtoMessage() {}
func (x *RealArenaDisableTeamHeroReq) ProtoReflect() protoreflect.Message { func (x *RealArenaDisableTeamHeroReq) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[10] mi := &file_realarena_realarena_msg_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -549,7 +626,7 @@ func (x *RealArenaDisableTeamHeroReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaDisableTeamHeroReq.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaDisableTeamHeroReq.ProtoReflect.Descriptor instead.
func (*RealArenaDisableTeamHeroReq) Descriptor() ([]byte, []int) { func (*RealArenaDisableTeamHeroReq) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{10} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{12}
} }
func (x *RealArenaDisableTeamHeroReq) GetRoomid() string { func (x *RealArenaDisableTeamHeroReq) GetRoomid() string {
@ -575,7 +652,7 @@ type RealArenaDisableTeamHeroResp struct {
func (x *RealArenaDisableTeamHeroResp) Reset() { func (x *RealArenaDisableTeamHeroResp) Reset() {
*x = RealArenaDisableTeamHeroResp{} *x = RealArenaDisableTeamHeroResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[11] mi := &file_realarena_realarena_msg_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -588,7 +665,7 @@ func (x *RealArenaDisableTeamHeroResp) String() string {
func (*RealArenaDisableTeamHeroResp) ProtoMessage() {} func (*RealArenaDisableTeamHeroResp) ProtoMessage() {}
func (x *RealArenaDisableTeamHeroResp) ProtoReflect() protoreflect.Message { func (x *RealArenaDisableTeamHeroResp) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[11] mi := &file_realarena_realarena_msg_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -601,7 +678,7 @@ func (x *RealArenaDisableTeamHeroResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaDisableTeamHeroResp.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaDisableTeamHeroResp.ProtoReflect.Descriptor instead.
func (*RealArenaDisableTeamHeroResp) Descriptor() ([]byte, []int) { func (*RealArenaDisableTeamHeroResp) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{11} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{13}
} }
//禁用英雄推送 //禁用英雄推送
@ -617,7 +694,7 @@ type RealArenaDisableHeroPush struct {
func (x *RealArenaDisableHeroPush) Reset() { func (x *RealArenaDisableHeroPush) Reset() {
*x = RealArenaDisableHeroPush{} *x = RealArenaDisableHeroPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[12] mi := &file_realarena_realarena_msg_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -630,7 +707,7 @@ func (x *RealArenaDisableHeroPush) String() string {
func (*RealArenaDisableHeroPush) ProtoMessage() {} func (*RealArenaDisableHeroPush) ProtoMessage() {}
func (x *RealArenaDisableHeroPush) ProtoReflect() protoreflect.Message { func (x *RealArenaDisableHeroPush) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[12] mi := &file_realarena_realarena_msg_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -643,7 +720,7 @@ func (x *RealArenaDisableHeroPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaDisableHeroPush.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaDisableHeroPush.ProtoReflect.Descriptor instead.
func (*RealArenaDisableHeroPush) Descriptor() ([]byte, []int) { func (*RealArenaDisableHeroPush) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{12} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{14}
} }
func (x *RealArenaDisableHeroPush) GetUid() string { func (x *RealArenaDisableHeroPush) GetUid() string {
@ -673,7 +750,7 @@ type RealArenaStartSelectLeaderPush struct {
func (x *RealArenaStartSelectLeaderPush) Reset() { func (x *RealArenaStartSelectLeaderPush) Reset() {
*x = RealArenaStartSelectLeaderPush{} *x = RealArenaStartSelectLeaderPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[13] mi := &file_realarena_realarena_msg_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -686,7 +763,7 @@ func (x *RealArenaStartSelectLeaderPush) String() string {
func (*RealArenaStartSelectLeaderPush) ProtoMessage() {} func (*RealArenaStartSelectLeaderPush) ProtoMessage() {}
func (x *RealArenaStartSelectLeaderPush) ProtoReflect() protoreflect.Message { func (x *RealArenaStartSelectLeaderPush) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[13] mi := &file_realarena_realarena_msg_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -699,7 +776,7 @@ func (x *RealArenaStartSelectLeaderPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaStartSelectLeaderPush.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaStartSelectLeaderPush.ProtoReflect.Descriptor instead.
func (*RealArenaStartSelectLeaderPush) Descriptor() ([]byte, []int) { func (*RealArenaStartSelectLeaderPush) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{13} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{15}
} }
func (x *RealArenaStartSelectLeaderPush) GetUid() string { func (x *RealArenaStartSelectLeaderPush) GetUid() string {
@ -729,7 +806,7 @@ type RealArenaSelectTeamLeaderReq struct {
func (x *RealArenaSelectTeamLeaderReq) Reset() { func (x *RealArenaSelectTeamLeaderReq) Reset() {
*x = RealArenaSelectTeamLeaderReq{} *x = RealArenaSelectTeamLeaderReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[14] mi := &file_realarena_realarena_msg_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -742,7 +819,7 @@ func (x *RealArenaSelectTeamLeaderReq) String() string {
func (*RealArenaSelectTeamLeaderReq) ProtoMessage() {} func (*RealArenaSelectTeamLeaderReq) ProtoMessage() {}
func (x *RealArenaSelectTeamLeaderReq) ProtoReflect() protoreflect.Message { func (x *RealArenaSelectTeamLeaderReq) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[14] mi := &file_realarena_realarena_msg_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -755,7 +832,7 @@ func (x *RealArenaSelectTeamLeaderReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectTeamLeaderReq.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaSelectTeamLeaderReq.ProtoReflect.Descriptor instead.
func (*RealArenaSelectTeamLeaderReq) Descriptor() ([]byte, []int) { func (*RealArenaSelectTeamLeaderReq) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{14} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{16}
} }
func (x *RealArenaSelectTeamLeaderReq) GetRoomid() string { func (x *RealArenaSelectTeamLeaderReq) GetRoomid() string {
@ -781,7 +858,7 @@ type RealArenaSelectTeamLeaderResp struct {
func (x *RealArenaSelectTeamLeaderResp) Reset() { func (x *RealArenaSelectTeamLeaderResp) Reset() {
*x = RealArenaSelectTeamLeaderResp{} *x = RealArenaSelectTeamLeaderResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[15] mi := &file_realarena_realarena_msg_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -794,7 +871,7 @@ func (x *RealArenaSelectTeamLeaderResp) String() string {
func (*RealArenaSelectTeamLeaderResp) ProtoMessage() {} func (*RealArenaSelectTeamLeaderResp) ProtoMessage() {}
func (x *RealArenaSelectTeamLeaderResp) ProtoReflect() protoreflect.Message { func (x *RealArenaSelectTeamLeaderResp) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[15] mi := &file_realarena_realarena_msg_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -807,7 +884,7 @@ func (x *RealArenaSelectTeamLeaderResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectTeamLeaderResp.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaSelectTeamLeaderResp.ProtoReflect.Descriptor instead.
func (*RealArenaSelectTeamLeaderResp) Descriptor() ([]byte, []int) { func (*RealArenaSelectTeamLeaderResp) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{15} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{17}
} }
//队长选择推送 //队长选择推送
@ -823,7 +900,7 @@ type RealArenaSelectLeaderPush struct {
func (x *RealArenaSelectLeaderPush) Reset() { func (x *RealArenaSelectLeaderPush) Reset() {
*x = RealArenaSelectLeaderPush{} *x = RealArenaSelectLeaderPush{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_realarena_realarena_msg_proto_msgTypes[16] mi := &file_realarena_realarena_msg_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -836,7 +913,7 @@ func (x *RealArenaSelectLeaderPush) String() string {
func (*RealArenaSelectLeaderPush) ProtoMessage() {} func (*RealArenaSelectLeaderPush) ProtoMessage() {}
func (x *RealArenaSelectLeaderPush) ProtoReflect() protoreflect.Message { func (x *RealArenaSelectLeaderPush) ProtoReflect() protoreflect.Message {
mi := &file_realarena_realarena_msg_proto_msgTypes[16] mi := &file_realarena_realarena_msg_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -849,7 +926,7 @@ func (x *RealArenaSelectLeaderPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectLeaderPush.ProtoReflect.Descriptor instead. // Deprecated: Use RealArenaSelectLeaderPush.ProtoReflect.Descriptor instead.
func (*RealArenaSelectLeaderPush) Descriptor() ([]byte, []int) { func (*RealArenaSelectLeaderPush) Descriptor() ([]byte, []int) {
return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{16} return file_realarena_realarena_msg_proto_rawDescGZIP(), []int{18}
} }
func (x *RealArenaSelectLeaderPush) GetUid() string { func (x *RealArenaSelectLeaderPush) GetUid() string {
@ -880,64 +957,67 @@ var file_realarena_realarena_msg_proto_rawDesc = []byte{
0x6e, 0x61, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x52, 0x65, 0x61, 0x6c, 0x6e, 0x61, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x13, 0x0a, 0x11, 0x52, 0x65, 0x61, 0x6c,
0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x22, 0x14, 0x0a, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x22, 0x14, 0x0a,
0x12, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52, 0x12, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x52,
0x65, 0x73, 0x70, 0x22, 0x3e, 0x0a, 0x16, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x65, 0x73, 0x70, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61,
0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x75, 0x63, 0x63, 0x50, 0x75, 0x73, 0x68, 0x12, 0x24, 0x0a, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x22, 0x1a,
0x04, 0x72, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x42, 0x0a, 0x18, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x61, 0x74, 0x63, 0x68,
0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x72, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x22, 0x3e, 0x0a, 0x16, 0x52, 0x65,
0x61, 0x63, 0x65, 0x22, 0x60, 0x0a, 0x1c, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x53, 0x75, 0x63, 0x63,
0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x48, 0x65, 0x72, 0x6f, 0x50, 0x50, 0x75, 0x73, 0x68, 0x12, 0x24, 0x0a, 0x04, 0x72, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61,
0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x72, 0x61, 0x63, 0x65, 0x22, 0x60, 0x0a, 0x1c, 0x52, 0x65,
0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x6c, 0x65,
0x64, 0x6f, 0x77, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x63, 0x74, 0x48, 0x65, 0x72, 0x6f, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69,
0x74, 0x64, 0x6f, 0x77, 0x6e, 0x22, 0x6e, 0x0a, 0x1a, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03,
0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x72, 0x6f, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1c,
0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x05, 0x52, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x22, 0x6e, 0x0a, 0x1a,
0x65, 0x72, 0x6f, 0x73, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x68, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54,
0x65, 0x72, 0x6f, 0x73, 0x69, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f,
0x63, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d,
0x73, 0x63, 0x69, 0x64, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x69, 0x64, 0x73, 0x18, 0x02,
0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x72, 0x6f, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x69, 0x64, 0x73, 0x12, 0x1c,
0x52, 0x65, 0x73, 0x70, 0x22, 0x49, 0x0a, 0x17, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x63, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x48, 0x65, 0x72, 0x6f, 0x50, 0x75, 0x73, 0x68, 0x12, 0x09, 0x52, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x63, 0x69, 0x64, 0x73, 0x22, 0x1d, 0x0a, 0x1b,
0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54,
0x64, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x63, 0x69, 0x64, 0x73, 0x18, 0x02, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x22, 0x49, 0x0a, 0x17, 0x52,
0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x63, 0x69, 0x64, 0x73, 0x22, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x48, 0x65,
0x4f, 0x0a, 0x1d, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x74, 0x61, 0x72, 0x72, 0x6f, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20,
0x74, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x72, 0x6f, 0x50, 0x75, 0x73, 0x68, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f,
0x73, 0x63, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65, 0x72,
0x6f, 0x73, 0x63, 0x69, 0x64, 0x73, 0x22, 0x4f, 0x0a, 0x1d, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72,
0x65, 0x6e, 0x61, 0x53, 0x74, 0x61, 0x72, 0x74, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x48,
0x65, 0x72, 0x6f, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6f,
0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x22, 0x4b, 0x0a, 0x1b, 0x52, 0x65, 0x61, 0x6c, 0x41,
0x72, 0x65, 0x6e, 0x61, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x48,
0x65, 0x72, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x14,
0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69,
0x6e, 0x64, 0x65, 0x78, 0x22, 0x1e, 0x0a, 0x1c, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e,
0x61, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x72, 0x6f,
0x52, 0x65, 0x73, 0x70, 0x22, 0x42, 0x0a, 0x18, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e,
0x61, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x65, 0x72, 0x6f, 0x50, 0x75, 0x73, 0x68,
0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,
0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x50, 0x0a, 0x1e, 0x52, 0x65, 0x61, 0x6c,
0x22, 0x4b, 0x0a, 0x1b, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x44, 0x69, 0x73, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74,
0x61, 0x62, 0x6c, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69,
0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09,
0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x1e, 0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x22, 0x4c, 0x0a, 0x1c, 0x52, 0x65,
0x1c, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x65, 0x61,
0x65, 0x54, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x22, 0x42, 0x0a, 0x6d, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f,
0x18, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d,
0x65, 0x48, 0x65, 0x72, 0x6f, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x1f, 0x0a, 0x1d, 0x52, 0x65, 0x61, 0x6c,
0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x4c,
0x78, 0x22, 0x50, 0x0a, 0x1e, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x74, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x22, 0x43, 0x0a, 0x19, 0x52, 0x65, 0x61,
0x61, 0x72, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x4c, 0x65, 0x61, 0x64,
0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20,
0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65,
0x77, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x06,
0x6f, 0x77, 0x6e, 0x22, 0x4c, 0x0a, 0x1c, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72,
0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69,
0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65,
0x78, 0x22, 0x1f, 0x0a, 0x1d, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65,
0x6c, 0x65, 0x63, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65,
0x73, 0x70, 0x22, 0x43, 0x0a, 0x19, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53,
0x65, 0x6c, 0x65, 0x63, 0x74, 0x4c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x12,
0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69,
0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -952,31 +1032,33 @@ func file_realarena_realarena_msg_proto_rawDescGZIP() []byte {
return file_realarena_realarena_msg_proto_rawDescData return file_realarena_realarena_msg_proto_rawDescData
} }
var file_realarena_realarena_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 17) var file_realarena_realarena_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
var file_realarena_realarena_msg_proto_goTypes = []interface{}{ var file_realarena_realarena_msg_proto_goTypes = []interface{}{
(*RealArenaInfoReq)(nil), // 0: RealArenaInfoReq (*RealArenaInfoReq)(nil), // 0: RealArenaInfoReq
(*RealArenaInfoResp)(nil), // 1: RealArenaInfoResp (*RealArenaInfoResp)(nil), // 1: RealArenaInfoResp
(*RealArenaMatchReq)(nil), // 2: RealArenaMatchReq (*RealArenaMatchReq)(nil), // 2: RealArenaMatchReq
(*RealArenaMatchResp)(nil), // 3: RealArenaMatchResp (*RealArenaMatchResp)(nil), // 3: RealArenaMatchResp
(*RealArenaMatchSuccPush)(nil), // 4: RealArenaMatchSuccPush (*RealArenaMatchCancelReq)(nil), // 4: RealArenaMatchCancelReq
(*RealArenaStartSelectHeroPush)(nil), // 5: RealArenaStartSelectHeroPush (*RealArenaMatchCancelResp)(nil), // 5: RealArenaMatchCancelResp
(*RealArenaSelectTeamHeroReq)(nil), // 6: RealArenaSelectTeamHeroReq (*RealArenaMatchSuccPush)(nil), // 6: RealArenaMatchSuccPush
(*RealArenaSelectTeamHeroResp)(nil), // 7: RealArenaSelectTeamHeroResp (*RealArenaStartSelectHeroPush)(nil), // 7: RealArenaStartSelectHeroPush
(*RealArenaSelectHeroPush)(nil), // 8: RealArenaSelectHeroPush (*RealArenaSelectTeamHeroReq)(nil), // 8: RealArenaSelectTeamHeroReq
(*RealArenaStartDisableHeroPush)(nil), // 9: RealArenaStartDisableHeroPush (*RealArenaSelectTeamHeroResp)(nil), // 9: RealArenaSelectTeamHeroResp
(*RealArenaDisableTeamHeroReq)(nil), // 10: RealArenaDisableTeamHeroReq (*RealArenaSelectHeroPush)(nil), // 10: RealArenaSelectHeroPush
(*RealArenaDisableTeamHeroResp)(nil), // 11: RealArenaDisableTeamHeroResp (*RealArenaStartDisableHeroPush)(nil), // 11: RealArenaStartDisableHeroPush
(*RealArenaDisableHeroPush)(nil), // 12: RealArenaDisableHeroPush (*RealArenaDisableTeamHeroReq)(nil), // 12: RealArenaDisableTeamHeroReq
(*RealArenaStartSelectLeaderPush)(nil), // 13: RealArenaStartSelectLeaderPush (*RealArenaDisableTeamHeroResp)(nil), // 13: RealArenaDisableTeamHeroResp
(*RealArenaSelectTeamLeaderReq)(nil), // 14: RealArenaSelectTeamLeaderReq (*RealArenaDisableHeroPush)(nil), // 14: RealArenaDisableHeroPush
(*RealArenaSelectTeamLeaderResp)(nil), // 15: RealArenaSelectTeamLeaderResp (*RealArenaStartSelectLeaderPush)(nil), // 15: RealArenaStartSelectLeaderPush
(*RealArenaSelectLeaderPush)(nil), // 16: RealArenaSelectLeaderPush (*RealArenaSelectTeamLeaderReq)(nil), // 16: RealArenaSelectTeamLeaderReq
(*DBRealArena)(nil), // 17: DBRealArena (*RealArenaSelectTeamLeaderResp)(nil), // 17: RealArenaSelectTeamLeaderResp
(*DBRealArenaRace)(nil), // 18: DBRealArenaRace (*RealArenaSelectLeaderPush)(nil), // 18: RealArenaSelectLeaderPush
(*DBRealArena)(nil), // 19: DBRealArena
(*DBRealArenaRace)(nil), // 20: DBRealArenaRace
} }
var file_realarena_realarena_msg_proto_depIdxs = []int32{ var file_realarena_realarena_msg_proto_depIdxs = []int32{
17, // 0: RealArenaInfoResp.info:type_name -> DBRealArena 19, // 0: RealArenaInfoResp.info:type_name -> DBRealArena
18, // 1: RealArenaMatchSuccPush.race:type_name -> DBRealArenaRace 20, // 1: RealArenaMatchSuccPush.race:type_name -> DBRealArenaRace
2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension type_name
@ -1040,7 +1122,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaMatchSuccPush); i { switch v := v.(*RealArenaMatchCancelReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1052,7 +1134,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaStartSelectHeroPush); i { switch v := v.(*RealArenaMatchCancelResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1064,7 +1146,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaSelectTeamHeroReq); i { switch v := v.(*RealArenaMatchSuccPush); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1076,7 +1158,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaSelectTeamHeroResp); i { switch v := v.(*RealArenaStartSelectHeroPush); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1088,7 +1170,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaSelectHeroPush); i { switch v := v.(*RealArenaSelectTeamHeroReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1100,7 +1182,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaStartDisableHeroPush); i { switch v := v.(*RealArenaSelectTeamHeroResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1112,7 +1194,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaDisableTeamHeroReq); i { switch v := v.(*RealArenaSelectHeroPush); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1124,7 +1206,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaDisableTeamHeroResp); i { switch v := v.(*RealArenaStartDisableHeroPush); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1136,7 +1218,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaDisableHeroPush); i { switch v := v.(*RealArenaDisableTeamHeroReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1148,7 +1230,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaStartSelectLeaderPush); i { switch v := v.(*RealArenaDisableTeamHeroResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1160,7 +1242,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaSelectTeamLeaderReq); i { switch v := v.(*RealArenaDisableHeroPush); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1172,7 +1254,7 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaSelectTeamLeaderResp); i { switch v := v.(*RealArenaStartSelectLeaderPush); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -1184,6 +1266,30 @@ func file_realarena_realarena_msg_proto_init() {
} }
} }
file_realarena_realarena_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { file_realarena_realarena_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaSelectTeamLeaderReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_realarena_realarena_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaSelectTeamLeaderResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_realarena_realarena_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RealArenaSelectLeaderPush); i { switch v := v.(*RealArenaSelectLeaderPush); i {
case 0: case 0:
return &v.state return &v.state
@ -1202,7 +1308,7 @@ func file_realarena_realarena_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_realarena_realarena_msg_proto_rawDesc, RawDescriptor: file_realarena_realarena_msg_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 17, NumMessages: 19,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },

View File

@ -64,6 +64,7 @@ import (
"go_dreamfactory/modules/pushgiftbag" "go_dreamfactory/modules/pushgiftbag"
"go_dreamfactory/modules/pvp" "go_dreamfactory/modules/pvp"
"go_dreamfactory/modules/questionnaire" "go_dreamfactory/modules/questionnaire"
"go_dreamfactory/modules/realarena"
"go_dreamfactory/modules/reddot" "go_dreamfactory/modules/reddot"
"go_dreamfactory/modules/reputation" "go_dreamfactory/modules/reputation"
"go_dreamfactory/modules/shop" "go_dreamfactory/modules/shop"
@ -200,6 +201,7 @@ func main() {
plunder.NewModule(), plunder.NewModule(),
expedition.NewModule(), expedition.NewModule(),
exclusive.NewModule(), exclusive.NewModule(),
realarena.NewModule(),
) )
} }