Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { ID string `json:"id"` CardType string `json:"cardType"` CardSubType string `json:"cardSubType"` Name string `json:"name"` Requirements []string `json:"requirements"` Icon string `json:"icon"` Image string `json:"image"` Commander string `json:"commander"` Faction string `json:"faction"` Keywords []string `json:"keywords"` Pips int `json:"pips"` Orders string `json:"orders"` Weapon *Weapon `json:"weapon"` Text string `json:"text"` }
type Unit ¶
type Unit struct { ID string `json:"id"` Name string `json:"name"` CardType string `json:"cardType"` CardSubType string `json:"cardSubType"` Icon string `json:"icon"` Image string `json:"image"` Requirements []string `json:"requirements"` Unique bool `json:"unique"` Cost int `json:"cost"` Rank string `json:"rank"` Faction string `json:"faction"` Slots []string `json:"slots"` Keywords []string `json:"keywords"` CommandCards []*Command `json:"commandCards"` Wounds int `json:"wounds"` Courage *int `json:"courage"` Resilience *int `json:"resilience"` Defense string `json:"defense"` Entourage []string `json:"entourage"` Surge *Surge `json:"surge"` Weapons []*Weapon `json:"weapons"` }
type Upgrade ¶
type Upgrade struct { ID string `json:"id"` CardType string `json:"cardType"` CardSubType string `json:"cardSubType"` Name string `json:"name"` Requirements []string `json:"requirements"` Icon string `json:"icon"` Image string `json:"image"` Unique bool `json:"unique"` Cost int `json:"cost"` Keywords []string `json:"keywords"` Exhaust bool `json:"exhaust"` Weapon *Weapon `json:"weapon"` UnitTypeExclusions []string `json:"unitTypeExclusions"` Text string `json:"text"` }
Click to show internal directories.
Click to hide internal directories.