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

Method post_relative_move

source/MaaFramework/Controller/ControllerAgent.cpp:136–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136MaaCtrlId ControllerAgent::post_relative_move(int dx, int dy)
137{
138 RelativeMoveParam p { .dx = dx, .dy = dy };
139 auto id = post({ .type = Action::Type::relative_move, .param = std::move(p) });
140 return focus_id(id);
141}
142
143MaaCtrlId ControllerAgent::post_key_down(int keycode)
144{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected