This commit is contained in:
aozhiwei 2020-06-23 16:24:55 +08:00
parent 3ebe020780
commit d1aa10510a

View File

@ -1004,6 +1004,15 @@ void Player::ProcessEvent()
break;
}
Event& event = pair.second;
#ifdef DEBUG
a8::UdpLog::Instance()->Debug("event idx:%d event_name:%s sender_id:%s target_id:%s",
{
event.idx,
event.event_name,
event.sender_id,
event.target_id,
});
#endif
if (event.event_name == EVENT_FRIEND_AGREE) {
OnFriendAgreeEvent(event);
DBHelper::Instance()->SetEventStatus(event.idx, AccountId(), 1);