mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 16:32:16 -07:00
new property
This commit is contained in:
parent
8a427955e7
commit
9ab5ebc84a
2 changed files with 7 additions and 0 deletions
|
|
@ -24,4 +24,9 @@ bool DebugSettings::getLocalGameOnStartup()
|
|||
int DebugSettings::getLocalGamePlayerCount()
|
||||
{
|
||||
return getValue("playerCount", "localgame").toInt();
|
||||
}
|
||||
|
||||
QString DebugSettings::getDeckPathForPlayer(const QString &playerName)
|
||||
{
|
||||
return getValue(playerName, "localgame", "deck").toString();
|
||||
}
|
||||
|
|
@ -15,6 +15,8 @@ public:
|
|||
|
||||
bool getLocalGameOnStartup();
|
||||
int getLocalGamePlayerCount();
|
||||
|
||||
QString getDeckPathForPlayer(const QString &playerName);
|
||||
};
|
||||
|
||||
#endif // DEBUG_SETTINGS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue