mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
change ragnarok volcano interval from int to float
This commit is contained in:
parent
03fa8c869e
commit
8cdd4de2bb
2 changed files with 6 additions and 6 deletions
|
|
@ -1970,11 +1970,11 @@ namespace ServerManagerTool.Lib
|
|||
set { SetValue(Ragnarok_EnableVolcanoProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty Ragnarok_VolcanoIntervalProperty = DependencyProperty.Register(nameof(Ragnarok_VolcanoInterval), typeof(int), typeof(ServerProfile), new PropertyMetadata(0));
|
||||
public static readonly DependencyProperty Ragnarok_VolcanoIntervalProperty = DependencyProperty.Register(nameof(Ragnarok_VolcanoInterval), typeof(float), typeof(ServerProfile), new PropertyMetadata(1.0f));
|
||||
[IniFileEntry(IniFiles.GameUserSettings, IniSections.GUS_Ragnarok, ServerProfileCategory.Rules, "VolcanoInterval", ConditionedOn = nameof(Ragnarok_EnableSettings), ClearSectionIfEmpty = true)]
|
||||
public int Ragnarok_VolcanoInterval
|
||||
public float Ragnarok_VolcanoInterval
|
||||
{
|
||||
get { return (int)GetValue(Ragnarok_VolcanoIntervalProperty); }
|
||||
get { return (float)GetValue(Ragnarok_VolcanoIntervalProperty); }
|
||||
set { SetValue(Ragnarok_VolcanoIntervalProperty, value); }
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2250,10 +2250,10 @@
|
|||
Text="{DynamicResource ServerSettings_Ragnarok_EnableVolcanoLabel}"
|
||||
ToolTip="{DynamicResource ServerSettings_Ragnarok_EnableVolcanoTooltip}"/>
|
||||
|
||||
<cctl:AnnotatedIntSlider Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3" Margin="5,5,5,0" IsEnabled="{Binding Ragnarok_EnableVolcano}"
|
||||
Minimum="0" Maximum="10" SmallChange="1" LargeChange="1" TickFrequency="1"
|
||||
<cctl:AnnotatedSlider Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3" Margin="5,5,5,0" IsEnabled="{Binding Ragnarok_EnableVolcano}"
|
||||
Minimum="0" Maximum="10" SmallChange="0.1" LargeChange="0.1" TickFrequency="0.1"
|
||||
Label="{DynamicResource ServerSettings_Ragnarok_VolcanoIntervalLabel}"
|
||||
Value="{Binding Ragnarok_VolcanoInterval, Converter={cc:IntRangeValueConverter 0, 100}}"
|
||||
Value="{Binding Ragnarok_VolcanoInterval, Converter={cc:DoubleRangeValueConverter 0, 10}}"
|
||||
Suffix="{DynamicResource SliderUnits_Multiplier}"
|
||||
ToolTip="{DynamicResource ServerSettings_Ragnarok_VolcanoIntervalTooltip}"/>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue