CarController class
hud.CarController
Inheritance
Base: game.ui.HUDGameController
Derived
None.
Properties
| Property | Type | |
|---|---|---|
SpeedValue | ink.TextWidgetReference | scripted |
SpeedUnits | ink.TextWidgetReference | scripted |
RPMChunks | ink.ImageWidgetReference[] | scripted |
psmBlackboard | WeakHandle<game.IBlackboard> | scripted |
PSM_BBID | red.CallbackObject? | scripted |
currentZoom | float | scripted |
currentTime | GameTime | scripted |
activeVehicleUIBlackboard | WeakHandle<game.IBlackboard> | scripted |
vehicleBBStateConectionId | red.CallbackObject? | scripted |
speedBBConnectionId | red.CallbackObject? | scripted |
gearBBConnectionId | red.CallbackObject? | scripted |
tppBBConnectionId | red.CallbackObject? | scripted |
rpmValueBBConnectionId | red.CallbackObject? | scripted |
leanAngleBBConnectionId | red.CallbackObject? | scripted |
playerStateBBConnectionId | red.CallbackObject? | scripted |
activeChunks | int | scripted |
rpmMaxValue | float | scripted |
currentSpeed | int | scripted |
activeVehicle | WeakHandle<vehicle.BaseObject> | scripted |
driver | bool | scripted |
settings | userSettings.UserSettings? | scripted |
settingsListener | CarSpeedometerSettingsListener? | scripted |
groupPath | CName | scripted |
kmOn | bool | scripted |
Functions
bool OnInitialize()RTTIbool OnUninitialize()RTTIbool OnPlayerAttach(game.Object playerPuppet)RTTIbool OnPlayerDetach(game.Object playerPuppet)RTTIbool OnMountingEvent(game.mounting.MountingEvent evt)RTTIbool OnUnmountingEvent(game.mounting.UnmountingEvent evt)RTTIbool CheckIfInTPP()RTTIvoid RegisterToVehicle(bool register)RTTIbool OnZoomChange(float evt)RTTIbool OnRpmMaxChanged(float rpmMax)RTTIbool OnSpeedValueChanged(float speedValue)RTTIbool OnGearValueChanged(int gearValue)RTTIbool OnRpmValueChanged(float rpmValue)RTTIvoid Reset()RTTIvoid drawRPMGaugeFull(float rpmValue)RTTIvoid EvaluateRPMMeterWidget(int currentAmountOfChunks)RTTIvoid UpdateChunkVisibility()RTTIbool OnLeanAngleChanged(float leanAngle)RTTIbool OnCameraModeChanged(bool mode)RTTIvoid OnVarModified(CName groupPath, CName varName, InGameConfigVarType varType, InGameConfigChangeReason reason)RTTIvoid UpdateMeasurementUnits()RTTIvoid SetMeasurementUnits(int value)RTTIvoid RegisterUserSettingsListener()RTTI