blob: 32fe3637710f82cc9d6750e9fa04e6bf425fc1bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using System.Collections.Generic;
using Dalamud.Configuration;
using Dalamud.Plugin;
using System;
namespace DiscordToXIV;
[Serializable]
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 ShowOnlyKnownChannels { get; set; } = false;
public bool AdjustEmoteText { get; set; } = true;
public bool AdjustMentions { get; set; } = true;
public bool HideWelcomeMessage { get; set; } = false;
public bool HideAttachmentUrls { get; set; } = false;
public bool HideStickerUrls { get; set; } = false;
public string DiscordAuthToken { get; set; } = "";
public void Save()
{
Plugin.PluginInterface.SavePluginConfig(this);
}
}
|