aboutsummaryrefslogtreecommitdiffstats
path: root/Malmstone/Configuration.cs
blob: ba4ba67d05229ebd6ad53bde969a69094c92c5a4 (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
27
28
29
30
using Dalamud.Configuration;
using System;

namespace Malmstone;

[Serializable]
public class Configuration : IPluginConfiguration
{
    public int Version { get; set; } = 0;

    public int DefaultTargetRankProperty { get; set; } = 1;
    public int PostmatchProgressionToastType { get; set; } = 0; // 0 = normal, 1=quest, 2=error
    public bool ShowProgressionToastPostMatch { get; set; } = true;
    public bool ShowProgressionChatPostRW { get; set; } = true;
    public bool ShowProgressionChatPostCC { get; set; } = true;
    public bool ShowProgressionChatPostFL { get; set; } = true;
    public bool ShowMainWindowOnPVPReward { get; set; } = true;
    public bool SkipProgressionToastAfterGoal { get; set; } = false;
    public bool SkipProgressionChatAfterGoal { get; set; } = false;
    public bool TrackFrontlineBonus { get; set; } = true;
    public int SavedFrontlineRewardBonus { get; set; } = -1;
    public bool OutdatedFrontlineRewardBonus { get; set; } = false;
    public bool IsPrimedForBuff { get; set; } = false;

    // 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