mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-15 15:02:16 -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/response_draft_deck_invalid.proto
Normal file
16
common/pb/response_draft_deck_invalid.proto
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue