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

Function OnControllerEvent

source/binding/NodeJS/src/plugin/entry.cpp:57–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void OnControllerEvent(void* handle, const char* message, const char* details_json, void*)
58{
59 getRuntime()->dispatch_controller_sink(reinterpret_cast<MaaController*>(handle), message, details_json);
60}
61
62void OnTaskerEvent(void* handle, const char* message, const char* details_json, void*)
63{

Callers

nothing calls this directly

Calls 2

getRuntimeFunction · 0.85

Tested by

no test coverage detected