1
This commit is contained in:
parent
269b41bebe
commit
3b52644e4e
@ -928,18 +928,16 @@ void Player::ProcessEventTimerFunc()
|
|||||||
{
|
{
|
||||||
std::string account_id = param.sender.GetString();
|
std::string account_id = param.sender.GetString();
|
||||||
long long curr_max_event_idx = param.param1;
|
long long curr_max_event_idx = param.param1;
|
||||||
#if 0
|
|
||||||
long long last_event_idx = param.param2;
|
long long last_event_idx = param.param2;
|
||||||
#endif
|
|
||||||
Player* hum = PlayerMgr::Instance()->GetPlayerByAccountId(account_id);
|
Player* hum = PlayerMgr::Instance()->GetPlayerByAccountId(account_id);
|
||||||
if (hum) {
|
if (hum) {
|
||||||
|
hum->last_event_idx_ = curr_max_event_idx;
|
||||||
hum->OnFetchEvent(curr_max_event_idx, data_set);
|
hum->OnFetchEvent(curr_max_event_idx, data_set);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
auto on_error =
|
auto on_error =
|
||||||
[] (a8::XParams& param, int error_code, const std::string& error_msg)
|
[] (a8::XParams& param, int error_code, const std::string& error_msg)
|
||||||
{
|
{
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
a8::XObject conn_info = DBEngine::Instance()->GetConnInfo(myself.crc32_code);
|
a8::XObject conn_info = DBEngine::Instance()->GetConnInfo(myself.crc32_code);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user