Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
commander_spellbook_bracket_explainer.h
Go to the documentation of this file.
1#ifndef COCKATRICE_COMMANDER_SPELLBOOK_BRACKET_EXPLAINER_H
2#define COCKATRICE_COMMANDER_SPELLBOOK_BRACKET_EXPLAINER_H
4
6{
7inline const char *CommanderSpellbookBracketNames = QT_TR_NOOP("CommanderSpellbook");
8inline const char *OfficialCommanderBracketNames = QT_TR_NOOP("Official (approximate)");
9inline const char *Explainer = QT_TR_NOOP(
10 "The bracket system combines both objective data, as well as subjective play experience to estimate a "
11 "bracket for a deck.\nCommanderSpellbook's estimation is algorithmical, which means that it can only operate "
12 "on the objective data, not the subjective intent. \nThey have chosen to represent this by defining their "
13 "own bracket system which matches their algorithm.\n"
14 "This custom bracket system maps loosely to the standard system. \nYou may choose to use these mapped "
15 "standardized names if these are more familiar to you, however, you should keep in mind that these are just "
16 "rough estimations.\n\nAlways consider the subjective factors of the bracket system when determing a deck's "
17 "final bracket!");
18} // namespace CommanderBracketNames
19
21{
22 QString title;
23 QStringList bulletPoints;
24};
25
27{
28 QString bracket;
29 QList<BracketExplanationSection> sections;
30
31 bool isEmpty() const
32 {
33 return sections.isEmpty();
34 }
35};
36
38{
39public:
41};
42
43#endif // COCKATRICE_COMMANDER_SPELLBOOK_BRACKET_EXPLAINER_H
Definition commander_spellbook_bracket_explainer.h:38
static BracketExplanation explain(const EstimateBracketResult &result)
Definition commander_spellbook_bracket_explainer.cpp:22
Definition commander_spellbook_bracket_explainer.h:6
const char * Explainer
Definition commander_spellbook_bracket_explainer.h:9
const char * OfficialCommanderBracketNames
Definition commander_spellbook_bracket_explainer.h:8
const char * CommanderSpellbookBracketNames
Definition commander_spellbook_bracket_explainer.h:7
Definition commander_spellbook_bracket_explainer.h:21
QStringList bulletPoints
Definition commander_spellbook_bracket_explainer.h:23
QString title
Definition commander_spellbook_bracket_explainer.h:22
Definition commander_spellbook_bracket_explainer.h:27
QString bracket
Definition commander_spellbook_bracket_explainer.h:28
bool isEmpty() const
Definition commander_spellbook_bracket_explainer.h:31
QList< BracketExplanationSection > sections
Definition commander_spellbook_bracket_explainer.h:29
Definition commander_spellbook_estimate_bracket_result.h:11