aboutsummaryrefslogtreecommitdiffstats
path: root/DiscordToXIV/Configuration.cs
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2024-09-15 02:22:37 -0700
committerPinapelz <yukais@pinapelz.com>2024-09-15 02:22:37 -0700
commitbbb1b64dea7d1fdbb6192997cb0d771aa108dca2 (patch)
treeafa0c5e0de8664dfd038bca5a8e992e999ed5510 /DiscordToXIV/Configuration.cs
parentd00b782c7fa6b4b4e68754293a3236e35ed7ff90 (diff)
add configuration window and user input table
Diffstat (limited to 'DiscordToXIV/Configuration.cs')
-rw-r--r--DiscordToXIV/Configuration.cs9
1 files changed, 4 insertions, 5 deletions
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<string, string> ChannelMappings { get; set; } = new Dictionary<string, string>();
+ 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);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage