C# Class CrewChiefV3.Events.Opponents

Inheritance: AbstractEvent
Mostrar archivo Open project: mrbelowski/r3e_crewchief_v3

Public Properties

Property Type Description
folderAheadIsPitting String
folderBehindIsPitting String
folderCantPronounceName String
folderCarAheadIsPitting String
folderCarBehindIsPitting String
folderIsNowLeading String
folderIsPitting String
folderLeaderHasJustDoneA String
folderLeaderIsPitting String
folderNewFastestLapFor String
folderNextCarIs String
folderTheCarAheadHasJustDoneA String
folderTheCarBehindHasJustDoneA String
folderTheLeader String
folderWeAre String

Public Methods

Method Description
Opponents ( AudioPlayer audioPlayer ) : System
clearState ( ) : void
isMessageStillValid ( string eventSubType, GameStateData currentGameState, Object>.Dictionary validationData ) : bool
respond ( String voiceMessage ) : void

Protected Methods

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

Private Methods

Method Description
getOpponentBestLap ( List opponentLapTimes, int lapsToCheck ) : float
getOpponentBestLap ( Object opponentKey ) : float
getOpponentKey ( String voiceMessage, String expectedNumberSuffix ) : Object
getOpponentLastLap ( Object opponentKey ) : float

Method Details

Opponents() public method

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

clearState() public method

public clearState ( ) : void
return void

isMessageStillValid() public method

public isMessageStillValid ( string eventSubType, GameStateData currentGameState, Object>.Dictionary validationData ) : bool
eventSubType string
currentGameState CrewChiefV3.GameState.GameStateData
validationData Object>.Dictionary
return bool

respond() public method

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

triggerInternal() protected method

protected triggerInternal ( GameStateData previousGameState, GameStateData currentGameState ) : void
previousGameState CrewChiefV3.GameState.GameStateData
currentGameState CrewChiefV3.GameState.GameStateData
return void

Property Details

folderAheadIsPitting public_oe static_oe property

public static String folderAheadIsPitting
return String

folderBehindIsPitting public_oe static_oe property

public static String folderBehindIsPitting
return String

folderCantPronounceName public_oe static_oe property

public static String folderCantPronounceName
return String

folderCarAheadIsPitting public_oe static_oe property

public static String folderCarAheadIsPitting
return String

folderCarBehindIsPitting public_oe static_oe property

public static String folderCarBehindIsPitting
return String

folderIsNowLeading public_oe static_oe property

public static String folderIsNowLeading
return String

folderIsPitting public_oe static_oe property

public static String folderIsPitting
return String

folderLeaderHasJustDoneA public_oe static_oe property

public static String folderLeaderHasJustDoneA
return String

folderLeaderIsPitting public_oe static_oe property

public static String folderLeaderIsPitting
return String

folderNewFastestLapFor public_oe static_oe property

public static String folderNewFastestLapFor
return String

folderNextCarIs public_oe static_oe property

public static String folderNextCarIs
return String

folderTheCarAheadHasJustDoneA public_oe static_oe property

public static String folderTheCarAheadHasJustDoneA
return String

folderTheCarBehindHasJustDoneA public_oe static_oe property

public static String folderTheCarBehindHasJustDoneA
return String

folderTheLeader public_oe static_oe property

public static String folderTheLeader
return String

folderWeAre public_oe static_oe property

public static String folderWeAre
return String