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
19
common/pb/command_draft_pick_select.proto
Normal file
19
common/pb/command_draft_pick_select.proto
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
syntax = "proto2";
|
||||
import "game_commands.proto";
|
||||
|
||||
// Confirms the previously sent actions to the server and signals the next pack.
|
||||
message Command_DraftPickSelect {
|
||||
extend GameCommand {
|
||||
optional Command_DraftPickSelect ext = 1036;
|
||||
}
|
||||
|
||||
// Index in the sequence of pick selections made, important to keep track of in case the pack is invalidated with a
|
||||
// new one by the server during transit.
|
||||
optional sint32 selection_index = 1 [default = -1];
|
||||
|
||||
// Confirms that the player desires to leave an unexpected amount of cards in the pack
|
||||
optional bool is_overpicking = 2;
|
||||
|
||||
// Confirms that the player desires to place cards into the pack
|
||||
optional bool is_returning = 3;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue