diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-09-14 20:28:18 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-09-14 20:28:18 -0700 |
| commit | d00b782c7fa6b4b4e68754293a3236e35ed7ff90 (patch) | |
| tree | 914f331623c73e866291fdbf60eb83dde9a52f36 /DiscordToXIV/Configuration.cs | |
| parent | 610015a68d7ad9580c7ac9dc427ccace650a9b9e (diff) | |
implement initial BD websocket receiver
Diffstat (limited to 'DiscordToXIV/Configuration.cs')
| -rw-r--r-- | DiscordToXIV/Configuration.cs | 20 |
1 files changed, 20 insertions, 0 deletions
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); + } +} |
