Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 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;
 }