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

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldServer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/game/StarWorldServer.hpp')
-rw-r--r--source/game/StarWorldServer.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/game/StarWorldServer.hpp b/source/game/StarWorldServer.hpp
index 21b9b48..9e319e5 100644
--- a/source/game/StarWorldServer.hpp
+++ b/source/game/StarWorldServer.hpp
@@ -87,7 +87,7 @@ public:
// Returns false if the client id already exists, or the spawn target is
// invalid.
- bool addClient(ConnectionId clientId, SpawnTarget const& spawnTarget, bool isLocal);
+ bool addClient(ConnectionId clientId, SpawnTarget const& spawnTarget, bool isLocal, bool isAdmin = false);
// Removes client, sends the WorldStopPacket, and returns any pending packets
// for that client
@@ -277,6 +277,7 @@ private:
bool pendingForward;
bool started;
bool local;
+ bool admin;
List<PacketPtr> outgoingPackets;