Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
game_config.h
Go to the documentation of this file.
1#ifndef GAME_CONFIG_H
2#define GAME_CONFIG_H
3
4#include <QList>
5#include <QString>
6#include <libcockatrice/protocol/pb/serverinfo_user.pb.h>
7
9{
11 int gameId = -1;
12 QString description;
13 QString password;
14 int maxPlayers = 2;
15 QList<int> gameTypes;
16 bool onlyBuddies = false;
17 bool onlyRegistered = false;
18 bool spectatorsAllowed = false;
20 bool spectatorsCanTalk = true;
24};
25
26#endif
Definition game_config.h:9
QList< int > gameTypes
Definition game_config.h:15
int startingLifeTotal
Definition game_config.h:22
QString description
Definition game_config.h:12
int gameId
Definition game_config.h:11
bool spectatorsNeedPassword
Definition game_config.h:19
bool shareDecklistsOnLoad
Definition game_config.h:23
bool onlyRegistered
Definition game_config.h:17
bool onlyBuddies
Definition game_config.h:16
QString password
Definition game_config.h:13
int maxPlayers
Definition game_config.h:14
ServerInfo_User creatorInfo
Definition game_config.h:10
bool spectatorsAllowed
Definition game_config.h:18
bool spectatorsSeeEverything
Definition game_config.h:21
bool spectatorsCanTalk
Definition game_config.h:20
Definition serverinfo_user.proto:2