forked from vadash/AutoOpen
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSettings.cs
More file actions
65 lines (49 loc) · 1.88 KB
/
Settings.cs
File metadata and controls
65 lines (49 loc) · 1.88 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
using System.Windows.Forms;
using ExileCore.Shared.Attributes;
using ExileCore.Shared.Interfaces;
using ExileCore.Shared.Nodes;
namespace AutoOpen
{
public class Settings : ISettings
{
public Settings()
{
Enable = new ToggleNode(false);
Speed = new RangeNode<int>(1, 0, 100);
BlockInput = new ToggleNode(true);
doors = new ToggleNode(true);
switches = new ToggleNode(true);
chests = new ToggleNode(true);
shrines = new ToggleNode(true);
doorDistance = new RangeNode<int>(150, 0, 300);
switchDistance = new RangeNode<int>(150, 0, 300);
chestDistance = new RangeNode<int>(150, 0, 300);
toggleEntityKey = new HotkeyNode(Keys.V);
shrineDistance = new RangeNode<int>(150, 0, 300);
}
[Menu("Enable")]
public ToggleNode Enable { get; set; }
[Menu("Blacklist|Whitelist Key")]
public HotkeyNode toggleEntityKey { get; set; }
[Menu("Block User Input")]
public ToggleNode BlockInput { get; set; }
[Menu("Click Delay")]
public RangeNode<int> Speed { get; set; }
[Menu("Doors", 1000)]
public ToggleNode doors { get; set; }
[Menu("Distance", 1001, 1000)]
public RangeNode<int> doorDistance { get; set; }
[Menu("Switches/Levers", 2000)]
public ToggleNode switches { get; set; }
[Menu("Distance", 2001, 2000)]
public RangeNode<int> switchDistance { get; set; }
[Menu("Chests", 3000)]
public ToggleNode chests { get; set; }
[Menu("Distance", 3002, 3000)]
public RangeNode<int> chestDistance { get; set; }
[Menu("Shrines", 4000)]
public ToggleNode shrines { get; set; }
[Menu("Distance", 4001, 4000)]
public RangeNode<int> shrineDistance { get; set; }
}
}