![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
Classes | |
| struct | GameCommand |
Public Attributes | |
| 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] |
Command to move an amount of cards from one zone to another index/coordinate or another zone
| optional ListOfCardsToMove Command_MoveCard::cards_to_move = 3 |
List of the cards and their new properties
| optional bool Command_MoveCard::is_reversed = 8 [default = false] |
Inverts the x coordinate to apply from the end of the target zone instead of the start
| optional sint32 Command_MoveCard::start_player_id = 1 [default = -1] |
The player the zone the cards are in belongs to
| optional string Command_MoveCard::start_zone = 2 |
The zone the cards start in
| optional sint32 Command_MoveCard::target_player_id = 4 [default = -1] |
The player the zone the cards will be moved to belongs to
| optional string Command_MoveCard::target_zone = 5 |
The zone the cards will be moved to
| optional sint32 Command_MoveCard::x = 6 [default = -1] |
New x coordinate of the first card in the list
| optional sint32 Command_MoveCard::y = 7 [default = -1] |
New y coordinate of the first card in the list