Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
Loading...
Searching...
No Matches
edhrec_api_response_card_prices.h
Go to the documentation of this file.
1
6
7
#ifndef EDHREC_COMMANDER_API_RESPONSE_CARD_PRICES_H
8
#define EDHREC_COMMANDER_API_RESPONSE_CARD_PRICES_H
9
10
#include <QJsonObject>
11
12
class
CardPrices
13
{
14
public
:
15
// Constructor
16
CardPrices
() =
default
;
17
18
// Parse prices from JSON
19
void
fromJson
(
const
QJsonObject &json);
20
void
debugPrint
()
const
;
21
22
// Getter methods for card prices
23
[[nodiscard]]
const
QJsonObject &
getCardhoarder
()
const
24
{
25
return
cardhoarder
;
26
}
27
[[nodiscard]]
const
QJsonObject &
getCardkingdom
()
const
28
{
29
return
cardkingdom
;
30
}
31
[[nodiscard]]
const
QJsonObject &
getCardmarket
()
const
32
{
33
return
cardmarket
;
34
}
35
[[nodiscard]]
const
QJsonObject &
getFace2face
()
const
36
{
37
return
face2face
;
38
}
39
[[nodiscard]]
const
QJsonObject &
getManapool
()
const
40
{
41
return
manapool
;
42
}
43
[[nodiscard]]
const
QJsonObject &
getMtgstocks
()
const
44
{
45
return
mtgstocks
;
46
}
47
[[nodiscard]]
const
QJsonObject &
getScg
()
const
48
{
49
return
scg
;
50
}
51
[[nodiscard]]
const
QJsonObject &
getTcgl
()
const
52
{
53
return
tcgl
;
54
}
55
[[nodiscard]]
const
QJsonObject &
getTcgplayer
()
const
56
{
57
return
tcgplayer
;
58
}
59
60
private
:
61
QJsonObject
cardhoarder
;
62
QJsonObject
cardkingdom
;
63
QJsonObject
cardmarket
;
64
QJsonObject
face2face
;
65
QJsonObject
manapool
;
66
QJsonObject
mtgstocks
;
67
QJsonObject
scg
;
68
QJsonObject
tcgl
;
69
QJsonObject
tcgplayer
;
70
};
71
72
#endif
// EDHREC_COMMANDER_API_RESPONSE_CARD_PRICES_H
CardPrices::getManapool
const QJsonObject & getManapool() const
Definition
edhrec_api_response_card_prices.h:39
CardPrices::cardkingdom
QJsonObject cardkingdom
Definition
edhrec_api_response_card_prices.h:62
CardPrices::mtgstocks
QJsonObject mtgstocks
Definition
edhrec_api_response_card_prices.h:66
CardPrices::getCardkingdom
const QJsonObject & getCardkingdom() const
Definition
edhrec_api_response_card_prices.h:27
CardPrices::getTcgplayer
const QJsonObject & getTcgplayer() const
Definition
edhrec_api_response_card_prices.h:55
CardPrices::face2face
QJsonObject face2face
Definition
edhrec_api_response_card_prices.h:64
CardPrices::fromJson
void fromJson(const QJsonObject &json)
Definition
edhrec_api_response_card_prices.cpp:7
CardPrices::tcgl
QJsonObject tcgl
Definition
edhrec_api_response_card_prices.h:68
CardPrices::getCardhoarder
const QJsonObject & getCardhoarder() const
Definition
edhrec_api_response_card_prices.h:23
CardPrices::getScg
const QJsonObject & getScg() const
Definition
edhrec_api_response_card_prices.h:47
CardPrices::getTcgl
const QJsonObject & getTcgl() const
Definition
edhrec_api_response_card_prices.h:51
CardPrices::getMtgstocks
const QJsonObject & getMtgstocks() const
Definition
edhrec_api_response_card_prices.h:43
CardPrices::cardhoarder
QJsonObject cardhoarder
Definition
edhrec_api_response_card_prices.h:61
CardPrices::manapool
QJsonObject manapool
Definition
edhrec_api_response_card_prices.h:65
CardPrices::tcgplayer
QJsonObject tcgplayer
Definition
edhrec_api_response_card_prices.h:69
CardPrices::debugPrint
void debugPrint() const
Definition
edhrec_api_response_card_prices.cpp:21
CardPrices::scg
QJsonObject scg
Definition
edhrec_api_response_card_prices.h:67
CardPrices::CardPrices
CardPrices()=default
CardPrices::cardmarket
QJsonObject cardmarket
Definition
edhrec_api_response_card_prices.h:63
CardPrices::getFace2face
const QJsonObject & getFace2face() const
Definition
edhrec_api_response_card_prices.h:35
CardPrices::getCardmarket
const QJsonObject & getCardmarket() const
Definition
edhrec_api_response_card_prices.h:31
cockatrice
src
interface
widgets
tabs
api
edhrec
api_response
card_prices
edhrec_api_response_card_prices.h
Generated by
1.18.0