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

Method post

source/MaaFramework/Controller/ControllerAgent.cpp:403–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

401}
402
403MaaCtrlId ControllerAgent::post(Action action)
404{
405 // LogInfo << VAR(action.type) << VAR(action.param);
406
407 if (!check_stop()) {
408 return MaaInvalidId;
409 }
410
411 if (!action_runner_) {
412 return MaaInvalidId;
413 }
414 return action_runner_->post(std::move(action));
415}
416
417MaaCtrlId ControllerAgent::focus_id(MaaCtrlId id)
418{

Callers

nothing calls this directly

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected