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;
|
|
_CMExecCommand = 217;
|
|
_CMMatchCancel = 218;
|
|
_CMMatchChoose = 219;
|
|
_CMMatchStartGame = 220;
|
|
_CMMatchCancelStartGame = 221;
|
|
_CMMatchSendMsg = 222;
|
|
_CMMatchBroadcastMsg = 223;
|
|
_CMRequestBulletDmg = 230;
|
|
_CMStowShield = 231;
|
|
_CMImmediateMsg = 232;
|
|
_CMTeamMarkTargetPos = 233;
|
|
_CMRequestThrowDmg = 236;
|
|
}
|
|
|
|
enum SMMessageId_e
|
|
{
|
|
_SMPing = 101;
|
|
_SMRpcError = 102;
|
|
_SMReconnect = 104;
|
|
|
|
_SMWatchWar = 208;
|
|
_SMLeave = 209;
|
|
_SMMatchCancel = 218;
|
|
|
|
_SMJoinedNotify = 103;
|
|
_SMMapInfo = 1002;
|
|
_SMPlayerInfo = 1003;
|
|
_SMUpdate = 1004;
|
|
_SMRollMsg = 1005;
|
|
_SMVoiceNotify = 1007;
|
|
_SMDisconnectNotify = 1008;
|
|
_SMGameOver = 1009;
|
|
_SMDebugMsg = 1010;
|
|
_SMUiUpdate = 1012;
|
|
_SMGameStart = 1013;
|
|
_SMSysPiaoMsg = 1014;
|
|
_SMShowCountdown = 1015;
|
|
_SMShowTeamUI = 1016;
|
|
_SMUpdateMatchInfo = 1017;
|
|
_SMGetItemNotify = 1018;
|
|
_SMMatchMemberMsgNotify = 1019;
|
|
_SMPvePassWave = 1020;
|
|
_SMTeamMarkTargetPosList = 1021;
|
|
_SMDebugCmd = 1022;
|
|
}
|