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

summaryrefslogtreecommitdiff
path: root/source/game/StarUniverseServer.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-01-05 15:21:27 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2025-01-05 15:21:27 +1100
commitc47bceb3f3ea0d041f3a6cb053f932c00c39f396 (patch)
treec8ab3e3c8b3443f3bdcb3d5d2c77b9a7b2f7675d /source/game/StarUniverseServer.hpp
parent9bc12f5f97f6774e6eeeb3ef577e026cc8d03357 (diff)
add time played support to server query results
Diffstat (limited to 'source/game/StarUniverseServer.hpp')
-rw-r--r--source/game/StarUniverseServer.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/game/StarUniverseServer.hpp b/source/game/StarUniverseServer.hpp
index e7f24fa..a87194f 100644
--- a/source/game/StarUniverseServer.hpp
+++ b/source/game/StarUniverseServer.hpp
@@ -55,6 +55,7 @@ public:
bool isWorldActive(WorldId const& worldId) const;
List<ConnectionId> clientIds() const;
+ List<pair<ConnectionId, int64_t>> clientIdsAndCreationTime() const;
size_t numberOfClients() const;
uint32_t maxClients() const;
bool isConnectedClient(ConnectionId clientId) const;