C# Class iRacingSdkWrapper.Broadcast.PitCommandControl

Provides control over the pit commands.
Inheritance: iRacingSdkWrapper.Broadcast.BroadcastBase
Exibir arquivo Open project: NickThissen/iRacingSdkWrapper

Public Methods

Method Description
AddFuel ( int amount ) : void

Schedule to add the specified amount of fuel (in liters) in the next pitstop.

ChangeTires ( TireChange change ) : void

Schedule to change one or more tires and set their new pressures.

Clear ( ) : void

Clear all pit commands.

ClearTires ( ) : void

Clear all tire changes.

FastRepair ( ) : void

Schedule to use a fast repair in the next pitstop.

Tearoff ( ) : void

Schedule to use a windshield tear-off in the next pitstop.

Private Methods

Method Description
ChangeTire ( PitCommandModeTypes type, int pressure ) : void
PitCommandControl ( SdkWrapper wrapper ) : System

Method Details

AddFuel() public method

Schedule to add the specified amount of fuel (in liters) in the next pitstop.
public AddFuel ( int amount ) : void
amount int The amount of fuel (in liters) to add. Use 0 to leave at current value.
return void

ChangeTires() public method

Schedule to change one or more tires and set their new pressures.
public ChangeTires ( TireChange change ) : void
change TireChange The scheduled tire changes.
return void

Clear() public method

Clear all pit commands.
public Clear ( ) : void
return void

ClearTires() public method

Clear all tire changes.
public ClearTires ( ) : void
return void

FastRepair() public method

Schedule to use a fast repair in the next pitstop.
public FastRepair ( ) : void
return void

Tearoff() public method

Schedule to use a windshield tear-off in the next pitstop.
public Tearoff ( ) : void
return void