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