C# Class iRacingSimulator.Sim

Afficher le fichier Open project: NickThissen/iRacingSdkWrapper

Méthodes publiques

Méthode Description
NotifyPitstop ( RaceEvent type, Driver driver ) : void
Start ( double updateFrequency = 10 ) : void
Stop ( ) : void

Méthodes protégées

Méthode Description
OnConnected ( ) : void
OnDisconnected ( ) : void
OnRaceEvent ( RaceEvent @event ) : void
OnSessionInfoUpdated ( SdkWrapper e ) : void
OnSimulationUpdated ( ) : void
OnStaticInfoChanged ( ) : void
OnTelemetryUpdated ( SdkWrapper e ) : void

Private Methods

Méthode Description
CalculateLivePositions ( ) : void
CheckSessionFlagUpdates ( SessionFlag prevFlags, SessionFlag curFlags ) : void
GetDrivers ( SessionInfo info ) : void
GetQualyResults ( SessionInfo info ) : void
GetRaceResults ( SessionInfo info ) : void
GetResults ( SessionInfo info ) : void
Reset ( ) : void
ResetSession ( ) : void
SdkOnConnected ( object sender, EventArgs e ) : void
SdkOnDisconnected ( object sender, EventArgs e ) : void
SdkOnSessionInfoUpdated ( object sender, SdkWrapper e ) : void
SdkOnTelemetryUpdated ( object sender, SdkWrapper e ) : void
Sim ( ) : System
UpdateDriverList ( SessionInfo info ) : void
UpdateDriverTelemetry ( TelemetryInfo info ) : void
UpdateTimeDelta ( ) : void

Method Details

NotifyPitstop() public méthode

public NotifyPitstop ( RaceEvent type, Driver driver ) : void
type RaceEvent
driver Driver
Résultat void

OnConnected() protected méthode

protected OnConnected ( ) : void
Résultat void

OnDisconnected() protected méthode

protected OnDisconnected ( ) : void
Résultat void

OnRaceEvent() protected méthode

protected OnRaceEvent ( RaceEvent @event ) : void
@event RaceEvent
Résultat void

OnSessionInfoUpdated() protected méthode

protected OnSessionInfoUpdated ( SdkWrapper e ) : void
e SdkWrapper
Résultat void

OnSimulationUpdated() protected méthode

protected OnSimulationUpdated ( ) : void
Résultat void

OnStaticInfoChanged() protected méthode

protected OnStaticInfoChanged ( ) : void
Résultat void

OnTelemetryUpdated() protected méthode

protected OnTelemetryUpdated ( SdkWrapper e ) : void
e SdkWrapper
Résultat void

Start() public méthode

public Start ( double updateFrequency = 10 ) : void
updateFrequency double
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void