C# Class iRacingSimulator.Drivers.DriverResults

Represents a dictionary of session results for a driver. Contains results for all sessions.
Datei anzeigen Open project: NickThissen/iRacingSdkWrapper

Public Methods

Method Description
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.

Private Methods

Method Description
SetResults ( int sessionNumber, iRacingSdkWrapper.YamlQuery query, int position ) : void

Method Details

DriverResults() public method

public DriverResults ( Driver driver ) : System
driver Driver
return System

FromSession() public method

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
return DriverSessionResults

HasResult() public method

Checks if this driver is present in the results for the specified session.
public HasResult ( int sessionNumber ) : bool
sessionNumber int
return bool

this() public method

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
return DriverSessionResults