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

Function OnResourceEvent

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

Source from the content-addressed store, hash-verified

50}
51
52void OnResourceEvent(void* handle, const char* message, const char* details_json, void*)
53{
54 getRuntime()->dispatch_resource_sink(reinterpret_cast<MaaResource*>(handle), message, details_json);
55}
56
57void OnControllerEvent(void* handle, const char* message, const char* details_json, void*)
58{

Callers

nothing calls this directly

Calls 2

getRuntimeFunction · 0.85

Tested by

no test coverage detected