Cockatrice
2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Toggle main menu visibility
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
6
class
CardDatabaseQuerier
;
7
class
DeckList
;
8
18
QString
getDeckColorIdentity
(
const
DeckList
&deck,
const
CardDatabaseQuerier
*
db
);
19
20
#endif
// COCKATRICE_DECK_COLOR_IDENTITY_H
CardDatabaseQuerier
Provides lookup and convenience functions for querying cards and their printings.
Definition
card_database_querier.h:29
DeckList
Represents a complete deck, including metadata, zones, cards, and sideboard plans.
Definition
deck_list.h:67
db
CardDatabase * db
getDeckColorIdentity
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
cockatrice
src
interface
widgets
cards
additional_info
deck_color_identity.h
Generated by
1.18.0