This commit is contained in:
aozhiwei 2020-12-08 17:04:03 +08:00
commit 3e4db8e96a
2 changed files with 17 additions and 2 deletions

View File

@ -29,6 +29,7 @@ enum CMMessageId_e
_CMGetUserGuild = 156;
_CMReadMsgAndOpenChatNotify = 157;
_CMCloseChatNotify = 158;
_CMSetCurrPrivateChatTarget = 159;
_CMGuildMsgBegin = 230;
_CMGuildCreate = 231;
@ -124,4 +125,5 @@ enum SMMessageId_e
_SMDeleteBlackListNotify = 510;
_SMUpdateChatRedPointNotify = 511;
_SMUpdateChatChannelLastId = 512;
_SMUpdatePrivateChatRedPointNotify = 513;
}

View File

@ -673,7 +673,7 @@ message SMGuildGainExp
//
message CMSendChatMsg
{
optional int32 chat_channel = 1; // 0: 1 2
optional int32 chat_channel = 1; // 1: 2 3
optional string target = 2; //
optional int32 msg_type = 3; // 0
optional string msg_body = 4; //
@ -686,6 +686,13 @@ message CMReadMsgAndOpenChatNotify
repeated MFPairInt64 last_ids = 2; // key valid
}
//
message CMSetCurrPrivateChatTarget
{
optional string private_target = 1; //id,
optional int64 last_id = 2; //id
}
//
message CMCloseChatNotify
{
@ -811,7 +818,13 @@ message SMUpdateRedPointNotify
//
message SMUpdateChatRedPointNotify
{
repeated MFPairInt32 unread_msg_cnt = 1; // key val
repeated int32 has_unread_msg_channels = 1; //id列表
}
//
message SMUpdatePrivateChatRedPointNotify
{
repeated string has_unread_msg_accounts = 1; //more不含有
}
//id