C# Class CrewChiefV3.CrewChief

Inheritance: IDisposable
Show file Open project: mrbelowski/r3e_crewchief_v3 Class Usage Examples

Public Properties

Property Type Description
Version String
_timeInterval System.TimeSpan
audioPlayer AudioPlayer
currentGameState CrewChiefV3.GameState.GameStateData
enableDriverNames System.Boolean
gameDefinition GameDefinition
loadDataFromFile System.Boolean
previousGameState CrewChiefV3.GameState.GameStateData
readOpponentDeltasForEveryLap System.Boolean
running System.Boolean
speechRecogniser SpeechRecogniser
spotterInterval System.TimeSpan

Public Methods

Method Description
CrewChief ( ) : System
Dispose ( ) : void
Run ( String filenameToRun, int interval, System.Boolean dumpToFile ) : System.Boolean
disableDeltasMode ( ) : void
disableKeepQuietMode ( ) : void
disableSpotter ( ) : void
enableDeltasMode ( ) : void
enableKeepQuietMode ( ) : void
enableSpotter ( ) : void
getEvent ( String eventName ) : AbstractEvent
setGameDefinition ( GameDefinition gameDefinition ) : void
stop ( ) : void
toggleKeepQuietMode ( ) : void
toggleReadOpponentDeltasMode ( ) : void
toggleSpotterMode ( ) : void
youWot ( ) : void

Private Methods

Method Description
displayNewSessionInfo ( GameStateData currentGameState ) : void
spotterWork ( ) : void
startSpotterThread ( ) : void
triggerEvent ( String eventName, AbstractEvent abstractEvent, GameStateData previousGameState, GameStateData currentGameState ) : void

Method Details

CrewChief() public method

public CrewChief ( ) : System
return System

Dispose() public method

public Dispose ( ) : void
return void

Run() public method

public Run ( String filenameToRun, int interval, System.Boolean dumpToFile ) : System.Boolean
filenameToRun String
interval int
dumpToFile System.Boolean
return System.Boolean

disableDeltasMode() public method

public disableDeltasMode ( ) : void
return void

disableKeepQuietMode() public method

public disableKeepQuietMode ( ) : void
return void

disableSpotter() public method

public disableSpotter ( ) : void
return void

enableDeltasMode() public method

public enableDeltasMode ( ) : void
return void

enableKeepQuietMode() public method

public enableKeepQuietMode ( ) : void
return void

enableSpotter() public method

public enableSpotter ( ) : void
return void

getEvent() public static method

public static getEvent ( String eventName ) : AbstractEvent
eventName String
return CrewChiefV3.Events.AbstractEvent

setGameDefinition() public method

public setGameDefinition ( GameDefinition gameDefinition ) : void
gameDefinition GameDefinition
return void

stop() public method

public stop ( ) : void
return void

toggleKeepQuietMode() public method

public toggleKeepQuietMode ( ) : void
return void

toggleReadOpponentDeltasMode() public method

public toggleReadOpponentDeltasMode ( ) : void
return void

toggleSpotterMode() public method

public toggleSpotterMode ( ) : void
return void

youWot() public method

public youWot ( ) : void
return void

Property Details

Version public static property

public static String Version
return String

_timeInterval public static property

public static TimeSpan,System _timeInterval
return System.TimeSpan

audioPlayer public property

public AudioPlayer,CrewChiefV3 audioPlayer
return AudioPlayer

currentGameState public property

public GameStateData,CrewChiefV3.GameState currentGameState
return CrewChiefV3.GameState.GameStateData

enableDriverNames public static property

public static Boolean,System enableDriverNames
return System.Boolean

gameDefinition public static property

public static GameDefinition,CrewChiefV3 gameDefinition
return GameDefinition

loadDataFromFile public static property

public static Boolean,System loadDataFromFile
return System.Boolean

previousGameState public property

public GameStateData,CrewChiefV3.GameState previousGameState
return CrewChiefV3.GameState.GameStateData

readOpponentDeltasForEveryLap public static property

public static Boolean,System readOpponentDeltasForEveryLap
return System.Boolean

running public property

public Boolean,System running
return System.Boolean

speechRecogniser public property

public SpeechRecogniser,CrewChiefV3 speechRecogniser
return SpeechRecogniser

spotterInterval public static property

public static TimeSpan,System spotterInterval
return System.TimeSpan