diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-24 18:42:55 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-07-24 18:42:55 +1000 |
commit | af31bde03216ba337fb6b3b5ef306c4a0bb745b5 (patch) | |
tree | f001ad9f8e59c78a30ebb5e4011de5f2e026b02a /source/game/StarUniverseServer.hpp | |
parent | a2d901bd66178bbaacc2fec3acd07e7a27b9235f (diff) |
Handle world creation error when sending world messages, add active world callbacks
Diffstat (limited to 'source/game/StarUniverseServer.hpp')
-rw-r--r-- | source/game/StarUniverseServer.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/game/StarUniverseServer.hpp b/source/game/StarUniverseServer.hpp index 33b0838..806d16f 100644 --- a/source/game/StarUniverseServer.hpp +++ b/source/game/StarUniverseServer.hpp @@ -51,6 +51,7 @@ public: void setPause(bool pause); List<WorldId> activeWorlds() const; + bool isWorldActive(WorldId const& worldId) const; List<ConnectionId> clientIds() const; size_t numberOfClients() const; |