Files
Cockatrice/common/pb/command_move_card.proto
Zach H 6078dd092a Support viewing the bottom X cards of library (#5410)
* Get cardIds to update properly in bottom view (#5414)

* Get bottom view to update properly when card is inserted into known portion (#5415)

---------

Co-authored-by: RickyRister <42636155+RickyRister@users.noreply.github.com>
2025-01-05 21:17:18 -05:00

27 lines
756 B
Protocol Buffer

syntax = "proto2";
import "game_commands.proto";
message CardToMove {
optional sint32 card_id = 1 [default = -1];
optional bool face_down = 2;
optional string pt = 3;
optional bool tapped = 4;
}
message ListOfCardsToMove {
repeated CardToMove card = 1;
}
message Command_MoveCard {
extend GameCommand {
optional Command_MoveCard ext = 1027;
}
optional sint32 start_player_id = 1 [default = -1];
optional string start_zone = 2;
optional ListOfCardsToMove cards_to_move = 3;
optional sint32 target_player_id = 4 [default = -1];
optional string target_zone = 5;
optional sint32 x = 6 [default = -1];
optional sint32 y = 7 [default = -1];
optional bool is_reversed = 8 [default = false];
}