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

Function MaaControllerGetResolution

source/Common/MaaController.cpp:390–398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390MaaBool MaaControllerGetResolution(const MaaController* ctrl, int32_t* width, int32_t* height)
391{
392 if (!ctrl || !width || !height) {
393 LogError << "handle or output params are null";
394 return false;
395 }
396
397 return ctrl->get_resolution(*width, *height);
398}
399
400MaaBool MaaControllerGetInfo(const MaaController* ctrl, MaaStringBuffer* buffer)
401{

Callers 1

get_resolutionMethod · 0.85

Calls 1

get_resolutionMethod · 0.45

Tested by

no test coverage detected