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

Method handle_event_response

source/MaaAgentClient/Client/AgentClient.cpp:2496–2503  ·  view source on GitHub ↗

FIXME: 不应该存在这个函数 等 send_and_recv 支持在子线程中使用后,应该删除这个函数

Source from the content-addressed store, hash-verified

2494// FIXME: 不应该存在这个函数
2495// 等 send_and_recv 支持在子线程中使用后,应该删除这个函数
2496bool AgentClient::handle_event_response(const json::value& j)
2497{
2498 if (j.is<ResourceEventResponse>() || j.is<ControllerEventResponse>() || j.is<TaskerEventResponse>()) {
2499 LogTrace << "handle event response" << VAR(j);
2500 return true;
2501 }
2502 return false;
2503}
2504
2505MaaBool AgentClient::reco_agent(
2506 MaaContext* context,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected