![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
Classes | |
| struct | SessionCommand |
Public Attributes | |
| optional string | path = 1 |
| to upload a new deck | |
| optional uint32 | deck_id = 2 |
| to replace an existing deck | |
| optional string | deck_list = 3 |
| optional bool | is_public = 4 |
| mark the deck public on upload (publish) | |
| reserved | |
| reserved | banner_card_name |
| reserved | banner_card_provider |
| reserved | tags |
| optional string | color_identity = 7 |
| reserved Command_DeckUpload::banner_card_name |
| reserved Command_DeckUpload::banner_card_provider |
| optional string Command_DeckUpload::color_identity = 7 |
| optional uint32 Command_DeckUpload::deck_id = 2 |
to replace an existing deck
| optional string Command_DeckUpload::deck_list = 3 |
| optional bool Command_DeckUpload::is_public = 4 |
mark the deck public on upload (publish)
| optional string Command_DeckUpload::path = 1 |
to upload a new deck
| Command_DeckUpload::reserved |
The server derives the banner card and tags from deck_list, so clients only need to send the color identity, which cannot be computed server-side.
| reserved Command_DeckUpload::tags |