Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
void LuaRoot::loadScript(String const& assetPath) {
25
m_scriptCache->loadScript(*m_luaEngine, assetPath);
26
}
27
28
bool LuaRoot::scriptLoaded(String const& assetPath) const {
29
return m_scriptCache->scriptLoaded(assetPath);
Callers
nothing calls this directly
Calls
4
singleton
Class · 0.85
assets
Method · 0.80
compile
Method · 0.80
bytes
Method · 0.45
Tested by
no test coverage detected