mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-18 09:35:48 +00:00
Fjordur Settings
- added a checkbox header to the settings to enable/disable.
This commit is contained in:
parent
52fe37c221
commit
711cf955c3
5 changed files with 42 additions and 6 deletions
|
|
@ -1811,8 +1811,16 @@ namespace ServerManagerTool.Lib
|
|||
set { SetValue(HexagonCostMultiplierProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty EnableFjordurSettingsProperty = DependencyProperty.Register(nameof(EnableFjordurSettings), typeof(bool), typeof(ServerProfile), new PropertyMetadata(false));
|
||||
[DataMember]
|
||||
public bool EnableFjordurSettings
|
||||
{
|
||||
get { return (bool)GetValue(EnableFjordurSettingsProperty); }
|
||||
set { SetValue(EnableFjordurSettingsProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty UseFjordurTraversalBuffProperty = DependencyProperty.Register(nameof(UseFjordurTraversalBuff), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
|
||||
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.Rules)]
|
||||
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_ServerSettings, ServerProfileCategory.Rules, ConditionedOn = nameof(EnableFjordurSettings))]
|
||||
public bool UseFjordurTraversalBuff
|
||||
{
|
||||
get { return (bool)GetValue(UseFjordurTraversalBuffProperty); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue