Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
574
Maybe<LuaValue> Npc::evalScript(String const& code) {
575
return m_scriptComponent.eval(code);
576
}
577
578
Vec2F Npc::getAbsolutePosition(Vec2F relativePosition) const {
579
if (m_humanoid.facingDirection() == Direction::Left)
Callers
1
entityEval
Method · 0.45
Calls
1
eval
Method · 0.45
Tested by
no test coverage detected