mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
copy over comments
This commit is contained in:
parent
97b5e9d890
commit
ccca83a699
11 changed files with 203 additions and 0 deletions
|
|
@ -2,13 +2,25 @@ syntax = "proto2";
|
|||
import "game_event.proto";
|
||||
import "serverinfo_player.proto";
|
||||
|
||||
// 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
|
||||
message Event_GameStateChanged {
|
||||
extend GameEvent {
|
||||
optional Event_GameStateChanged ext = 1005;
|
||||
}
|
||||
|
||||
// the list of players, players contain their zones which contain all cards in the game
|
||||
repeated ServerInfo_Player player_list = 1;
|
||||
|
||||
// if the game has started
|
||||
optional bool game_started = 2;
|
||||
|
||||
// the player who is currently holding the turn
|
||||
optional sint32 active_player_id = 3;
|
||||
|
||||
// the current phase
|
||||
optional sint32 active_phase = 4;
|
||||
|
||||
// the amount of seconds since the game started
|
||||
optional uint32 seconds_elapsed = 5;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue