diff options
Diffstat (limited to 'src/Server.h')
-rw-r--r-- | src/Server.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Server.h b/src/Server.h index 28342cfb6..b1329f69b 100644 --- a/src/Server.h +++ b/src/Server.h @@ -165,13 +165,16 @@ private: friend class cRoot; // so cRoot can create and destroy cServer friend class cServerListenCallbacks; // Accessing OnConnectionAccepted() + + /** The server tick thread takes care of the players who aren't yet spawned in a world */ - class cTickThread : + class cTickThread: public cIsThread { - typedef cIsThread super; + using Super = cIsThread; public: + cTickThread(cServer & a_Server); protected: @@ -182,6 +185,7 @@ private: } ; + /** The network sockets listening for client connections. */ cServerHandlePtrs m_ServerHandles; |