New admin function to remove a complete game by any player name within that game (#115).

This commit is contained in:
lotodore
2012-02-13 20:28:55 +00:00
parent 17960e1415
commit 81ee27de70
3 changed files with 28 additions and 0 deletions
+1
View File
@@ -76,6 +76,7 @@ public:
void HandleChatRequest(boost::shared_ptr<SessionData> session, const ChatRequestMessage_t &chatRequest);
bool KickPlayerByName(const std::string &playerName);
bool RemoveGameByPlayerName(const std::string &playerName);
std::string GetPlayerIPAddress(const std::string &playerName) const;
std::string GetPlayerNameFromId(unsigned playerId) const;
void RemovePlayer(unsigned playerId, unsigned errorCode);