MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / InvokeEventHandler

Function InvokeEventHandler

src/openrct2-ui/scripting/CustomWindow.cpp:1141–1145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1139 }
1140
1141 static void InvokeEventHandler(const std::shared_ptr<Plugin>& owner, const JSCallback& jsCallback)
1142 {
1143 std::vector<JSValue> args;
1144 InvokeEventHandler(owner, jsCallback, args);
1145 }
1146
1147 static void InvokeEventHandler(
1148 const std::shared_ptr<Plugin>& owner, const JSCallback& jsCallback, const std::vector<JSValue>& args)

Callers 11

onCloseMethod · 0.85
onUpdateMethod · 0.85
onMouseUpMethod · 0.85
onMouseDownMethod · 0.85
onTextInputMethod · 0.85
ChangeTabMethod · 0.85
UpdateWidgetColourFunction · 0.85
OnUpdateMethod · 0.85
OnDownMethod · 0.85
OnUpMethod · 0.85

Calls 2

GetContextFunction · 0.85
ExecutePluginCallMethod · 0.80

Tested by

no test coverage detected