Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/scripting/StarWorldLuaBindings.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-01-21 19:16:23 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2025-01-21 19:16:23 +1100
commit46deaa1f1a3f770e55553c2392567eba467d08af (patch)
treea40c68efa901f54655c34a247991c977d2d8fd6a /source/game/scripting/StarWorldLuaBindings.hpp
parent034b6cb93f0b39aefceee69c81b911fe1bac3d27 (diff)
add world.loungingEntities, world.loungableAnchorCount and anchor index arg to loungeableOccupied
Diffstat (limited to 'source/game/scripting/StarWorldLuaBindings.hpp')
-rw-r--r--source/game/scripting/StarWorldLuaBindings.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/game/scripting/StarWorldLuaBindings.hpp b/source/game/scripting/StarWorldLuaBindings.hpp
index e3329bf..3cb8c72 100644
--- a/source/game/scripting/StarWorldLuaBindings.hpp
+++ b/source/game/scripting/StarWorldLuaBindings.hpp
@@ -154,7 +154,9 @@ namespace LuaBindings {
Maybe<LuaValue> callScriptedEntity(World* world, EntityId entityId, String const& function, LuaVariadic<LuaValue> const& args);
RpcPromise<Vec2F> findUniqueEntity(World* world, String const& uniqueId);
RpcPromise<Json> sendEntityMessage(World* world, LuaEngine& engine, LuaValue entityId, String const& message, LuaVariadic<Json> args);
- Maybe<bool> loungeableOccupied(World* world, EntityId entityId);
+ Maybe<List<EntityId>> loungingEntities(World* world, EntityId entityId, Maybe<size_t> anchorIndex);
+ Maybe<bool> loungeableOccupied(World* world, EntityId entityId, Maybe<size_t> anchorIndex);
+ Maybe<size_t> loungeableAnchorCount(World* world, EntityId entityId);
bool isMonster(World* world, EntityId entityId, Maybe<bool> const& aggressive);
Maybe<String> monsterType(World* world, EntityId entityId);
Maybe<String> npcType(World* world, EntityId entityId);