1
This commit is contained in:
parent
8ecff4b8a9
commit
a869e2b5d9
@ -33,6 +33,7 @@ void Player::Init()
|
|||||||
|
|
||||||
void Player::UnInit()
|
void Player::UnInit()
|
||||||
{
|
{
|
||||||
|
SaveToDB();
|
||||||
timer_attacher.ClearTimerList();
|
timer_attacher.ClearTimerList();
|
||||||
for (auto& pair : friend_hash_) {
|
for (auto& pair : friend_hash_) {
|
||||||
if (!list_empty(&pair.second.watch_node)) {
|
if (!list_empty(&pair.second.watch_node)) {
|
||||||
@ -629,6 +630,7 @@ void Player::InternalUpdateUserInfo()
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
NotifyUserInfoUpdate(&myself);
|
NotifyUserInfoUpdate(&myself);
|
||||||
|
MarkDirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Player::NotifyUserInfoUpdate(Friend* friend_data)
|
void Player::NotifyUserInfoUpdate(Friend* friend_data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user