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
card_node_function.h
Go to the documentation of this file.
1
#ifndef COCKATRICE_DECK_FUNCTION_H
2
#define COCKATRICE_DECK_FUNCTION_H
3
4
class
DecklistCardNode
;
5
class
InnerDecklistNode
;
6
10
namespace
CardNodeFunction
11
{
12
16
struct
SetProviderIdToPreferred
17
{
18
void
operator()
(
const
InnerDecklistNode
*node,
DecklistCardNode
*card)
const
;
19
};
20
24
struct
ClearPrintingData
25
{
26
void
operator()
(
const
InnerDecklistNode
*node,
DecklistCardNode
*card)
const
;
27
};
28
32
struct
ResolveProviderId
33
{
34
void
operator()
(
const
InnerDecklistNode
*node,
DecklistCardNode
*card)
const
;
35
};
36
37
}
// namespace CardNodeFunction
38
39
#endif
// COCKATRICE_DECK_FUNCTION_H
DecklistCardNode
Concrete node type representing an actual card entry in the deck.
Definition
deck_list_card_node.h:52
InnerDecklistNode
Represents a container node in the deck list hierarchy (zones and groupings).
Definition
inner_deck_list_node.h:73
CardNodeFunction
Definition
card_node_function.h:11
CardNodeFunction::ClearPrintingData
Clears all fields on the card related to the printing.
Definition
card_node_function.h:25
CardNodeFunction::ClearPrintingData::operator()
void operator()(const InnerDecklistNode *node, DecklistCardNode *card) const
Definition
card_node_function.cpp:28
CardNodeFunction::ResolveProviderId
Sets the providerId of the card based on its set name and collector number.
Definition
card_node_function.h:33
CardNodeFunction::ResolveProviderId::operator()
void operator()(const InnerDecklistNode *node, DecklistCardNode *card) const
Definition
card_node_function.cpp:36
CardNodeFunction::SetProviderIdToPreferred
Sets the providerId of the card to the preferred printing.
Definition
card_node_function.h:17
CardNodeFunction::SetProviderIdToPreferred::operator()
void operator()(const InnerDecklistNode *node, DecklistCardNode *card) const
Definition
card_node_function.cpp:14
cockatrice
src
interface
deck_loader
card_node_function.h
Generated by
1.18.0