1
This commit is contained in:
parent
218943f512
commit
924b98dd6c
@ -53,7 +53,8 @@ enum NetHandler_e
|
|||||||
|
|
||||||
enum ReadPointFlag
|
enum ReadPointFlag
|
||||||
{
|
{
|
||||||
RPF_Apply = 0
|
RPF_FriendApply = 0,
|
||||||
|
RPF_GuildApply = 1
|
||||||
};
|
};
|
||||||
|
|
||||||
enum GuildMemberQuitReason
|
enum GuildMemberQuitReason
|
||||||
|
@ -238,7 +238,7 @@ void Player::_CMFriendApplyList(f8::MsgHdr& hdr, const cs::CMFriendApplyList& ms
|
|||||||
cs::SMFriendApplyList respmsg;
|
cs::SMFriendApplyList respmsg;
|
||||||
hum->FillApplyList(*paging, respmsg);
|
hum->FillApplyList(*paging, respmsg);
|
||||||
hum->SendMsg(respmsg);
|
hum->SendMsg(respmsg);
|
||||||
a8::UnSetBitFlag(hum->red_point_flags_, RPF_Apply);
|
a8::UnSetBitFlag(hum->red_point_flags_, RPF_FriendApply);
|
||||||
hum->SyncRedPoint();
|
hum->SyncRedPoint();
|
||||||
}
|
}
|
||||||
delete paging;
|
delete paging;
|
||||||
@ -1687,7 +1687,7 @@ void Player::RecalcRedPoint()
|
|||||||
Player* hum = PlayerMgr::Instance()->GetPlayerByAccountId(param.sender.GetString());
|
Player* hum = PlayerMgr::Instance()->GetPlayerByAccountId(param.sender.GetString());
|
||||||
if (hum) {
|
if (hum) {
|
||||||
if (data_set && data_set->size() > 0) {
|
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();
|
hum->SyncRedPoint();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -641,7 +641,7 @@ message SMUpdateAccountInfo
|
|||||||
//更新红点信息
|
//更新红点信息
|
||||||
message SMUpdateRedPointNotify
|
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