Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
30
void Plugin::SetCode(std::string_view code)
31
{
32
_code = code;
33
}
34
35
static JSValue registerPlugin(JSContext* ctx, JSValue thisVal, int argc, JSValue* argv)
36
{
Callers
1
AddNetworkPlugin
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected