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_deck_api_response.h
Go to the documentation of this file.
1
6
7
#ifndef EDHREC_DECK_API_RESPONSE_H
8
#define EDHREC_DECK_API_RESPONSE_H
9
10
#include "
libcockatrice/deck_list/deck_list.h
"
11
12
#include <QJsonArray>
13
14
class
EdhrecDeckApiResponse
15
{
16
public
:
17
// Constructor
18
EdhrecDeckApiResponse
() =
default
;
19
20
// Parse deck-related data from JSON
21
void
fromJson
(
const
QJsonArray &json);
22
23
// Debug method for logging
24
void
debugPrint
()
const
;
25
26
DeckList
deck
;
27
};
28
29
#endif
// EDHREC_DECK_API_RESPONSE_H
DeckList
Represents a complete deck, including metadata, zones, cards, and sideboard plans.
Definition
deck_list.h:67
EdhrecDeckApiResponse::deck
DeckList deck
Definition
edhrec_deck_api_response.h:26
EdhrecDeckApiResponse::EdhrecDeckApiResponse
EdhrecDeckApiResponse()=default
EdhrecDeckApiResponse::debugPrint
void debugPrint() const
Definition
edhrec_deck_api_response.cpp:24
EdhrecDeckApiResponse::fromJson
void fromJson(const QJsonArray &json)
Definition
edhrec_deck_api_response.cpp:13
deck_list.h
Defines the DeckList class, which manages a full deck structure including cards, zones,...
cockatrice
src
interface
widgets
tabs
api
edhrec
api_response
average_deck
edhrec_deck_api_response.h
Generated by
1.18.0