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

Function MaaControllerStatus

source/Common/MaaController.cpp:322–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322MaaStatus MaaControllerStatus(const MaaController* ctrl, MaaCtrlId id)
323{
324 // LogFunc << VAR_VOIDP(ctrl) << VAR(id);
325
326 if (!ctrl) {
327 LogError << "handle is null";
328 return MaaStatus_Invalid;
329 }
330
331 return ctrl->status(id);
332}
333
334MaaStatus MaaControllerWait(const MaaController* ctrl, MaaCtrlId id)
335{

Callers 1

statusMethod · 0.85

Calls 1

statusMethod · 0.65

Tested by

no test coverage detected