don't use Server_Room::getInfo when updating

This commit is contained in:
Max-Wilhelm Bruker 2013-02-15 19:31:37 +01:00
parent 7a30b827c8
commit ce642e3000
4 changed files with 69 additions and 23 deletions

View file

@ -55,7 +55,7 @@ public:
const QMap<int, Server_Game *> &getGames() const { return games; }
const QMap<int, ServerInfo_Game> &getExternalGames() const { return externalGames; }
Server *getServer() const;
const ServerInfo_Room &getInfo(ServerInfo_Room &result, bool complete, bool showGameTypes = false, bool updating = false, bool includeExternalData = true) const;
const ServerInfo_Room &getInfo(ServerInfo_Room &result, bool complete, bool showGameTypes = false, bool includeExternalData = true) const;
int getGamesCreatedByUser(const QString &name) const;
QList<ServerInfo_Game> getGamesOfUser(const QString &name) const;