The server now sends a notification if the game name is already in use.

This commit is contained in:
lotodore
2010-07-14 08:17:07 +00:00
parent 99d2c2569f
commit 7899f66cf6
3 changed files with 29 additions and 4 deletions
+1
View File
@@ -154,6 +154,7 @@ protected:
void TimerCheckSessionTimeouts(const boost::system::error_code &ec);
void TimerCleanupAvatarCache(const boost::system::error_code &ec);
bool IsGameNameInUse(const std::string &gameName) const;
boost::shared_ptr<ServerGame> InternalGetGameFromId(unsigned gameId);
void InternalAddGame(boost::shared_ptr<ServerGame> game);
void InternalRemoveGame(boost::shared_ptr<ServerGame> game);