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

Method callScript

source/game/StarVehicle.cpp:565–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563}
564
565Maybe<LuaValue> Vehicle::callScript(String const& func, LuaVariadic<LuaValue> const& args) {
566 return m_scriptComponent.invoke(func, args);
567}
568
569Maybe<LuaValue> Vehicle::evalScript(String const& code) {
570 return m_scriptComponent.eval(code);

Callers

nothing calls this directly

Calls 1

invokeMethod · 0.45

Tested by

no test coverage detected