diff --git a/ArchiSteamFarm/ArchiHandler.cs b/ArchiSteamFarm/ArchiHandler.cs index 4b666419f..e24b9ca24 100644 --- a/ArchiSteamFarm/ArchiHandler.cs +++ b/ArchiSteamFarm/ArchiHandler.cs @@ -37,10 +37,10 @@ namespace ArchiSteamFarm { internal sealed class ArchiHandler : ClientMsgHandler { internal const byte MaxGamesPlayedConcurrently = 32; // This is limit introduced by Steam Network - internal DateTime LastPacketReceived { get; private set; } = DateTime.MinValue; - private readonly ArchiLogger ArchiLogger; + internal DateTime LastPacketReceived { get; private set; } = DateTime.MinValue; + internal ArchiHandler(ArchiLogger archiLogger) { if (archiLogger == null) { throw new ArgumentNullException(nameof(archiLogger)); diff --git a/ArchiSteamFarm/SteamSaleEvent.cs b/ArchiSteamFarm/SteamSaleEvent.cs index 4115c4559..823c8d315 100644 --- a/ArchiSteamFarm/SteamSaleEvent.cs +++ b/ArchiSteamFarm/SteamSaleEvent.cs @@ -183,4 +183,5 @@ namespace ArchiSteamFarm { } } } -*/ \ No newline at end of file +*/ + diff --git a/ArchiSteamFarm/config/ASF.json b/ArchiSteamFarm/config/ASF.json index 878d95966..e47294629 100644 --- a/ArchiSteamFarm/config/ASF.json +++ b/ArchiSteamFarm/config/ASF.json @@ -1,30 +1,30 @@ { - "AutoRestart": true, - "AutoUpdates": true, - "Blacklist": [ - 267420, - 303700, - 335590, - 368020, - 425280, - 480730, - 566020 - ], - "ConnectionTimeout": 60, - "CurrentCulture": null, - "Debug": false, - "FarmingDelay": 15, - "GiftsLimiterDelay": 1, - "Headless": false, - "IdleFarmingPeriod": 3, - "InventoryLimiterDelay": 3, - "LoginLimiterDelay": 10, - "MaxFarmingTime": 10, - "MaxTradeHoldDuration": 15, - "Statistics": true, - "SteamOwnerID": 0, - "SteamProtocol": 6, - "UpdateChannel": 1, - "WCFHost": "127.0.0.1", - "WCFPort": 1242 + "AutoRestart": true, + "AutoUpdates": true, + "Blacklist": [ + 267420, + 303700, + 335590, + 368020, + 425280, + 480730, + 566020 + ], + "ConnectionTimeout": 60, + "CurrentCulture": null, + "Debug": false, + "FarmingDelay": 15, + "GiftsLimiterDelay": 1, + "Headless": false, + "IdleFarmingPeriod": 3, + "InventoryLimiterDelay": 3, + "LoginLimiterDelay": 10, + "MaxFarmingTime": 10, + "MaxTradeHoldDuration": 15, + "Statistics": true, + "SteamOwnerID": 0, + "SteamProtocol": 6, + "UpdateChannel": 1, + "WCFHost": "127.0.0.1", + "WCFPort": 1242 } \ No newline at end of file diff --git a/ArchiSteamFarm/config/example.json b/ArchiSteamFarm/config/example.json index 79726ba61..131a76e34 100644 --- a/ArchiSteamFarm/config/example.json +++ b/ArchiSteamFarm/config/example.json @@ -1,32 +1,32 @@ { - "AcceptConfirmationsPeriod": 0, - "AcceptGifts": false, - "CardDropsRestricted": true, - "CustomGamePlayedWhileFarming": null, - "CustomGamePlayedWhileIdle": null, - "DismissInventoryNotifications": true, - "Enabled": false, - "FarmingOrder": 0, - "FarmOffline": false, - "GamesPlayedWhileIdle": [], - "HandleOfflineMessages": false, - "IsBotAccount": false, - "LootableTypes": [ - 1, - 3, - 5 - ], - "PasswordFormat": 0, - "Paused": false, - "RedeemingPreferences": 0, - "SendOnFarmingFinished": false, - "SendTradePeriod": 0, - "ShutdownOnFarmingFinished": false, - "SteamLogin": null, - "SteamMasterClanID": 0, - "SteamMasterID": 0, - "SteamParentalPIN": "0", - "SteamPassword": null, - "SteamTradeToken": null, - "TradingPreferences": 1 + "AcceptConfirmationsPeriod": 0, + "AcceptGifts": false, + "CardDropsRestricted": true, + "CustomGamePlayedWhileFarming": null, + "CustomGamePlayedWhileIdle": null, + "DismissInventoryNotifications": true, + "Enabled": false, + "FarmingOrder": 0, + "FarmOffline": false, + "GamesPlayedWhileIdle": [], + "HandleOfflineMessages": false, + "IsBotAccount": false, + "LootableTypes": [ + 1, + 3, + 5 + ], + "PasswordFormat": 0, + "Paused": false, + "RedeemingPreferences": 0, + "SendOnFarmingFinished": false, + "SendTradePeriod": 0, + "ShutdownOnFarmingFinished": false, + "SteamLogin": null, + "SteamMasterClanID": 0, + "SteamMasterID": 0, + "SteamParentalPIN": "0", + "SteamPassword": null, + "SteamTradeToken": null, + "TradingPreferences": 1 } diff --git a/ArchiSteamFarm/config/minimal.json b/ArchiSteamFarm/config/minimal.json index 0fbfec585..9699bdba5 100644 --- a/ArchiSteamFarm/config/minimal.json +++ b/ArchiSteamFarm/config/minimal.json @@ -1,5 +1,5 @@ { - "Enabled": false, - "SteamLogin": null, - "SteamPassword": null + "Enabled": false, + "SteamLogin": null, + "SteamPassword": null } diff --git a/ArchiSteamFarm/packages.config b/ArchiSteamFarm/packages.config index 258e54abe..46569aa62 100644 --- a/ArchiSteamFarm/packages.config +++ b/ArchiSteamFarm/packages.config @@ -1,4 +1,5 @@  +