mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 00:54:53 -07:00
fixed bug #0000012
This commit is contained in:
parent
cb045907cb
commit
628f58cd56
2 changed files with 15 additions and 7 deletions
|
|
@ -54,7 +54,7 @@ public:
|
|||
bool getGameStarted() const { return gameStarted; }
|
||||
int getPlayerCount() const;
|
||||
int getSpectatorCount() const;
|
||||
QList<Server_Player *> getPlayers() const { return players.values(); }
|
||||
const QMap<int, Server_Player *> &getPlayers() const { return players; }
|
||||
Server_Player *getPlayer(int playerId) const { return players.value(playerId, 0); }
|
||||
int getGameId() const { return gameId; }
|
||||
QString getDescription() const { return description; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue