// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc v3.21.5 // source: common.proto package msg import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type RoleType int32 const ( RoleType_ROLE_TYPE_UNKNOWN RoleType = 0 RoleType_RED RoleType = 1 // 无操作 RoleType_BLUE RoleType = 4 RoleType_YELLOW RoleType = 3 RoleType_GREEN RoleType = 2 ) // Enum value maps for RoleType. var ( RoleType_name = map[int32]string{ 0: "ROLE_TYPE_UNKNOWN", 1: "RED", 4: "BLUE", 3: "YELLOW", 2: "GREEN", } RoleType_value = map[string]int32{ "ROLE_TYPE_UNKNOWN": 0, "RED": 1, "BLUE": 4, "YELLOW": 3, "GREEN": 2, } ) func (x RoleType) Enum() *RoleType { p := new(RoleType) *p = x return p } func (x RoleType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (RoleType) Descriptor() protoreflect.EnumDescriptor { return file_common_proto_enumTypes[0].Descriptor() } func (RoleType) Type() protoreflect.EnumType { return &file_common_proto_enumTypes[0] } func (x RoleType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use RoleType.Descriptor instead. func (RoleType) EnumDescriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{0} } type OptType int32 const ( OptType_OPT_TYPE_UNKNOWN OptType = 0 OptType_ZHI_SHAI_ZI OptType = 1 OptType_SELECT_ROLE OptType = 2 ) // Enum value maps for OptType. var ( OptType_name = map[int32]string{ 0: "OPT_TYPE_UNKNOWN", 1: "ZHI_SHAI_ZI", 2: "SELECT_ROLE", } OptType_value = map[string]int32{ "OPT_TYPE_UNKNOWN": 0, "ZHI_SHAI_ZI": 1, "SELECT_ROLE": 2, } ) func (x OptType) Enum() *OptType { p := new(OptType) *p = x return p } func (x OptType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (OptType) Descriptor() protoreflect.EnumDescriptor { return file_common_proto_enumTypes[1].Descriptor() } func (OptType) Type() protoreflect.EnumType { return &file_common_proto_enumTypes[1] } func (x OptType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use OptType.Descriptor instead. func (OptType) EnumDescriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{1} } type RoomType int32 const ( RoomType_ROOM_TYPE_UNKNOWN RoomType = 0 RoomType_SHUANG_REN RoomType = 1 RoomType_SIREN_REN RoomType = 2 ) // Enum value maps for RoomType. var ( RoomType_name = map[int32]string{ 0: "ROOM_TYPE_UNKNOWN", 1: "SHUANG_REN", 2: "SIREN_REN", } RoomType_value = map[string]int32{ "ROOM_TYPE_UNKNOWN": 0, "SHUANG_REN": 1, "SIREN_REN": 2, } ) func (x RoomType) Enum() *RoomType { p := new(RoomType) *p = x return p } func (x RoomType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (RoomType) Descriptor() protoreflect.EnumDescriptor { return file_common_proto_enumTypes[2].Descriptor() } func (RoomType) Type() protoreflect.EnumType { return &file_common_proto_enumTypes[2] } func (x RoomType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use RoomType.Descriptor instead. func (RoomType) EnumDescriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{2} } type RoomMode int32 const ( RoomMode_ROOM_MODE_UNKNOWN RoomMode = 0 RoomMode_REN_JI RoomMode = 1 RoomMode_WAN_JIA RoomMode = 2 ) // Enum value maps for RoomMode. var ( RoomMode_name = map[int32]string{ 0: "ROOM_MODE_UNKNOWN", 1: "REN_JI", 2: "WAN_JIA", } RoomMode_value = map[string]int32{ "ROOM_MODE_UNKNOWN": 0, "REN_JI": 1, "WAN_JIA": 2, } ) func (x RoomMode) Enum() *RoomMode { p := new(RoomMode) *p = x return p } func (x RoomMode) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (RoomMode) Descriptor() protoreflect.EnumDescriptor { return file_common_proto_enumTypes[3].Descriptor() } func (RoomMode) Type() protoreflect.EnumType { return &file_common_proto_enumTypes[3] } func (x RoomMode) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use RoomMode.Descriptor instead. func (RoomMode) EnumDescriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{3} } type RoadType int32 const ( RoadType_ROAD_TYPE_UNKNOWN RoadType = 0 RoadType_HOME RoadType = 1 ) // Enum value maps for RoadType. var ( RoadType_name = map[int32]string{ 0: "ROAD_TYPE_UNKNOWN", 1: "HOME", } RoadType_value = map[string]int32{ "ROAD_TYPE_UNKNOWN": 0, "HOME": 1, } ) func (x RoadType) Enum() *RoadType { p := new(RoadType) *p = x return p } func (x RoadType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (RoadType) Descriptor() protoreflect.EnumDescriptor { return file_common_proto_enumTypes[4].Descriptor() } func (RoadType) Type() protoreflect.EnumType { return &file_common_proto_enumTypes[4] } func (x RoadType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use RoadType.Descriptor instead. func (RoadType) EnumDescriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{4} } type PlayerStatus int32 const ( PlayerStatus_PLAYER_STATUS_UNKNOWN PlayerStatus = 0 PlayerStatus_SZ_ANIMATION PlayerStatus = 1 PlayerStatus_COLOR_FINISH PlayerStatus = 2 PlayerStatus_COLOR_KICK PlayerStatus = 3 PlayerStatus_COLOR_TIME_OUT PlayerStatus = 4 ) // Enum value maps for PlayerStatus. var ( PlayerStatus_name = map[int32]string{ 0: "PLAYER_STATUS_UNKNOWN", 1: "SZ_ANIMATION", 2: "COLOR_FINISH", 3: "COLOR_KICK", 4: "COLOR_TIME_OUT", } PlayerStatus_value = map[string]int32{ "PLAYER_STATUS_UNKNOWN": 0, "SZ_ANIMATION": 1, "COLOR_FINISH": 2, "COLOR_KICK": 3, "COLOR_TIME_OUT": 4, } ) func (x PlayerStatus) Enum() *PlayerStatus { p := new(PlayerStatus) *p = x return p } func (x PlayerStatus) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (PlayerStatus) Descriptor() protoreflect.EnumDescriptor { return file_common_proto_enumTypes[5].Descriptor() } func (PlayerStatus) Type() protoreflect.EnumType { return &file_common_proto_enumTypes[5] } func (x PlayerStatus) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use PlayerStatus.Descriptor instead. func (PlayerStatus) EnumDescriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{5} } type RoomStatus int32 const ( RoomStatus_AWAIT RoomStatus = 0 RoomStatus_START RoomStatus = 1 RoomStatus_END RoomStatus = 2 ) // Enum value maps for RoomStatus. var ( RoomStatus_name = map[int32]string{ 0: "AWAIT", 1: "START", 2: "END", } RoomStatus_value = map[string]int32{ "AWAIT": 0, "START": 1, "END": 2, } ) func (x RoomStatus) Enum() *RoomStatus { p := new(RoomStatus) *p = x return p } func (x RoomStatus) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (RoomStatus) Descriptor() protoreflect.EnumDescriptor { return file_common_proto_enumTypes[6].Descriptor() } func (RoomStatus) Type() protoreflect.EnumType { return &file_common_proto_enumTypes[6] } func (x RoomStatus) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use RoomStatus.Descriptor instead. func (RoomStatus) EnumDescriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{6} } type Round struct { state protoimpl.MessageState `protogen:"open.v1"` MColor RoleType `protobuf:"varint,1,opt,name=m_color,json=mColor,proto3,enum=RoleType" json:"m_color,omitempty"` MRoad string `protobuf:"bytes,2,opt,name=m_road,json=mRoad,proto3" json:"m_road,omitempty"` Opt OptType `protobuf:"varint,3,opt,name=opt,proto3,enum=OptType" json:"opt,omitempty"` SzNumber int32 `protobuf:"varint,4,opt,name=szNumber,proto3" json:"szNumber,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *Round) Reset() { *x = Round{} mi := &file_common_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *Round) String() string { return protoimpl.X.MessageStringOf(x) } func (*Round) ProtoMessage() {} func (x *Round) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Round.ProtoReflect.Descriptor instead. func (*Round) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{0} } func (x *Round) GetMColor() RoleType { if x != nil { return x.MColor } return RoleType_ROLE_TYPE_UNKNOWN } func (x *Round) GetMRoad() string { if x != nil { return x.MRoad } return "" } func (x *Round) GetOpt() OptType { if x != nil { return x.Opt } return OptType_OPT_TYPE_UNKNOWN } func (x *Round) GetSzNumber() int32 { if x != nil { return x.SzNumber } return 0 } type RoomInfo struct { state protoimpl.MessageState `protogen:"open.v1"` Roles []*RoleData `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"` Colors []*ColorData `protobuf:"bytes,2,rep,name=colors,proto3" json:"colors,omitempty"` RoomType RoomType `protobuf:"varint,3,opt,name=room_type,json=roomType,proto3,enum=RoomType" json:"room_type,omitempty"` RoomMode RoomMode `protobuf:"varint,4,opt,name=room_mode,json=roomMode,proto3,enum=RoomMode" json:"room_mode,omitempty"` CurRoundColor RoleType `protobuf:"varint,5,opt,name=cur_round_color,json=curRoundColor,proto3,enum=RoleType" json:"cur_round_color,omitempty"` //当前那个阵营的回合 Rounds []*Round `protobuf:"bytes,6,rep,name=rounds,proto3" json:"rounds,omitempty"` FinishColors []*ColorData `protobuf:"bytes,7,rep,name=finish_colors,json=finishColors,proto3" json:"finish_colors,omitempty"` KictColors []*ColorData `protobuf:"bytes,8,rep,name=kict_colors,json=kictColors,proto3" json:"kict_colors,omitempty"` Id int32 `protobuf:"varint,9,opt,name=id,proto3" json:"id,omitempty"` RoomLevel int32 `protobuf:"varint,10,opt,name=room_level,json=roomLevel,proto3" json:"room_level,omitempty"` //房间的每个等级都对应着不同的奖励和消耗 RoomStatus RoomStatus `protobuf:"varint,11,opt,name=room_status,json=roomStatus,proto3,enum=RoomStatus" json:"room_status,omitempty"` CurColorOptData *NotifyPlayerOpt `protobuf:"bytes,12,opt,name=cur_color_opt_data,json=curColorOptData,proto3" json:"cur_color_opt_data,omitempty"` //当前阵营操作的类型 OptTime int32 `protobuf:"varint,13,opt,name=opt_time,json=optTime,proto3" json:"opt_time,omitempty"` //玩家当前剩余操作时间 unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoomInfo) Reset() { *x = RoomInfo{} mi := &file_common_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoomInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoomInfo) ProtoMessage() {} func (x *RoomInfo) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoomInfo.ProtoReflect.Descriptor instead. func (*RoomInfo) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{1} } func (x *RoomInfo) GetRoles() []*RoleData { if x != nil { return x.Roles } return nil } func (x *RoomInfo) GetColors() []*ColorData { if x != nil { return x.Colors } return nil } func (x *RoomInfo) GetRoomType() RoomType { if x != nil { return x.RoomType } return RoomType_ROOM_TYPE_UNKNOWN } func (x *RoomInfo) GetRoomMode() RoomMode { if x != nil { return x.RoomMode } return RoomMode_ROOM_MODE_UNKNOWN } func (x *RoomInfo) GetCurRoundColor() RoleType { if x != nil { return x.CurRoundColor } return RoleType_ROLE_TYPE_UNKNOWN } func (x *RoomInfo) GetRounds() []*Round { if x != nil { return x.Rounds } return nil } func (x *RoomInfo) GetFinishColors() []*ColorData { if x != nil { return x.FinishColors } return nil } func (x *RoomInfo) GetKictColors() []*ColorData { if x != nil { return x.KictColors } return nil } func (x *RoomInfo) GetId() int32 { if x != nil { return x.Id } return 0 } func (x *RoomInfo) GetRoomLevel() int32 { if x != nil { return x.RoomLevel } return 0 } func (x *RoomInfo) GetRoomStatus() RoomStatus { if x != nil { return x.RoomStatus } return RoomStatus_AWAIT } func (x *RoomInfo) GetCurColorOptData() *NotifyPlayerOpt { if x != nil { return x.CurColorOptData } return nil } func (x *RoomInfo) GetOptTime() int32 { if x != nil { return x.OptTime } return 0 } type RoleData struct { state protoimpl.MessageState `protogen:"open.v1"` MColor RoleType `protobuf:"varint,1,opt,name=m_color,json=mColor,proto3,enum=RoleType" json:"m_color,omitempty"` MSeat int32 `protobuf:"varint,2,opt,name=m_seat,json=mSeat,proto3" json:"m_seat,omitempty"` MId string `protobuf:"bytes,3,opt,name=m_id,json=mId,proto3" json:"m_id,omitempty"` MCurRoad RoadType `protobuf:"varint,4,opt,name=m_cur_road,json=mCurRoad,proto3,enum=RoadType" json:"m_cur_road,omitempty"` Step int32 `protobuf:"varint,5,opt,name=step,proto3" json:"step,omitempty"` OldSetp int32 `protobuf:"varint,6,opt,name=old_setp,json=oldSetp,proto3" json:"old_setp,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *RoleData) Reset() { *x = RoleData{} mi := &file_common_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *RoleData) String() string { return protoimpl.X.MessageStringOf(x) } func (*RoleData) ProtoMessage() {} func (x *RoleData) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[2] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RoleData.ProtoReflect.Descriptor instead. func (*RoleData) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{2} } func (x *RoleData) GetMColor() RoleType { if x != nil { return x.MColor } return RoleType_ROLE_TYPE_UNKNOWN } func (x *RoleData) GetMSeat() int32 { if x != nil { return x.MSeat } return 0 } func (x *RoleData) GetMId() string { if x != nil { return x.MId } return "" } func (x *RoleData) GetMCurRoad() RoadType { if x != nil { return x.MCurRoad } return RoadType_ROAD_TYPE_UNKNOWN } func (x *RoleData) GetStep() int32 { if x != nil { return x.Step } return 0 } func (x *RoleData) GetOldSetp() int32 { if x != nil { return x.OldSetp } return 0 } type ColorData struct { state protoimpl.MessageState `protogen:"open.v1"` MId string `protobuf:"bytes,1,opt,name=m_id,json=mId,proto3" json:"m_id,omitempty"` MColor RoleType `protobuf:"varint,2,opt,name=m_color,json=mColor,proto3,enum=RoleType" json:"m_color,omitempty"` IsKick bool `protobuf:"varint,3,opt,name=is_kick,json=isKick,proto3" json:"is_kick,omitempty"` IsFinish bool `protobuf:"varint,4,opt,name=is_finish,json=isFinish,proto3" json:"is_finish,omitempty"` TimeOutNum int32 `protobuf:"varint,5,opt,name=time_out_num,json=timeOutNum,proto3" json:"time_out_num,omitempty"` MName string `protobuf:"bytes,6,opt,name=m_name,json=mName,proto3" json:"m_name,omitempty"` MHead string `protobuf:"bytes,7,opt,name=m_head,json=mHead,proto3" json:"m_head,omitempty"` RankNum int32 `protobuf:"varint,8,opt,name=rank_num,json=rankNum,proto3" json:"rank_num,omitempty"` MCoin int32 `protobuf:"varint,9,opt,name=m_coin,json=mCoin,proto3" json:"m_coin,omitempty"` MRewardCoin int32 `protobuf:"varint,10,opt,name=m_reward_coin,json=mRewardCoin,proto3" json:"m_reward_coin,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ColorData) Reset() { *x = ColorData{} mi := &file_common_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ColorData) String() string { return protoimpl.X.MessageStringOf(x) } func (*ColorData) ProtoMessage() {} func (x *ColorData) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[3] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ColorData.ProtoReflect.Descriptor instead. func (*ColorData) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{3} } func (x *ColorData) GetMId() string { if x != nil { return x.MId } return "" } func (x *ColorData) GetMColor() RoleType { if x != nil { return x.MColor } return RoleType_ROLE_TYPE_UNKNOWN } func (x *ColorData) GetIsKick() bool { if x != nil { return x.IsKick } return false } func (x *ColorData) GetIsFinish() bool { if x != nil { return x.IsFinish } return false } func (x *ColorData) GetTimeOutNum() int32 { if x != nil { return x.TimeOutNum } return 0 } func (x *ColorData) GetMName() string { if x != nil { return x.MName } return "" } func (x *ColorData) GetMHead() string { if x != nil { return x.MHead } return "" } func (x *ColorData) GetRankNum() int32 { if x != nil { return x.RankNum } return 0 } func (x *ColorData) GetMCoin() int32 { if x != nil { return x.MCoin } return 0 } func (x *ColorData) GetMRewardCoin() int32 { if x != nil { return x.MRewardCoin } return 0 } type MoveStepData struct { state protoimpl.MessageState `protogen:"open.v1"` MId string `protobuf:"bytes,1,opt,name=m_id,json=mId,proto3" json:"m_id,omitempty"` Step int32 `protobuf:"varint,2,opt,name=step,proto3" json:"step,omitempty"` OldSetp int32 `protobuf:"varint,3,opt,name=old_setp,json=oldSetp,proto3" json:"old_setp,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MoveStepData) Reset() { *x = MoveStepData{} mi := &file_common_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MoveStepData) String() string { return protoimpl.X.MessageStringOf(x) } func (*MoveStepData) ProtoMessage() {} func (x *MoveStepData) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[4] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MoveStepData.ProtoReflect.Descriptor instead. func (*MoveStepData) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{4} } func (x *MoveStepData) GetMId() string { if x != nil { return x.MId } return "" } func (x *MoveStepData) GetStep() int32 { if x != nil { return x.Step } return 0 } func (x *MoveStepData) GetOldSetp() int32 { if x != nil { return x.OldSetp } return 0 } type SendColorSz struct { state protoimpl.MessageState `protogen:"open.v1"` Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` // unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SendColorSz) Reset() { *x = SendColorSz{} mi := &file_common_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SendColorSz) String() string { return protoimpl.X.MessageStringOf(x) } func (*SendColorSz) ProtoMessage() {} func (x *SendColorSz) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[5] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SendColorSz.ProtoReflect.Descriptor instead. func (*SendColorSz) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{5} } func (x *SendColorSz) GetColor() RoleType { if x != nil { return x.Color } return RoleType_ROLE_TYPE_UNKNOWN } type SendRoleMove struct { state protoimpl.MessageState `protogen:"open.v1"` Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` // RoleId string `protobuf:"bytes,2,opt,name=roleId,proto3" json:"roleId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SendRoleMove) Reset() { *x = SendRoleMove{} mi := &file_common_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SendRoleMove) String() string { return protoimpl.X.MessageStringOf(x) } func (*SendRoleMove) ProtoMessage() {} func (x *SendRoleMove) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[6] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SendRoleMove.ProtoReflect.Descriptor instead. func (*SendRoleMove) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{6} } func (x *SendRoleMove) GetColor() RoleType { if x != nil { return x.Color } return RoleType_ROLE_TYPE_UNKNOWN } func (x *SendRoleMove) GetRoleId() string { if x != nil { return x.RoleId } return "" } type SendQuitRoom struct { state protoimpl.MessageState `protogen:"open.v1"` Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` // unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *SendQuitRoom) Reset() { *x = SendQuitRoom{} mi := &file_common_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *SendQuitRoom) String() string { return protoimpl.X.MessageStringOf(x) } func (*SendQuitRoom) ProtoMessage() {} func (x *SendQuitRoom) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[7] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use SendQuitRoom.ProtoReflect.Descriptor instead. func (*SendQuitRoom) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{7} } func (x *SendQuitRoom) GetColor() RoleType { if x != nil { return x.Color } return RoleType_ROLE_TYPE_UNKNOWN } type NotifyPlayerSzNumber struct { state protoimpl.MessageState `protogen:"open.v1"` Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` // SzNumber int32 `protobuf:"varint,2,opt,name=szNumber,proto3" json:"szNumber,omitempty"` // ErrMsg *MsgError `protobuf:"bytes,3,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NotifyPlayerSzNumber) Reset() { *x = NotifyPlayerSzNumber{} mi := &file_common_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NotifyPlayerSzNumber) String() string { return protoimpl.X.MessageStringOf(x) } func (*NotifyPlayerSzNumber) ProtoMessage() {} func (x *NotifyPlayerSzNumber) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[8] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NotifyPlayerSzNumber.ProtoReflect.Descriptor instead. func (*NotifyPlayerSzNumber) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{8} } func (x *NotifyPlayerSzNumber) GetColor() RoleType { if x != nil { return x.Color } return RoleType_ROLE_TYPE_UNKNOWN } func (x *NotifyPlayerSzNumber) GetSzNumber() int32 { if x != nil { return x.SzNumber } return 0 } func (x *NotifyPlayerSzNumber) GetErrMsg() *MsgError { if x != nil { return x.ErrMsg } return nil } type NotifyPlayerMove struct { state protoimpl.MessageState `protogen:"open.v1"` Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` // Step *MoveStepData `protobuf:"bytes,2,opt,name=step,proto3" json:"step,omitempty"` // Kick []*RoleData `protobuf:"bytes,3,rep,name=kick,proto3" json:"kick,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NotifyPlayerMove) Reset() { *x = NotifyPlayerMove{} mi := &file_common_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NotifyPlayerMove) String() string { return protoimpl.X.MessageStringOf(x) } func (*NotifyPlayerMove) ProtoMessage() {} func (x *NotifyPlayerMove) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[9] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NotifyPlayerMove.ProtoReflect.Descriptor instead. func (*NotifyPlayerMove) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{9} } func (x *NotifyPlayerMove) GetColor() RoleType { if x != nil { return x.Color } return RoleType_ROLE_TYPE_UNKNOWN } func (x *NotifyPlayerMove) GetStep() *MoveStepData { if x != nil { return x.Step } return nil } func (x *NotifyPlayerMove) GetKick() []*RoleData { if x != nil { return x.Kick } return nil } type NotifyPlayerOpt struct { state protoimpl.MessageState `protogen:"open.v1"` Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` // Opt OptType `protobuf:"varint,2,opt,name=opt,proto3,enum=OptType" json:"opt,omitempty"` // CanMoveRoles []*RoleData `protobuf:"bytes,3,rep,name=canMoveRoles,proto3" json:"canMoveRoles,omitempty"` OptTime int32 `protobuf:"varint,4,opt,name=opt_time,json=optTime,proto3" json:"opt_time,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NotifyPlayerOpt) Reset() { *x = NotifyPlayerOpt{} mi := &file_common_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NotifyPlayerOpt) String() string { return protoimpl.X.MessageStringOf(x) } func (*NotifyPlayerOpt) ProtoMessage() {} func (x *NotifyPlayerOpt) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[10] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NotifyPlayerOpt.ProtoReflect.Descriptor instead. func (*NotifyPlayerOpt) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{10} } func (x *NotifyPlayerOpt) GetColor() RoleType { if x != nil { return x.Color } return RoleType_ROLE_TYPE_UNKNOWN } func (x *NotifyPlayerOpt) GetOpt() OptType { if x != nil { return x.Opt } return OptType_OPT_TYPE_UNKNOWN } func (x *NotifyPlayerOpt) GetCanMoveRoles() []*RoleData { if x != nil { return x.CanMoveRoles } return nil } func (x *NotifyPlayerOpt) GetOptTime() int32 { if x != nil { return x.OptTime } return 0 } type NotifyPlayerStatus struct { state protoimpl.MessageState `protogen:"open.v1"` Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` // Status PlayerStatus `protobuf:"varint,2,opt,name=status,proto3,enum=PlayerStatus" json:"status,omitempty"` Colors []*ColorData `protobuf:"bytes,3,rep,name=colors,proto3" json:"colors,omitempty"` TimeOutColor *ColorData `protobuf:"bytes,4,opt,name=time_out_color,json=timeOutColor,proto3" json:"time_out_color,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NotifyPlayerStatus) Reset() { *x = NotifyPlayerStatus{} mi := &file_common_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NotifyPlayerStatus) String() string { return protoimpl.X.MessageStringOf(x) } func (*NotifyPlayerStatus) ProtoMessage() {} func (x *NotifyPlayerStatus) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[11] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NotifyPlayerStatus.ProtoReflect.Descriptor instead. func (*NotifyPlayerStatus) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{11} } func (x *NotifyPlayerStatus) GetColor() RoleType { if x != nil { return x.Color } return RoleType_ROLE_TYPE_UNKNOWN } func (x *NotifyPlayerStatus) GetStatus() PlayerStatus { if x != nil { return x.Status } return PlayerStatus_PLAYER_STATUS_UNKNOWN } func (x *NotifyPlayerStatus) GetColors() []*ColorData { if x != nil { return x.Colors } return nil } func (x *NotifyPlayerStatus) GetTimeOutColor() *ColorData { if x != nil { return x.TimeOutColor } return nil } type NotifySettlement struct { state protoimpl.MessageState `protogen:"open.v1"` Color RoleType `protobuf:"varint,1,opt,name=color,proto3,enum=RoleType" json:"color,omitempty"` // FinishColors []*ColorData `protobuf:"bytes,2,rep,name=finish_colors,json=finishColors,proto3" json:"finish_colors,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NotifySettlement) Reset() { *x = NotifySettlement{} mi := &file_common_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NotifySettlement) String() string { return protoimpl.X.MessageStringOf(x) } func (*NotifySettlement) ProtoMessage() {} func (x *NotifySettlement) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[12] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NotifySettlement.ProtoReflect.Descriptor instead. func (*NotifySettlement) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{12} } func (x *NotifySettlement) GetColor() RoleType { if x != nil { return x.Color } return RoleType_ROLE_TYPE_UNKNOWN } func (x *NotifySettlement) GetFinishColors() []*ColorData { if x != nil { return x.FinishColors } return nil } type NotifyUpdateRoomInfo struct { state protoimpl.MessageState `protogen:"open.v1"` RoomInfo *RoomInfo `protobuf:"bytes,1,opt,name=room_info,json=roomInfo,proto3" json:"room_info,omitempty"` // unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *NotifyUpdateRoomInfo) Reset() { *x = NotifyUpdateRoomInfo{} mi := &file_common_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *NotifyUpdateRoomInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*NotifyUpdateRoomInfo) ProtoMessage() {} func (x *NotifyUpdateRoomInfo) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[13] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use NotifyUpdateRoomInfo.ProtoReflect.Descriptor instead. func (*NotifyUpdateRoomInfo) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{13} } func (x *NotifyUpdateRoomInfo) GetRoomInfo() *RoomInfo { if x != nil { return x.RoomInfo } return nil } // 用户信息 type UserInfo struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=UserId,proto3" json:"UserId,omitempty"` MHead string `protobuf:"bytes,2,opt,name=m_head,json=mHead,proto3" json:"m_head,omitempty"` MCoin int32 `protobuf:"varint,3,opt,name=m_coin,json=mCoin,proto3" json:"m_coin,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` RoomId int32 `protobuf:"varint,5,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty"` //如果用户在某一个房间玩,他的id就一直存在, unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UserInfo) Reset() { *x = UserInfo{} mi := &file_common_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UserInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*UserInfo) ProtoMessage() {} func (x *UserInfo) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[14] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UserInfo.ProtoReflect.Descriptor instead. func (*UserInfo) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{14} } func (x *UserInfo) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *UserInfo) GetMHead() string { if x != nil { return x.MHead } return "" } func (x *UserInfo) GetMCoin() int32 { if x != nil { return x.MCoin } return 0 } func (x *UserInfo) GetName() string { if x != nil { return x.Name } return "" } func (x *UserInfo) GetRoomId() int32 { if x != nil { return x.RoomId } return 0 } // 登录 请求 type ReqLogin struct { state protoimpl.MessageState `protogen:"open.v1"` Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ReqLogin) Reset() { *x = ReqLogin{} mi := &file_common_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ReqLogin) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReqLogin) ProtoMessage() {} func (x *ReqLogin) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[15] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ReqLogin.ProtoReflect.Descriptor instead. func (*ReqLogin) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{15} } func (x *ReqLogin) GetAccount() string { if x != nil { return x.Account } return "" } func (x *ReqLogin) GetPassword() string { if x != nil { return x.Password } return "" } // 登录 响应 type ResLogin struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` NikeName string `protobuf:"bytes,2,opt,name=nikeName,proto3" json:"nikeName,omitempty"` UserInfo *UserInfo `protobuf:"bytes,3,opt,name=userInfo,proto3" json:"userInfo,omitempty"` ErrMsg *MsgError `protobuf:"bytes,4,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ResLogin) Reset() { *x = ResLogin{} mi := &file_common_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ResLogin) String() string { return protoimpl.X.MessageStringOf(x) } func (*ResLogin) ProtoMessage() {} func (x *ResLogin) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[16] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ResLogin.ProtoReflect.Descriptor instead. func (*ResLogin) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{16} } func (x *ResLogin) GetUserId() string { if x != nil { return x.UserId } return "" } func (x *ResLogin) GetNikeName() string { if x != nil { return x.NikeName } return "" } func (x *ResLogin) GetUserInfo() *UserInfo { if x != nil { return x.UserInfo } return nil } func (x *ResLogin) GetErrMsg() *MsgError { if x != nil { return x.ErrMsg } return nil } // 注册 请求 type ReqRegister struct { state protoimpl.MessageState `protogen:"open.v1"` NikeName string `protobuf:"bytes,1,opt,name=nikeName,proto3" json:"nikeName,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` MHead string `protobuf:"bytes,4,opt,name=m_head,json=mHead,proto3" json:"m_head,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ReqRegister) Reset() { *x = ReqRegister{} mi := &file_common_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ReqRegister) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReqRegister) ProtoMessage() {} func (x *ReqRegister) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[17] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ReqRegister.ProtoReflect.Descriptor instead. func (*ReqRegister) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{17} } func (x *ReqRegister) GetNikeName() string { if x != nil { return x.NikeName } return "" } func (x *ReqRegister) GetAccount() string { if x != nil { return x.Account } return "" } func (x *ReqRegister) GetPassword() string { if x != nil { return x.Password } return "" } func (x *ReqRegister) GetMHead() string { if x != nil { return x.MHead } return "" } // 注册 响应 type ResRegister struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ResRegister) Reset() { *x = ResRegister{} mi := &file_common_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ResRegister) String() string { return protoimpl.X.MessageStringOf(x) } func (*ResRegister) ProtoMessage() {} func (x *ResRegister) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[18] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ResRegister.ProtoReflect.Descriptor instead. func (*ResRegister) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{18} } func (x *ResRegister) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *ResRegister) GetErrMsg() *MsgError { if x != nil { return x.ErrMsg } return nil } // 进入大厅 type EnterHall struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *EnterHall) Reset() { *x = EnterHall{} mi := &file_common_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *EnterHall) String() string { return protoimpl.X.MessageStringOf(x) } func (*EnterHall) ProtoMessage() {} func (x *EnterHall) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[19] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use EnterHall.ProtoReflect.Descriptor instead. func (*EnterHall) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{19} } func (x *EnterHall) GetUserId() string { if x != nil { return x.UserId } return "" } // 进入大厅响应 type ResEnterHall struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` ReconnectRoomInfo *RoomInfo `protobuf:"bytes,3,opt,name=reconnect_room_info,json=reconnectRoomInfo,proto3" json:"reconnect_room_info,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ResEnterHall) Reset() { *x = ResEnterHall{} mi := &file_common_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ResEnterHall) String() string { return protoimpl.X.MessageStringOf(x) } func (*ResEnterHall) ProtoMessage() {} func (x *ResEnterHall) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[20] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ResEnterHall.ProtoReflect.Descriptor instead. func (*ResEnterHall) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{20} } func (x *ResEnterHall) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *ResEnterHall) GetErrMsg() *MsgError { if x != nil { return x.ErrMsg } return nil } func (x *ResEnterHall) GetReconnectRoomInfo() *RoomInfo { if x != nil { return x.ReconnectRoomInfo } return nil } // 离开大厅 type LeaveHall struct { state protoimpl.MessageState `protogen:"open.v1"` UserId string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *LeaveHall) Reset() { *x = LeaveHall{} mi := &file_common_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *LeaveHall) String() string { return protoimpl.X.MessageStringOf(x) } func (*LeaveHall) ProtoMessage() {} func (x *LeaveHall) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[21] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LeaveHall.ProtoReflect.Descriptor instead. func (*LeaveHall) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{21} } func (x *LeaveHall) GetUserId() string { if x != nil { return x.UserId } return "" } // 匹配ludo type MatchLudo struct { state protoimpl.MessageState `protogen:"open.v1"` SelectRoomType RoomType `protobuf:"varint,1,opt,name=select_room_type,json=selectRoomType,proto3,enum=RoomType" json:"select_room_type,omitempty"` RoomLevel int32 `protobuf:"varint,2,opt,name=room_level,json=roomLevel,proto3" json:"room_level,omitempty"` SelectColor RoleType `protobuf:"varint,3,opt,name=select_color,json=selectColor,proto3,enum=RoleType" json:"select_color,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MatchLudo) Reset() { *x = MatchLudo{} mi := &file_common_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MatchLudo) String() string { return protoimpl.X.MessageStringOf(x) } func (*MatchLudo) ProtoMessage() {} func (x *MatchLudo) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[22] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MatchLudo.ProtoReflect.Descriptor instead. func (*MatchLudo) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{22} } func (x *MatchLudo) GetSelectRoomType() RoomType { if x != nil { return x.SelectRoomType } return RoomType_ROOM_TYPE_UNKNOWN } func (x *MatchLudo) GetRoomLevel() int32 { if x != nil { return x.RoomLevel } return 0 } func (x *MatchLudo) GetSelectColor() RoleType { if x != nil { return x.SelectColor } return RoleType_ROLE_TYPE_UNKNOWN } // 匹配ludo 响应 type ResMatchLudo struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` Room *RoomInfo `protobuf:"bytes,3,opt,name=room,proto3" json:"room,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ResMatchLudo) Reset() { *x = ResMatchLudo{} mi := &file_common_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ResMatchLudo) String() string { return protoimpl.X.MessageStringOf(x) } func (*ResMatchLudo) ProtoMessage() {} func (x *ResMatchLudo) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[23] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ResMatchLudo.ProtoReflect.Descriptor instead. func (*ResMatchLudo) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{23} } func (x *ResMatchLudo) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *ResMatchLudo) GetErrMsg() *MsgError { if x != nil { return x.ErrMsg } return nil } func (x *ResMatchLudo) GetRoom() *RoomInfo { if x != nil { return x.Room } return nil } // error type MsgError struct { state protoimpl.MessageState `protogen:"open.v1"` ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *MsgError) Reset() { *x = MsgError{} mi := &file_common_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *MsgError) String() string { return protoimpl.X.MessageStringOf(x) } func (*MsgError) ProtoMessage() {} func (x *MsgError) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[24] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use MsgError.ProtoReflect.Descriptor instead. func (*MsgError) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{24} } func (x *MsgError) GetErrorCode() int32 { if x != nil { return x.ErrorCode } return 0 } func (x *MsgError) GetErrorMsg() string { if x != nil { return x.ErrorMsg } return "" } // 更新用户信息 type UpdateUserInfo struct { state protoimpl.MessageState `protogen:"open.v1"` Info *UserInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *UpdateUserInfo) Reset() { *x = UpdateUserInfo{} mi := &file_common_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *UpdateUserInfo) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateUserInfo) ProtoMessage() {} func (x *UpdateUserInfo) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[25] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateUserInfo.ProtoReflect.Descriptor instead. func (*UpdateUserInfo) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{25} } func (x *UpdateUserInfo) GetInfo() *UserInfo { if x != nil { return x.Info } return nil } type ResHeartBeat struct { state protoimpl.MessageState `protogen:"open.v1"` Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ResHeartBeat) Reset() { *x = ResHeartBeat{} mi := &file_common_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ResHeartBeat) String() string { return protoimpl.X.MessageStringOf(x) } func (*ResHeartBeat) ProtoMessage() {} func (x *ResHeartBeat) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[26] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ResHeartBeat.ProtoReflect.Descriptor instead. func (*ResHeartBeat) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{26} } func (x *ResHeartBeat) GetMsg() string { if x != nil { return x.Msg } return "" } type ReqHeartBeat struct { state protoimpl.MessageState `protogen:"open.v1"` Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ReqHeartBeat) Reset() { *x = ReqHeartBeat{} mi := &file_common_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ReqHeartBeat) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReqHeartBeat) ProtoMessage() {} func (x *ReqHeartBeat) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[27] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ReqHeartBeat.ProtoReflect.Descriptor instead. func (*ReqHeartBeat) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{27} } func (x *ReqHeartBeat) GetMsg() string { if x != nil { return x.Msg } return "" } type ShopItem struct { state protoimpl.MessageState `protogen:"open.v1"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Price int32 `protobuf:"varint,3,opt,name=price,proto3" json:"price,omitempty"` Num int32 `protobuf:"varint,4,opt,name=num,proto3" json:"num,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ShopItem) Reset() { *x = ShopItem{} mi := &file_common_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ShopItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*ShopItem) ProtoMessage() {} func (x *ShopItem) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[28] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ShopItem.ProtoReflect.Descriptor instead. func (*ShopItem) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{28} } func (x *ShopItem) GetName() string { if x != nil { return x.Name } return "" } func (x *ShopItem) GetId() string { if x != nil { return x.Id } return "" } func (x *ShopItem) GetPrice() int32 { if x != nil { return x.Price } return 0 } func (x *ShopItem) GetNum() int32 { if x != nil { return x.Num } return 0 } // 被踢登陆 type BeKickLogin struct { state protoimpl.MessageState `protogen:"open.v1"` ErrMsg *MsgError `protobuf:"bytes,1,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BeKickLogin) Reset() { *x = BeKickLogin{} mi := &file_common_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BeKickLogin) String() string { return protoimpl.X.MessageStringOf(x) } func (*BeKickLogin) ProtoMessage() {} func (x *BeKickLogin) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[29] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BeKickLogin.ProtoReflect.Descriptor instead. func (*BeKickLogin) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{29} } func (x *BeKickLogin) GetErrMsg() *MsgError { if x != nil { return x.ErrMsg } return nil } // 请求商城 type ReqShop struct { state protoimpl.MessageState `protogen:"open.v1"` ShopType int32 `protobuf:"varint,1,opt,name=shopType,proto3" json:"shopType,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ReqShop) Reset() { *x = ReqShop{} mi := &file_common_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ReqShop) String() string { return protoimpl.X.MessageStringOf(x) } func (*ReqShop) ProtoMessage() {} func (x *ReqShop) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[30] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ReqShop.ProtoReflect.Descriptor instead. func (*ReqShop) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{30} } func (x *ReqShop) GetShopType() int32 { if x != nil { return x.ShopType } return 0 } // 响应商城 type ResShop struct { state protoimpl.MessageState `protogen:"open.v1"` Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` ErrMsg *MsgError `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` List []*ShopItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ResShop) Reset() { *x = ResShop{} mi := &file_common_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ResShop) String() string { return protoimpl.X.MessageStringOf(x) } func (*ResShop) ProtoMessage() {} func (x *ResShop) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[31] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ResShop.ProtoReflect.Descriptor instead. func (*ResShop) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{31} } func (x *ResShop) GetSuccess() bool { if x != nil { return x.Success } return false } func (x *ResShop) GetErrMsg() *MsgError { if x != nil { return x.ErrMsg } return nil } func (x *ResShop) GetList() []*ShopItem { if x != nil { return x.List } return nil } type BuyShopItem struct { state protoimpl.MessageState `protogen:"open.v1"` Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *BuyShopItem) Reset() { *x = BuyShopItem{} mi := &file_common_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *BuyShopItem) String() string { return protoimpl.X.MessageStringOf(x) } func (*BuyShopItem) ProtoMessage() {} func (x *BuyShopItem) ProtoReflect() protoreflect.Message { mi := &file_common_proto_msgTypes[32] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use BuyShopItem.ProtoReflect.Descriptor instead. func (*BuyShopItem) Descriptor() ([]byte, []int) { return file_common_proto_rawDescGZIP(), []int{32} } func (x *BuyShopItem) GetId() string { if x != nil { return x.Id } return "" } var File_common_proto protoreflect.FileDescriptor const file_common_proto_rawDesc = "" + "\n" + "\fcommon.proto\"z\n" + "\x05round\x12\"\n" + "\am_color\x18\x01 \x01(\x0e2\t.roleTypeR\x06mColor\x12\x15\n" + "\x06m_road\x18\x02 \x01(\tR\x05mRoad\x12\x1a\n" + "\x03opt\x18\x03 \x01(\x0e2\b.OptTypeR\x03opt\x12\x1a\n" + "\bszNumber\x18\x04 \x01(\x05R\bszNumber\"\x87\x04\n" + "\bRoomInfo\x12\x1f\n" + "\x05roles\x18\x01 \x03(\v2\t.RoleDataR\x05roles\x12\"\n" + "\x06colors\x18\x02 \x03(\v2\n" + ".ColorDataR\x06colors\x12&\n" + "\troom_type\x18\x03 \x01(\x0e2\t.roomTypeR\broomType\x12&\n" + "\troom_mode\x18\x04 \x01(\x0e2\t.roomModeR\broomMode\x121\n" + "\x0fcur_round_color\x18\x05 \x01(\x0e2\t.roleTypeR\rcurRoundColor\x12\x1e\n" + "\x06rounds\x18\x06 \x03(\v2\x06.roundR\x06rounds\x12/\n" + "\rfinish_colors\x18\a \x03(\v2\n" + ".ColorDataR\ffinishColors\x12+\n" + "\vkict_colors\x18\b \x03(\v2\n" + ".ColorDataR\n" + "kictColors\x12\x0e\n" + "\x02id\x18\t \x01(\x05R\x02id\x12\x1d\n" + "\n" + "room_level\x18\n" + " \x01(\x05R\troomLevel\x12,\n" + "\vroom_status\x18\v \x01(\x0e2\v.roomStatusR\n" + "roomStatus\x12=\n" + "\x12cur_color_opt_data\x18\f \x01(\v2\x10.NotifyPlayerOptR\x0fcurColorOptData\x12\x19\n" + "\bopt_time\x18\r \x01(\x05R\aoptTime\"\xb0\x01\n" + "\bRoleData\x12\"\n" + "\am_color\x18\x01 \x01(\x0e2\t.roleTypeR\x06mColor\x12\x15\n" + "\x06m_seat\x18\x02 \x01(\x05R\x05mSeat\x12\x11\n" + "\x04m_id\x18\x03 \x01(\tR\x03mId\x12'\n" + "\n" + "m_cur_road\x18\x04 \x01(\x0e2\t.roadTypeR\bmCurRoad\x12\x12\n" + "\x04step\x18\x05 \x01(\x05R\x04step\x12\x19\n" + "\bold_setp\x18\x06 \x01(\x05R\aoldSetp\"\x9e\x02\n" + "\tColorData\x12\x11\n" + "\x04m_id\x18\x01 \x01(\tR\x03mId\x12\"\n" + "\am_color\x18\x02 \x01(\x0e2\t.roleTypeR\x06mColor\x12\x17\n" + "\ais_kick\x18\x03 \x01(\bR\x06isKick\x12\x1b\n" + "\tis_finish\x18\x04 \x01(\bR\bisFinish\x12 \n" + "\ftime_out_num\x18\x05 \x01(\x05R\n" + "timeOutNum\x12\x15\n" + "\x06m_name\x18\x06 \x01(\tR\x05mName\x12\x15\n" + "\x06m_head\x18\a \x01(\tR\x05mHead\x12\x19\n" + "\brank_num\x18\b \x01(\x05R\arankNum\x12\x15\n" + "\x06m_coin\x18\t \x01(\x05R\x05mCoin\x12\"\n" + "\rm_reward_coin\x18\n" + " \x01(\x05R\vmRewardCoin\"P\n" + "\fMoveStepData\x12\x11\n" + "\x04m_id\x18\x01 \x01(\tR\x03mId\x12\x12\n" + "\x04step\x18\x02 \x01(\x05R\x04step\x12\x19\n" + "\bold_setp\x18\x03 \x01(\x05R\aoldSetp\".\n" + "\vSendColorSz\x12\x1f\n" + "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\"G\n" + "\fSendRoleMove\x12\x1f\n" + "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12\x16\n" + "\x06roleId\x18\x02 \x01(\tR\x06roleId\"/\n" + "\fSendQuitRoom\x12\x1f\n" + "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\"w\n" + "\x14NotifyPlayerSzNumber\x12\x1f\n" + "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12\x1a\n" + "\bszNumber\x18\x02 \x01(\x05R\bszNumber\x12\"\n" + "\aerr_msg\x18\x03 \x01(\v2\t.MsgErrorR\x06errMsg\"u\n" + "\x10NotifyPlayerMove\x12\x1f\n" + "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12!\n" + "\x04step\x18\x02 \x01(\v2\r.MoveStepDataR\x04step\x12\x1d\n" + "\x04kick\x18\x03 \x03(\v2\t.RoleDataR\x04kick\"\x98\x01\n" + "\x0fNotifyPlayerOpt\x12\x1f\n" + "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12\x1a\n" + "\x03opt\x18\x02 \x01(\x0e2\b.OptTypeR\x03opt\x12-\n" + "\fcanMoveRoles\x18\x03 \x03(\v2\t.RoleDataR\fcanMoveRoles\x12\x19\n" + "\bopt_time\x18\x04 \x01(\x05R\aoptTime\"\xb2\x01\n" + "\x12NotifyPlayerStatus\x12\x1f\n" + "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12%\n" + "\x06status\x18\x02 \x01(\x0e2\r.playerStatusR\x06status\x12\"\n" + "\x06colors\x18\x03 \x03(\v2\n" + ".ColorDataR\x06colors\x120\n" + "\x0etime_out_color\x18\x04 \x01(\v2\n" + ".ColorDataR\ftimeOutColor\"d\n" + "\x10NotifySettlement\x12\x1f\n" + "\x05color\x18\x01 \x01(\x0e2\t.roleTypeR\x05color\x12/\n" + "\rfinish_colors\x18\x02 \x03(\v2\n" + ".ColorDataR\ffinishColors\">\n" + "\x14NotifyUpdateRoomInfo\x12&\n" + "\troom_info\x18\x01 \x01(\v2\t.RoomInfoR\broomInfo\"}\n" + "\bUserInfo\x12\x16\n" + "\x06UserId\x18\x01 \x01(\tR\x06UserId\x12\x15\n" + "\x06m_head\x18\x02 \x01(\tR\x05mHead\x12\x15\n" + "\x06m_coin\x18\x03 \x01(\x05R\x05mCoin\x12\x12\n" + "\x04name\x18\x04 \x01(\tR\x04name\x12\x17\n" + "\aroom_id\x18\x05 \x01(\x05R\x06roomId\"@\n" + "\bReqLogin\x12\x18\n" + "\aaccount\x18\x01 \x01(\tR\aaccount\x12\x1a\n" + "\bpassword\x18\x02 \x01(\tR\bpassword\"\x89\x01\n" + "\bResLogin\x12\x16\n" + "\x06userId\x18\x01 \x01(\tR\x06userId\x12\x1a\n" + "\bnikeName\x18\x02 \x01(\tR\bnikeName\x12%\n" + "\buserInfo\x18\x03 \x01(\v2\t.UserInfoR\buserInfo\x12\"\n" + "\aerr_msg\x18\x04 \x01(\v2\t.MsgErrorR\x06errMsg\"v\n" + "\vReqRegister\x12\x1a\n" + "\bnikeName\x18\x01 \x01(\tR\bnikeName\x12\x18\n" + "\aaccount\x18\x02 \x01(\tR\aaccount\x12\x1a\n" + "\bpassword\x18\x03 \x01(\tR\bpassword\x12\x15\n" + "\x06m_head\x18\x04 \x01(\tR\x05mHead\"K\n" + "\vResRegister\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" + "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\"#\n" + "\tEnterHall\x12\x16\n" + "\x06userId\x18\x01 \x01(\tR\x06userId\"\x87\x01\n" + "\fResEnterHall\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" + "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x129\n" + "\x13reconnect_room_info\x18\x03 \x01(\v2\t.RoomInfoR\x11reconnectRoomInfo\"#\n" + "\tLeaveHall\x12\x16\n" + "\x06userId\x18\x01 \x01(\tR\x06userId\"\x8d\x01\n" + "\tMatchLudo\x123\n" + "\x10select_room_type\x18\x01 \x01(\x0e2\t.roomTypeR\x0eselectRoomType\x12\x1d\n" + "\n" + "room_level\x18\x02 \x01(\x05R\troomLevel\x12,\n" + "\fselect_color\x18\x03 \x01(\x0e2\t.roleTypeR\vselectColor\"k\n" + "\fResMatchLudo\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" + "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" + "\x04room\x18\x03 \x01(\v2\t.RoomInfoR\x04room\"F\n" + "\bMsgError\x12\x1d\n" + "\n" + "error_code\x18\x01 \x01(\x05R\terrorCode\x12\x1b\n" + "\terror_msg\x18\x02 \x01(\tR\berrorMsg\"/\n" + "\x0eUpdateUserInfo\x12\x1d\n" + "\x04info\x18\x01 \x01(\v2\t.UserInfoR\x04info\" \n" + "\fResHeartBeat\x12\x10\n" + "\x03msg\x18\x01 \x01(\tR\x03msg\" \n" + "\fReqHeartBeat\x12\x10\n" + "\x03msg\x18\x01 \x01(\tR\x03msg\"V\n" + "\bShopItem\x12\x12\n" + "\x04name\x18\x01 \x01(\tR\x04name\x12\x0e\n" + "\x02id\x18\x02 \x01(\tR\x02id\x12\x14\n" + "\x05price\x18\x03 \x01(\x05R\x05price\x12\x10\n" + "\x03num\x18\x04 \x01(\x05R\x03num\"1\n" + "\vBeKickLogin\x12\"\n" + "\aerr_msg\x18\x01 \x01(\v2\t.MsgErrorR\x06errMsg\"%\n" + "\aReqShop\x12\x1a\n" + "\bshopType\x18\x01 \x01(\x05R\bshopType\"f\n" + "\aResShop\x12\x18\n" + "\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" + "\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" + "\x04list\x18\x03 \x03(\v2\t.ShopItemR\x04list\"\x1d\n" + "\vBuyShopItem\x12\x0e\n" + "\x02id\x18\x01 \x01(\tR\x02id*K\n" + "\broleType\x12\x15\n" + "\x11ROLE_TYPE_UNKNOWN\x10\x00\x12\a\n" + "\x03RED\x10\x01\x12\b\n" + "\x04BLUE\x10\x04\x12\n" + "\n" + "\x06YELLOW\x10\x03\x12\t\n" + "\x05GREEN\x10\x02*A\n" + "\aOptType\x12\x14\n" + "\x10OPT_TYPE_UNKNOWN\x10\x00\x12\x0f\n" + "\vZHI_SHAI_ZI\x10\x01\x12\x0f\n" + "\vSELECT_ROLE\x10\x02*@\n" + "\broomType\x12\x15\n" + "\x11ROOM_TYPE_UNKNOWN\x10\x00\x12\x0e\n" + "\n" + "SHUANG_REN\x10\x01\x12\r\n" + "\tSIREN_REN\x10\x02*:\n" + "\broomMode\x12\x15\n" + "\x11ROOM_MODE_UNKNOWN\x10\x00\x12\n" + "\n" + "\x06REN_JI\x10\x01\x12\v\n" + "\aWAN_JIA\x10\x02*+\n" + "\broadType\x12\x15\n" + "\x11ROAD_TYPE_UNKNOWN\x10\x00\x12\b\n" + "\x04HOME\x10\x01*q\n" + "\fplayerStatus\x12\x19\n" + "\x15PLAYER_STATUS_UNKNOWN\x10\x00\x12\x10\n" + "\fSZ_ANIMATION\x10\x01\x12\x10\n" + "\fCOLOR_FINISH\x10\x02\x12\x0e\n" + "\n" + "COLOR_KICK\x10\x03\x12\x12\n" + "\x0eCOLOR_TIME_OUT\x10\x04*+\n" + "\n" + "roomStatus\x12\t\n" + "\x05AWAIT\x10\x00\x12\t\n" + "\x05START\x10\x01\x12\a\n" + "\x03END\x10\x02B\aZ\x05./msgb\x06proto3" var ( file_common_proto_rawDescOnce sync.Once file_common_proto_rawDescData []byte ) func file_common_proto_rawDescGZIP() []byte { file_common_proto_rawDescOnce.Do(func() { file_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc))) }) return file_common_proto_rawDescData } var file_common_proto_enumTypes = make([]protoimpl.EnumInfo, 7) var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 33) var file_common_proto_goTypes = []any{ (RoleType)(0), // 0: roleType (OptType)(0), // 1: OptType (RoomType)(0), // 2: roomType (RoomMode)(0), // 3: roomMode (RoadType)(0), // 4: roadType (PlayerStatus)(0), // 5: playerStatus (RoomStatus)(0), // 6: roomStatus (*Round)(nil), // 7: round (*RoomInfo)(nil), // 8: RoomInfo (*RoleData)(nil), // 9: RoleData (*ColorData)(nil), // 10: ColorData (*MoveStepData)(nil), // 11: MoveStepData (*SendColorSz)(nil), // 12: SendColorSz (*SendRoleMove)(nil), // 13: SendRoleMove (*SendQuitRoom)(nil), // 14: SendQuitRoom (*NotifyPlayerSzNumber)(nil), // 15: NotifyPlayerSzNumber (*NotifyPlayerMove)(nil), // 16: NotifyPlayerMove (*NotifyPlayerOpt)(nil), // 17: NotifyPlayerOpt (*NotifyPlayerStatus)(nil), // 18: NotifyPlayerStatus (*NotifySettlement)(nil), // 19: NotifySettlement (*NotifyUpdateRoomInfo)(nil), // 20: NotifyUpdateRoomInfo (*UserInfo)(nil), // 21: UserInfo (*ReqLogin)(nil), // 22: ReqLogin (*ResLogin)(nil), // 23: ResLogin (*ReqRegister)(nil), // 24: ReqRegister (*ResRegister)(nil), // 25: ResRegister (*EnterHall)(nil), // 26: EnterHall (*ResEnterHall)(nil), // 27: ResEnterHall (*LeaveHall)(nil), // 28: LeaveHall (*MatchLudo)(nil), // 29: MatchLudo (*ResMatchLudo)(nil), // 30: ResMatchLudo (*MsgError)(nil), // 31: MsgError (*UpdateUserInfo)(nil), // 32: UpdateUserInfo (*ResHeartBeat)(nil), // 33: ResHeartBeat (*ReqHeartBeat)(nil), // 34: ReqHeartBeat (*ShopItem)(nil), // 35: ShopItem (*BeKickLogin)(nil), // 36: BeKickLogin (*ReqShop)(nil), // 37: ReqShop (*ResShop)(nil), // 38: ResShop (*BuyShopItem)(nil), // 39: BuyShopItem } var file_common_proto_depIdxs = []int32{ 0, // 0: round.m_color:type_name -> roleType 1, // 1: round.opt:type_name -> OptType 9, // 2: RoomInfo.roles:type_name -> RoleData 10, // 3: RoomInfo.colors:type_name -> ColorData 2, // 4: RoomInfo.room_type:type_name -> roomType 3, // 5: RoomInfo.room_mode:type_name -> roomMode 0, // 6: RoomInfo.cur_round_color:type_name -> roleType 7, // 7: RoomInfo.rounds:type_name -> round 10, // 8: RoomInfo.finish_colors:type_name -> ColorData 10, // 9: RoomInfo.kict_colors:type_name -> ColorData 6, // 10: RoomInfo.room_status:type_name -> roomStatus 17, // 11: RoomInfo.cur_color_opt_data:type_name -> NotifyPlayerOpt 0, // 12: RoleData.m_color:type_name -> roleType 4, // 13: RoleData.m_cur_road:type_name -> roadType 0, // 14: ColorData.m_color:type_name -> roleType 0, // 15: SendColorSz.color:type_name -> roleType 0, // 16: SendRoleMove.color:type_name -> roleType 0, // 17: SendQuitRoom.color:type_name -> roleType 0, // 18: NotifyPlayerSzNumber.color:type_name -> roleType 31, // 19: NotifyPlayerSzNumber.err_msg:type_name -> MsgError 0, // 20: NotifyPlayerMove.color:type_name -> roleType 11, // 21: NotifyPlayerMove.step:type_name -> MoveStepData 9, // 22: NotifyPlayerMove.kick:type_name -> RoleData 0, // 23: NotifyPlayerOpt.color:type_name -> roleType 1, // 24: NotifyPlayerOpt.opt:type_name -> OptType 9, // 25: NotifyPlayerOpt.canMoveRoles:type_name -> RoleData 0, // 26: NotifyPlayerStatus.color:type_name -> roleType 5, // 27: NotifyPlayerStatus.status:type_name -> playerStatus 10, // 28: NotifyPlayerStatus.colors:type_name -> ColorData 10, // 29: NotifyPlayerStatus.time_out_color:type_name -> ColorData 0, // 30: NotifySettlement.color:type_name -> roleType 10, // 31: NotifySettlement.finish_colors:type_name -> ColorData 8, // 32: NotifyUpdateRoomInfo.room_info:type_name -> RoomInfo 21, // 33: ResLogin.userInfo:type_name -> UserInfo 31, // 34: ResLogin.err_msg:type_name -> MsgError 31, // 35: ResRegister.err_msg:type_name -> MsgError 31, // 36: ResEnterHall.err_msg:type_name -> MsgError 8, // 37: ResEnterHall.reconnect_room_info:type_name -> RoomInfo 2, // 38: MatchLudo.select_room_type:type_name -> roomType 0, // 39: MatchLudo.select_color:type_name -> roleType 31, // 40: ResMatchLudo.err_msg:type_name -> MsgError 8, // 41: ResMatchLudo.room:type_name -> RoomInfo 21, // 42: UpdateUserInfo.info:type_name -> UserInfo 31, // 43: BeKickLogin.err_msg:type_name -> MsgError 31, // 44: ResShop.err_msg:type_name -> MsgError 35, // 45: ResShop.list:type_name -> ShopItem 46, // [46:46] is the sub-list for method output_type 46, // [46:46] is the sub-list for method input_type 46, // [46:46] is the sub-list for extension type_name 46, // [46:46] is the sub-list for extension extendee 0, // [0:46] is the sub-list for field type_name } func init() { file_common_proto_init() } func file_common_proto_init() { if File_common_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)), NumEnums: 7, NumMessages: 33, NumExtensions: 0, NumServices: 0, }, GoTypes: file_common_proto_goTypes, DependencyIndexes: file_common_proto_depIdxs, EnumInfos: file_common_proto_enumTypes, MessageInfos: file_common_proto_msgTypes, }.Build() File_common_proto = out.File file_common_proto_goTypes = nil file_common_proto_depIdxs = nil }