Cockatrice 2026-01-14-Development-2.11.0-beta.46
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
card_node_function.h
Go to the documentation of this file.
1#ifndef COCKATRICE_DECK_FUNCTION_H
2#define COCKATRICE_DECK_FUNCTION_H
3
6
11{
12
17{
18 void operator()(const InnerDecklistNode *node, DecklistCardNode *card) const;
19};
20
25{
26 void operator()(const InnerDecklistNode *node, DecklistCardNode *card) const;
27};
28
33{
34 void operator()(const InnerDecklistNode *node, DecklistCardNode *card) const;
35};
36
37} // namespace CardNodeFunction
38
39#endif // COCKATRICE_DECK_FUNCTION_H
Concrete node type representing an actual card entry in the deck.
Definition deck_list_card_node.h:48
Represents a container node in the deck list hierarchy (zones and groupings).
Definition inner_deck_list_node.h:62
Definition card_node_function.h:11
Clears all fields on the card related to the printing.
Definition card_node_function.h:25
void operator()(const InnerDecklistNode *node, DecklistCardNode *card) const
Definition card_node_function.cpp:20
Sets the providerId of the card based on its set name and collector number.
Definition card_node_function.h:33
void operator()(const InnerDecklistNode *node, DecklistCardNode *card) const
Definition card_node_function.cpp:28
Sets the providerId of the card to the preferred printing.
Definition card_node_function.h:17
void operator()(const InnerDecklistNode *node, DecklistCardNode *card) const
Definition card_node_function.cpp:7