25 lines
588 B
C#
25 lines
588 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|