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

Method callScript

source/game/StarMonster.cpp:829–831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827}
828
829Maybe<LuaValue> Monster::callScript(String const& func, LuaVariadic<LuaValue> const& args) {
830 return m_scriptComponent.invoke(func, args);
831}
832
833Maybe<LuaValue> Monster::evalScript(String const& code) {
834 return m_scriptComponent.eval(code);

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected