C# 클래스 CrewChiefV3.PCars.PCarsGameStateMapper

상속: GameStateMapper
파일 보기 프로젝트 열기: mrbelowski/r3e_crewchief_v3 1 사용 예제들

공개 메소드들

메소드 설명
PCarsGameStateMapper ( ) : System
getParticipantDataForName ( pCarsAPIParticipantStruct pCarsAPIParticipantStructArray, String name, int index ) : pCarsAPIParticipantStruct
getPlayerDataStruct ( pCarsAPIParticipantStruct pCarsAPIParticipantStructArray, int viewedParticipantIndex ) : pCarsAPIParticipantStruct>.Tuple
mapToGameStateData ( Object memoryMappedFileStruct, GameStateData previousGameState ) : GameStateData
mapToSessionType ( Object memoryMappedFileStruct ) : SessionType
setSpeechRecogniser ( SpeechRecogniser speechRecogniser ) : void
versionCheck ( Object memoryMappedFileStruct ) : void

비공개 메소드들

메소드 설명
createOpponentData ( pCarsAPIParticipantStruct participantStruct, System.Boolean loadDriverName ) : OpponentData
getMean ( List data ) : float
getTyreCondition ( float percentWear ) : TyreCondition
mapToAeroDamageLevel ( float aeroDamage ) : DamageLevel
mapToEngineDamageLevel ( float engineDamage ) : DamageLevel
mapToFlagEnum ( uint highestFlagColour ) : FlagEnum
mapToPitWindow ( GameStateData currentGameState, uint pitSchedule, uint pitMode ) : PitWindow
mapToSessionPhase ( SessionType sessionType, uint sessionState, uint raceState, int numParticipants, System.Boolean leaderHasFinishedRace, SessionPhase previousSessionPhase, float sessionTimeRemaining, float sessionRunTime ) : SessionPhase
upateOpponentData ( OpponentData opponentData, int racePosition, int completedLaps, int sector, System.Boolean isInPits, float sessionRunningTime, float secondsSinceLastUpdate, float currentWorldPosition, float previousWorldPosition, float previousSpeed, float worldRecordLapTime, float distanceRoundTrack, System.Boolean isRaining, float trackTemp, float airTemp ) : void

메소드 상세

PCarsGameStateMapper() 공개 메소드

public PCarsGameStateMapper ( ) : System
리턴 System

getParticipantDataForName() 공개 정적인 메소드

public static getParticipantDataForName ( pCarsAPIParticipantStruct pCarsAPIParticipantStructArray, String name, int index ) : pCarsAPIParticipantStruct
pCarsAPIParticipantStructArray pCarsAPIParticipantStruct
name String
index int
리턴 pCarsAPIParticipantStruct

getPlayerDataStruct() 공개 정적인 메소드

public static getPlayerDataStruct ( pCarsAPIParticipantStruct pCarsAPIParticipantStructArray, int viewedParticipantIndex ) : pCarsAPIParticipantStruct>.Tuple
pCarsAPIParticipantStructArray pCarsAPIParticipantStruct
viewedParticipantIndex int
리턴 pCarsAPIParticipantStruct>.Tuple

mapToGameStateData() 공개 메소드

public mapToGameStateData ( Object memoryMappedFileStruct, GameStateData previousGameState ) : GameStateData
memoryMappedFileStruct Object
previousGameState CrewChiefV3.GameState.GameStateData
리턴 CrewChiefV3.GameState.GameStateData

mapToSessionType() 공개 메소드

public mapToSessionType ( Object memoryMappedFileStruct ) : SessionType
memoryMappedFileStruct Object
리턴 SessionType

setSpeechRecogniser() 공개 메소드

public setSpeechRecogniser ( SpeechRecogniser speechRecogniser ) : void
speechRecogniser SpeechRecogniser
리턴 void

versionCheck() 공개 메소드

public versionCheck ( Object memoryMappedFileStruct ) : void
memoryMappedFileStruct Object
리턴 void