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

Method interactiveSpaces

source/game/StarObject.cpp:1199–1205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1197}
1198
1199List<Vec2I> Object::interactiveSpaces() const {
1200 if (auto orientation = currentOrientation()) {
1201 if (auto iSpaces = orientation->interactiveSpaces)
1202 return *iSpaces;
1203 }
1204 return spaces();
1205}
1206
1207Maybe<LuaValue> Object::callScript(String const& func, LuaVariadic<LuaValue> const& args) {
1208 return m_scriptComponent.invoke(func, args);

Callers 2

interactiveEntityNearMethod · 0.45
canReachEntityFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected