Send notification to clients when a game in the lobby was started. Mark games as running in lobby dialog.

This commit is contained in:
lotodore
2007-09-29 20:20:01 +00:00
parent 43103d6fea
commit aaf4106c20
15 changed files with 72 additions and 18 deletions
+2 -1
View File
@@ -57,6 +57,7 @@ public:
void SessionError(SessionWrapper session, int errorCode);
void NotifyPlayerJoinedGame(unsigned gameId, unsigned playerId);
void NotifyPlayerLeftGame(unsigned gameId, unsigned playerId);
void NotifyStartingGame(unsigned gameId);
void HandleGameRetrievePlayerInfo(SessionWrapper session, const NetPacketRetrievePlayerInfo &tmpPacket);
@@ -115,7 +116,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);
static boost::shared_ptr<NetPacket> CreateNetPacketGameListUpdate(unsigned gameId, GameMode mode);
private: