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

Method SetCode

src/openrct2/scripting/Plugin.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30void Plugin::SetCode(std::string_view code)
31{
32 _code = code;
33}
34
35static JSValue registerPlugin(JSContext* ctx, JSValue thisVal, int argc, JSValue* argv)
36{

Callers 1

AddNetworkPluginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected