πͺAccessing Time Trial Data
Guide
Where To Find Time Trial Data:
public Sector[] sectors { get; set; } // Used to access individual sector data
private double bestLapTime = double.MaxValue; // Raw time
public double BestLapTime => bestLapTime; // Raw time, as read-only public property
public string BestLapTimeConverted { get; private set; } = "-"; // Formatted time
private double currentLapTime = 0; // Raw time
public double CurrentLapTime => currentLapTime // Raw time, as read-only public property
public string CurrentLapTimeConverted { get; private set; } // Formatted time
private bool isLapInProgress = false;What Next?
Last updated