blob: 8a1e369ba57ef12f459f38702569bdc20b5e0c8e (
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
|
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 void Save()
{
Plugin.PluginInterface.SavePluginConfig(this);
}
}
|