-
Notifications
You must be signed in to change notification settings - Fork 6
/
DevTreeSettings.cs
44 lines (39 loc) · 1.57 KB
/
DevTreeSettings.cs
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 DevTree
{
public class DevSetting : ISettings
{
public bool Opened = false;
public DevSetting()
{
DebugNearestEnts = Keys.NumPad6;
DebugHoverItem = Keys.NumPad5;
NearestEntsRange = new RangeNode<int>(300, 1, 2000);
LimitEntriesDrawn = new ToggleNode(true);
EntriesDrawLimit = new RangeNode<int>(500, 1, 5000);
Enable = new ToggleNode(false);
LimitForCollection = new RangeNode<int>(500, 2, 5000);
}
[Menu("Toggle window", 0)]
public ToggleNode ToggleWindow { get; set; } = new ToggleNode(false);
[Menu("Toggle window key")]
public HotkeyNode ToggleWindowKey { get; set; } = new HotkeyNode(Keys.NumPad9);
[Menu("Debug Nearest Ents")]
public HotkeyNode DebugNearestEnts { get; set; }
[Menu("Debug Hover Item")]
public HotkeyNode DebugHoverItem { get; set; }
[Menu("Nearest Ents Range")]
public RangeNode<int> NearestEntsRange { get; set; }
[Menu("Limit for collections")]
public RangeNode<int> LimitForCollection { get; set; }
[Menu("Limit Entries Drawn", 0)]
public ToggleNode LimitEntriesDrawn { get; set; }
[Menu("Entries Draw Limit", 1, 0)]
public RangeNode<int> EntriesDrawLimit { get; set; }
public ToggleNode Enable { get; set; }
public bool ToggleWindowState;//Just save the state
}
}