From 4199ab61601b7e909c51767c6d19b70f2e4dceb2 Mon Sep 17 00:00:00 2001 From: Brett Hewitson Date: Sun, 19 Jun 2022 00:36:50 +1000 Subject: [PATCH] Setting Changes - colored the settings (orange) that are NOT included in the profile sync. --- src/ARKServerManager/Lib/ServerProfile.cs | 8 ++-- src/ARKServerManager/Styles/Default.xaml | 1 + .../UserControls/ServerSettingsControl.xaml | 39 ++++++++++--------- src/ARKServerManager/VersionFeed.xml | 1 + src/ARKServerManager/VersionFeedBeta.xml | 1 + src/ConanServerManager/Lib/ServerProfile.cs | 10 ++--- src/ConanServerManager/Styles/Default.xaml | 3 +- .../UserControls/ServerSettingsControl.xaml | 30 +++++++------- src/ConanServerManager/VersionFeed.xml | 1 + src/ConanServerManager/VersionFeedBeta.xml | 1 + 10 files changed, 49 insertions(+), 46 deletions(-) diff --git a/src/ARKServerManager/Lib/ServerProfile.cs b/src/ARKServerManager/Lib/ServerProfile.cs index 1c393910..af7aad08 100644 --- a/src/ARKServerManager/Lib/ServerProfile.cs +++ b/src/ARKServerManager/Lib/ServerProfile.cs @@ -5330,6 +5330,7 @@ namespace ServerManagerTool.Lib this.ClearValue(AdditionalArgsProperty); this.ClearValue(LauncherArgsOverrideProperty); + this.ClearValue(LauncherArgsPrefixProperty); this.ClearValue(LauncherArgsProperty); } @@ -5881,10 +5882,6 @@ namespace ServerManagerTool.Lib this.SetValue(AutoSavePeriodMinutesProperty, sourceProfile.AutoSavePeriodMinutes); - //this.SetValue(MOTDProperty, sourceProfile.MOTD); - //this.SetValue(MOTDDurationProperty, sourceProfile.MOTDDuration); - //this.SetNullableValue(MOTDIntervalProperty, sourceProfile.MOTDInterval); - this.SetValue(EnableExtinctionEventProperty, sourceProfile.EnableExtinctionEvent); this.SetValue(ExtinctionEventTimeIntervalProperty, sourceProfile.ExtinctionEventTimeInterval); this.SetValue(ExtinctionEventUTCProperty, sourceProfile.ExtinctionEventUTC); @@ -5939,8 +5936,9 @@ namespace ServerManagerTool.Lib this.SetValue(WebAlarmKeyProperty, sourceProfile.WebAlarmKey); this.SetValue(WebAlarmUrlProperty, sourceProfile.WebAlarmUrl); - this.SetValue(LauncherArgsOverrideProperty, sourceProfile.LauncherArgsOverride); this.SetValue(LauncherArgsProperty, sourceProfile.LauncherArgs); + this.SetValue(LauncherArgsOverrideProperty, sourceProfile.LauncherArgsOverride); + this.SetValue(LauncherArgsPrefixProperty, sourceProfile.LauncherArgsPrefix); this.SetValue(AdditionalArgsProperty, sourceProfile.AdditionalArgs); } diff --git a/src/ARKServerManager/Styles/Default.xaml b/src/ARKServerManager/Styles/Default.xaml index c1b8bfe1..27b5b82e 100644 --- a/src/ARKServerManager/Styles/Default.xaml +++ b/src/ARKServerManager/Styles/Default.xaml @@ -35,6 +35,7 @@ + diff --git a/src/ARKServerManager/UserControls/ServerSettingsControl.xaml b/src/ARKServerManager/UserControls/ServerSettingsControl.xaml index 9a3055e6..2fc98516 100644 --- a/src/ARKServerManager/UserControls/ServerSettingsControl.xaml +++ b/src/ARKServerManager/UserControls/ServerSettingsControl.xaml @@ -596,7 +596,7 @@ -