diff options
Diffstat (limited to 'source/game/StarPlayerStorage.hpp')
-rw-r--r-- | source/game/StarPlayerStorage.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarPlayerStorage.hpp b/source/game/StarPlayerStorage.hpp index 4b9edc7..9f7fd4a 100644 --- a/source/game/StarPlayerStorage.hpp +++ b/source/game/StarPlayerStorage.hpp @@ -19,7 +19,7 @@ public: // Returns nothing if index is out of bounds. Maybe<Uuid> playerUuidAt(size_t index); // Returns nothing if name doesn't match a player. - Maybe<Uuid> playerUuidByName(String const& name); + Maybe<Uuid> playerUuidByName(String const& name, Maybe<Uuid> except = {}); // Also returns the diskStore Json if needed. Json savePlayer(PlayerPtr const& player); |