MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / handle_connect

Method handle_connect

source/MaaFramework/Controller/ControllerAgent.cpp:427–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425}
426
427bool ControllerAgent::handle_connect()
428{
429 if (!control_unit_) {
430 LogError << "control_unit_ is nullptr";
431 return false;
432 }
433
434 bool ret = control_unit_->connect();
435
436 request_uuid();
437
438 return ret;
439}
440
441bool ControllerAgent::handle_click(const ClickParam& param)
442{

Callers

nothing calls this directly

Calls 2

request_uuidFunction · 0.85
connectMethod · 0.65

Tested by

no test coverage detected