41 lines
753 B
Protocol Buffer
41 lines
753 B
Protocol Buffer
package cs;
|
|
|
|
//消息id定义
|
|
enum CMMessageId_e
|
|
{
|
|
_CMPing = 101;
|
|
|
|
_CMLogin = 103;
|
|
|
|
_CMSendChatMsg = 151;
|
|
_CMSendCustomMsg = 152;
|
|
_CMReadMsgAndOpenChatNotify = 157;
|
|
_CMCloseChatNotify = 158;
|
|
_CMSetCurrPrivateChatTarget = 159;
|
|
|
|
}
|
|
|
|
enum SMMessageId_e
|
|
{
|
|
_SMPing = 101;
|
|
_SMRpcError = 102;
|
|
|
|
_SMLogin = 103;
|
|
|
|
_SMUserStatusNotify = 501;
|
|
_SMShowErrorMsg = 508;
|
|
_SMCustomMsgNotify = 503;
|
|
_SMChatMsgNotify = 514;
|
|
|
|
_SMUpdateChatRedPointNotify = 511;
|
|
_SMUpdateChatChannelLastId = 512;
|
|
_SMUpdatePrivateChatRedPointNotify = 513;
|
|
|
|
_SMUserInfoUpdate = 502;
|
|
|
|
_SMDeleteFriendNotify = 505;
|
|
_SMUpdateRedPointNotify = 507;
|
|
_SMAddBlackListNotify = 509;
|
|
_SMDeleteBlackListNotify = 510;
|
|
}
|