forked from ravand1990/HighlightedItems
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSettings.cs
More file actions
44 lines (33 loc) · 1.59 KB
/
Settings.cs
File metadata and controls
44 lines (33 loc) · 1.59 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
using System.Windows.Forms;
using ExileCore.Shared.Attributes;
using ExileCore.Shared.Interfaces;
using ExileCore.Shared.Nodes;
namespace HighlightedItems
{
public class Settings : ISettings
{
public int[,] IgnoredCells { get; set; } = new int[5, 12] {
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1}
};
public ToggleNode Enable { get; set; } = new(true);
[Menu("Enable Inventory Dump Button")]
public ToggleNode DumpButtonEnable { get; set; } = new(true);
[Menu("Show Stack Sizes")]
public ToggleNode ShowStackSizes { get; set; } = new(true);
[Menu("Show Stack Count Next to Stack Size")]
public ToggleNode ShowStackCountWithSize { get; set; } = new(true);
[Menu("Hotkey")]
public HotkeyNode HotKey { get; set; } = new(Keys.F1);
[Menu("ExtraDelay")]
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 ToggleNode(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 RangeNode<int>(200, 0, 1000);
public ToggleNode CancelWithRightMouseButton { get; set; } = new ToggleNode(true);
}
}