Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
playmat_resolver.h
Go to the documentation of this file.
1#ifndef COCKATRICE_PLAYMAT_RESOLVER_H
2#define COCKATRICE_PLAYMAT_RESOLVER_H
3
4#include "deck_list.h"
5
7
24 const PlaymatInfo &force,
25 const QList<PlaymatInfo> &fallbackList,
26 PlaymatFallbackMode fallbackMode,
27 int rotationIndex);
28
42 const QList<PlaymatInfo> &fallbackList,
43 PlaymatMode mode,
44 PlaymatFallbackMode fallbackBehavior,
45 int rotationIndex);
46
47#endif // COCKATRICE_PLAYMAT_RESOLVER_H
Represents a complete deck, including metadata, zones, cards, and sideboard plans.
Definition deck_list.h:63
Defines the DeckList class, which manages a full deck structure including cards, zones,...
PlaymatMode
How the user-level playmat collection interacts with the deck-configured playmat.
Definition interface_interface_settings_provider.h:23
PlaymatFallbackMode
How the user-level fallback playmat list is consulted when a deck has no playmat configured.
Definition interface_interface_settings_provider.h:33
PlaymatInfo resolveEffectivePlaymat(const DeckList &deck, const PlaymatInfo &force, const QList< PlaymatInfo > &fallbackList, PlaymatFallbackMode fallbackMode, int rotationIndex)
Resolves the effective playmat for a deck per the resolution chain: force override > deck-configured ...
Definition playmat_resolver.cpp:5
PlaymatInfo resolvePlaymatForDeck(const DeckList &deck, const QList< PlaymatInfo > &fallbackList, PlaymatMode mode, PlaymatFallbackMode fallbackBehavior, int rotationIndex)
Resolves the playmat to display for a deck according to the user's collection mode (PlaymatMode),...
Definition playmat_resolver.cpp:36
A resolved playmat (card + positioning parameters).
Definition playmat_params.h:42