Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
Command_CreateArrow Struct Reference
Collaboration diagram for Command_CreateArrow:
[legend]

Classes

struct  GameCommand

Public Attributes

optional sint32 start_player_id = 1 [default = -1]
optional string start_zone = 2
optional sint32 start_card_id = 3 [default = -1]
optional sint32 target_player_id = 4 [default = -1]
optional string target_zone = 5
optional sint32 target_card_id = 6 [default = -1]
optional color arrow_color = 7
optional sint32 delete_in_phase = 8

Detailed Description

Command to draw an arrow from cards to either other cards or a player

Member Data Documentation

◆ arrow_color

optional color Command_CreateArrow::arrow_color = 7

the color of the arrow

◆ delete_in_phase

optional sint32 Command_CreateArrow::delete_in_phase = 8

the phase that this arrow is deleted in, arrows are deleted when this or a later phase is activated and also when the phase moves back before the current phase or the turn is passed, when not set the arrow is deleted immediately when the phase is changed

◆ start_card_id

optional sint32 Command_CreateArrow::start_card_id = 3 [default = -1]

the id of the card that the arrow is drawn from

◆ start_player_id

optional sint32 Command_CreateArrow::start_player_id = 1 [default = -1]

the player that has the card the arrow is drawn from

◆ start_zone

optional string Command_CreateArrow::start_zone = 2

the zone that the card the arrow is drawn from is in

◆ target_card_id

optional sint32 Command_CreateArrow::target_card_id = 6 [default = -1]

the id of the card that the arrow is drawn to, the player will be targeted if this is absent

◆ target_player_id

optional sint32 Command_CreateArrow::target_player_id = 4 [default = -1]

the player that has the card the arrow is drawn to, or that the arrow is drawn to if not a card

◆ target_zone

optional string Command_CreateArrow::target_zone = 5

the zone that the card the arrow is drawn to is in, the player will be targeted if this is absent


The documentation for this struct was generated from the following file: