63 lines
1.3 KiB
Protocol Buffer
63 lines
1.3 KiB
Protocol Buffer
package cs;
|
|
|
|
//消息id定义
|
|
enum CMMessageId_e
|
|
{
|
|
_CMPing = 101;
|
|
|
|
_CMJoin = 103;
|
|
_CMReconnect = 104;
|
|
_CMMove = 201;
|
|
_CMEmote = 204;
|
|
_CMVoice = 206;
|
|
_CMGameOver = 207;
|
|
_CMWatchWar = 208;
|
|
_CMLeave = 209;
|
|
_CMRevive = 210;
|
|
_CMCancelRevive = 211;
|
|
_CMAdStart = 212;
|
|
_CMAdCancel = 213;
|
|
_CMAdEnd = 214;
|
|
_CMGetBoxInfo = 215;
|
|
_CMOpenBox = 216;
|
|
_CMExecCommand = 217;
|
|
_CMMatchCancel = 218;
|
|
_CMMatchChoose = 219;
|
|
_CMMatchStartGame = 220;
|
|
_CMMatchCancelStartGame = 221;
|
|
_CMMatchSendMsg = 222;
|
|
_CMMatchBroadcastMsg = 223;
|
|
}
|
|
|
|
enum SMMessageId_e
|
|
{
|
|
_SMPing = 101;
|
|
_SMRpcError = 102;
|
|
_SMReconnect = 104;
|
|
|
|
_SMWatchWar = 208;
|
|
_SMLeave = 209;
|
|
_SMGetBoxInfo = 216;
|
|
_SMOpenBox = 217;
|
|
|
|
_SMJoinedNotify = 103;
|
|
_SMMapInfo = 1002;
|
|
_SMPlayerInfo = 1003;
|
|
_SMUpdate = 1004;
|
|
_SMRollMsg = 1005;
|
|
_SMPickup = 1006;
|
|
_SMVoiceNotify = 1007;
|
|
_SMDisconnectNotify = 1008;
|
|
_SMGameOver = 1009;
|
|
_SMDebugMsg = 1010;
|
|
_SMWxVoip = 1011;
|
|
_SMUiUpdate = 1012;
|
|
_SMGameStart = 1013;
|
|
_SMSysPiaoMsg = 1014;
|
|
_SMShowCountdown = 1015;
|
|
_SMShowTeamUI = 1016;
|
|
_SMUpdateMatchInfo = 1017;
|
|
_SMGetItemNotify = 1018;
|
|
_SMMatchMemberMsgNotify = 1019;
|
|
}
|