20 lines
470 B
C#
20 lines
470 B
C#
using Dalamud.Configuration;
|
|
using System;
|
|
|
|
namespace SamplePlugin;
|
|
|
|
[Serializable]
|
|
public class Configuration : IPluginConfiguration
|
|
{
|
|
public int Version { get; set; } = 0;
|
|
|
|
public bool IsConfigWindowMovable { get; set; } = true;
|
|
public bool SomePropertyToBeSavedAndWithADefault { get; set; } = true;
|
|
|
|
// The below exists just to make saving less cumbersome
|
|
public void Save()
|
|
{
|
|
Plugin.PluginInterface.SavePluginConfig(this);
|
|
}
|
|
}
|