C# Класс iRacingSimulator.Drivers.DriverResults

Represents a dictionary of session results for a driver. Contains results for all sessions.
Показать файл Открыть проект

Открытые методы

Метод Описание
DriverResults ( Driver driver ) : System
FromSession ( int sessionNumber ) : DriverSessionResults

Gets the session results for this driver for the specified session number, or empty results if he does not appear in the results.

HasResult ( int sessionNumber ) : bool

Checks if this driver is present in the results for the specified session.

this ( int sessionNumber ) : DriverSessionResults

Gets the session results for this driver for the specified session number, or empty results if he does not appear in the results.

Приватные методы

Метод Описание
SetResults ( int sessionNumber, iRacingSdkWrapper.YamlQuery query, int position ) : void

Описание методов

DriverResults() публичный Метод

public DriverResults ( Driver driver ) : System
driver Driver
Результат System

FromSession() публичный Метод

Gets the session results for this driver for the specified session number, or empty results if he does not appear in the results.
public FromSession ( int sessionNumber ) : DriverSessionResults
sessionNumber int
Результат DriverSessionResults

HasResult() публичный Метод

Checks if this driver is present in the results for the specified session.
public HasResult ( int sessionNumber ) : bool
sessionNumber int
Результат bool

this() публичный Метод

Gets the session results for this driver for the specified session number, or empty results if he does not appear in the results.
public this ( int sessionNumber ) : DriverSessionResults
sessionNumber int
Результат DriverSessionResults