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); } }