-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSettings.cs
More file actions
34 lines (27 loc) · 914 Bytes
/
Copy pathSettings.cs
File metadata and controls
34 lines (27 loc) · 914 Bytes
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
using System.Net.Mime;
using System.Text.Json.Serialization;
using ExileCore.Shared.Attributes;
using ExileCore.Shared.Interfaces;
using ExileCore.Shared.Nodes;
namespace EssenceCorruptionHelper;
public class Settings : ISettings
{
public Settings()
{
Enable = new ToggleNode(true);
ToggleMeds = new ToggleNode(true);
AmountOfEssence = new RangeNode<int>(6, 0, 10);
ToggleAmount = new ToggleNode(true);
TextSize = new RangeNode<int>(3, 0, 10);
}
[Menu("Enable")]
public ToggleNode Enable { get; set; }
[Menu("Corrupt Meds? (Misery, envy, dread, scorn)")]
public ToggleNode ToggleMeds { get; set; }
[Menu("Corrupt X Amount ?")]
public ToggleNode ToggleAmount { get; set; }
[Menu("Amount: ")]
public RangeNode<int> AmountOfEssence { get; set; }
[Menu("Text Size: ")]
public RangeNode<int> TextSize { get; set; }
}