mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Closes #3126
Smartly putting it in the middle making breaking change, since nobody managed to reference this public API yet! \o/
This commit is contained in:
@@ -610,6 +610,11 @@ public sealed class CardsFarmer : IAsyncDisposable, IDisposable {
|
||||
}
|
||||
}
|
||||
|
||||
if ((hours <= 0.0F) && Bot.BotConfig.FarmingPreferences.HasFlag(BotConfig.EFarmingPreferences.SkipUnplayedGames)) {
|
||||
// User is skipping unplayed games, ignore this entry
|
||||
continue;
|
||||
}
|
||||
|
||||
// Names
|
||||
INode? nameNode = statsNode?.SelectSingleNode("(.//div[@class='card_drop_info_body'])[last()]");
|
||||
|
||||
|
||||
@@ -750,9 +750,10 @@ public sealed class BotConfig {
|
||||
SendOnFarmingFinished = 4,
|
||||
FarmPriorityQueueOnly = 8,
|
||||
SkipRefundableGames = 16,
|
||||
EnableRiskyCardsDiscovery = 32,
|
||||
AutoSteamSaleEvent = 64,
|
||||
All = FarmingPausedByDefault | ShutdownOnFarmingFinished | SendOnFarmingFinished | FarmPriorityQueueOnly | SkipRefundableGames | EnableRiskyCardsDiscovery | AutoSteamSaleEvent
|
||||
SkipUnplayedGames = 32,
|
||||
EnableRiskyCardsDiscovery = 64,
|
||||
AutoSteamSaleEvent = 128,
|
||||
All = FarmingPausedByDefault | ShutdownOnFarmingFinished | SendOnFarmingFinished | FarmPriorityQueueOnly | SkipRefundableGames | SkipUnplayedGames | EnableRiskyCardsDiscovery | AutoSteamSaleEvent
|
||||
}
|
||||
|
||||
[Flags]
|
||||
|
||||
Reference in New Issue
Block a user