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

Method evalScript

source/game/StarNpc.cpp:574–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

572}
573
574Maybe<LuaValue> Npc::evalScript(String const& code) {
575 return m_scriptComponent.eval(code);
576}
577
578Vec2F Npc::getAbsolutePosition(Vec2F relativePosition) const {
579 if (m_humanoid.facingDirection() == Direction::Left)

Callers 1

entityEvalMethod · 0.45

Calls 1

evalMethod · 0.45

Tested by

no test coverage detected