mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
protocol changes for drafting
This commit is contained in:
parent
5381562a5e
commit
c4026cd1ec
17 changed files with 212 additions and 2 deletions
27
common/pb/event_draft_pick_select.proto
Normal file
27
common/pb/event_draft_pick_select.proto
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
syntax = "proto2";
|
||||
import "game_event.proto";
|
||||
|
||||
// Sent by the server to confirm a player's picks that round
|
||||
message Event_DraftPickSelect {
|
||||
extend GameEvent {
|
||||
optional Event_DraftPickSelect ext = 2023;
|
||||
}
|
||||
|
||||
// Index in the sequence of pick selections made
|
||||
optional sint32 selection_index = 1 [default = -1];
|
||||
|
||||
// Amount of cards picked
|
||||
optional sint32 picked_cards = 2 [default = -1];
|
||||
|
||||
// Amount of cards picked to destroy
|
||||
optional sint32 burned_cards = 3 [default = -1];
|
||||
|
||||
// Amount of cards placed into the pack
|
||||
optional sint32 returned_cards = 4 [default = -1];
|
||||
|
||||
// Amount of cards in the pack after picks
|
||||
optional sint32 remaining_cards = 5 [default = -1];
|
||||
|
||||
// Next player receiving the pack
|
||||
optional sint32 passed_to_user_id = 6 [default = -1];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue