Add CustomGamePlayedWhileFarming

Also make it possible for CustomGamePlayedWhileIdle and GamesPlayedWhileIdle to coexist
This commit is contained in:
JustArchi
2016-07-12 04:40:56 +02:00
parent 17b00a90e1
commit de013850bc
6 changed files with 26 additions and 34 deletions

View File

@@ -103,11 +103,14 @@ namespace ArchiSteamFarm {
[JsonProperty(Required = Required.DisallowNull)]
internal byte AcceptConfirmationsPeriod { get; private set; } = 0;
[JsonProperty]
internal string CustomGamePlayedWhileFarming { get; private set; } = null;
[JsonProperty]
internal string CustomGamePlayedWhileIdle { get; private set; } = null;
[JsonProperty(Required = Required.DisallowNull)]
internal HashSet<uint> GamesPlayedWhileIdle { get; private set; } = new HashSet<uint> { 0 };
internal HashSet<uint> GamesPlayedWhileIdle { get; private set; } = new HashSet<uint>();
internal static BotConfig Load(string filePath) {