上传匹配取消代码

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()
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"` //段位
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"` //段位奖励
State int32 `protobuf:"varint,7,opt,name=state,proto3" json:"state"` //队伍状态 0 空闲 1匹配中 2游戏中
}
func (x *DBRealArena) Reset() {
@ -108,6 +109,13 @@ func (x *DBRealArena) GetDanaward() map[int32]int32 {
return nil
}
func (x *DBRealArena) GetState() int32 {
if x != nil {
return x.State
}
return 0
}
//队员信息
type DBRealArenaMember struct {
state protoimpl.MessageState
@ -281,7 +289,7 @@ var File_realarena_realarena_db_proto protoreflect.FileDescriptor
var file_realarena_realarena_db_proto_rawDesc = []byte{
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,
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,
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,
@ -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,
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,
0x61, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x3b, 0x0a, 0x0d, 0x44, 0x61, 0x6e, 0x61, 0x77,
0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x3a, 0x02, 0x38, 0x01, 0x22, 0xc8, 0x01, 0x0a, 0x11, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41,
0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x04, 0x75, 0x73,
0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x55,
0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x10, 0x0a,
0x03, 0x64, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64, 0x61, 0x6e, 0x12,
0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28,
0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x68,
0x65, 0x72, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x68, 0x65, 0x72, 0x6f,
0x73, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x63, 0x69, 0x64, 0x18, 0x05, 0x20,
0x03, 0x28, 0x09, 0x52, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x63, 0x69, 0x64, 0x12, 0x18, 0x0a,
0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65,
0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22,
0x91, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52,
0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61,
0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61,
0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x62,
0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65,
0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 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,
0x61, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x3b, 0x0a,
0x0d, 0x44, 0x61, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79,
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc8, 0x01, 0x0a, 0x11, 0x44,
0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
0x12, 0x21, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
0x2e, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x75,
0x73, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x52, 0x03, 0x64, 0x61, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61,
0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61,
0x6c, 0x12, 0x14, 0x0a, 0x05, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09,
0x52, 0x05, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73,
0x63, 0x69, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73,
0x63, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06,
0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a,
0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c,
0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c,
0x41, 0x72, 0x65, 0x6e, 0x61, 0x52, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x03, 0x72,
0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61,
0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65,
0x64, 0x12, 0x26, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x12, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x65, 0x6d,
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 (

View File

@ -184,6 +184,83 @@ func (*RealArenaMatchResp) Descriptor() ([]byte, []int) {
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 {
state protoimpl.MessageState
@ -196,7 +273,7 @@ type RealArenaMatchSuccPush struct {
func (x *RealArenaMatchSuccPush) Reset() {
*x = RealArenaMatchSuccPush{}
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.StoreMessageInfo(mi)
}
@ -209,7 +286,7 @@ func (x *RealArenaMatchSuccPush) String() string {
func (*RealArenaMatchSuccPush) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -222,7 +299,7 @@ func (x *RealArenaMatchSuccPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaMatchSuccPush.ProtoReflect.Descriptor instead.
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 {
@ -246,7 +323,7 @@ type RealArenaStartSelectHeroPush struct {
func (x *RealArenaStartSelectHeroPush) Reset() {
*x = RealArenaStartSelectHeroPush{}
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.StoreMessageInfo(mi)
}
@ -259,7 +336,7 @@ func (x *RealArenaStartSelectHeroPush) String() string {
func (*RealArenaStartSelectHeroPush) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -272,7 +349,7 @@ func (x *RealArenaStartSelectHeroPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaStartSelectHeroPush.ProtoReflect.Descriptor instead.
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 {
@ -310,7 +387,7 @@ type RealArenaSelectTeamHeroReq struct {
func (x *RealArenaSelectTeamHeroReq) Reset() {
*x = RealArenaSelectTeamHeroReq{}
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.StoreMessageInfo(mi)
}
@ -323,7 +400,7 @@ func (x *RealArenaSelectTeamHeroReq) String() string {
func (*RealArenaSelectTeamHeroReq) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -336,7 +413,7 @@ func (x *RealArenaSelectTeamHeroReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectTeamHeroReq.ProtoReflect.Descriptor instead.
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 {
@ -369,7 +446,7 @@ type RealArenaSelectTeamHeroResp struct {
func (x *RealArenaSelectTeamHeroResp) Reset() {
*x = RealArenaSelectTeamHeroResp{}
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.StoreMessageInfo(mi)
}
@ -382,7 +459,7 @@ func (x *RealArenaSelectTeamHeroResp) String() string {
func (*RealArenaSelectTeamHeroResp) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -395,7 +472,7 @@ func (x *RealArenaSelectTeamHeroResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectTeamHeroResp.ProtoReflect.Descriptor instead.
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() {
*x = RealArenaSelectHeroPush{}
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.StoreMessageInfo(mi)
}
@ -424,7 +501,7 @@ func (x *RealArenaSelectHeroPush) String() string {
func (*RealArenaSelectHeroPush) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -437,7 +514,7 @@ func (x *RealArenaSelectHeroPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectHeroPush.ProtoReflect.Descriptor instead.
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 {
@ -467,7 +544,7 @@ type RealArenaStartDisableHeroPush struct {
func (x *RealArenaStartDisableHeroPush) Reset() {
*x = RealArenaStartDisableHeroPush{}
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.StoreMessageInfo(mi)
}
@ -480,7 +557,7 @@ func (x *RealArenaStartDisableHeroPush) String() string {
func (*RealArenaStartDisableHeroPush) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -493,7 +570,7 @@ func (x *RealArenaStartDisableHeroPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaStartDisableHeroPush.ProtoReflect.Descriptor instead.
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 {
@ -523,7 +600,7 @@ type RealArenaDisableTeamHeroReq struct {
func (x *RealArenaDisableTeamHeroReq) Reset() {
*x = RealArenaDisableTeamHeroReq{}
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.StoreMessageInfo(mi)
}
@ -536,7 +613,7 @@ func (x *RealArenaDisableTeamHeroReq) String() string {
func (*RealArenaDisableTeamHeroReq) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -549,7 +626,7 @@ func (x *RealArenaDisableTeamHeroReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaDisableTeamHeroReq.ProtoReflect.Descriptor instead.
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 {
@ -575,7 +652,7 @@ type RealArenaDisableTeamHeroResp struct {
func (x *RealArenaDisableTeamHeroResp) Reset() {
*x = RealArenaDisableTeamHeroResp{}
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.StoreMessageInfo(mi)
}
@ -588,7 +665,7 @@ func (x *RealArenaDisableTeamHeroResp) String() string {
func (*RealArenaDisableTeamHeroResp) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -601,7 +678,7 @@ func (x *RealArenaDisableTeamHeroResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaDisableTeamHeroResp.ProtoReflect.Descriptor instead.
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() {
*x = RealArenaDisableHeroPush{}
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.StoreMessageInfo(mi)
}
@ -630,7 +707,7 @@ func (x *RealArenaDisableHeroPush) String() string {
func (*RealArenaDisableHeroPush) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -643,7 +720,7 @@ func (x *RealArenaDisableHeroPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaDisableHeroPush.ProtoReflect.Descriptor instead.
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 {
@ -673,7 +750,7 @@ type RealArenaStartSelectLeaderPush struct {
func (x *RealArenaStartSelectLeaderPush) Reset() {
*x = RealArenaStartSelectLeaderPush{}
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.StoreMessageInfo(mi)
}
@ -686,7 +763,7 @@ func (x *RealArenaStartSelectLeaderPush) String() string {
func (*RealArenaStartSelectLeaderPush) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -699,7 +776,7 @@ func (x *RealArenaStartSelectLeaderPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaStartSelectLeaderPush.ProtoReflect.Descriptor instead.
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 {
@ -729,7 +806,7 @@ type RealArenaSelectTeamLeaderReq struct {
func (x *RealArenaSelectTeamLeaderReq) Reset() {
*x = RealArenaSelectTeamLeaderReq{}
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.StoreMessageInfo(mi)
}
@ -742,7 +819,7 @@ func (x *RealArenaSelectTeamLeaderReq) String() string {
func (*RealArenaSelectTeamLeaderReq) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -755,7 +832,7 @@ func (x *RealArenaSelectTeamLeaderReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectTeamLeaderReq.ProtoReflect.Descriptor instead.
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 {
@ -781,7 +858,7 @@ type RealArenaSelectTeamLeaderResp struct {
func (x *RealArenaSelectTeamLeaderResp) Reset() {
*x = RealArenaSelectTeamLeaderResp{}
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.StoreMessageInfo(mi)
}
@ -794,7 +871,7 @@ func (x *RealArenaSelectTeamLeaderResp) String() string {
func (*RealArenaSelectTeamLeaderResp) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -807,7 +884,7 @@ func (x *RealArenaSelectTeamLeaderResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectTeamLeaderResp.ProtoReflect.Descriptor instead.
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() {
*x = RealArenaSelectLeaderPush{}
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.StoreMessageInfo(mi)
}
@ -836,7 +913,7 @@ func (x *RealArenaSelectLeaderPush) String() string {
func (*RealArenaSelectLeaderPush) ProtoMessage() {}
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 {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@ -849,7 +926,7 @@ func (x *RealArenaSelectLeaderPush) ProtoReflect() protoreflect.Message {
// Deprecated: Use RealArenaSelectLeaderPush.ProtoReflect.Descriptor instead.
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 {
@ -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,
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,
0x65, 0x73, 0x70, 0x22, 0x3e, 0x0a, 0x16, 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,
0x04, 0x72, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x42,
0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x72,
0x61, 0x63, 0x65, 0x22, 0x60, 0x0a, 0x1c, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61,
0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 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, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01,
0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x64, 0x6f, 0x77, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x64, 0x6f, 0x77, 0x6e, 0x22, 0x6e, 0x0a, 0x1a, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65,
0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 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, 0x1a, 0x0a, 0x08, 0x68,
0x65, 0x72, 0x6f, 0x73, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x68,
0x65, 0x72, 0x6f, 0x73, 0x69, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x73,
0x63, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65, 0x72, 0x6f,
0x73, 0x63, 0x69, 0x64, 0x73, 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65,
0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54, 0x65, 0x61, 0x6d, 0x48, 0x65, 0x72, 0x6f,
0x52, 0x65, 0x73, 0x70, 0x22, 0x49, 0x0a, 0x17, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e,
0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 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, 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,
0x65, 0x73, 0x70, 0x22, 0x19, 0x0a, 0x17, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61,
0x4d, 0x61, 0x74, 0x63, 0x68, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x22, 0x1a,
0x0a, 0x18, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x4d, 0x61, 0x74, 0x63, 0x68,
0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x22, 0x3e, 0x0a, 0x16, 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, 0x04, 0x72, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x42, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61,
0x52, 0x61, 0x63, 0x65, 0x52, 0x04, 0x72, 0x61, 0x63, 0x65, 0x22, 0x60, 0x0a, 0x1c, 0x52, 0x65,
0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x74, 0x61, 0x72, 0x74, 0x53, 0x65, 0x6c, 0x65,
0x63, 0x74, 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, 0x10, 0x0a, 0x03,
0x6e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x1c,
0x0a, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
0x05, 0x52, 0x09, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x22, 0x6e, 0x0a, 0x1a,
0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 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, 0x1a, 0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x69, 0x64, 0x73, 0x18, 0x02,
0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x69, 0x64, 0x73, 0x12, 0x1c,
0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x63, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
0x09, 0x52, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x73, 0x63, 0x69, 0x64, 0x73, 0x22, 0x1d, 0x0a, 0x1b,
0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x54,
0x65, 0x61, 0x6d, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x22, 0x49, 0x0a, 0x17, 0x52,
0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 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, 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,
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, 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, 0x50, 0x0a, 0x1e, 0x52, 0x65, 0x61, 0x6c, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x74,
0x61, 0x72, 0x74, 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, 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, 0x4c, 0x0a, 0x1c, 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, 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,
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, 0x50, 0x0a, 0x1e, 0x52, 0x65, 0x61, 0x6c,
0x41, 0x72, 0x65, 0x6e, 0x61, 0x53, 0x74, 0x61, 0x72, 0x74, 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, 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, 0x4c, 0x0a, 0x1c, 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, 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 (
@ -952,31 +1032,33 @@ func file_realarena_realarena_msg_proto_rawDescGZIP() []byte {
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{}{
(*RealArenaInfoReq)(nil), // 0: RealArenaInfoReq
(*RealArenaInfoResp)(nil), // 1: RealArenaInfoResp
(*RealArenaMatchReq)(nil), // 2: RealArenaMatchReq
(*RealArenaMatchResp)(nil), // 3: RealArenaMatchResp
(*RealArenaMatchSuccPush)(nil), // 4: RealArenaMatchSuccPush
(*RealArenaStartSelectHeroPush)(nil), // 5: RealArenaStartSelectHeroPush
(*RealArenaSelectTeamHeroReq)(nil), // 6: RealArenaSelectTeamHeroReq
(*RealArenaSelectTeamHeroResp)(nil), // 7: RealArenaSelectTeamHeroResp
(*RealArenaSelectHeroPush)(nil), // 8: RealArenaSelectHeroPush
(*RealArenaStartDisableHeroPush)(nil), // 9: RealArenaStartDisableHeroPush
(*RealArenaDisableTeamHeroReq)(nil), // 10: RealArenaDisableTeamHeroReq
(*RealArenaDisableTeamHeroResp)(nil), // 11: RealArenaDisableTeamHeroResp
(*RealArenaDisableHeroPush)(nil), // 12: RealArenaDisableHeroPush
(*RealArenaStartSelectLeaderPush)(nil), // 13: RealArenaStartSelectLeaderPush
(*RealArenaSelectTeamLeaderReq)(nil), // 14: RealArenaSelectTeamLeaderReq
(*RealArenaSelectTeamLeaderResp)(nil), // 15: RealArenaSelectTeamLeaderResp
(*RealArenaSelectLeaderPush)(nil), // 16: RealArenaSelectLeaderPush
(*DBRealArena)(nil), // 17: DBRealArena
(*DBRealArenaRace)(nil), // 18: DBRealArenaRace
(*RealArenaMatchCancelReq)(nil), // 4: RealArenaMatchCancelReq
(*RealArenaMatchCancelResp)(nil), // 5: RealArenaMatchCancelResp
(*RealArenaMatchSuccPush)(nil), // 6: RealArenaMatchSuccPush
(*RealArenaStartSelectHeroPush)(nil), // 7: RealArenaStartSelectHeroPush
(*RealArenaSelectTeamHeroReq)(nil), // 8: RealArenaSelectTeamHeroReq
(*RealArenaSelectTeamHeroResp)(nil), // 9: RealArenaSelectTeamHeroResp
(*RealArenaSelectHeroPush)(nil), // 10: RealArenaSelectHeroPush
(*RealArenaStartDisableHeroPush)(nil), // 11: RealArenaStartDisableHeroPush
(*RealArenaDisableTeamHeroReq)(nil), // 12: RealArenaDisableTeamHeroReq
(*RealArenaDisableTeamHeroResp)(nil), // 13: RealArenaDisableTeamHeroResp
(*RealArenaDisableHeroPush)(nil), // 14: RealArenaDisableHeroPush
(*RealArenaStartSelectLeaderPush)(nil), // 15: RealArenaStartSelectLeaderPush
(*RealArenaSelectTeamLeaderReq)(nil), // 16: RealArenaSelectTeamLeaderReq
(*RealArenaSelectTeamLeaderResp)(nil), // 17: RealArenaSelectTeamLeaderResp
(*RealArenaSelectLeaderPush)(nil), // 18: RealArenaSelectLeaderPush
(*DBRealArena)(nil), // 19: DBRealArena
(*DBRealArenaRace)(nil), // 20: DBRealArenaRace
}
var file_realarena_realarena_msg_proto_depIdxs = []int32{
17, // 0: RealArenaInfoResp.info:type_name -> DBRealArena
18, // 1: RealArenaMatchSuccPush.race:type_name -> DBRealArenaRace
19, // 0: RealArenaInfoResp.info:type_name -> DBRealArena
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 input_type
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{} {
switch v := v.(*RealArenaMatchSuccPush); i {
switch v := v.(*RealArenaMatchCancelReq); i {
case 0:
return &v.state
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{} {
switch v := v.(*RealArenaStartSelectHeroPush); i {
switch v := v.(*RealArenaMatchCancelResp); i {
case 0:
return &v.state
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{} {
switch v := v.(*RealArenaSelectTeamHeroReq); i {
switch v := v.(*RealArenaMatchSuccPush); i {
case 0:
return &v.state
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{} {
switch v := v.(*RealArenaSelectTeamHeroResp); i {
switch v := v.(*RealArenaStartSelectHeroPush); i {
case 0:
return &v.state
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{} {
switch v := v.(*RealArenaSelectHeroPush); i {
switch v := v.(*RealArenaSelectTeamHeroReq); i {
case 0:
return &v.state
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{} {
switch v := v.(*RealArenaStartDisableHeroPush); i {
switch v := v.(*RealArenaSelectTeamHeroResp); i {
case 0:
return &v.state
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{} {
switch v := v.(*RealArenaDisableTeamHeroReq); i {
switch v := v.(*RealArenaSelectHeroPush); i {
case 0:
return &v.state
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{} {
switch v := v.(*RealArenaDisableTeamHeroResp); i {
switch v := v.(*RealArenaStartDisableHeroPush); i {
case 0:
return &v.state
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{} {
switch v := v.(*RealArenaDisableHeroPush); i {
switch v := v.(*RealArenaDisableTeamHeroReq); i {
case 0:
return &v.state
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{} {
switch v := v.(*RealArenaStartSelectLeaderPush); i {
switch v := v.(*RealArenaDisableTeamHeroResp); i {
case 0:
return &v.state
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{} {
switch v := v.(*RealArenaSelectTeamLeaderReq); i {
switch v := v.(*RealArenaDisableHeroPush); i {
case 0:
return &v.state
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{} {
switch v := v.(*RealArenaSelectTeamLeaderResp); i {
switch v := v.(*RealArenaStartSelectLeaderPush); i {
case 0:
return &v.state
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{} {
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 {
case 0:
return &v.state
@ -1202,7 +1308,7 @@ func file_realarena_realarena_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_realarena_realarena_msg_proto_rawDesc,
NumEnums: 0,
NumMessages: 17,
NumMessages: 19,
NumExtensions: 0,
NumServices: 0,
},

View File

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