From bbb1b64dea7d1fdbb6192997cb0d771aa108dca2 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 15 Sep 2024 02:22:37 -0700 Subject: add configuration window and user input table --- DiscordToXIV/Configuration.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'DiscordToXIV/Configuration.cs') diff --git a/DiscordToXIV/Configuration.cs b/DiscordToXIV/Configuration.cs index 82d14e3..b4b763b 100644 --- a/DiscordToXIV/Configuration.cs +++ b/DiscordToXIV/Configuration.cs @@ -1,4 +1,5 @@ -using Dalamud.Configuration; +using System.Collections.Generic; +using Dalamud.Configuration; using Dalamud.Plugin; using System; @@ -8,11 +9,9 @@ namespace DiscordToXIV; public class Configuration : IPluginConfiguration { public int Version { get; set; } = 0; + public Dictionary ChannelMappings { get; set; } = new Dictionary(); + public bool HideUsernameWhenNicknameExists { get; set; } = false; - 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