1
This commit is contained in:
parent
2dc5796e54
commit
dc02fb57ee
@ -7,17 +7,6 @@ enum CMMessageId_e
|
||||
|
||||
_CMLogin = 103;
|
||||
|
||||
_CMFriendInvite = 105;
|
||||
_CMFriendAgree = 106;
|
||||
_CMFriendDelete = 108;
|
||||
_CMFriendApply = 109;
|
||||
_CMFriendApplyList = 110;
|
||||
_CMFriendBlackList = 111;
|
||||
_CMFriendAddBlack = 112;
|
||||
_CMFriendDeleteBlack = 113;
|
||||
_CMFriendRefuse = 114;
|
||||
_CMFriendList = 115;
|
||||
|
||||
_CMSendChatMsg = 151;
|
||||
_CMSendCustomMsg = 152;
|
||||
_CMUpdateTempCustomData = 153;
|
||||
@ -29,7 +18,6 @@ enum CMMessageId_e
|
||||
_CMGuildMsgBegin = 230;
|
||||
_CMGuildCreate = 231;
|
||||
_CMGuildJoin = 232;
|
||||
_CMGuildAgree = 233;
|
||||
_CMGuildKick = 234;
|
||||
_CMGuildQuit = 235;
|
||||
_CMGuildDismiss = 236;
|
||||
@ -39,7 +27,6 @@ enum CMMessageId_e
|
||||
_CMGuildApplyList = 242;
|
||||
_CMGuildMemberSetJob = 244;
|
||||
_CMGuildRefuse = 245;
|
||||
_CMGuildAgreeInvite = 246;
|
||||
_CMGuildGainExp = 247;
|
||||
_CMGuildMsgEnd = 270;
|
||||
}
|
||||
@ -51,21 +38,9 @@ enum SMMessageId_e
|
||||
|
||||
_SMLogin = 103;
|
||||
|
||||
_SMFriendInvite = 105;
|
||||
_SMFriendAgree = 106;
|
||||
_SMFriendDelete = 108;
|
||||
_SMFriendApply = 109;
|
||||
_SMFriendApplyList = 110;
|
||||
_SMFriendBlackList = 111;
|
||||
_SMFriendAddBlack = 112;
|
||||
_SMFriendDeleteBlack = 113;
|
||||
_SMFriendRefuse = 114;
|
||||
_SMFriendList = 115;
|
||||
|
||||
_SMGuildMsgBegin = 230;
|
||||
_SMGuildCreate = 231;
|
||||
_SMGuildJoin = 232;
|
||||
_SMGuildAgree = 233;
|
||||
_SMGuildKick = 234;
|
||||
_SMGuildQuit = 235;
|
||||
_SMGuildDismiss = 236;
|
||||
@ -75,7 +50,6 @@ enum SMMessageId_e
|
||||
_SMGuildApplyList = 242;
|
||||
_SMGuildMemberSetJob = 244;
|
||||
_SMGuildRefuse = 245;
|
||||
_SMGuildAgreeInvite = 246;
|
||||
_SMGuildGainExp = 247;
|
||||
_SMGuildMsgEnd = 270;
|
||||
|
||||
|
@ -200,116 +200,6 @@ message CMUpdateUserInfo
|
||||
optional int32 delay_flag = 101; //延迟更新标志(只能为1-16),相同的flag定时器覆盖
|
||||
}
|
||||
|
||||
//获取好友列表
|
||||
message CMFriendList
|
||||
{
|
||||
}
|
||||
//好友列表回复
|
||||
message SMFriendList
|
||||
{
|
||||
optional int32 errcode = 1; //错误消息
|
||||
optional string errmsg = 2; //错误消息
|
||||
repeated MFUserInfo friend_list = 3; //好友列表
|
||||
}
|
||||
|
||||
//好友申请
|
||||
message CMFriendApply
|
||||
{
|
||||
optional string friend_id = 1; //好友id
|
||||
optional string msg = 2; //消息
|
||||
}
|
||||
//好友申请回复
|
||||
message SMFriendApply
|
||||
{
|
||||
optional int32 errcode = 1; //1:已经是好友
|
||||
optional string errmsg = 2; //消息描述
|
||||
}
|
||||
|
||||
//获取好友申请列表
|
||||
message CMFriendApplyList
|
||||
{
|
||||
optional MFPaging paging = 1; //分页信息
|
||||
}
|
||||
//获取好友申请列表回复
|
||||
message SMFriendApplyList
|
||||
{
|
||||
optional int32 errcode = 1; //
|
||||
optional string errmsg = 2; //错误消息
|
||||
optional MFPaging paging = 3; //分页信息回传
|
||||
repeated MFFriendApply apply_list = 4; //申请加好友列表
|
||||
}
|
||||
|
||||
//同意申请
|
||||
message CMFriendAgree
|
||||
{
|
||||
optional MFFriendApply apply = 1; //申请信息
|
||||
}
|
||||
//同意申请回复
|
||||
message SMFriendAgree
|
||||
{
|
||||
optional int32 errcode = 1; //错误码
|
||||
optional string errmsg = 2; //错误消息
|
||||
}
|
||||
|
||||
//拒绝好友申请
|
||||
message CMFriendRefuse
|
||||
{
|
||||
optional MFFriendApply apply = 1; //申请信息
|
||||
}
|
||||
//拒绝好友申请回复
|
||||
message SMFriendRefuse
|
||||
{
|
||||
optional int32 errcode = 1; //错误码
|
||||
optional string errmsg = 2; //错误消息
|
||||
}
|
||||
|
||||
//删除好友
|
||||
message CMFriendDelete
|
||||
{
|
||||
optional string friend_id = 1; //好友id
|
||||
}
|
||||
//删除好友回复
|
||||
message SMFriendDelete
|
||||
{
|
||||
optional int32 errcode = 1; //错误码
|
||||
optional string errmsg = 2; //错误消息
|
||||
optional string friend_id = 3; //好友id
|
||||
}
|
||||
|
||||
//获取黑名单
|
||||
message CMFriendBlackList
|
||||
{
|
||||
}
|
||||
//获取黑名单回复
|
||||
message SMFriendBlackList
|
||||
{
|
||||
repeated MFUserInfo black_list = 1; //黑名单
|
||||
}
|
||||
|
||||
//添加黑名单
|
||||
message CMFriendAddBlack
|
||||
{
|
||||
optional MFUserInfo user_info = 1; //好友信息
|
||||
}
|
||||
//添加黑名单回复
|
||||
message SMFriendAddBlack
|
||||
{
|
||||
optional int32 errcode = 1; //
|
||||
optional string errmsg = 2; //错误消息
|
||||
}
|
||||
|
||||
//删除黑名单
|
||||
message CMFriendDeleteBlack
|
||||
{
|
||||
optional string account_id = 1; //好友id
|
||||
}
|
||||
//删除黑名单回复
|
||||
message SMFriendDeleteBlack
|
||||
{
|
||||
optional int32 errcode = 1; //
|
||||
optional string errmsg = 2; //错误消息
|
||||
}
|
||||
|
||||
//获取公会信息
|
||||
message CMGuildInfo
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user