- Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDevTreeSettings.cs
More file actions
Latest commit
44 lines (39 loc) · 1.57 KB
/
Copy pathDevTreeSettings.cs
File metadata and controls
44 lines (39 loc) · 1.57 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
usingSystem.Windows.Forms;
usingExileCore.Shared.Attributes;
usingExileCore.Shared.Interfaces;
usingExileCore.Shared.Nodes;
namespaceDevTree
{
publicclassDevSetting:ISettings
{
publicboolOpened=false;
publicDevSetting()
{
DebugNearestEnts=Keys.NumPad6;
DebugHoverItem=Keys.NumPad5;
NearestEntsRange=newRangeNode<int>(300,1,2000);
LimitEntriesDrawn=newToggleNode(true);
EntriesDrawLimit=newRangeNode<int>(500,1,5000);
Enable=newToggleNode(false);
LimitForCollection=newRangeNode<int>(500,2,5000);
}
[Menu("Toggle window",0)]
publicToggleNodeToggleWindow{get;set;}=newToggleNode(false);
[Menu("Toggle window key")]
publicHotkeyNodeToggleWindowKey{get;set;}=newHotkeyNode(Keys.NumPad9);
[Menu("Debug Nearest Ents")]
publicHotkeyNodeDebugNearestEnts{get;set;}
[Menu("Debug Hover Item")]
publicHotkeyNodeDebugHoverItem{get;set;}
[Menu("Nearest Ents Range")]
publicRangeNode<int>NearestEntsRange{get;set;}
[Menu("Limit for collections")]
publicRangeNode<int>LimitForCollection{get;set;}
[Menu("Limit Entries Drawn",0)]
publicToggleNodeLimitEntriesDrawn{get;set;}
[Menu("Entries Draw Limit",1,0)]
publicRangeNode<int>EntriesDrawLimit{get;set;}
publicToggleNodeEnable{get;set;}
publicboolToggleWindowState;//Just save the state
}
}