diff options
author | Kilkenni <hpittman89@outlook.com> | 2024-07-01 19:18:40 +0300 |
---|---|---|
committer | Kilkenni <hpittman89@outlook.com> | 2024-07-01 19:18:40 +0300 |
commit | 0acce4b871297f699a5b34b1ca528c885e69df92 (patch) | |
tree | 92285ef19a85e7036a1e3729bd74a8b38735adb7 /source/game/StarPlayerUniverseMap.hpp | |
parent | 54ac208dd5a54c827567a3a86e152680ae7663ea (diff) |
return values for bookmark Lua callbacks
Diffstat (limited to 'source/game/StarPlayerUniverseMap.hpp')
-rw-r--r-- | source/game/StarPlayerUniverseMap.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/game/StarPlayerUniverseMap.hpp b/source/game/StarPlayerUniverseMap.hpp index fad0c41..bf8efec 100644 --- a/source/game/StarPlayerUniverseMap.hpp +++ b/source/game/StarPlayerUniverseMap.hpp @@ -53,12 +53,12 @@ public: // pair of system location and bookmark, not all orbit bookmarks include the system List<pair<Vec3I, OrbitBookmark>> orbitBookmarks() const; - void addOrbitBookmark(CelestialCoordinate const& system, OrbitBookmark const& bookmark); - void removeOrbitBookmark(CelestialCoordinate const& system, OrbitBookmark const& bookmark); + bool addOrbitBookmark(CelestialCoordinate const& system, OrbitBookmark const& bookmark); + bool removeOrbitBookmark(CelestialCoordinate const& system, OrbitBookmark const& bookmark); List<TeleportBookmark> teleportBookmarks() const; - void addTeleportBookmark(TeleportBookmark bookmark); - void removeTeleportBookmark(TeleportBookmark const& bookmark); + bool addTeleportBookmark(TeleportBookmark bookmark); + bool removeTeleportBookmark(TeleportBookmark const& bookmark); void invalidateWarpAction(WarpAction const& bookmark); Maybe<OrbitBookmark> worldBookmark(CelestialCoordinate const& world) const; |