![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
Classes | |
| struct | GameEvent |
Public Attributes | |
| repeated ServerInfo_Player | player_list = 1 |
| optional bool | game_started = 2 |
| optional sint32 | active_player_id = 3 |
| optional sint32 | active_phase = 4 |
| optional uint32 | seconds_elapsed = 5 |
Signals that the game state has changed. If a field is present in this message, it will overwrite the client's game state. Also used to provide the entire game state when joining a game.
| optional sint32 Event_GameStateChanged::active_phase = 4 |
the current phase
| optional sint32 Event_GameStateChanged::active_player_id = 3 |
the player who is currently holding the turn
| optional bool Event_GameStateChanged::game_started = 2 |
if the game has started
| repeated ServerInfo_Player Event_GameStateChanged::player_list = 1 |
the list of players. Players contain their zones which contain all cards in the game
| optional uint32 Event_GameStateChanged::seconds_elapsed = 5 |
the amount of seconds since the game started