C# Class SimShift.Services.CruiseControl

This module simulates a CruiseControl. Although some games (like ETS2) incorporate Cruise Control, previously there were no features like resume CC, speed up or slow down CC And above all: the CC in-game disengages when shifting gear.
Inheritance: IControlChainObj, IConfigurable
显示文件 Open project: nlhans/SimShift Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
ApplyParameter ( IniValueObject obj ) : void
ExportParameters ( ) : IEnumerable
GetAxis ( JoyControls c, double val ) : double
GetButton ( JoyControls c, bool val ) : bool
Requires ( JoyControls c ) : bool
ResetParameters ( ) : void
TickControls ( ) : void
TickTelemetry ( IDataMiner data ) : void

Method Details

ApplyParameter() public method

public ApplyParameter ( IniValueObject obj ) : void
obj SimShift.Utils.IniValueObject
return void

ExportParameters() public method

public ExportParameters ( ) : IEnumerable
return IEnumerable

GetAxis() public method

public GetAxis ( JoyControls c, double val ) : double
c JoyControls
val double
return double

GetButton() public method

public GetButton ( JoyControls c, bool val ) : bool
c JoyControls
val bool
return bool

Requires() public method

public Requires ( JoyControls c ) : bool
c JoyControls
return bool

ResetParameters() public method

public ResetParameters ( ) : void
return void

TickControls() public method

public TickControls ( ) : void
return void

TickTelemetry() public method

public TickTelemetry ( IDataMiner data ) : void
data IDataMiner
return void