From 1ff4ed026e3c83b4db49ab4df70252d2c99f0a94 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sat, 21 Nov 2015 18:27:30 +0100 Subject: [PATCH] Prepare configs for future cards farm algorithms --- ArchiSteamFarm/Bot.cs | 4 ++++ ArchiSteamFarm/config/example.xml | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index a5443dae72f26..2204dcb9bed40 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -62,6 +62,7 @@ internal class Bot { internal string SteamParentalPIN { get; private set; } = "0"; internal ulong SteamMasterID { get; private set; } = 0; internal ulong SteamMasterClanID { get; private set; } = 0; + internal bool CardDropsRestricted { get; private set; } = false; internal bool ShutdownOnFarmingFinished { get; private set; } = false; internal HashSet Blacklist { get; private set; } = new HashSet { 303700, 335590, 368020 }; internal bool Statistics { get; private set; } = true; @@ -176,6 +177,9 @@ private bool ReadConfig() { case "SteamMasterClanID": SteamMasterClanID = ulong.Parse(value); break; + case "CardDropsRestricted": + CardDropsRestricted = bool.Parse(value); + break; case "ShutdownOnFarmingFinished": ShutdownOnFarmingFinished = bool.Parse(value); break; diff --git a/ArchiSteamFarm/config/example.xml b/ArchiSteamFarm/config/example.xml index 48c40526cdfbb..fd4612d595d7d 100644 --- a/ArchiSteamFarm/config/example.xml +++ b/ArchiSteamFarm/config/example.xml @@ -43,6 +43,12 @@ + + + + + +