{{ define "title" }}Results{{ end }} {{ define "content" }}
Back to Results {{ $sessionResults := .result }}
{{ prettify $sessionResults.TrackName false }} {{ with $sessionResults.TrackConfig }} - {{ prettify . true }} {{ end }} on {{ $sessionResults.GetDate }}
{{ with $sessionResults.ChampionshipID }} View Championship {{ end }} Open in Simresults Download as JSON
{{ template "session-overall" $sessionResults }}
{{ range $pos, $event := $sessionResults.Events}} {{ end }}
# Driver Other Driver Type Impact Speed Relative Position World Position
{{ add $pos 1 }} {{ $event.Type }} {{ printf "%.1f" $event.ImpactSpeed }} {{ $event.GetRelPosition }} {{ $event.GetWorldPosition }}
{{ range $i, $sessionResult := .result.Result }}
{{ add $i 1 }}{{ ordinal (add $i 1) }} {{ driverName $sessionResult.DriverName }} {{ if eq $sessionResult.DriverGUID "76561198256908075" }} (Ey up you Southern twit){{ end }} in {{ prettify $sessionResult.CarModel true }}
{{ if eq "RACE" $sessionResults.Type }} {{ end }} {{ range $z, $null := $sessionResults.GetNumSectors }} {{ end }} {{ $lapCount := 0}} {{ $averageLapTime := $sessionResults.GetAverageLapTime $sessionResult.DriverGUID }} {{ range $y, $sessionLap := $sessionResults.Laps }} {{ if eq $sessionLap.DriverGUID $sessionResult.DriverGUID }} {{ $lapCount = add $lapCount 1 }} {{ if eq "RACE" $sessionResults.Type }} {{ end }} {{ range $x, $null := $sessionResults.GetNumSectors }} {{ end }} {{ end }} {{ end }}
Lap #Race PositionLap TimeSector {{ add $z 1 }}Cuts Tyre
{{ $lapCount }}{{ $sessionResults.GetPosForLap $sessionResult.DriverGUID $lapCount }} {{ $sessionLap.GetLapTime }} {{ if $sessionResults.IsFastestLap $sessionLap.LapTime $sessionLap.Cuts }}
L
{{ end }} {{ if $sessionResults.IsDriversFastestLap $sessionLap.DriverGUID $sessionLap.LapTime $sessionLap.Cuts }}
L
{{ end }} {{ if $sessionLap.DidCheat $averageLapTime }}
C
{{ end }}
{{ $sessionLap.GetSector $x }} {{ if $sessionResults.IsFastestSector $x (index $sessionLap.Sectors $x) $sessionLap.Cuts }}
S
{{ end }} {{ if $sessionResults.IsDriversFastestSector $sessionLap.DriverGUID $x (index $sessionLap.Sectors $x) $sessionLap.Cuts }}
S
{{ end }}
{{ $sessionLap.Cuts }} {{ $sessionLap.Tyre }}
{{ end }}
{{ end }} {{ define "thirdpartyjs" }} {{ end }}