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

Function CustomInactive

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

Source from the content-addressed store, hash-verified

410}
411
412MaaBool CustomInactive(void* trans_arg)
413{
414 auto customCtx = reinterpret_cast<CustomControllerContext*>(trans_arg);
415 auto ctx = customCtx->callbacks["inactive"];
416 return ctx->Call<bool>([&](maajs::FunctionType func) { return func.Call({ }); });
417}
418
419MaaBool CustomGetInfo(void* trans_arg, MaaStringBuffer* buffer)
420{

Callers

nothing calls this directly

Calls 1

CallMethod · 0.45

Tested by

no test coverage detected