mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Player Level Changes
- added 10 extra player levels - changed level data type to LONG.
This commit is contained in:
parent
f33d463782
commit
847868f3a6
8 changed files with 153 additions and 39 deletions
|
|
@ -3138,19 +3138,19 @@ namespace ServerManagerTool.Lib
|
|||
#endregion
|
||||
|
||||
#region Custom Levels
|
||||
public static readonly DependencyProperty OverrideMaxExperiencePointsPlayerProperty = DependencyProperty.Register(nameof(OverrideMaxExperiencePointsPlayer), typeof(NullableValue<int>), typeof(ServerProfile), new PropertyMetadata(new NullableValue<int>(false, GameData.DefaultMaxExperiencePointsPlayer)));
|
||||
public static readonly DependencyProperty OverrideMaxExperiencePointsPlayerProperty = DependencyProperty.Register(nameof(OverrideMaxExperiencePointsPlayer), typeof(NullableValue<long>), typeof(ServerProfile), new PropertyMetadata(new NullableValue<long>(false, GameData.DefaultMaxExperiencePointsPlayer)));
|
||||
[IniFileEntry(IniFiles.Game, IniSections.Game_ShooterGameMode, ServerProfileCategory.CustomLevels)]
|
||||
public NullableValue<int> OverrideMaxExperiencePointsPlayer
|
||||
public NullableValue<long> OverrideMaxExperiencePointsPlayer
|
||||
{
|
||||
get { return (NullableValue<int>)GetValue(OverrideMaxExperiencePointsPlayerProperty); }
|
||||
get { return (NullableValue<long>)GetValue(OverrideMaxExperiencePointsPlayerProperty); }
|
||||
set { SetValue(OverrideMaxExperiencePointsPlayerProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty OverrideMaxExperiencePointsDinoProperty = DependencyProperty.Register(nameof(OverrideMaxExperiencePointsDino), typeof(NullableValue<int>), typeof(ServerProfile), new PropertyMetadata(new NullableValue<int>(false, GameData.DefaultMaxExperiencePointsDino)));
|
||||
public static readonly DependencyProperty OverrideMaxExperiencePointsDinoProperty = DependencyProperty.Register(nameof(OverrideMaxExperiencePointsDino), typeof(NullableValue<long>), typeof(ServerProfile), new PropertyMetadata(new NullableValue<long>(false, GameData.DefaultMaxExperiencePointsDino)));
|
||||
[IniFileEntry(IniFiles.Game, IniSections.Game_ShooterGameMode, ServerProfileCategory.CustomLevels)]
|
||||
public NullableValue<int> OverrideMaxExperiencePointsDino
|
||||
public NullableValue<long> OverrideMaxExperiencePointsDino
|
||||
{
|
||||
get { return (NullableValue<int>)GetValue(OverrideMaxExperiencePointsDinoProperty); }
|
||||
get { return (NullableValue<long>)GetValue(OverrideMaxExperiencePointsDinoProperty); }
|
||||
set { SetValue(OverrideMaxExperiencePointsDinoProperty, value); }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue