new property

This commit is contained in:
RickyRister 2025-01-02 01:58:35 -08:00
parent 8a427955e7
commit 9ab5ebc84a
2 changed files with 7 additions and 0 deletions

View file

@ -25,3 +25,8 @@ int DebugSettings::getLocalGamePlayerCount()
{ {
return getValue("playerCount", "localgame").toInt(); return getValue("playerCount", "localgame").toInt();
} }
QString DebugSettings::getDeckPathForPlayer(const QString &playerName)
{
return getValue(playerName, "localgame", "deck").toString();
}

View file

@ -15,6 +15,8 @@ public:
bool getLocalGameOnStartup(); bool getLocalGameOnStartup();
int getLocalGamePlayerCount(); int getLocalGamePlayerCount();
QString getDeckPathForPlayer(const QString &playerName);
}; };
#endif // DEBUG_SETTINGS_H #endif // DEBUG_SETTINGS_H