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

Method get_info

source/binding/NodeJS/src/apis/controller.cpp:318–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316}
317
318std::optional<std::string> ControllerImpl::get_info()
319{
320 StringBuffer buf;
321 if (!MaaControllerGetInfo(controller, buf)) {
322 return std::nullopt;
323 }
324 return buf.str();
325}
326
327std::string ControllerImpl::to_string()
328{

Callers

nothing calls this directly

Calls 2

MaaControllerGetInfoFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected