mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
R# cleanup
This commit is contained in:
@@ -35,7 +35,12 @@ namespace ArchiSteamFarm {
|
||||
private const byte MinPersonaStateTTL = 8; // Minimum amount of hours we must wait before requesting persona state update
|
||||
private const string URL = "https://" + SharedInfo.StatisticsServer;
|
||||
|
||||
private static readonly HashSet<Steam.Asset.EType> AcceptedMatchableTypes = new HashSet<Steam.Asset.EType> { Steam.Asset.EType.Emoticon, Steam.Asset.EType.FoilTradingCard, Steam.Asset.EType.ProfileBackground, Steam.Asset.EType.TradingCard };
|
||||
private static readonly HashSet<Steam.Asset.EType> AcceptedMatchableTypes = new HashSet<Steam.Asset.EType> {
|
||||
Steam.Asset.EType.Emoticon,
|
||||
Steam.Asset.EType.FoilTradingCard,
|
||||
Steam.Asset.EType.ProfileBackground,
|
||||
Steam.Asset.EType.TradingCard
|
||||
};
|
||||
|
||||
private readonly Bot Bot;
|
||||
private readonly SemaphoreSlim RequestsSemaphore = new SemaphoreSlim(1, 1);
|
||||
@@ -174,4 +179,4 @@ namespace ArchiSteamFarm {
|
||||
return await Bot.ArchiWebHandler.HasValidApiKey().ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user