private void Print()
{
StringBuilder sB = this.stringBuilder;
sB.AppendLine();
sB.AppendLine("Simulation Game Metrics Report");
sB.AppendLine("(Please copy and paste the report to any text editor in order to save the report.)");
sB.AppendLine("------------------------------------------------------------------");
sB.AppendLine();
sB.AppendLine("Total Sessions: " + this.simulationManager.simulationStarter.sessionNumberText.text);
sB.AppendLine();
Debug.Log("Team Metrics Count: " + this.teamMetrics.Count);
for (int index = 0; index < this.teamMetrics.Count; index++) {
sB.AppendLine("------------------------------------------------------------------");
sB.AppendLine();
TeamMetric log = SimulationMetricsLogger.instance.teamMetrics[index];
sB.AppendLine("Team Name: " + log.teamName);
sB.AppendLine("Total Game Time Since Report Is Generated: " + log.totalGameTimeSinceEpoch.ToString("0.000") + " seconds");
sB.AppendLine();
sB.AppendLine("Level Difficulty: " + GetLevelDifficulty(index));
sB.AppendLine("Unit Attribute Equation Used: " + log.difficultyEquations);
sB.AppendLine();
sB.AppendLine("Total Time Played: " + log.totalGameTime.ToString("0.000") + " seconds");
sB.AppendLine("Total Death: " + log.numberOfDeaths);
sB.AppendLine("Total Kills: " + log.numberOfKills);
sB.AppendLine("Total Attacks: " + log.numberOfAttacks);
sB.AppendLine("Total Splits: " + log.numberOfSplits);
sB.AppendLine("Total Merges: " + log.numberOfMerges);
sB.AppendLine();
sB.AppendLine("Wins: " + log.winCount);
sB.AppendLine("Losses: " + log.lossCount);
sB.AppendLine();
sB.AppendLine("Total Time Accumulated When Attacking: " + log.totalAttackTime.ToString("0.000") + " seconds");
sB.AppendLine("Total Time Accumulated Under Attack: " + log.totalBattleEngagementTime.ToString("0.000") + " seconds");
sB.AppendLine();
}
this.outputField.text = sB.ToString();
this.outputField.Rebuild(CanvasUpdate.MaxUpdateValue);
Canvas.ForceUpdateCanvases();
}