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

Method get_uuid

source/MaaAgentServer/RemoteInstance/RemoteController.cpp:387–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385}
386
387std::string RemoteController::get_uuid()
388{
389 ControllerGetUuidReverseRequest req {
390 .controller_id = controller_id_,
391 };
392
393 auto resp_opt = server_.send_and_recv<ControllerGetUuidReverseResponse>(req);
394 if (!resp_opt) {
395 return { };
396 }
397 return resp_opt->uuid;
398}
399
400bool RemoteController::get_resolution(int32_t& width, int32_t& height) const
401{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected