public static void SaveEndWave() { WebGLJump.SaveData(SaveKeys.Money, Money.ToString()); for (int i = 0; i < Objectives.activeTasks.Length; ++i) { WebGLJump.SaveData(SaveKeys.ObjectivesActive + i.ToString(), Objectives.activeTasks[i].ToString()); } WebGLJump.SaveData(SaveKeys.ObjectivesComplete, AmountOfObjectivesComplete.ToString()); for (int i = 0; i < BlocksLoaded.Length; ++i) { WebGLJump.SaveData(SaveKeys.BlocksLoaded + i.ToString(), BlocksLoaded[i].ToString()); } for (int i = 0; i < AmmoLoaded.Length; ++i) { WebGLJump.SaveData(SaveKeys.AmmoLoaded + i.ToString(), AmmoLoaded[i].ToString()); } WebGLJump.SaveData(SaveKeys.ShotsFired, ShotsFired.ToString()); WebGLJump.SaveData(SaveKeys.TimesDefeated, TimesDefeated.ToString()); WebGLJump.SaveData(SaveKeys.MatchStreak, MatchStreak.ToString()); WebGLJump.SaveData(SaveKeys.DisconcertingObjectivesSeen, DisconcertingObjectivesSeen.ToString()); }
public string FormatShots(bool history) { if (history && (ShotsHit == 0 || ShotsFired == 10000)) { return("Exact values not known"); } return($"{ShotsHit.ToString("N0")} / {ShotsFired.ToString("N0")}"); }
public string FormatShots() { return($"{ShotsHit.ToString("N0")} / {ShotsFired.ToString("N0")}"); }