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

Function load_client

source/binding/NodeJS/src/apis/client.cpp:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147maajs::ValueType load_client(maajs::EnvType env)
148{
149 maajs::FunctionType ctor;
150 maajs::NativeClass<ClientImpl>::init(env, ctor);
151 ExtContext::get(env)->clientCtor = maajs::PersistentFunction(ctor);
152 return ctor;
153}

Callers 1

initFunction · 0.85

Calls 2

initFunction · 0.70
PersistentFunctionFunction · 0.50

Tested by

no test coverage detected