mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-24 18:34:49 -08:00
* [DeckLoader] Extract LoadedDeck struct * update usages * Move enum to separate namespace * format * format * format
11 lines
231 B
C++
11 lines
231 B
C++
#include "loaded_deck.h"
|
|
|
|
bool LoadedDeck::LoadInfo::isEmpty() const
|
|
{
|
|
return fileName.isEmpty() && remoteDeckId == NON_REMOTE_ID;
|
|
}
|
|
|
|
bool LoadedDeck::isEmpty() const
|
|
{
|
|
return deckList.isEmpty() && lastLoadInfo.isEmpty();
|
|
} |