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; }
|
|
|
|
|
|
2022-03-30 01:07:02 +00:00
|
|
|
|
public float BackgroundAlpha = 1;
|
|
|
|
|
public bool ShowOutsideFirmamentAndDiadem;
|
|
|
|
|
public bool LockWindow;
|
|
|
|
|
|
2022-03-29 23:22:32 +00:00
|
|
|
|
// 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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|