mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-19 08:52:15 -07:00
new property
This commit is contained in:
parent
8a427955e7
commit
9ab5ebc84a
2 changed files with 7 additions and 0 deletions
|
|
@ -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();
|
||||||
|
}
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue