mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
Update cockatrice/src/interface/widgets/tabs/api/archidekt/api_response/card/archidekt_api_response_card.cpp
Co-authored-by: tooomm <tooomm@users.noreply.github.com>
This commit is contained in:
parent
a699c0b986
commit
18a77dd78b
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ void ArchidektApiResponseCard::fromJson(const QJsonObject &json)
|
||||||
|
|
||||||
flavor = json.value("flavor").toString();
|
flavor = json.value("flavor").toString();
|
||||||
//! \todo Parse games and options fields (not really important).
|
//! \todo Parse games and options fields (not really important).
|
||||||
|
// games = {""};
|
||||||
|
// 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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue