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

Function CustomConnect

source/binding/NodeJS/src/apis/callback.cpp:149–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149MaaBool CustomConnect(void* trans_arg)
150{
151 auto customCtx = reinterpret_cast<CustomControllerContext*>(trans_arg);
152 auto ctx = customCtx->callbacks["connect"];
153 return ctx->Call<bool>([&](maajs::FunctionType func) { return func.Call({ }); });
154}
155
156MaaBool CustomConnected(void* trans_arg)
157{

Callers

nothing calls this directly

Calls 1

CallMethod · 0.45

Tested by

no test coverage detected