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

Method ClearParkStorage

src/openrct2/scripting/ScriptEngine.cpp:1928–1935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1926}
1927
1928void ScriptEngine::ClearParkStorage()
1929{
1930 if (_replContext)
1931 {
1932 JS_FreeValue(_replContext, _parkStorage);
1933 _parkStorage = JS_NewObject(_replContext);
1934 }
1935}
1936
1937std::string ScriptEngine::GetParkStorageAsJSON()
1938{

Callers 3

gameStateInitAllFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected