From d00b782c7fa6b4b4e68754293a3236e35ed7ff90 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 14 Sep 2024 20:28:18 -0700 Subject: implement initial BD websocket receiver --- DiscordToXIV/Configuration.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 DiscordToXIV/Configuration.cs (limited to 'DiscordToXIV/Configuration.cs') diff --git a/DiscordToXIV/Configuration.cs b/DiscordToXIV/Configuration.cs new file mode 100644 index 0000000..82d14e3 --- /dev/null +++ b/DiscordToXIV/Configuration.cs @@ -0,0 +1,20 @@ +using Dalamud.Configuration; +using Dalamud.Plugin; +using System; + +namespace DiscordToXIV; + +[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 exist just to make saving less cumbersome + public void Save() + { + Plugin.PluginInterface.SavePluginConfig(this); + } +} -- cgit v1.2.3