MCPcopy 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
25void LuaBaseComponent::setScript(String script) {
26 setScripts({std::move(script)});
27}
28
29void LuaBaseComponent::setScripts(StringList scripts) {
30 if (initialized())

Callers 3

VehicleMethod · 0.80
PlayerMethod · 0.80
initScriptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected