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

Method get_uuid

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

Source from the content-addressed store, hash-verified

297}
298
299std::optional<std::string> ControllerImpl::get_uuid()
300{
301 StringBuffer buf;
302 if (!MaaControllerGetUuid(controller, buf)) {
303 return std::nullopt;
304 }
305 return buf.str();
306}
307
308std::optional<std::tuple<int32_t, int32_t>> ControllerImpl::get_resolution()
309{

Callers 1

MaaControllerGetUuidFunction · 0.45

Calls 2

MaaControllerGetUuidFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected