This commit is contained in:
azw 2023-11-27 09:16:02 +08:00
parent 176f2a8b76
commit 62162fd8d9

View File

@ -119,6 +119,7 @@ behaviac::EBTStatus AndroidAgent::CoConnectBattleServer()
std::function<void (a8::WebSocketClient*, int)> old_on_error;
std::function<void (a8::WebSocketClient*)> old_on_connect;
std::function<void (a8::WebSocketClient*)> old_on_disconnect;
bool pending = false;
);
context->old_on_error = owner_->GetWebSocket()->on_error;
context->old_on_connect = owner_->GetWebSocket()->on_connect;