protocol changes for drafting

This commit is contained in:
ebbit1q 2025-09-02 13:52:30 +02:00
parent 5381562a5e
commit c4026cd1ec
17 changed files with 212 additions and 2 deletions

View 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;
}