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