添加断线重连协议
This commit is contained in:
parent
4ef4228bbb
commit
74baec90e6
@ -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;
|
||||
|
@ -737,6 +737,22 @@ 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
|
||||
}
|
||||
|
||||
//断线重连回复
|
||||
message SMReconnect
|
||||
{
|
||||
optional int32 errcode = 1; //错误码 0:成功 1:重连失败
|
||||
optional string errmsg = 2; //错误描述
|
||||
}
|
||||
|
||||
//移动
|
||||
message CMMove
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user