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

Classes

struct  RoomCommand

Public Attributes

optional string description = 1
optional string password = 2
optional uint32 max_players = 3
optional bool only_buddies = 4
optional bool only_registered = 5
optional bool spectators_allowed = 6
optional bool spectators_need_password = 7
optional bool spectators_can_talk = 8
optional bool spectators_see_everything = 9
repeated uint32 game_type_ids = 10
optional bool join_as_judge = 11
optional bool join_as_spectator = 12
optional uint32 starting_life_total = 13
optional bool share_decklists_on_load = 14

Detailed Description

Create a new game in the room

Member Data Documentation

◆ description

optional string Command_CreateGame::description = 1

game description shown in game list

◆ game_type_ids

repeated uint32 Command_CreateGame::game_type_ids = 10

selection of game types as presented in the server's room configuration

◆ join_as_judge

optional bool Command_CreateGame::join_as_judge = 11

the creator of the game will join it as a judge

◆ join_as_spectator

optional bool Command_CreateGame::join_as_spectator = 12

the creator of the game will join it as a spectator

◆ max_players

optional uint32 Command_CreateGame::max_players = 3

amount of players needed to play

◆ only_buddies

optional bool Command_CreateGame::only_buddies = 4

limits the game to only allowing users on the creator's buddy list to join

◆ only_registered

optional bool Command_CreateGame::only_registered = 5

limits the game to only allowing registered users

◆ password

optional string Command_CreateGame::password = 2

password users will have to provide to join the game

◆ share_decklists_on_load

optional bool Command_CreateGame::share_decklists_on_load = 14

share decklists with all players when selected

◆ spectators_allowed

optional bool Command_CreateGame::spectators_allowed = 6

allows non players to view the game as spectator

◆ spectators_can_talk

optional bool Command_CreateGame::spectators_can_talk = 8

allows spectators to use game say commands

◆ spectators_need_password

optional bool Command_CreateGame::spectators_need_password = 7

allows spectators to join without password if false

◆ spectators_see_everything

optional bool Command_CreateGame::spectators_see_everything = 9

allows spectators to see hands and hidden information

◆ starting_life_total

optional uint32 Command_CreateGame::starting_life_total = 13

set the starting life total


The documentation for this struct was generated from the following file: