Cockatrice/cockatrice/src/settings/debug_settings.h
RickyRister 0402d4b853
add debug setting to load deck and ready on join (#5409)
* new property

* refactor deck loading to new method

* another new method

* works now
2025-01-02 17:08:51 -05:00

22 lines
507 B
C++

#ifndef DEBUG_SETTINGS_H
#define DEBUG_SETTINGS_H
#include "settings_manager.h"
class DebugSettings : public SettingsManager
{
Q_OBJECT
friend class SettingsCache;
explicit DebugSettings(const QString &settingPath, QObject *parent = nullptr);
DebugSettings(const DebugSettings & /*other*/);
public:
bool getShowCardId();
bool getLocalGameOnStartup();
int getLocalGamePlayerCount();
QString getDeckPathForPlayer(const QString &playerName);
};
#endif // DEBUG_SETTINGS_H