mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 21:40:00 -08:00
Add native Essence card database properties with legacy XML fallback
This commit is contained in:
parent
bba44e4b97
commit
75de1750a2
1 changed files with 5 additions and 0 deletions
|
|
@ -466,6 +466,11 @@ public:
|
||||||
/** @name Legacy/Convenience Property Accessors */ //@{
|
/** @name Legacy/Convenience Property Accessors */ //@{
|
||||||
[[nodiscard]] QString getCardType() const;
|
[[nodiscard]] QString getCardType() const;
|
||||||
void setCardType(const QString &value);
|
void setCardType(const QString &value);
|
||||||
|
// Native Continuumatrice card properties; older MTG getter names below
|
||||||
|
// remain compatibility wrappers used by the inherited model/analytics API.
|
||||||
|
[[nodiscard]] QString getEssenceCost() const;
|
||||||
|
[[nodiscard]] QString getEssenceTypes() const;
|
||||||
|
[[nodiscard]] QString getEssenceValue() const;
|
||||||
[[nodiscard]] QString getCmc() const;
|
[[nodiscard]] QString getCmc() const;
|
||||||
[[nodiscard]] QString getColors() const;
|
[[nodiscard]] QString getColors() const;
|
||||||
void setColors(const QString &value);
|
void setColors(const QString &value);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue