Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
interface_game_settings_provider.h
Go to the documentation of this file.
1#ifndef COCKATRICE_INTERFACE_GAME_SETTINGS_PROVIDER_H
2#define COCKATRICE_INTERFACE_GAME_SETTINGS_PROVIDER_H
3
4#include <QString>
5
7{
8public:
9 virtual ~IGameSettingsProvider() = default;
10
11 [[nodiscard]] virtual QString getGameDescription() const = 0;
12 [[nodiscard]] virtual int getMaxPlayers() const = 0;
13 [[nodiscard]] virtual QString getGameTypes() const = 0;
14 [[nodiscard]] virtual bool getOnlyBuddies() const = 0;
15 [[nodiscard]] virtual bool getOnlyRegistered() const = 0;
16 [[nodiscard]] virtual bool getSpectatorsAllowed() const = 0;
17 [[nodiscard]] virtual bool getSpectatorsNeedPassword() const = 0;
18 [[nodiscard]] virtual bool getSpectatorsCanTalk() const = 0;
19 [[nodiscard]] virtual bool getSpectatorsCanSeeEverything() const = 0;
20 [[nodiscard]] virtual bool getCreateGameAsSpectator() const = 0;
21 [[nodiscard]] virtual int getDefaultStartingLifeTotal() const = 0;
22 [[nodiscard]] virtual bool getShareDecklistsOnLoad() const = 0;
23 [[nodiscard]] virtual bool getRememberGameSettings() const = 0;
24 [[nodiscard]] virtual bool getLocalGameRememberSettings() const = 0;
25 [[nodiscard]] virtual int getLocalGameMaxPlayers() const = 0;
26 [[nodiscard]] virtual int getLocalGameStartingLifeTotal() const = 0;
27};
28
29#endif // COCKATRICE_INTERFACE_GAME_SETTINGS_PROVIDER_H
Definition interface_game_settings_provider.h:7
virtual bool getOnlyRegistered() const =0
virtual ~IGameSettingsProvider()=default
virtual QString getGameTypes() const =0
virtual bool getShareDecklistsOnLoad() const =0
virtual bool getOnlyBuddies() const =0
virtual bool getCreateGameAsSpectator() const =0
virtual bool getLocalGameRememberSettings() const =0
virtual int getLocalGameMaxPlayers() const =0
virtual int getLocalGameStartingLifeTotal() const =0
virtual bool getRememberGameSettings() const =0
virtual bool getSpectatorsNeedPassword() const =0
virtual bool getSpectatorsCanTalk() const =0
virtual bool getSpectatorsCanSeeEverything() const =0
virtual int getMaxPlayers() const =0
virtual QString getGameDescription() const =0
virtual bool getSpectatorsAllowed() const =0
virtual int getDefaultStartingLifeTotal() const =0