forked from TehCheat/HighlightedItems
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathSettings.cs
More file actions
67 lines (48 loc) · 2.91 KB
/
Settings.cs
File metadata and controls
67 lines (48 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
using System.Collections.Generic;
using System.Windows.Forms;
using ExileCore.Shared.Attributes;
using ExileCore.Shared.Interfaces;
using ExileCore.Shared.Nodes;
using SharpDX;
using Vector2 = System.Numerics.Vector2;
namespace HighlightedItems;
public class Settings : ISettings
{
[IgnoreMenu]
public bool[,] IgnoredCells { get; set; } = new bool[5, 12];
public ToggleNode Enable { get; set; } = new(true);
[Menu("Enable Inventory Dump Button")]
public ToggleNode DumpButtonEnable { get; set; } = new(true);
public ToggleNode ShowStackSizes { get; set; } = new(true);
[Menu("Show Stack Count Next to Stack Size")]
public ToggleNode ShowStackCountWithSize { get; set; } = new(true);
public HotkeyNode MoveToInventoryHotkey { get; set; } = new(Keys.F1);
public ToggleNode UseMoveToInventoryAsMoveToStashWhenNoHighlights { get; set; } = new(false);
public HotkeyNode MoveToStashHotkey { get; set; } = new(Keys.None);
public ToggleNode InvertSelection { get; set; } = new(false);
public ToggleNode ShowCustomFilterWindow { get; set; } = new(true);
public ToggleNode ResetCustomFilterOnPanelClose { get; set; } = new(true);
public ToggleNode UsePopupForFilterSelector { get; set; } = new(false);
public RangeNode<int> CustomFilterFrameThickness { get; set; } = new(2, 1, 20);
public ColorNode CustomFilterFrameColor { get; set; } = new(Color.Violet);
public RangeNode<float> CustomFilterBorderRounding { get; set; } = new(0, 0, 25);
public RangeNode<int> CustomFilterBorderDeflation { get; set; } = new(8, 0, 100);
public RangeNode<int> ExtraDelay { get; set; } = new(20, 0, 100);
[Menu("Use Thread.Sleep", "Is a little faster, but HUD will hang while clicking")]
public ToggleNode UseThreadSleep { get; set; } = new(false);
[Menu("Idle mouse delay", "Wait this long after the user lets go of the button and stops moving the mouse")]
public RangeNode<int> IdleMouseDelay { get; set; } = new(200, 0, 1000);
public ToggleNode CancelWithRightMouseButton { get; set; } = new(true);
public ToggleNode VerifyTargetInventoryIsOpened { get; set; } = new(true);
public ToggleNode VerifyButtonIsNotObstructed { get; set; } = new(true);
public ToggleNode UseCustomMoveToStashButtonPosition { get; set; } = new(false);
[ConditionalDisplay(nameof(UseCustomMoveToStashButtonPosition))]
public RangeNode<Vector2> CustomMoveToStashButtonPosition { get; set; } = new(Vector2.Zero, Vector2.Zero, Vector2.One * 6000);
public ToggleNode UseCustomMoveToInventoryButtonPosition { get; set; } = new(false);
[ConditionalDisplay(nameof(UseCustomMoveToInventoryButtonPosition))]
public RangeNode<Vector2> CustomMoveToInventoryButtonPosition { get; set; } = new(Vector2.Zero, Vector2.Zero, Vector2.One * 6000);
[IgnoreMenu]
public List<string> SavedFilters { get; set; } = [];
[IgnoreMenu]
public bool OpenSavedFilterList { get; set; } = true;
}