private void updateCurrentWorldAnalyzer() { activeSave.UpdateCharacters(); /*for (int i = 0; i < activeSave.Characters.Count; i++) * { * Console.WriteLine(activeSave.Characters[i]); * }*/ activeSaveAnalyzer.LoadData(activeSave.Characters); }
private void analyzeMenuItem_Click(object sender, System.EventArgs e) { SaveBackup saveBackup = (SaveBackup)dataBackups.SelectedItem; logMessage("Showing backup save (" + saveBackup.Name + ") world analyzer..."); SaveAnalyzer analyzer = new SaveAnalyzer(this); analyzer.Title = "Backup Save (" + saveBackup.Name + ") World Analyzer"; analyzer.Closing += Backup_Analyzer_Closing; List <RemnantCharacter> chars = saveBackup.Save.Characters; for (int i = 0; i < chars.Count; i++) { chars[i].LoadWorldData(i); } analyzer.LoadData(chars); backupSaveAnalyzers.Add(analyzer); analyzer.Show(); }