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

Function load_controller

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

Source from the content-addressed store, hash-verified

403}
404
405maajs::ValueType load_controller(maajs::EnvType env)
406{
407 maajs::FunctionType ctor;
408 maajs::NativeClass<ControllerImpl>::init(env, ctor);
409 ExtContext::get(env)->controllerCtor = maajs::PersistentFunction(ctor);
410 return ctor;
411}
412
413std::string AdbControllerImpl::agent_path()
414{

Callers 1

initFunction · 0.85

Calls 2

initFunction · 0.70
PersistentFunctionFunction · 0.50

Tested by

no test coverage detected