forked from Strati/DeepDungeonDex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfiguration.cs
More file actions
28 lines (24 loc) · 809 Bytes
/
Configuration.cs
File metadata and controls
28 lines (24 loc) · 809 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
using Dalamud.Configuration;
using Dalamud.Plugin;
using Newtonsoft.Json;
namespace DeepDungeonDex
{
public class Configuration : IPluginConfiguration
{
public int Version { get; set; }
public bool IsClickthrough { get; set; } = false;
public float Opacity { get; set; } = 1.0f;
public bool HideRedVulns { get; set; } = false;
public bool HideBasedOnJob { get; set; } = false;
// Add any other properties or methods here.
[JsonIgnore] private DalamudPluginInterface pluginInterface;
public void Initialize(DalamudPluginInterface pluginInterface)
{
this.pluginInterface = pluginInterface;
}
public void Save()
{
this.pluginInterface.SavePluginConfig(this);
}
}
}