mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Closes #412
!*all commands are out - since we already have reserved 'ASF' botName, use this for targetting all bots in the process. Also first parts of #445
This commit is contained in:
@@ -98,6 +98,10 @@ namespace ConfigGenerator {
|
||||
[JsonProperty(Required = Required.DisallowNull)]
|
||||
public byte MaxTradeHoldDuration { get; set; } = 15;
|
||||
|
||||
[LocalizedCategory("Performance")]
|
||||
[JsonProperty(Required = Required.DisallowNull)]
|
||||
public EOptimizationMode OptimizationMode { get; set; } = EOptimizationMode.Balanced;
|
||||
|
||||
[JsonProperty(Required = Required.DisallowNull)]
|
||||
public bool Statistics { get; set; } = true;
|
||||
|
||||
@@ -206,6 +210,12 @@ namespace ConfigGenerator {
|
||||
Logging.LogGenericWarning(string.Format(CGStrings.WarningConfigPropertyModified, nameof(WCFPort), WCFPort));
|
||||
}
|
||||
|
||||
internal enum EOptimizationMode : byte {
|
||||
Balanced,
|
||||
MaxPerformance,
|
||||
MinMemoryUsage
|
||||
}
|
||||
|
||||
internal enum EUpdateChannel : byte {
|
||||
None,
|
||||
Stable,
|
||||
|
||||
Reference in New Issue
Block a user