1
This commit is contained in:
parent
85b6c88a6d
commit
30ce568478
@ -133,14 +133,14 @@ behaviac::EBTStatus AndroidAgent::CoConnectBattleServer()
|
||||
{
|
||||
a8::XPrintf("WebSocketClient on_error:%d\n", {err_code});
|
||||
context->pending = false;
|
||||
context->connect_ok = true;
|
||||
context->connect_ok = false;
|
||||
};
|
||||
owner_->GetWebSocket()->on_connect =
|
||||
[this, context] (a8::WebSocketClient* )
|
||||
{
|
||||
a8::XPrintf("WebSocketClient on_connect\n", {});
|
||||
context->pending = false;
|
||||
context->connect_ok = false;
|
||||
context->connect_ok = true;
|
||||
};
|
||||
owner_->GetWebSocket()->on_disconnect =
|
||||
[this, context] (a8::WebSocketClient* )
|
||||
|
Loading…
x
Reference in New Issue
Block a user