![]() |
Cockatrice 2026-06-01-Development-3.1.0-beta.3
A virtual tabletop for multiplayer card games
|
The possible game filter configs. More...
#include <game_filter_configs.h>
Public Member Functions | |
| bool | operator== (const GameFilterConfigs &) const =default |
| bool | isDefault () const |
| Checks if this config has exactly the default values. | |
Public Attributes | |
| bool | hideBuddiesOnlyGames = false |
| bool | hideIgnoredUserGames = false |
| bool | hideFullGames = false |
| bool | hideGamesThatStarted = false |
| bool | hidePasswordProtectedGames = false |
| bool | hideNotBuddyCreatedGames = false |
| bool | hideOpenDecklistGames = false |
| QString | gameNameFilter = "" |
| QStringList | creatorNameFilters = {} |
| QSet< int > | gameTypeFilter = {} |
| int | maxPlayersFilterMin = DEFAULT_MAX_PLAYERS_MIN |
| int | maxPlayersFilterMax = DEFAULT_MAX_PLAYERS_MAX |
| QTime | maxGameAge = {} |
| bool | showOnlyIfSpectatorsCanWatch = false |
| bool | showSpectatorPasswordProtected = false |
| bool | showOnlyIfSpectatorsCanChat = false |
| bool | showOnlyIfSpectatorsCanSeeHands = false |
Static Public Attributes | |
| static constexpr int | DEFAULT_MAX_PLAYERS_MIN = 1 |
| static constexpr int | DEFAULT_MAX_PLAYERS_MAX = 99 |
The possible game filter configs.
| bool GameFilterConfigs::isDefault | ( | ) | const |
Checks if this config has exactly the default values.
|
default |
| QStringList GameFilterConfigs::creatorNameFilters = {} |
|
staticconstexpr |
|
staticconstexpr |
| QString GameFilterConfigs::gameNameFilter = "" |
| QSet<int> GameFilterConfigs::gameTypeFilter = {} |
| bool GameFilterConfigs::hideBuddiesOnlyGames = false |
| bool GameFilterConfigs::hideFullGames = false |
| bool GameFilterConfigs::hideGamesThatStarted = false |
| bool GameFilterConfigs::hideIgnoredUserGames = false |
| bool GameFilterConfigs::hideNotBuddyCreatedGames = false |
| bool GameFilterConfigs::hideOpenDecklistGames = false |
| bool GameFilterConfigs::hidePasswordProtectedGames = false |
| QTime GameFilterConfigs::maxGameAge = {} |
| int GameFilterConfigs::maxPlayersFilterMax = DEFAULT_MAX_PLAYERS_MAX |
| int GameFilterConfigs::maxPlayersFilterMin = DEFAULT_MAX_PLAYERS_MIN |
| bool GameFilterConfigs::showOnlyIfSpectatorsCanChat = false |
| bool GameFilterConfigs::showOnlyIfSpectatorsCanSeeHands = false |
| bool GameFilterConfigs::showOnlyIfSpectatorsCanWatch = false |
| bool GameFilterConfigs::showSpectatorPasswordProtected = false |