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

Method get_info

source/MaaCustomControlUnit/Manager/CustomControlUnitMgr.cpp:265–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265json::object CustomControlUnitMgr::get_info() const
266{
267 json::object info;
268 if (auto extra_info_opt = get_info_from_controller()) {
269 info = std::move(*extra_info_opt);
270 }
271 info["type"] = "custom";
272
273 return info;
274}
275
276std::optional<json::object> CustomControlUnitMgr::get_info_from_controller() const
277{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected