This commit is contained in:
aozhiwei 2020-06-18 18:33:24 +08:00
parent c0a3b4f7ee
commit e20f2aa68b
3 changed files with 7 additions and 1 deletions

View File

@ -250,7 +250,7 @@ void Player::_CMFriendAgree(f8::MsgHdr& hdr, const cs::CMFriendAgree& msg)
SendMsg(respmsg); SendMsg(respmsg);
DBHelper::Instance()->SetFriendApplyStatus DBHelper::Instance()->SetFriendApplyStatus
( (
myself.crc32_code, n myself.crc32_code,
msg.apply().target_id(), msg.apply().target_id(),
AccountId(), AccountId(),
1 1

View File

@ -23,3 +23,8 @@ void SyncHelper::SyncDeleteFriend(Player* hum, const std::string& target_id)
{ {
} }
void SyncHelper::SyncUpdateFriend(Player* hum, const std::string& target_id)
{
}

View File

@ -13,4 +13,5 @@ class SyncHelper : public a8::Singleton<SyncHelper>
void SyncNewFriend(Player* hum, const std::string& target_id); void SyncNewFriend(Player* hum, const std::string& target_id);
void SyncDeleteFriend(Player* hum, const std::string& target_id); void SyncDeleteFriend(Player* hum, const std::string& target_id);
void SyncUpdateFriend(Player* hum, const std::string& target_id);
}; };