Game List is now dynamically updated.

This commit is contained in:
lotodore
2007-08-21 19:50:13 +00:00
parent 3a2f3255af
commit 388db7c16a
6 changed files with 85 additions and 17 deletions
+4
View File
@@ -77,6 +77,9 @@ protected:
void CloseSessionLoop();
void RemoveGameLoop();
void InternalAddGame(boost::shared_ptr<ServerGameThread> game);
void InternalRemoveGame(boost::shared_ptr<ServerGameThread> game);
void TerminateGames();
void HandleNewConnection(boost::shared_ptr<ConnectData> connData);
@@ -100,6 +103,7 @@ protected:
bool IsPlayerConnected(const std::string &name);
static boost::shared_ptr<NetPacket> CreateNetPacketGameListNew(const ServerGameThread &game);
static boost::shared_ptr<NetPacket> CreateNetPacketGameListUpdate(const ServerGameThread &game, GameMode mode);
private: