diff options
Diffstat (limited to 'source/game/scripting/StarWorldLuaBindings.hpp')
-rw-r--r-- | source/game/scripting/StarWorldLuaBindings.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/game/scripting/StarWorldLuaBindings.hpp b/source/game/scripting/StarWorldLuaBindings.hpp index 725e824..e2d082c 100644 --- a/source/game/scripting/StarWorldLuaBindings.hpp +++ b/source/game/scripting/StarWorldLuaBindings.hpp @@ -122,10 +122,10 @@ namespace LuaBindings { Maybe<String> entityGender(World* world, EntityId entityId); Maybe<String> entityName(World* world, EntityId entityId); Maybe<String> entityDescription(World* world, EntityId entityId, Maybe<String> const& species); - Maybe<JsonArray> entityPortrait(World* world, EntityId entityId, String const& portraitMode); + LuaNullTermWrapper<Maybe<JsonArray>> entityPortrait(World* world, EntityId entityId, String const& portraitMode); Maybe<String> entityHandItem(World* world, EntityId entityId, String const& handName); Json entityHandItemDescriptor(World* world, EntityId entityId, String const& handName); - Maybe<String> entityUniqueId(World* world, EntityId entityId); + LuaNullTermWrapper<Maybe<String>> entityUniqueId(World* world, EntityId entityId); Json getObjectParameter(World* world, EntityId entityId, String const& parameterName, Maybe<Json> const& defaultValue); Json getNpcScriptParameter(World* world, EntityId entityId, String const& parameterName, Maybe<Json> const& defaultValue); List<Vec2I> objectSpaces(World* world, EntityId entityId); |