{{ define "title" }}Results{{ end }} {{ define "content" }}
# | Driver | Other Driver | Type | Impact Speed | Relative Position | World Position |
---|---|---|---|---|---|---|
{{ add $pos 1 }} | {{ driverName $event.Driver.Name }} | {{ driverName $event.OtherDriver.Name }} | {{ $event.Type }} | {{ printf "%.1f" $event.ImpactSpeed }} | {{ $event.GetRelPosition }} | {{ $event.GetWorldPosition }} |
Lap # | {{ if eq "RACE" $sessionResults.Type }}Race Position | {{ end }}Lap Time | {{ range $z, $null := $sessionResults.GetNumSectors }}Sector {{ add $z 1 }} | {{ end }}Cuts | Tyre |
---|---|---|---|---|---|
{{ $lapCount }} | {{ if eq "RACE" $sessionResults.Type }}{{ $sessionResults.GetPosForLap $sessionResult.DriverGUID $lapCount }} | {{ end }}
{{ $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 }}
|
{{ range $x, $null := $sessionResults.GetNumSectors }}
{{ $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 }}
|
{{ end }}
{{ $sessionLap.Cuts }} | {{ $sessionLap.Tyre }} |