Cockatrice 2026-01-14-Development-2.11.0-beta.46
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
loaded_deck.h
Go to the documentation of this file.
1#ifndef COCKATRICE_LOADED_DECK_H
2#define COCKATRICE_LOADED_DECK_H
3
4#include "deck_file_format.h"
6
7#include <QString>
8
14{
15
22 struct LoadInfo
23 {
24 static constexpr int NON_REMOTE_ID = -1;
25
26 QString fileName = "";
29
30 bool isEmpty() const;
31 };
32
35
36 bool isEmpty() const;
37};
38
39#endif // COCKATRICE_LOADED_DECK_H
Represents a complete deck, including metadata, zones, cards, and sideboard plans.
Definition deck_list.h:63
Defines the DeckList class, which manages a full deck structure including cards, zones,...
Format
Definition deck_file_format.h:12
@ Cockatrice
Definition deck_file_format.h:23
Information about where the deck was loaded from.
Definition loaded_deck.h:23
static constexpr int NON_REMOTE_ID
Definition loaded_deck.h:24
bool isEmpty() const
Definition loaded_deck.cpp:3
QString fileName
Definition loaded_deck.h:26
DeckFileFormat::Format fileFormat
Definition loaded_deck.h:27
int remoteDeckId
Definition loaded_deck.h:28
Represents a deck that was loaded from somewhere. Contains the DeckList itself, as well as info about...
Definition loaded_deck.h:14
DeckList deckList
The decklist itself.
Definition loaded_deck.h:33
LoadInfo lastLoadInfo
info about where the deck was loaded from
Definition loaded_deck.h:34
bool isEmpty() const
Definition loaded_deck.cpp:8