using System;
using Dalamud.Configuration;
using Dalamud.Plugin;

namespace CrystallineConflictWinsTracker;

[Serializable]
public class Configuration : IPluginConfiguration
{
	[NonSerialized]
	private DalamudPluginInterface? pluginInterface;

	public int Version { get; set; }

	public bool Enabled { get; set; } = true;

	public int RightClickDelay { get; set; } = 250;

	public void Initialize(DalamudPluginInterface pluginInterface)
	{
		this.pluginInterface = pluginInterface;
	}

	public void Save()
	{
		pluginInterface.SavePluginConfig((IPluginConfiguration)(object)this);
	}
}
