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

Method LoadPlugin

src/openrct2/scripting/ScriptEngine.cpp:927–931  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

925}
926
927void ScriptEngine::LoadPlugin(const std::string& path)
928{
929 auto plugin = std::make_shared<Plugin>(path);
930 LoadPlugin(plugin);
931}
932
933void ScriptEngine::LoadPlugin(std::shared_ptr<Plugin>& plugin)
934{

Callers

nothing calls this directly

Calls 4

IsLoadedMethod · 0.80
WriteLineErrorMethod · 0.80
LoadMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected