C# Class CrewChiefV3.Events.TyreMonitor

Inheritance: AbstractEvent
Exibir arquivo Open project: mrbelowski/r3e_crewchief_v3

Public Properties

Property Type Description
folderLapsOnCurrentTyresIntro String
folderLapsOnCurrentTyresOutro String
folderLockingFrontsForLapWarning String
folderLockingLeftFrontForLapWarning String
folderLockingLeftRearForLapWarning String
folderLockingRearsForLapWarning String
folderLockingRightFrontForLapWarning String
folderLockingRightRearForLapWarning String
folderMinutesOnCurrentTyresIntro String
folderMinutesOnCurrentTyresOutro String
folderSpinningFrontsForLapWarning String
folderSpinningLeftFrontForLapWarning String
folderSpinningLeftRearForLapWarning String
folderSpinningRearsForLapWarning String
folderSpinningRightFrontForLapWarning String
folderSpinningRightRearForLapWarning String

Public Methods

Method Description
TyreMonitor ( AudioPlayer audioPlayer ) : System
clearState ( ) : void
respond ( string voiceMessage ) : void

Protected Methods

Method Description
triggerInternal ( GameStateData previousGameState, GameStateData currentGameState ) : void

Private Methods

Method Description
addBrakeTempWarningMessages ( CornerData corners, BrakeTemp brakeTemp, List messageContents ) : void
addLockingAndSpinningData ( TyreData tyreData, long previousTicks, long currentTicks ) : void
addTyreConditionWarningMessages ( CornerData corners, TyreCondition tyreCondition, List messageContents ) : void
addTyreTempWarningMessages ( CornerData corners, TyreTemp tyreTemp, List messageContents ) : void
checkLocking ( ) : void
checkWheelSpinning ( ) : void
isBrakeTempPeakForLap ( float leftFront, float rightFront, float leftRear, float rightRear ) : Boolean
playEstimatedTypeLifeLaps ( int lapsRemainingOnTheseTyres, Boolean immediate ) : void
playEstimatedTypeLifeMinutes ( int minutesRemainingOnTheseTyres, Boolean immediate ) : void
reportCurrentBrakeTempStatus ( Boolean playImmediately ) : void
reportCurrentTyreConditionStatus ( Boolean playImmediately, Boolean playEvenIfUnchanged ) : void
reportCurrentTyreTempStatus ( Boolean playImmediately ) : void
reportEstimatedTyreLife ( float maxWearThreshold, Boolean immediate ) : void

Method Details

TyreMonitor() public method

public TyreMonitor ( AudioPlayer audioPlayer ) : System
audioPlayer AudioPlayer
return System

clearState() public method

public clearState ( ) : void
return void

respond() public method

public respond ( string voiceMessage ) : void
voiceMessage string
return void

triggerInternal() protected method

protected triggerInternal ( GameStateData previousGameState, GameStateData currentGameState ) : void
previousGameState GameStateData
currentGameState GameStateData
return void

Property Details

folderLapsOnCurrentTyresIntro public_oe static_oe property

public static String folderLapsOnCurrentTyresIntro
return String

folderLapsOnCurrentTyresOutro public_oe static_oe property

public static String folderLapsOnCurrentTyresOutro
return String

folderLockingFrontsForLapWarning public_oe static_oe property

public static String folderLockingFrontsForLapWarning
return String

folderLockingLeftFrontForLapWarning public_oe static_oe property

public static String folderLockingLeftFrontForLapWarning
return String

folderLockingLeftRearForLapWarning public_oe static_oe property

public static String folderLockingLeftRearForLapWarning
return String

folderLockingRearsForLapWarning public_oe static_oe property

public static String folderLockingRearsForLapWarning
return String

folderLockingRightFrontForLapWarning public_oe static_oe property

public static String folderLockingRightFrontForLapWarning
return String

folderLockingRightRearForLapWarning public_oe static_oe property

public static String folderLockingRightRearForLapWarning
return String

folderMinutesOnCurrentTyresIntro public_oe static_oe property

public static String folderMinutesOnCurrentTyresIntro
return String

folderMinutesOnCurrentTyresOutro public_oe static_oe property

public static String folderMinutesOnCurrentTyresOutro
return String

folderSpinningFrontsForLapWarning public_oe static_oe property

public static String folderSpinningFrontsForLapWarning
return String

folderSpinningLeftFrontForLapWarning public_oe static_oe property

public static String folderSpinningLeftFrontForLapWarning
return String

folderSpinningLeftRearForLapWarning public_oe static_oe property

public static String folderSpinningLeftRearForLapWarning
return String

folderSpinningRearsForLapWarning public_oe static_oe property

public static String folderSpinningRearsForLapWarning
return String

folderSpinningRightFrontForLapWarning public_oe static_oe property

public static String folderSpinningRightFrontForLapWarning
return String

folderSpinningRightRearForLapWarning public_oe static_oe property

public static String folderSpinningRightRearForLapWarning
return String