Information about where the deck was loaded from. More...
#include <loaded_deck.h>
Public Member Functions | |
| bool | isEmpty () const |
Public Attributes | |
| QString | fileName = "" |
| DeckFileFormat::Format | fileFormat = DeckFileFormat::Cockatrice |
| int | remoteDeckId = NON_REMOTE_ID |
Static Public Attributes | |
| static constexpr int | NON_REMOTE_ID = -1 |
Information about where the deck was loaded from.
For local decks, the remoteDeckId field will always be -1. For remote decks, fileName will be empty and fileFormat will always be CockatriceFormat
| bool LoadedDeck::LoadInfo::isEmpty | ( | ) | const |
| DeckFileFormat::Format LoadedDeck::LoadInfo::fileFormat = DeckFileFormat::Cockatrice |
| QString LoadedDeck::LoadInfo::fileName = "" |
|
staticconstexpr |
| int LoadedDeck::LoadInfo::remoteDeckId = NON_REMOTE_ID |