82 lines
1.9 KiB
Protocol Buffer
82 lines
1.9 KiB
Protocol Buffer
package cs;
|
|
|
|
//消息id定义
|
|
enum CMMessageId_e
|
|
{
|
|
_CMKcpHandshake = 99;
|
|
_CMPing = 101;
|
|
|
|
_CMJoin = 103;
|
|
_CMReconnect = 104;
|
|
_CMMove = 201;
|
|
_CMEmote = 204;
|
|
_CMVoice = 206;
|
|
_CMGameOver = 207;
|
|
_CMWatchWar = 208;
|
|
_CMLeave = 209;
|
|
_CMRevive = 210;
|
|
_CMCancelRevive = 211;
|
|
_CMExecCommand = 217;
|
|
_CMRequestBulletDmg = 230;
|
|
_CMStowShield = 231;
|
|
_CMImmediateMsg = 232;
|
|
_CMTeamMarkTargetPos = 233;
|
|
_CMRequestThrowDmg = 236;
|
|
_CMSetRevivePosition = 237;
|
|
_CMGetSettlementTeamList = 238;
|
|
_CMReportHookHitPos = 239;
|
|
_CMReportSpecShotHitPos = 240;
|
|
_CMWatchTarget = 241;
|
|
_CMTeamCommand = 242;
|
|
_CMMobaBattleData = 243;
|
|
_CMBattlePreSetReady = 245;
|
|
}
|
|
|
|
enum SMMessageId_e
|
|
{
|
|
_SMKcpHandshake = 99;
|
|
_SMPing = 101;
|
|
_SMRpcError = 102;
|
|
_SMReconnect = 104;
|
|
|
|
_SMWatchWar = 208;
|
|
_SMLeave = 209;
|
|
_SMGetSettlementTeamList = 238;
|
|
_SMWatchTarget = 241;
|
|
_SMTeamComamnd = 242;
|
|
_SMMobaBattleData = 243;
|
|
|
|
_SMJoinedNotify = 103;
|
|
_SMMapInfo = 1002;
|
|
_SMUpdate = 1004;
|
|
_SMRollMsg = 1005;
|
|
_SMVoiceNotify = 1007;
|
|
_SMDisconnectNotify = 1008;
|
|
_SMGameOver = 1009;
|
|
_SMDebugMsg = 1010;
|
|
_SMUiUpdate = 1012;
|
|
_SMGameStart = 1013;
|
|
_SMSysPiaoMsg = 1014;
|
|
_SMShowCountdown = 1015;
|
|
_SMShowTeamUI = 1016;
|
|
_SMGetItemNotify = 1018;
|
|
_SMPvePassWave = 1020;
|
|
_SMTeamMarkTargetPosList = 1021;
|
|
_SMDebugCmd = 1022;
|
|
_SMNewBieEnd = 1023;
|
|
_SMNewsTicker = 1024;
|
|
_SMSyncPosition = 1025;
|
|
_SMSyncTeamData = 1026;
|
|
_SMSyncKillList = 1027;
|
|
_SMSyncMobaTeam = 1028;
|
|
_SMViewerUiNotify = 1029;
|
|
_SMViewerUiMemberUpdate = 1030;
|
|
_SMTeamCommandNotify = 1031;
|
|
_SMTeamFullNotify = 1032;
|
|
_SMTeamPartNotify = 1033;
|
|
_SMBattlePreInfoUpdate = 1034;
|
|
_SMAddBattleHint = 1035;
|
|
_SMDelBattleHint = 1036;
|
|
_SMPullback = 1037;
|
|
}
|