From 031440201d24531d6a1d5a0e93579d76e1e4ba18 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 8 Sep 2024 16:52:23 -0700 Subject: add saving functionality to frontline reward bonus - marks as outdated if FrontlineRecord listener is disabled at any point --- Malmstone/Configuration.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Malmstone/Configuration.cs') diff --git a/Malmstone/Configuration.cs b/Malmstone/Configuration.cs index c4d091b..4f62a96 100644 --- a/Malmstone/Configuration.cs +++ b/Malmstone/Configuration.cs @@ -17,7 +17,9 @@ public class Configuration : IPluginConfiguration public bool ShowMainWindowOnPVPReward { get; set; } = true; public bool SkipProgressionToastAfterGoal { get; set; } = false; public bool SkipProgressionChatAfterGoal { get; set; } = false; - public bool TrackFrontlineBonus { get; set; } = false; + public bool TrackFrontlineBonus { get; set; } = true; + public int SavedFrontlineRewardBonus { get; set; } = -1; + public bool OutdatedFrontlineRewardBonus { get; set; } = false; // the below exist just to make saving less cumbersome public void Save() -- cgit v1.2.3