1
0
DiademCalculator/Source/Configuration.cs

25 lines
588 B
C#
Raw Normal View History

2022-03-29 23:22:32 +00:00
using Dalamud.Configuration;
using Dalamud.Plugin;
using Newtonsoft.Json;
namespace DiademCalculator
{
public class Configuration : IPluginConfiguration
{
public int Version { get; set; }
// 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);
}
}
}