1
This commit is contained in:
parent
701c760eff
commit
eabc8c9dd4
@ -33,6 +33,7 @@ behaviac::EBTStatus AndroidAgent::SearchEnemy(int range)
|
||||
|
||||
bool AndroidAgent::NetIsConnected()
|
||||
{
|
||||
a8::XPrintf("NetIsConnected\n", {});
|
||||
return true;
|
||||
return owner_->GetWebSocket()->Connected() != 0;
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ void Perf::UnInit()
|
||||
void Perf::Output()
|
||||
{
|
||||
f8::UdpLog::Instance()->Info
|
||||
("perf login_ok:%d login_fail:%d enter_ok:%d enter_fail:%d connect_ok:%d connect_fail:%d chg_dir:%d send_move:%d udate:%d",
|
||||
("perf login_ok:%d login_fail:%d enter_ok:%d enter_fail:%d connect_ok:%d connect_fail:%d chg_dir:%d send_move:%d update:%d",
|
||||
{
|
||||
login_ok_times,
|
||||
login_fail_times,
|
||||
|
@ -32,7 +32,7 @@ void PlayerMgr::Init()
|
||||
account_id_hash_[hum->GetAccountId()] = hum;
|
||||
socket_id_hash_[hum->GetSocketId()] = hum;
|
||||
++count;
|
||||
if (count >= 19) {
|
||||
if (count >= 1) {
|
||||
f8::Timer::Instance()->DeleteCurrentTimer();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user