1
This commit is contained in:
parent
218943f512
commit
924b98dd6c
@ -53,7 +53,8 @@ enum NetHandler_e
|
||||
|
||||
enum ReadPointFlag
|
||||
{
|
||||
RPF_Apply = 0
|
||||
RPF_FriendApply = 0,
|
||||
RPF_GuildApply = 1
|
||||
};
|
||||
|
||||
enum GuildMemberQuitReason
|
||||
|
@ -238,7 +238,7 @@ void Player::_CMFriendApplyList(f8::MsgHdr& hdr, const cs::CMFriendApplyList& ms
|
||||
cs::SMFriendApplyList respmsg;
|
||||
hum->FillApplyList(*paging, respmsg);
|
||||
hum->SendMsg(respmsg);
|
||||
a8::UnSetBitFlag(hum->red_point_flags_, RPF_Apply);
|
||||
a8::UnSetBitFlag(hum->red_point_flags_, RPF_FriendApply);
|
||||
hum->SyncRedPoint();
|
||||
}
|
||||
delete paging;
|
||||
@ -1687,7 +1687,7 @@ void Player::RecalcRedPoint()
|
||||
Player* hum = PlayerMgr::Instance()->GetPlayerByAccountId(param.sender.GetString());
|
||||
if (hum) {
|
||||
if (data_set && data_set->size() > 0) {
|
||||
a8::SetBitFlag(hum->red_point_flags_, RPF_Apply);
|
||||
a8::SetBitFlag(hum->red_point_flags_, RPF_FriendApply);
|
||||
hum->SyncRedPoint();
|
||||
}
|
||||
}
|
||||
|
@ -641,7 +641,7 @@ message SMUpdateAccountInfo
|
||||
//更新红点信息
|
||||
message SMUpdateRedPointNotify
|
||||
{
|
||||
optional int32 red_point_flags = 1; //红点信息 1<<0: 好友申请
|
||||
optional int32 red_point_flags = 1; //红点信息 1<<0:好友申请 1<<1:公会申请
|
||||
}
|
||||
|
||||
//显示飘字
|
||||
|
Loading…
x
Reference in New Issue
Block a user