Cockatrice 2026-01-14-Development-2.11.0-beta.46
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
LoadedDeck::LoadInfo Struct Reference

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

Detailed Description

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

Member Function Documentation

◆ isEmpty()

bool LoadedDeck::LoadInfo::isEmpty ( ) const

Member Data Documentation

◆ fileFormat

DeckFileFormat::Format LoadedDeck::LoadInfo::fileFormat = DeckFileFormat::Cockatrice

◆ fileName

QString LoadedDeck::LoadInfo::fileName = ""

◆ NON_REMOTE_ID

int LoadedDeck::LoadInfo::NON_REMOTE_ID = -1
staticconstexpr

◆ remoteDeckId

int LoadedDeck::LoadInfo::remoteDeckId = NON_REMOTE_ID

The documentation for this struct was generated from the following files: