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
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 "
libcockatrice/utility/playmat_params.h
"
5
6
#include <
libcockatrice/interfaces/interface_interface_settings_provider.h
>
7
8
class
DeckList
;
9
template
<
typename
T>
class
QList
;
10
26
PlaymatInfo
resolveEffectivePlaymat
(
const
DeckList
&deck,
27
const
PlaymatInfo
&force,
28
const
QList<PlaymatInfo>
&fallbackList,
29
PlaymatFallbackMode
fallbackMode,
30
int
rotationIndex);
31
44
PlaymatInfo
resolvePlaymatForDeck
(
const
DeckList
&deck,
45
const
QList<PlaymatInfo>
&fallbackList,
46
PlaymatMode
mode,
47
PlaymatFallbackMode
fallbackBehavior,
48
int
rotationIndex);
49
50
#endif
// COCKATRICE_PLAYMAT_RESOLVER_H
DeckList
Represents a complete deck, including metadata, zones, cards, and sideboard plans.
Definition
deck_list.h:67
QList
Definition
remote_connection_controller.h:20
interface_interface_settings_provider.h
PlaymatMode
PlaymatMode
How the user-level playmat collection interacts with the deck-configured playmat.
Definition
interface_interface_settings_provider.h:23
PlaymatFallbackMode
PlaymatFallbackMode
How the user-level fallback playmat list is consulted when a deck has no playmat configured.
Definition
interface_interface_settings_provider.h:33
playmat_params.h
resolveEffectivePlaymat
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:11
resolvePlaymatForDeck
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:42
PlaymatInfo
A resolved playmat (card + positioning parameters).
Definition
playmat_params.h:42
libcockatrice_deck_list
libcockatrice
deck_list
playmat_resolver.h
Generated by
1.18.0