Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
oracleimporter.cpp File Reference
Include dependency graph for oracleimporter.cpp:

Functions

static CardSet::Priority getSetPriority (const QString &setType, const QString &shortName)
static QString getMainCardType (const QStringList &typeList)
static void sortAndReduceColors (QString &colors)
static QString getStringPropertyFromMap (const QVariantMap &card, const QString &propertyName)

Function Documentation

◆ getMainCardType()

QString getMainCardType ( const QStringList & typeList)
static
Here is the caller graph for this function:

◆ getSetPriority()

CardSet::Priority getSetPriority ( const QString & setType,
const QString & shortName )
static
Here is the caller graph for this function:

◆ getStringPropertyFromMap()

QString getStringPropertyFromMap ( const QVariantMap & card,
const QString & propertyName )
static
Here is the caller graph for this function:

◆ sortAndReduceColors()

void sortAndReduceColors ( QString & colors)
static

Sorts and deduplicates the color chars in the string by WUBRG order.

Parameters
colorsThe string containing the color chars. Will be modified in-place
Here is the caller graph for this function: