This commit is contained in:
aozhiwei 2020-06-23 15:32:51 +08:00
parent 269b41bebe
commit 3b52644e4e

View File

@ -928,18 +928,16 @@ void Player::ProcessEventTimerFunc()
{
std::string account_id = param.sender.GetString();
long long curr_max_event_idx = param.param1;
#if 0
long long last_event_idx = param.param2;
#endif
Player* hum = PlayerMgr::Instance()->GetPlayerByAccountId(account_id);
if (hum) {
hum->last_event_idx_ = curr_max_event_idx;
hum->OnFetchEvent(curr_max_event_idx, data_set);
}
};
auto on_error =
[] (a8::XParams& param, int error_code, const std::string& error_msg)
{
};
a8::XObject conn_info = DBEngine::Instance()->GetConnInfo(myself.crc32_code);