using System; using System.Collections.Generic; using Dalamud.Configuration; using Dalamud.Plugin; namespace HUD_Manager.Configuration { [Serializable] public class Config : IPluginConfiguration { public int Version { get; set; } = 2; private DalamudPluginInterface Interface { get; set; } = null!; public bool FirstRun { get; set; } = true; public bool UnderstandsRisks { get; set; } public bool ImportPositions { get; set; } public bool SwapsEnabled { get; set; } public HudSlot StagingSlot { get; set; } = HudSlot.Four; public Dictionary Layouts { get; } = new(); public List HudConditionMatches { get; } = new(); public void Initialize(DalamudPluginInterface pluginInterface) { this.Interface = pluginInterface; } public void Save() { this.Interface.SavePluginConfig(this); } } }