Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
inner_deck_list_node.h File Reference

Defines the InnerDecklistNode class, which represents structural nodes (zones and groups) in the deck tree. More...

Include dependency graph for inner_deck_list_node.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  InnerDecklistNode
 Represents a container node in the deck list hierarchy (zones and groupings). More...

Macros

#define DECK_ZONE_MAIN   "main"
 Constant for the "main" deck zone name.
#define DECK_ZONE_SIDE   "side"
 Constant for the "sideboard" zone name.
#define DECK_ZONE_TOKENS   "tokens"
 Constant for the "tokens" zone name.

Detailed Description

Defines the InnerDecklistNode class, which represents structural nodes (zones and groups) in the deck tree.

The deck tree consists of:

  • A root node (invisible).
  • Zones (Main, Sideboard, Tokens).
  • Optional grouping nodes (e.g., by type, color, or mana cost).
  • Card nodes as leaves.

InnerDecklistNode implements the zone/group nodes and provides storage and management of child nodes.

Macro Definition Documentation

◆ DECK_ZONE_MAIN

#define DECK_ZONE_MAIN   "main"

Constant for the "main" deck zone name.

◆ DECK_ZONE_SIDE

#define DECK_ZONE_SIDE   "side"

Constant for the "sideboard" zone name.

◆ DECK_ZONE_TOKENS

#define DECK_ZONE_TOKENS   "tokens"

Constant for the "tokens" zone name.