mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 17:44:01 -07:00
Leave them default I guess
This commit is contained in:
parent
234f527c8b
commit
4e31384ff1
5 changed files with 8 additions and 8 deletions
|
|
@ -22,15 +22,15 @@ void ArchidektApiResponseCard::fromJson(const QJsonObject &json)
|
||||||
|
|
||||||
flavor = json.value("flavor").toString();
|
flavor = json.value("flavor").toString();
|
||||||
// TODO but not really important
|
// TODO but not really important
|
||||||
//games = {""};
|
// games = {""};
|
||||||
//options = {""};
|
// options = {""};
|
||||||
scryfallImageHash = json.value("scryfallImageHash").toString();
|
scryfallImageHash = json.value("scryfallImageHash").toString();
|
||||||
oracleCard = json.value("oracleCard").toObject();
|
oracleCard = json.value("oracleCard").toObject();
|
||||||
owned = json.value("owned").toInt();
|
owned = json.value("owned").toInt();
|
||||||
pinnedStatus = json.value("pinnedStatus").toInt();
|
pinnedStatus = json.value("pinnedStatus").toInt();
|
||||||
rarity = json.value("rarity").toString();
|
rarity = json.value("rarity").toString();
|
||||||
// TODO but not really important
|
// TODO but not really important
|
||||||
//globalCategories = {""};
|
// globalCategories = {""};
|
||||||
}
|
}
|
||||||
|
|
||||||
void ArchidektApiResponseCard::debugPrint() const
|
void ArchidektApiResponseCard::debugPrint() const
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ void ArchidektApiResponseCardEntry::fromJson(const QJsonObject &json)
|
||||||
modifier = json.value("modifier").toString();
|
modifier = json.value("modifier").toString();
|
||||||
quantity = json.value("quantity").toInt();
|
quantity = json.value("quantity").toInt();
|
||||||
customCmc = json.value("customCmc").toInt();
|
customCmc = json.value("customCmc").toInt();
|
||||||
//removedCategories = {""};
|
// removedCategories = {""};
|
||||||
createdAt = json.value("createdAt").toString();
|
createdAt = json.value("createdAt").toString();
|
||||||
updatedAt = json.value("updatedAt").toString();
|
updatedAt = json.value("updatedAt").toString();
|
||||||
deletedAt = json.value("deletedAt").toString();
|
deletedAt = json.value("deletedAt").toString();
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ void ArchidektApiResponseDeck::fromJson(const QJsonObject &json)
|
||||||
categories.append(categoryEntry);
|
categories.append(categoryEntry);
|
||||||
}
|
}
|
||||||
|
|
||||||
//deckTags = {""};
|
// deckTags = {""};
|
||||||
playgroupDeckUrl = json.value("playgroupDeckUrl").toString();
|
playgroupDeckUrl = json.value("playgroupDeckUrl").toString();
|
||||||
cardPackage = json.value("cardPackage").toString();
|
cardPackage = json.value("cardPackage").toString();
|
||||||
|
|
||||||
|
|
@ -45,7 +45,7 @@ void ArchidektApiResponseDeck::fromJson(const QJsonObject &json)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO but not really important
|
// TODO but not really important
|
||||||
//customCards = {""};
|
// customCards = {""};
|
||||||
}
|
}
|
||||||
|
|
||||||
void ArchidektApiResponseDeck::debugPrint() const
|
void ArchidektApiResponseDeck::debugPrint() const
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ void ArchidektApiResponseDeckListingContainer::fromJson(const QJsonObject &json)
|
||||||
game = json.value("game").toString();
|
game = json.value("game").toString();
|
||||||
hasDescription = json.value("hasDescription").toBool();
|
hasDescription = json.value("hasDescription").toBool();
|
||||||
// TODO
|
// TODO
|
||||||
//tags = {""};
|
// tags = {""};
|
||||||
parentFolderId = json.value("parentFolderId").toInt();
|
parentFolderId = json.value("parentFolderId").toInt();
|
||||||
owner.fromJson(json.value("owner").toObject());
|
owner.fromJson(json.value("owner").toObject());
|
||||||
cardPackage = json.value("cardPackage").toString();
|
cardPackage = json.value("cardPackage").toString();
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ void ArchidektApiResponseDeckOwner::fromJson(const QJsonObject &json)
|
||||||
moderator = json.value("moderator").toBool();
|
moderator = json.value("moderator").toBool();
|
||||||
pledgeLevel = json.value("pledgeLevel").toInt();
|
pledgeLevel = json.value("pledgeLevel").toInt();
|
||||||
// TODO but not really important
|
// TODO but not really important
|
||||||
//roles = {""};
|
// roles = {""};
|
||||||
}
|
}
|
||||||
|
|
||||||
void ArchidektApiResponseDeckOwner::debugPrint() const
|
void ArchidektApiResponseDeckOwner::debugPrint() const
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue