work on well of souls and yolo detection
This commit is contained in:
parent
3456e0d62a
commit
40d30115bf
41 changed files with 3031 additions and 148 deletions
|
|
@ -19,6 +19,7 @@ public partial class SettingsViewModel : ObservableObject
|
|||
[ObservableProperty] private decimal? _waitForMoreItemsMs = 20000;
|
||||
[ObservableProperty] private decimal? _betweenTradesDelayMs = 5000;
|
||||
[ObservableProperty] private bool _headless = true;
|
||||
[ObservableProperty] private bool _showHudDebug;
|
||||
[ObservableProperty] private bool _isSaved;
|
||||
[ObservableProperty] private string _calibrationStatus = "";
|
||||
[ObservableProperty] private string _stashCalibratedAt = "";
|
||||
|
|
@ -44,6 +45,7 @@ public partial class SettingsViewModel : ObservableObject
|
|||
WaitForMoreItemsMs = s.WaitForMoreItemsMs;
|
||||
BetweenTradesDelayMs = s.BetweenTradesDelayMs;
|
||||
Headless = s.Headless;
|
||||
ShowHudDebug = s.ShowHudDebug;
|
||||
}
|
||||
|
||||
private void LoadTabs()
|
||||
|
|
@ -94,6 +96,7 @@ public partial class SettingsViewModel : ObservableObject
|
|||
s.WaitForMoreItemsMs = (int)(WaitForMoreItemsMs ?? 20000);
|
||||
s.BetweenTradesDelayMs = (int)(BetweenTradesDelayMs ?? 5000);
|
||||
s.Headless = Headless;
|
||||
s.ShowHudDebug = ShowHudDebug;
|
||||
});
|
||||
|
||||
IsSaved = true;
|
||||
|
|
@ -206,4 +209,5 @@ public partial class SettingsViewModel : ObservableObject
|
|||
partial void OnWaitForMoreItemsMsChanged(decimal? value) => IsSaved = false;
|
||||
partial void OnBetweenTradesDelayMsChanged(decimal? value) => IsSaved = false;
|
||||
partial void OnHeadlessChanged(bool value) => IsSaved = false;
|
||||
partial void OnShowHudDebugChanged(bool value) => IsSaved = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue