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

Function MaaControllerPostClickV2

source/Common/MaaController.cpp:74–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74MaaCtrlId MaaControllerPostClickV2(MaaController* ctrl, int32_t x, int32_t y, int32_t contact, int32_t pressure)
75{
76 LogFunc << VAR_VOIDP(ctrl) << VAR(x) << VAR(y) << VAR(contact) << VAR(pressure);
77
78 if (!ctrl) {
79 LogError << "handle is null";
80 return MaaInvalidId;
81 }
82
83 return ctrl->post_click(x, y, contact, pressure);
84}
85
86MaaCtrlId MaaControllerPostSwipe(MaaController* ctrl, int32_t x1, int32_t y1, int32_t x2, int32_t y2, int32_t duration)
87{

Callers 2

MaaControllerPostClickFunction · 0.85
post_clickMethod · 0.85

Calls 1

post_clickMethod · 0.45

Tested by

no test coverage detected