添加断线重连协议

This commit is contained in:
aozhiwei 2020-08-10 11:37:26 +08:00
parent acd95739a6
commit 9bb7891efb
2 changed files with 21 additions and 0 deletions

View File

@ -6,6 +6,7 @@ enum CMMessageId_e
_CMPing = 101;
_CMJoin = 103;
_CMReconnect = 104;
_CMMove = 201;
_CMEmote = 204;
_CMVoice = 206;
@ -23,6 +24,7 @@ enum SMMessageId_e
{
_SMPing = 101;
_SMRpcError = 102;
_SMReconnect = 104;
_SMWatchWar = 208;
_SMLeave = 209;

View File

@ -736,6 +736,23 @@ message CMJoin
optional int32 room_mode = 52; //0: 1:
}
//线
message CMReconnect
{
optional int32 server_id = 1; //
optional string team_uuid = 2; //
optional string account_id = 3; //id
optional string room_uuid = 4; //id
optional string server_info = 5; //
}
//线
message SMReconnect
{
optional int32 errcode = 1; // 0 1:
optional string errmsg = 2; //
}
//
message CMMove
{
@ -860,6 +877,8 @@ message SMJoinedNotify
optional int32 error_code = 7; // 1: 2
optional int32 room_mode = 8; //0: 1:
optional string server_info = 9; //使
}
//