mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-13 01:24:46 -07:00
minor fixes
This commit is contained in:
parent
748d9bb603
commit
13b6a360d2
15 changed files with 58 additions and 65 deletions
|
|
@ -12,12 +12,12 @@ private:
|
|||
public:
|
||||
ServerGame(int _gameId, const QString &_creator, const QString &_description, bool _hasPassword, unsigned char _playerCount, unsigned char _maxPlayers)
|
||||
: gameId(_gameId), creator(_creator), description(_description), hasPassword(_hasPassword), playerCount(_playerCount), maxPlayers(_maxPlayers) { }
|
||||
int getGameId() { return gameId; }
|
||||
QString getCreator() { return creator; }
|
||||
QString getDescription() { return description; }
|
||||
bool getHasPassword() { return hasPassword; }
|
||||
unsigned char getPlayerCount() { return playerCount; }
|
||||
unsigned char getMaxPlayers() { return maxPlayers; }
|
||||
int getGameId() const { return gameId; }
|
||||
QString getCreator() const { return creator; }
|
||||
QString getDescription() const { return description; }
|
||||
bool getHasPassword() const { return hasPassword; }
|
||||
unsigned char getPlayerCount() const { return playerCount; }
|
||||
unsigned char getMaxPlayers() const { return maxPlayers; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue