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

Method get_controller

source/binding/NodeJS/src/apis/tasker.cpp:246–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

244}
245
246std::optional<maajs::ValueType> TaskerImpl::get_controller()
247{
248 auto ctrl = MaaTaskerGetController(tasker);
249 if (!ctrl) {
250 return std::nullopt;
251 }
252 return ControllerImpl::locate_object(env, ctrl);
253}
254
255void TaskerImpl::clear_cache()
256{

Callers

nothing calls this directly

Calls 1

MaaTaskerGetControllerFunction · 0.85

Tested by

no test coverage detected