![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
The card language and matching mode searches run against. More...
#include <card_localization.h>
Public Member Functions | |
| bool | isEnglishOnly () const |
| Whether only the English card data is searched. | |
| bool | operator== (const CardSearchLanguage &) const =default |
| bool | operator!= (const CardSearchLanguage &) const =default |
Public Attributes | |
| QString | language |
| Card language code (e.g. "de"); empty means the English fallback. | |
| SearchLanguageMode | mode = SearchLanguageMode::English |
| How the language participates in the search. | |
The card language and matching mode searches run against.
Bundles the card language code configured in the settings with the SearchLanguageMode, so entry points take one value instead of two related parameters.
|
inlinenodiscard |
Whether only the English card data is searched.
|
default |
|
default |
| QString CardSearchLanguage::language |
Card language code (e.g. "de"); empty means the English fallback.
| SearchLanguageMode CardSearchLanguage::mode = SearchLanguageMode::English |
How the language participates in the search.