mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 03:28:49 -07:00
include a list of priorities for maincardtypes in oracle (#3663)
fix #3662
This commit is contained in:
parent
6d27631764
commit
eb4914d36f
2 changed files with 16 additions and 12 deletions
|
|
@ -89,10 +89,13 @@ class OracleImporter : public CardDatabase
|
|||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
const QStringList mainCardTypes = {"Planeswalker", "Creature", "Land", "Sorcery",
|
||||
"Instant", "Artifact", "Enchantment"};
|
||||
QList<SetToDownload> allSets;
|
||||
QVariantMap setsMap;
|
||||
QString dataDir;
|
||||
|
||||
QString getMainCardType(const QStringList &typeList);
|
||||
CardInfoPtr addCard(QString name,
|
||||
QString text,
|
||||
bool isToken,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue