C# Class iRacingSimulator.Sim

Datei anzeigen Open project: NickThissen/iRacingSdkWrapper

Public Methods

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

Protected Methods

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

Private Methods

Method 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 method

public NotifyPitstop ( RaceEvent type, Driver driver ) : void
type RaceEvent
driver Driver
return void

OnConnected() protected method

protected OnConnected ( ) : void
return void

OnDisconnected() protected method

protected OnDisconnected ( ) : void
return void

OnRaceEvent() protected method

protected OnRaceEvent ( RaceEvent @event ) : void
@event RaceEvent
return void

OnSessionInfoUpdated() protected method

protected OnSessionInfoUpdated ( SdkWrapper e ) : void
e SdkWrapper
return void

OnSimulationUpdated() protected method

protected OnSimulationUpdated ( ) : void
return void

OnStaticInfoChanged() protected method

protected OnStaticInfoChanged ( ) : void
return void

OnTelemetryUpdated() protected method

protected OnTelemetryUpdated ( SdkWrapper e ) : void
e SdkWrapper
return void

Start() public method

public Start ( double updateFrequency = 10 ) : void
updateFrequency double
return void

Stop() public method

public Stop ( ) : void
return void