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
16
common/pb/event_draft_pack.proto
Normal file
16
common/pb/event_draft_pack.proto
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
syntax = "proto2";
|
||||
import "game_event.proto";
|
||||
import "serverinfo_card.proto";
|
||||
|
||||
// Sent out by the server when a new pack is available, implicitly signals the start of the round timer
|
||||
message Event_DraftPack {
|
||||
extend GameEvent {
|
||||
optional Event_DraftPack ext = 2022;
|
||||
}
|
||||
|
||||
// Index in the sequence of pick selections made
|
||||
optional sint32 selection_index = 1 [default = -1];
|
||||
|
||||
// sequence of cards in the pack by index
|
||||
repeated ServerInfo_Card cards = 2;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue