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

Method query_controller

source/MaaAgentClient/Client/AgentClient.cpp:2665–2673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2663}
2664
2665MaaController* AgentClient::query_controller(const std::string& controller_id)
2666{
2667 auto it = controller_map_.find(controller_id);
2668 if (it == controller_map_.end()) {
2669 LogError << "controller not found" << VAR(controller_id);
2670 return nullptr;
2671 }
2672 return it->second;
2673}
2674
2675std::string AgentClient::resource_id(MaaResource* resource)
2676{

Callers

nothing calls this directly

Calls 1

findMethod · 0.45

Tested by

no test coverage detected