Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
commander_spellbook_deck_request.h
Go to the documentation of this file.
1#ifndef COCKATRICE_COMMANDER_SPELLBOOK_DECK_REQUEST_H
2#define COCKATRICE_COMMANDER_SPELLBOOK_DECK_REQUEST_H
4
5#include <QJsonObject>
6#include <QList>
7
8class DeckList;
9
11{
12 static CommanderSpellbookDeckRequest fromJson(const QJsonObject &json);
14 QJsonObject toJson() const;
15
18};
19
20#endif // COCKATRICE_COMMANDER_SPELLBOOK_DECK_REQUEST_H
Represents a complete deck, including metadata, zones, cards, and sideboard plans.
Definition deck_list.h:67
Definition remote_connection_controller.h:20
Definition commander_spellbook_deck_request.h:11
QJsonObject toJson() const
Definition commander_spellbook_deck_request.cpp:51
QList< CardInDeckRequest > commanderDeck
Definition commander_spellbook_deck_request.h:17
static CommanderSpellbookDeckRequest fromJson(const QJsonObject &json)
Definition commander_spellbook_deck_request.cpp:14
QList< CardInDeckRequest > mainDeck
Definition commander_spellbook_deck_request.h:16
static CommanderSpellbookDeckRequest fromDeckList(const DeckList &deck)
Definition commander_spellbook_deck_request.cpp:71