DP-VoidBox/VoidBox/Configuration.cs
2024-03-02 01:31:18 +01:00

27 lines
524 B
C#

using Dalamud.Configuration;
using Dalamud.Plugin;
using System;
namespace VoidBox;
[Serializable]
public class Configuration : IPluginConfiguration
{
public int Version { get; set; } = 0;
public bool IsEnabled = true;
[NonSerialized]
private DalamudPluginInterface? pluginInterface;
internal void Initialize(DalamudPluginInterface pluginInterface)
{
this.pluginInterface = pluginInterface;
}
public void Save()
{
pluginInterface!.SavePluginConfig(this);
}
}