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

Method post_click

source/MaaFramework/Controller/ControllerAgent.cpp:63–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63MaaCtrlId ControllerAgent::post_click(int x, int y, int contact, int pressure)
64{
65 ClickParam p { .point = { x, y }, .contact = contact, .pressure = pressure };
66 auto id = post({ .type = Action::Type::click, .param = std::move(p) });
67 return focus_id(id);
68}
69
70MaaCtrlId ControllerAgent::post_swipe(int x1, int y1, int x2, int y2, int duration, int contact, int pressure)
71{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected