AutoDriveSystem class
AutoDriveSystem
Inheritance
Base: game.NativeAutodriveSystem
Derived
None.
Properties
| Property | Type | |
|---|---|---|
player | WeakHandle<PlayerPuppet> | scripted |
playerVehicleStateCallbackHandle | red.CallbackObject? | scripted |
playerCombatStateCallbackHandle | red.CallbackObject? | scripted |
playerWeaponStateCallbackHandle | red.CallbackObject? | scripted |
playerMeleeWeaponStateCallbackHandle | red.CallbackObject? | scripted |
playerAttachedCallbackID | uint | scripted |
playerDetachedCallbackID | uint | scripted |
vehicleHealthListener | AutodriveHealthChangeListener? | scripted |
autodriveQuestContentLockListener | AutodriveQuestContentLockListener? | scripted |
Functions
bool GetAutodriveAvailable()RTTIfloat GetDistanceToCurrentDestination()RTTIfloat GetEstimatedTimeToArrival()RTTIvoid OnAttach()overrideRTTIvoid OnDetach()overrideRTTIvoid OnPlayerAttachedCallback(game.Object playerPuppet)RTTIvoid OnPlayerDetachedCallback(game.Object playerPuppet)RTTIvoid OnAutodriveToggled(bool enabled, bool isDelamain)RTTIvoid OnEnableAutoDriveRequest(EnableAutoDriveRequest request)RTTIvoid OnDisableAutoDriveRequest(DisableAutoDriveRequest request)RTTIvoid OnToggleFreeRoamRequest(ToggleFreeRoamRequest request)RTTIvoid OnUpdateAutoDriveAvailabilityRequest(UpdateAutoDriveAvailabilityRequest request)RTTIvoid OnSendAutoDriveNotificationRequest(game.SendAutoDriveNotificationRequest request)RTTIvoid OnStopAutoDriveRequest(game.StopAutoDriveRequest request)RTTIvoid OnStopAutoDriveOnDestinationReachedRequest(game.StopAutoDriveOnDestinationReachedRequest request)RTTIbool OnReachedWorldBoundary()RTTIvoid OnStopAutoDriveOnTeleportRequest(StopAutoDriveOnTeleportRequest request)RTTIvoid OnUpdateAutodriveOnDestinationChangeRequest(UpdateAutodriveOnDestinationChangeRequest request)RTTIvoid OnPlayerVehicleChange(string data)RTTIvoid OnPlayerStateChange(int value)RTTIvoid OnWeaponStateChange(int value)RTTIvoid OnMeleeWeaponStateChange(int value)RTTIvoid OnUpdateAutodriveStateAfterVehicleHealthChangeRequest(UpdateAutodriveStateAfterVehicleHealthChange request)RTTIvoid OnUpdateAutodriveStateAfterQuestLockChange(UpdateAutodriveStateAfterQuestLockChange request)RTTIvoid OnUpdateAutodriveStateOnVehicleQuickHackChange(UpdateAutodriveStateOnVehicleQuickHackChange request)RTTIvoid OnAutoDriveHitRequest(AutoDriveHitRequest request)RTTIvoid SignalAutodriveAvailable()RTTIvoid StopAutodriveIfNecessary(bool stopVehicleIfDeactivated)RTTIvoid StopPlayerVehicle()RTTIvoid StartListeningForPlayerMoveInputs()RTTIbool OnAction(game.input.ScriptListenerAction action, game.input.ScriptListenerActionConsumer consumer)RTTIvoid OnUpdateAutodriveStateOnVehicleForceBrakeEnd(UpdateAutodriveStateOnVehicleForceBrakeEnd request)RTTIvoid StopListeningForPlayerMoveInputs()RTTIvoid SendNotification(string message, game.SimpleMessageType type)RTTIvoid HighlightValidRoadsOnMinimap()RTTIgame.IBlackboard? GetActiveVehicleDataBB()RTTIUI_ActiveVehicleDataDef? GetActiveVehicleDataBBDef()RTTIgame.IBlackboard? GetAutodriveDataBB()RTTIUI_AutodriveDataDef? GetAutodriveDataBBDef()RTTIgame.IBlackboard? GetMapBB()RTTIUI_MapDef? GetMapBBDef()RTTI