|
@@ -1875,6 +1875,51 @@ func (x *ResMatchLudo) GetRoom() *RoomInfo {
|
|
return nil
|
|
return nil
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// 被踢登陆
|
|
|
|
+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[23]
|
|
|
|
+ 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[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 BeKickLogin.ProtoReflect.Descriptor instead.
|
|
|
|
+func (*BeKickLogin) Descriptor() ([]byte, []int) {
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{23}
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+func (x *BeKickLogin) GetErrMsg() *MsgError {
|
|
|
|
+ if x != nil {
|
|
|
|
+ return x.ErrMsg
|
|
|
|
+ }
|
|
|
|
+ return nil
|
|
|
|
+}
|
|
|
|
+
|
|
// error
|
|
// error
|
|
type MsgError struct {
|
|
type MsgError struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
@@ -1886,7 +1931,7 @@ type MsgError struct {
|
|
|
|
|
|
func (x *MsgError) Reset() {
|
|
func (x *MsgError) Reset() {
|
|
*x = MsgError{}
|
|
*x = MsgError{}
|
|
- mi := &file_common_proto_msgTypes[23]
|
|
|
|
|
|
+ mi := &file_common_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
@@ -1898,7 +1943,7 @@ func (x *MsgError) String() string {
|
|
func (*MsgError) ProtoMessage() {}
|
|
func (*MsgError) ProtoMessage() {}
|
|
|
|
|
|
func (x *MsgError) ProtoReflect() protoreflect.Message {
|
|
func (x *MsgError) ProtoReflect() protoreflect.Message {
|
|
- mi := &file_common_proto_msgTypes[23]
|
|
|
|
|
|
+ mi := &file_common_proto_msgTypes[24]
|
|
if x != nil {
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -1911,7 +1956,7 @@ func (x *MsgError) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use MsgError.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use MsgError.ProtoReflect.Descriptor instead.
|
|
func (*MsgError) Descriptor() ([]byte, []int) {
|
|
func (*MsgError) Descriptor() ([]byte, []int) {
|
|
- return file_common_proto_rawDescGZIP(), []int{23}
|
|
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
}
|
|
|
|
|
|
func (x *MsgError) GetErrorCode() int32 {
|
|
func (x *MsgError) GetErrorCode() int32 {
|
|
@@ -1937,7 +1982,7 @@ type ResHeartBeat struct {
|
|
|
|
|
|
func (x *ResHeartBeat) Reset() {
|
|
func (x *ResHeartBeat) Reset() {
|
|
*x = ResHeartBeat{}
|
|
*x = ResHeartBeat{}
|
|
- mi := &file_common_proto_msgTypes[24]
|
|
|
|
|
|
+ mi := &file_common_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
@@ -1949,7 +1994,7 @@ func (x *ResHeartBeat) String() string {
|
|
func (*ResHeartBeat) ProtoMessage() {}
|
|
func (*ResHeartBeat) ProtoMessage() {}
|
|
|
|
|
|
func (x *ResHeartBeat) ProtoReflect() protoreflect.Message {
|
|
func (x *ResHeartBeat) ProtoReflect() protoreflect.Message {
|
|
- mi := &file_common_proto_msgTypes[24]
|
|
|
|
|
|
+ mi := &file_common_proto_msgTypes[25]
|
|
if x != nil {
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -1962,7 +2007,7 @@ func (x *ResHeartBeat) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use ResHeartBeat.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use ResHeartBeat.ProtoReflect.Descriptor instead.
|
|
func (*ResHeartBeat) Descriptor() ([]byte, []int) {
|
|
func (*ResHeartBeat) Descriptor() ([]byte, []int) {
|
|
- return file_common_proto_rawDescGZIP(), []int{24}
|
|
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
}
|
|
|
|
|
|
func (x *ResHeartBeat) GetMsg() string {
|
|
func (x *ResHeartBeat) GetMsg() string {
|
|
@@ -1981,7 +2026,7 @@ type ReqHeartBeat struct {
|
|
|
|
|
|
func (x *ReqHeartBeat) Reset() {
|
|
func (x *ReqHeartBeat) Reset() {
|
|
*x = ReqHeartBeat{}
|
|
*x = ReqHeartBeat{}
|
|
- mi := &file_common_proto_msgTypes[25]
|
|
|
|
|
|
+ mi := &file_common_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
@@ -1993,7 +2038,7 @@ func (x *ReqHeartBeat) String() string {
|
|
func (*ReqHeartBeat) ProtoMessage() {}
|
|
func (*ReqHeartBeat) ProtoMessage() {}
|
|
|
|
|
|
func (x *ReqHeartBeat) ProtoReflect() protoreflect.Message {
|
|
func (x *ReqHeartBeat) ProtoReflect() protoreflect.Message {
|
|
- mi := &file_common_proto_msgTypes[25]
|
|
|
|
|
|
+ mi := &file_common_proto_msgTypes[26]
|
|
if x != nil {
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -2006,7 +2051,7 @@ func (x *ReqHeartBeat) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use ReqHeartBeat.ProtoReflect.Descriptor instead.
|
|
// Deprecated: Use ReqHeartBeat.ProtoReflect.Descriptor instead.
|
|
func (*ReqHeartBeat) Descriptor() ([]byte, []int) {
|
|
func (*ReqHeartBeat) Descriptor() ([]byte, []int) {
|
|
- return file_common_proto_rawDescGZIP(), []int{25}
|
|
|
|
|
|
+ return file_common_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
}
|
|
|
|
|
|
func (x *ReqHeartBeat) GetMsg() string {
|
|
func (x *ReqHeartBeat) GetMsg() string {
|
|
@@ -2139,7 +2184,9 @@ const file_common_proto_rawDesc = "" +
|
|
"\fResMatchLudo\x12\x18\n" +
|
|
"\fResMatchLudo\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\"\n" +
|
|
"\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" +
|
|
"\aerr_msg\x18\x02 \x01(\v2\t.MsgErrorR\x06errMsg\x12\x1d\n" +
|
|
- "\x04room\x18\x03 \x01(\v2\t.RoomInfoR\x04room\"F\n" +
|
|
|
|
|
|
+ "\x04room\x18\x03 \x01(\v2\t.RoomInfoR\x04room\"1\n" +
|
|
|
|
+ "\vBeKickLogin\x12\"\n" +
|
|
|
|
+ "\aerr_msg\x18\x01 \x01(\v2\t.MsgErrorR\x06errMsg\"F\n" +
|
|
"\bMsgError\x12\x1d\n" +
|
|
"\bMsgError\x12\x1d\n" +
|
|
"\n" +
|
|
"\n" +
|
|
"error_code\x18\x01 \x01(\x05R\terrorCode\x12\x1b\n" +
|
|
"error_code\x18\x01 \x01(\x05R\terrorCode\x12\x1b\n" +
|
|
@@ -2198,7 +2245,7 @@ func file_common_proto_rawDescGZIP() []byte {
|
|
}
|
|
}
|
|
|
|
|
|
var file_common_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
|
|
var file_common_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
|
|
-var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
|
|
|
|
|
|
+var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 27)
|
|
var file_common_proto_goTypes = []any{
|
|
var file_common_proto_goTypes = []any{
|
|
(RoleType)(0), // 0: roleType
|
|
(RoleType)(0), // 0: roleType
|
|
(OptType)(0), // 1: OptType
|
|
(OptType)(0), // 1: OptType
|
|
@@ -2230,9 +2277,10 @@ var file_common_proto_goTypes = []any{
|
|
(*LeaveHall)(nil), // 27: LeaveHall
|
|
(*LeaveHall)(nil), // 27: LeaveHall
|
|
(*MatchLudo)(nil), // 28: MatchLudo
|
|
(*MatchLudo)(nil), // 28: MatchLudo
|
|
(*ResMatchLudo)(nil), // 29: ResMatchLudo
|
|
(*ResMatchLudo)(nil), // 29: ResMatchLudo
|
|
- (*MsgError)(nil), // 30: MsgError
|
|
|
|
- (*ResHeartBeat)(nil), // 31: ResHeartBeat
|
|
|
|
- (*ReqHeartBeat)(nil), // 32: ReqHeartBeat
|
|
|
|
|
|
+ (*BeKickLogin)(nil), // 30: BeKickLogin
|
|
|
|
+ (*MsgError)(nil), // 31: MsgError
|
|
|
|
+ (*ResHeartBeat)(nil), // 32: ResHeartBeat
|
|
|
|
+ (*ReqHeartBeat)(nil), // 33: ReqHeartBeat
|
|
}
|
|
}
|
|
var file_common_proto_depIdxs = []int32{
|
|
var file_common_proto_depIdxs = []int32{
|
|
0, // 0: round.m_color:type_name -> roleType
|
|
0, // 0: round.m_color:type_name -> roleType
|
|
@@ -2253,7 +2301,7 @@ var file_common_proto_depIdxs = []int32{
|
|
0, // 15: SendColorSz.color:type_name -> roleType
|
|
0, // 15: SendColorSz.color:type_name -> roleType
|
|
0, // 16: SendRoleMove.color:type_name -> roleType
|
|
0, // 16: SendRoleMove.color:type_name -> roleType
|
|
0, // 17: NotifyPlayerSzNumber.color:type_name -> roleType
|
|
0, // 17: NotifyPlayerSzNumber.color:type_name -> roleType
|
|
- 30, // 18: NotifyPlayerSzNumber.err_msg:type_name -> MsgError
|
|
|
|
|
|
+ 31, // 18: NotifyPlayerSzNumber.err_msg:type_name -> MsgError
|
|
0, // 19: NotifyPlayerMove.color:type_name -> roleType
|
|
0, // 19: NotifyPlayerMove.color:type_name -> roleType
|
|
11, // 20: NotifyPlayerMove.step:type_name -> MoveStepData
|
|
11, // 20: NotifyPlayerMove.step:type_name -> MoveStepData
|
|
9, // 21: NotifyPlayerMove.kick:type_name -> RoleData
|
|
9, // 21: NotifyPlayerMove.kick:type_name -> RoleData
|
|
@@ -2268,19 +2316,20 @@ var file_common_proto_depIdxs = []int32{
|
|
10, // 30: NotifySettlement.finish_colors:type_name -> ColorData
|
|
10, // 30: NotifySettlement.finish_colors:type_name -> ColorData
|
|
8, // 31: NotifyUpdateRoomInfo.room_info:type_name -> RoomInfo
|
|
8, // 31: NotifyUpdateRoomInfo.room_info:type_name -> RoomInfo
|
|
20, // 32: ResLogin.userInfo:type_name -> UserInfo
|
|
20, // 32: ResLogin.userInfo:type_name -> UserInfo
|
|
- 30, // 33: ResLogin.err_msg:type_name -> MsgError
|
|
|
|
- 30, // 34: ResRegister.err_msg:type_name -> MsgError
|
|
|
|
- 30, // 35: ResEnterHall.err_msg:type_name -> MsgError
|
|
|
|
|
|
+ 31, // 33: ResLogin.err_msg:type_name -> MsgError
|
|
|
|
+ 31, // 34: ResRegister.err_msg:type_name -> MsgError
|
|
|
|
+ 31, // 35: ResEnterHall.err_msg:type_name -> MsgError
|
|
8, // 36: ResEnterHall.reconnect_room_info:type_name -> RoomInfo
|
|
8, // 36: ResEnterHall.reconnect_room_info:type_name -> RoomInfo
|
|
2, // 37: MatchLudo.select_room_type:type_name -> roomType
|
|
2, // 37: MatchLudo.select_room_type:type_name -> roomType
|
|
0, // 38: MatchLudo.select_color:type_name -> roleType
|
|
0, // 38: MatchLudo.select_color:type_name -> roleType
|
|
- 30, // 39: ResMatchLudo.err_msg:type_name -> MsgError
|
|
|
|
|
|
+ 31, // 39: ResMatchLudo.err_msg:type_name -> MsgError
|
|
8, // 40: ResMatchLudo.room:type_name -> RoomInfo
|
|
8, // 40: ResMatchLudo.room:type_name -> RoomInfo
|
|
- 41, // [41:41] is the sub-list for method output_type
|
|
|
|
- 41, // [41:41] is the sub-list for method input_type
|
|
|
|
- 41, // [41:41] is the sub-list for extension type_name
|
|
|
|
- 41, // [41:41] is the sub-list for extension extendee
|
|
|
|
- 0, // [0:41] is the sub-list for field type_name
|
|
|
|
|
|
+ 31, // 41: BeKickLogin.err_msg:type_name -> MsgError
|
|
|
|
+ 42, // [42:42] is the sub-list for method output_type
|
|
|
|
+ 42, // [42:42] is the sub-list for method input_type
|
|
|
|
+ 42, // [42:42] is the sub-list for extension type_name
|
|
|
|
+ 42, // [42:42] is the sub-list for extension extendee
|
|
|
|
+ 0, // [0:42] is the sub-list for field type_name
|
|
}
|
|
}
|
|
|
|
|
|
func init() { file_common_proto_init() }
|
|
func init() { file_common_proto_init() }
|
|
@@ -2294,7 +2343,7 @@ func file_common_proto_init() {
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_common_proto_rawDesc), len(file_common_proto_rawDesc)),
|
|
NumEnums: 7,
|
|
NumEnums: 7,
|
|
- NumMessages: 26,
|
|
|
|
|
|
+ NumMessages: 27,
|
|
NumExtensions: 0,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
NumServices: 0,
|
|
},
|
|
},
|