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 "response.proto";
// Sent in response to selecting a deck during a draft that does not meet the requirements. Clients are already aware of
// what the requirements are but the fields in this serve as an extra validation.
message Response_DraftDeckInvalid {
extend Response {
optional Response_DraftDeckInvalid ext = 1201;
}
// amount of cards that should be in the deck but aren't
optional uint32 missing_cards = 1;
// amount of cards that are in the deck but shouldn't
optional uint32 additional_cards = 2;
}