mirror of
https://github.com/JustArchiNET/ArchiSteamFarm
synced 2024-11-10 15:14:41 +00:00
Code cleanup
This commit is contained in:
parent
184029caab
commit
21be4c5c72
6 changed files with 66 additions and 64 deletions
|
@ -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));
|
||||
|
|
|
@ -183,4 +183,5 @@ namespace ArchiSteamFarm {
|
|||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
*/
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"Enabled": false,
|
||||
"SteamLogin": null,
|
||||
"SteamPassword": null
|
||||
"Enabled": false,
|
||||
"SteamLogin": null,
|
||||
"SteamPassword": null
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<packages>
|
||||
<package id="Costura.Fody" version="2.0.0-beta0018" targetFramework="net461" developmentDependency="true" />
|
||||
<package id="Fody" version="1.30.0-beta01" targetFramework="net461" developmentDependency="true" />
|
||||
|
|
Loading…
Reference in a new issue