private void UpdateEridianProfEditElements() { EridianProfLevelSlider.Value = Model.Save.Proficiencies.Eridian.Level; EridianProfPointsSlider.Maximum = (Proficiency.PointsToLevel(Model.Save.Proficiencies.Eridian.Level + 1) - 1).Clamp(0, int.MaxValue); EridianProfPointsSlider.Value = Model.Save.Proficiencies.Eridian.Points; EridianProfTotalPointsSlider.Value = Model.Save.Proficiencies.Eridian.TotalPoints; }
private void UpdateSniperRifleProfEditElements() { SniperRifleProfLevelSlider.Value = Model.Save.Proficiencies.SniperRifle.Level; SniperRifleProfPointsSlider.Maximum = (Proficiency.PointsToLevel(Model.Save.Proficiencies.SniperRifle.Level + 1) - 1).Clamp(0, int.MaxValue); SniperRifleProfPointsSlider.Value = Model.Save.Proficiencies.SniperRifle.Points; SniperRifleProfTotalPointsSlider.Value = Model.Save.Proficiencies.SniperRifle.TotalPoints; }
private void UpdateRocketLauncherProfEditElements() { RocketLauncherProfLevelSlider.Value = Model.Save.Proficiencies.RocketLauncher.Level; RocketLauncherProfPointsSlider.Maximum = (Proficiency.PointsToLevel(Model.Save.Proficiencies.RocketLauncher.Level + 1) - 1).Clamp(0, int.MaxValue); RocketLauncherProfPointsSlider.Value = Model.Save.Proficiencies.RocketLauncher.Points; RocketLauncherProfTotalPointsSlider.Value = Model.Save.Proficiencies.RocketLauncher.TotalPoints; }
private void UpdatePistolProfEditElements() { PistolProfLevelSlider.Value = Model.Save.Proficiencies.Pistol.Level; PistolProfPointsSlider.Maximum = (Proficiency.PointsToLevel(Model.Save.Proficiencies.Pistol.Level + 1) - 1).Clamp(0, int.MaxValue); PistolProfPointsSlider.Value = Model.Save.Proficiencies.Pistol.Points; PistolProfTotalPointsSlider.Value = Model.Save.Proficiencies.Pistol.TotalPoints; }