133 lines
3.1 KiB
Protocol Buffer
133 lines
3.1 KiB
Protocol Buffer
package cs;
|
|
|
|
//消息id定义
|
|
enum CMMessageId_e
|
|
{
|
|
_CMPing = 101;
|
|
|
|
_CMLogin = 103;
|
|
|
|
_CMFriendInvite = 105;
|
|
_CMFriendAgree = 106;
|
|
_CMFriendDelete = 108;
|
|
_CMFriendApply = 109;
|
|
_CMFriendApplyList = 110;
|
|
_CMFriendBlackList = 111;
|
|
_CMFriendAddBlack = 112;
|
|
_CMFriendDeleteBlack = 113;
|
|
_CMFriendRefuse = 114;
|
|
_CMFriendList = 115;
|
|
_CMQueryUserStatus = 116;
|
|
_CMRecommandFriend = 117;
|
|
_CMFriendIdList = 118;
|
|
|
|
_CMSendChatMsg = 151;
|
|
_CMSendCustomMsg = 152;
|
|
_CMUpdateTempCustomData = 153;
|
|
_CMUpdateUserInfo = 154;
|
|
_CMDirtyWordCheck = 155;
|
|
_CMGetUserGuild = 156;
|
|
_CMReadMsgAndOpenChatNotify = 157;
|
|
_CMCloseChatNotify = 158;
|
|
_CMSetCurrPrivateChatTarget = 159;
|
|
|
|
_CMGuildMsgBegin = 230;
|
|
_CMGuildCreate = 231;
|
|
_CMGuildJoin = 232;
|
|
_CMGuildAgree = 233;
|
|
_CMGuildKick = 234;
|
|
_CMGuildQuit = 235;
|
|
_CMGuildDismiss = 236;
|
|
_CMGuildChange = 237;
|
|
_CMGuildInfo = 238;
|
|
_CMGuildSearch = 239;
|
|
_CMGuildRank = 240;
|
|
_CMGuildMemberList = 241;
|
|
_CMGuildApplyList = 242;
|
|
_CMGuildLog = 243;
|
|
_CMGuildMemberSetJob = 244;
|
|
_CMGuildRefuse = 245;
|
|
_CMGuildAgreeInvite = 246;
|
|
_CMGuildGainExp = 247;
|
|
_CMGuildSearchMember = 248;
|
|
_CMGuildMsgEnd = 270;
|
|
|
|
_CMTeamCreate = 301;
|
|
_CMTeamJoin = 302;
|
|
_CMTeamAgree = 303;
|
|
_CMTeamKick = 304;
|
|
_CMTeamQuit = 305;
|
|
_CMTeamDismiss = 306;
|
|
_CMTeamRename = 307;
|
|
|
|
}
|
|
|
|
enum SMMessageId_e
|
|
{
|
|
_SMPing = 101;
|
|
_SMRpcError = 102;
|
|
|
|
_SMLogin = 103;
|
|
|
|
_SMFriendInvite = 105;
|
|
_SMFriendAgree = 106;
|
|
_SMFriendDelete = 108;
|
|
_SMFriendApply = 109;
|
|
_SMFriendApplyList = 110;
|
|
_SMFriendBlackList = 111;
|
|
_SMFriendAddBlack = 112;
|
|
_SMFriendDeleteBlack = 113;
|
|
_SMFriendRefuse = 114;
|
|
_SMFriendList = 115;
|
|
_SMQueryUserStatus = 116;
|
|
_SMRecommandFriend = 117;
|
|
_SMFriendIdList = 118;
|
|
|
|
_SMDirtyWordCheck = 155;
|
|
_SMGetUserGuild = 156;
|
|
|
|
_SMGuildMsgBegin = 230;
|
|
_SMGuildCreate = 231;
|
|
_SMGuildJoin = 232;
|
|
_SMGuildAgree = 233;
|
|
_SMGuildKick = 234;
|
|
_SMGuildQuit = 235;
|
|
_SMGuildDismiss = 236;
|
|
_SMGuildChange = 237;
|
|
_SMGuildInfo = 238;
|
|
_SMGuildSearch = 239;
|
|
_SMGuildRank = 240;
|
|
_SMGuildMemberList = 241;
|
|
_SMGuildApplyList = 242;
|
|
_SMGuildLog = 243;
|
|
_SMGuildMemberSetJob = 244;
|
|
_SMGuildRefuse = 245;
|
|
_SMGuildAgreeInvite = 246;
|
|
_SMGuildGainExp = 247;
|
|
_SMGuildSearchMember = 248;
|
|
_SMGuildMsgEnd = 270;
|
|
|
|
_SMTeamCreate = 301;
|
|
_SMTeamJoin = 302;
|
|
_SMTeamAgree = 303;
|
|
_SMTeamKick = 304;
|
|
_SMTeamQuit = 305;
|
|
_SMTeamDismiss = 306;
|
|
_SMTeamRename = 307;
|
|
|
|
_SMUserStatusNotify = 501;
|
|
_SMUserInfoUpdate = 502;
|
|
_SMCustomMsgNotify = 503;
|
|
_SMUserTempCustomDataUpdate = 504;
|
|
_SMDeleteFriendNotify = 505;
|
|
_SMUpdateAccountInfo = 506;
|
|
_SMUpdateRedPointNotify = 507;
|
|
_SMShowErrorMsg = 508;
|
|
_SMAddBlackListNotify = 509;
|
|
_SMDeleteBlackListNotify = 510;
|
|
_SMUpdateChatRedPointNotify = 511;
|
|
_SMUpdateChatChannelLastId = 512;
|
|
_SMUpdatePrivateChatRedPointNotify = 513;
|
|
_SMChatMsgNotify = 514;
|
|
}
|