mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Define native Identity Attack Armour Health with legacy card field fallbacks
This commit is contained in:
parent
1d9b8f5565
commit
44c0e1fef7
1 changed files with 7 additions and 0 deletions
|
|
@ -477,6 +477,13 @@ public:
|
||||||
[[nodiscard]] QString getLoyalty() const;
|
[[nodiscard]] QString getLoyalty() const;
|
||||||
[[nodiscard]] QString getMainCardType() const;
|
[[nodiscard]] QString getMainCardType() const;
|
||||||
[[nodiscard]] QString getManaCost() const;
|
[[nodiscard]] QString getManaCost() const;
|
||||||
|
// Native static card-definition stats and identity. The database exporter
|
||||||
|
// writes identity/attack/armour/health, while older XML keys are readable.
|
||||||
|
[[nodiscard]] QString getIdentity() const;
|
||||||
|
[[nodiscard]] QString getAttack() const;
|
||||||
|
[[nodiscard]] QString getArmour() const;
|
||||||
|
[[nodiscard]] QString getHealth() const;
|
||||||
|
[[nodiscard]] QString getAtkHp() const;
|
||||||
[[nodiscard]] QString getPowTough() const;
|
[[nodiscard]] QString getPowTough() const;
|
||||||
void setPowTough(const QString &value);
|
void setPowTough(const QString &value);
|
||||||
//@}
|
//@}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue