MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / loadScript

Method loadScript

source/game/scripting/StarLuaRoot.cpp:24–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void LuaRoot::loadScript(String const& assetPath) {
25 m_scriptCache->loadScript(*m_luaEngine, assetPath);
26}
27
28bool LuaRoot::scriptLoaded(String const& assetPath) const {
29 return m_scriptCache->scriptLoaded(assetPath);

Callers

nothing calls this directly

Calls 4

singletonClass · 0.85
assetsMethod · 0.80
compileMethod · 0.80
bytesMethod · 0.45

Tested by

no test coverage detected