Method | Description | |
---|---|---|
PCarsGameStateMapper ( ) : System | ||
getParticipantDataForName ( pCarsAPIParticipantStruct pCarsAPIParticipantStructArray, String name, int index ) : pCarsAPIParticipantStruct | ||
getPlayerDataStruct ( pCarsAPIParticipantStruct pCarsAPIParticipantStructArray, int viewedParticipantIndex ) : pCarsAPIParticipantStruct>.Tuple |
||
mapToGameStateData ( Object memoryMappedFileStruct, |
||
mapToSessionType ( Object memoryMappedFileStruct ) : SessionType | ||
setSpeechRecogniser ( SpeechRecogniser speechRecogniser ) : void | ||
versionCheck ( Object memoryMappedFileStruct ) : void |
Method | Description | |
---|---|---|
createOpponentData ( pCarsAPIParticipantStruct participantStruct, System.Boolean loadDriverName ) : |
||
getMean ( List |
||
getTyreCondition ( float percentWear ) : TyreCondition | ||
mapToAeroDamageLevel ( float aeroDamage ) : DamageLevel | ||
mapToEngineDamageLevel ( float engineDamage ) : DamageLevel | ||
mapToFlagEnum ( uint highestFlagColour ) : FlagEnum | ||
mapToPitWindow ( |
||
mapToSessionPhase ( SessionType sessionType, uint sessionState, uint raceState, int numParticipants, System.Boolean leaderHasFinishedRace, SessionPhase previousSessionPhase, float sessionTimeRemaining, float sessionRunTime ) : SessionPhase | ||
upateOpponentData ( |
public static getParticipantDataForName ( pCarsAPIParticipantStruct pCarsAPIParticipantStructArray, String name, int index ) : pCarsAPIParticipantStruct | ||
pCarsAPIParticipantStructArray | pCarsAPIParticipantStruct | |
name | String | |
index | int | |
return | pCarsAPIParticipantStruct |
public static getPlayerDataStruct ( pCarsAPIParticipantStruct pCarsAPIParticipantStructArray, int viewedParticipantIndex ) : pCarsAPIParticipantStruct>.Tuple |
||
pCarsAPIParticipantStructArray | pCarsAPIParticipantStruct | |
viewedParticipantIndex | int | |
return | pCarsAPIParticipantStruct>.Tuple |
public mapToGameStateData ( Object memoryMappedFileStruct, |
||
memoryMappedFileStruct | Object | |
previousGameState | ||
return |
public mapToSessionType ( Object memoryMappedFileStruct ) : SessionType | ||
memoryMappedFileStruct | Object | |
return | SessionType |
public setSpeechRecogniser ( SpeechRecogniser speechRecogniser ) : void | ||
speechRecogniser | SpeechRecogniser | |
return | void |
public versionCheck ( Object memoryMappedFileStruct ) : void | ||
memoryMappedFileStruct | Object | |
return | void |