forked from pohky/TeleporterPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfiguration.cs
44 lines (35 loc) · 1.37 KB
/
Configuration.cs
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System;
using System.Collections.Generic;
using Dalamud.Configuration;
using Dalamud.Plugin;
using TeleporterPlugin.Objects;
namespace TeleporterPlugin {
[Serializable]
public class Configuration : IPluginConfiguration {
public int Version { get; set; } = 0;
public TeleporterLanguage TeleporterLanguage = TeleporterLanguage.Client;
public bool SkipTicketPopup;
public bool UseGilThreshold;
public bool AllowPartialMatch = true;
public bool AllowPartialAlias = false;
public bool ShowTooltips = true;
public bool UseFloatingWindow;
public int GilThreshold = 999;
public List<TeleportAlias> AliasList = new List<TeleportAlias>();
public List<TeleportButton> TeleportButtons = new List<TeleportButton>();
public bool LinkTrackerAutoPop = true;
public bool LinkTrackerAlwaysActive = false;
public bool LinkTrackerUseTickets = true;
public bool PrintMessage = true;
public bool PrintError = true;
#region Init and Save
[NonSerialized] private DalamudPluginInterface _pluginInterface;
public void Initialize(DalamudPluginInterface pluginInterface) {
_pluginInterface = pluginInterface;
}
public void Save() {
_pluginInterface.SavePluginConfig(this);
}
#endregion
}
}