mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-21 00:55:09 -07:00
19 lines
792 B
Protocol Buffer
19 lines
792 B
Protocol Buffer
syntax = "proto2";
|
|
import "session_commands.proto";
|
|
|
|
message Command_DeckUpload {
|
|
extend SessionCommand {
|
|
optional Command_DeckUpload ext = 1013;
|
|
}
|
|
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)
|
|
// Preview metadata computed by the uploading client (see ServerInfo_DeckStorage_File).
|
|
optional string banner_card_name = 5;
|
|
optional string banner_card_provider = 6;
|
|
optional string color_identity = 7;
|
|
// Comma-separated list of tag names associated with the deck, used to render
|
|
// and filter another user's public decks on the client.
|
|
optional string tags = 8;
|
|
}
|