mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2025-12-21 08:48:38 +00:00
Move FarmingOrder a bit higher and add missing example.json property
In general we should prioritize properties according to the ones user will want to modify first, but as it's unpredictable, we can only guess and do it more or less
This commit is contained in:
@@ -74,6 +74,9 @@ namespace ArchiSteamFarm {
|
|||||||
[JsonProperty(Required = Required.DisallowNull)]
|
[JsonProperty(Required = Required.DisallowNull)]
|
||||||
internal readonly bool DismissInventoryNotifications = true;
|
internal readonly bool DismissInventoryNotifications = true;
|
||||||
|
|
||||||
|
[JsonProperty(Required = Required.DisallowNull)]
|
||||||
|
internal readonly EFarmingOrder FarmingOrder = EFarmingOrder.Unordered;
|
||||||
|
|
||||||
[JsonProperty(Required = Required.DisallowNull)]
|
[JsonProperty(Required = Required.DisallowNull)]
|
||||||
internal readonly bool FarmOffline = false;
|
internal readonly bool FarmOffline = false;
|
||||||
|
|
||||||
@@ -119,9 +122,6 @@ namespace ArchiSteamFarm {
|
|||||||
[JsonProperty(Required = Required.DisallowNull)]
|
[JsonProperty(Required = Required.DisallowNull)]
|
||||||
internal readonly HashSet<uint> GamesPlayedWhileIdle = new HashSet<uint>();
|
internal readonly HashSet<uint> GamesPlayedWhileIdle = new HashSet<uint>();
|
||||||
|
|
||||||
[JsonProperty(Required = Required.DisallowNull)]
|
|
||||||
internal readonly EFarmingOrder FarmingOrder = EFarmingOrder.Unordered;
|
|
||||||
|
|
||||||
internal static BotConfig Load(string filePath) {
|
internal static BotConfig Load(string filePath) {
|
||||||
if (string.IsNullOrEmpty(filePath)) {
|
if (string.IsNullOrEmpty(filePath)) {
|
||||||
Logging.LogNullError(nameof(filePath));
|
Logging.LogNullError(nameof(filePath));
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
"SteamMasterClanID": 0,
|
"SteamMasterClanID": 0,
|
||||||
"CardDropsRestricted": false,
|
"CardDropsRestricted": false,
|
||||||
"DismissInventoryNotifications": true,
|
"DismissInventoryNotifications": true,
|
||||||
|
"FarmingOrder": 0,
|
||||||
"FarmOffline": false,
|
"FarmOffline": false,
|
||||||
"HandleOfflineMessages": false,
|
"HandleOfflineMessages": false,
|
||||||
"AcceptGifts": false,
|
"AcceptGifts": false,
|
||||||
|
|||||||
@@ -81,6 +81,9 @@ namespace ConfigGenerator {
|
|||||||
[JsonProperty(Required = Required.DisallowNull)]
|
[JsonProperty(Required = Required.DisallowNull)]
|
||||||
public bool DismissInventoryNotifications { get; set; } = true;
|
public bool DismissInventoryNotifications { get; set; } = true;
|
||||||
|
|
||||||
|
[JsonProperty(Required = Required.DisallowNull)]
|
||||||
|
public EFarmingOrder FarmingOrder { get; set; } = EFarmingOrder.Unordered;
|
||||||
|
|
||||||
[JsonProperty(Required = Required.DisallowNull)]
|
[JsonProperty(Required = Required.DisallowNull)]
|
||||||
public bool FarmOffline { get; set; } = false;
|
public bool FarmOffline { get; set; } = false;
|
||||||
|
|
||||||
@@ -126,9 +129,6 @@ namespace ConfigGenerator {
|
|||||||
[JsonProperty(Required = Required.DisallowNull)]
|
[JsonProperty(Required = Required.DisallowNull)]
|
||||||
public List<uint> GamesPlayedWhileIdle { get; set; } = new List<uint>();
|
public List<uint> GamesPlayedWhileIdle { get; set; } = new List<uint>();
|
||||||
|
|
||||||
[JsonProperty(Required = Required.DisallowNull)]
|
|
||||||
public EFarmingOrder FarmingOrder { get; set; } = EFarmingOrder.Unordered;
|
|
||||||
|
|
||||||
internal static BotConfig Load(string filePath) {
|
internal static BotConfig Load(string filePath) {
|
||||||
if (string.IsNullOrEmpty(filePath)) {
|
if (string.IsNullOrEmpty(filePath)) {
|
||||||
Logging.LogNullError(nameof(filePath));
|
Logging.LogNullError(nameof(filePath));
|
||||||
|
|||||||
Reference in New Issue
Block a user