Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
GameConfig Struct Reference

#include <game_config.h>

Collaboration diagram for GameConfig:
[legend]

Public Attributes

ServerInfo_User creatorInfo
int gameId = -1
QString description
QString password
int maxPlayers = 2
QList< int > gameTypes
bool onlyBuddies = false
bool onlyRegistered = false
bool spectatorsAllowed = false
bool spectatorsNeedPassword = false
bool spectatorsCanTalk = true
bool spectatorsSeeEverything = true
int startingLifeTotal = 20
bool shareDecklistsOnLoad = true

Member Data Documentation

◆ creatorInfo

ServerInfo_User GameConfig::creatorInfo

◆ description

QString GameConfig::description

◆ gameId

int GameConfig::gameId = -1

◆ gameTypes

QList<int> GameConfig::gameTypes

◆ maxPlayers

int GameConfig::maxPlayers = 2

◆ onlyBuddies

bool GameConfig::onlyBuddies = false

◆ onlyRegistered

bool GameConfig::onlyRegistered = false

◆ password

QString GameConfig::password

◆ shareDecklistsOnLoad

bool GameConfig::shareDecklistsOnLoad = true

◆ spectatorsAllowed

bool GameConfig::spectatorsAllowed = false

◆ spectatorsCanTalk

bool GameConfig::spectatorsCanTalk = true

◆ spectatorsNeedPassword

bool GameConfig::spectatorsNeedPassword = false

◆ spectatorsSeeEverything

bool GameConfig::spectatorsSeeEverything = true

◆ startingLifeTotal

int GameConfig::startingLifeTotal = 20

The documentation for this struct was generated from the following file:
  • libcockatrice_network/libcockatrice/network/server/remote/game/game_config.h