![]() |
Cockatrice 2026-03-05-Development-2.11.0-beta.54
A virtual tabletop for multiplayer card games
|
#include "card_picture_to_load.h"#include "../../client/settings/cache_settings.h"#include <QCoreApplication>#include <QDate>#include <QRegularExpression>#include <QUrl>#include <algorithm>#include <libcockatrice/card/set/card_set_comparator.h>#include <libcockatrice/interfaces/noop_card_set_priority_controller.h>Functions | |
| static PrintingInfo | findPrintingForSet (const ExactCard &card, const QString &setName) |
| static int | parse (const QString &urlTemplate, const QString &propType, const QString &cardName, const QString &setName, std::function< QString(const QString &)> getProperty, QMap< QString, QString > &transformMap) |
|
static |
Finds the PrintingInfo corresponding to the exactCards's card name that belongs to a given set and has the exactCards's providerId. If the set name is in the CardInfo, but no printings in that set match the card's providerId, then the first PrintingInfo for the set is returned.
This method only exists to maintain existing behavior. TODO: check if going through all sets is still necessary after the ExactCard refactor.
| card | The card to look in |
| setName | The set's short name |
|
static |