Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
deck_color_identity.h
Go to the documentation of this file.
1#ifndef COCKATRICE_DECK_COLOR_IDENTITY_H
2#define COCKATRICE_DECK_COLOR_IDENTITY_H
3
4#include <QString>
5
7class DeckList;
8
18QString getDeckColorIdentity(const DeckList &deck, const CardDatabaseQuerier *db);
19
20#endif // COCKATRICE_DECK_COLOR_IDENTITY_H
Provides lookup and convenience functions for querying cards and their printings.
Definition card_database_querier.h:29
Represents a complete deck, including metadata, zones, cards, and sideboard plans.
Definition deck_list.h:67
CardDatabase * db
QString getDeckColorIdentity(const DeckList &deck, const CardDatabaseQuerier *db)
Computes the color identity of a deck (e.g. "WUBRG") from the color symbols of all cards in the main ...
Definition deck_color_identity.cpp:13