Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ setScript
Method
setScript
source/game/scripting/StarLuaComponents.cpp:25–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
}
24
25
void LuaBaseComponent::setScript(String script) {
26
setScripts({std::move(script)});
27
}
28
29
void LuaBaseComponent::setScripts(StringList scripts) {
30
if (initialized())
Callers
3
Vehicle
Method · 0.80
Player
Method · 0.80
initScript
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected