mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +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
|
// Names
|
||||||
INode? nameNode = statsNode?.SelectSingleNode("(.//div[@class='card_drop_info_body'])[last()]");
|
INode? nameNode = statsNode?.SelectSingleNode("(.//div[@class='card_drop_info_body'])[last()]");
|
||||||
|
|
||||||
|
|||||||
@@ -750,9 +750,10 @@ public sealed class BotConfig {
|
|||||||
SendOnFarmingFinished = 4,
|
SendOnFarmingFinished = 4,
|
||||||
FarmPriorityQueueOnly = 8,
|
FarmPriorityQueueOnly = 8,
|
||||||
SkipRefundableGames = 16,
|
SkipRefundableGames = 16,
|
||||||
EnableRiskyCardsDiscovery = 32,
|
SkipUnplayedGames = 32,
|
||||||
AutoSteamSaleEvent = 64,
|
EnableRiskyCardsDiscovery = 64,
|
||||||
All = FarmingPausedByDefault | ShutdownOnFarmingFinished | SendOnFarmingFinished | FarmPriorityQueueOnly | SkipRefundableGames | EnableRiskyCardsDiscovery | AutoSteamSaleEvent
|
AutoSteamSaleEvent = 128,
|
||||||
|
All = FarmingPausedByDefault | ShutdownOnFarmingFinished | SendOnFarmingFinished | FarmPriorityQueueOnly | SkipRefundableGames | SkipUnplayedGames | EnableRiskyCardsDiscovery | AutoSteamSaleEvent
|
||||||
}
|
}
|
||||||
|
|
||||||
[Flags]
|
[Flags]
|
||||||
|
|||||||
Reference in New Issue
Block a user