C# Class iRacingSimulator.Drivers.DriverResults

Represents a dictionary of session results for a driver. Contains results for all sessions.
Afficher le fichier Open project: NickThissen/iRacingSdkWrapper

Méthodes publiques

Méthode 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

Méthode Description
SetResults ( int sessionNumber, iRacingSdkWrapper.YamlQuery query, int position ) : void

Method Details

DriverResults() public méthode

public DriverResults ( Driver driver ) : System
driver Driver
Résultat System

FromSession() public méthode

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
Résultat DriverSessionResults

HasResult() public méthode

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

this() public méthode

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
Résultat DriverSessionResults