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

Method post_click

source/binding/NodeJS/src/apis/controller.cpp:148–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148maajs::ValueType ControllerImpl::post_click(
149 maajs::ValueType self,
150 maajs::EnvType,
151 int32_t x,
152 int32_t y,
153 maajs::OptionalParam<int32_t> contact,
154 maajs::OptionalParam<int32_t> pressure)
155{
156 auto id = MaaControllerPostClickV2(controller, x, y, contact.value_or(0), pressure.value_or(1));
157 return maajs::CallCtorHelper(ExtContext::get(env)->jobCtor, self, id);
158}
159
160maajs::ValueType ControllerImpl::post_swipe(
161 maajs::ValueType self,

Callers 12

analyzeMethod · 0.45
mainFunction · 0.45
analyzeMethod · 0.45
my_recoFunction · 0.45
my_recoFunction · 0.45
MaaControllerPostClickV2Function · 0.45
runMethod · 0.45
test_controller_apiFunction · 0.45
test_custom_controllerFunction · 0.45
myActFunction · 0.45
custom_ctrl_testFunction · 0.45
runMethod · 0.45

Calls 2

MaaControllerPostClickV2Function · 0.85
CallCtorHelperFunction · 0.85

Tested by 4

runMethod · 0.36
test_controller_apiFunction · 0.36
test_custom_controllerFunction · 0.36
runMethod · 0.36