CrewChiefV3.CrewChief.displayNewSessionInfo C# (CSharp) Method

displayNewSessionInfo() private method

private displayNewSessionInfo ( GameStateData currentGameState ) : void
currentGameState CrewChiefV3.GameState.GameStateData
return void
        private void displayNewSessionInfo(GameStateData currentGameState)
        {
            Console.WriteLine("New session details...");
            Console.WriteLine("SessionType " + currentGameState.SessionData.SessionType);
            Console.WriteLine("EventIndex " + currentGameState.SessionData.EventIndex);
            Console.WriteLine("SessionIteration " + currentGameState.SessionData.SessionIteration);
            String trackName = currentGameState.SessionData.TrackDefinition == null ? "unknown" : currentGameState.SessionData.TrackDefinition.name;
            Console.WriteLine("TrackName " + trackName);
        }