mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 06:52:15 -07:00
protocol changes for drafting
This commit is contained in:
parent
5381562a5e
commit
c4026cd1ec
17 changed files with 212 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
syntax = "proto2";
|
||||
import "game_event.proto";
|
||||
import "serverinfo_player.proto";
|
||||
import "draft_options.proto";
|
||||
|
||||
// Signals that the game state has changed.
|
||||
// If a field is present in this message, it will overwrite the client's game state.
|
||||
|
|
@ -10,7 +11,7 @@ message Event_GameStateChanged {
|
|||
optional Event_GameStateChanged ext = 1005;
|
||||
}
|
||||
|
||||
// the list of players. Players contain their zones which contain all cards in the game
|
||||
// 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
|
||||
|
|
@ -24,4 +25,7 @@ message Event_GameStateChanged {
|
|||
|
||||
// the amount of seconds since the game started
|
||||
optional uint32 seconds_elapsed = 5;
|
||||
|
||||
// the options for the draft if this is a draft game
|
||||
optional Draft_Options options = 6;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue