BaseObject class
vehicle.BaseObject
Inheritance
Base: game.Object
Derived
vehicle.AVBaseObject, vehicle.TankBaseObject, vehicle.WheeledBaseObject
Properties
| Property | Type | |
|---|---|---|
archetype | byte | |
isVehicleOnStateLocked | bool | |
vehicleComponent | WeakHandle<VehicleComponent> | scripted |
uiComponent | WeakHandle<WorldWidgetComponent> | scripted |
crowdMemberComponent | CrowdMemberBaseComponent? | scripted |
attitudeAgent | game.AttitudeAgent? | scripted |
hitTimestamp | float | scripted |
drivingTrafficPattern | CName | scripted |
onPavement | bool | scripted |
inTrafficLane | bool | scripted |
timesSentReactionEvent | int | scripted |
timesToResendHandleReactionEvent | int | scripted |
hasReactedToStimuli | bool | scripted |
gotStuckIncrement | int | scripted |
waitForPassengersToSpawnEventDelayID | game.DelayID | scripted |
triggerPanicDrivingEventDelayID | game.DelayID | scripted |
reactionTriggerEvent | HandleReactionEvent? | scripted |
fearInside | bool | scripted |
photoModeActiveListener | red.CallbackObject? | scripted |
vehicleUpsideDown | bool | scripted |
isQhackUploadInProgress | bool | scripted |
hitByPlayer | bool | scripted |
currentlyUploadingAction | WeakHandle<ScriptableDeviceAction> | scripted |
bumpedRecently | int | scripted |
bumpTimestamp | float | scripted |
minUnconsciousImpact | float | scripted |
driverUnconscious | bool | scripted |
abandoned | bool | scripted |
Functions
game.IBlackboard? GetBlackboard()RTTIWeakHandle<game.data.Vehicle_Record> GetRecord()RTTIbool IsVehicleRemoteControlled()RTTIbool IsVehicleAccelerateQuickhackActive()RTTIbool IsVehicleForceBrakesQuickhackActive()RTTIfloat GetDistanceToPlayerSquared()RTTIbool IsHackable()RTTIbool IsVehicleInsideInnerAreaOfAreaSpeedLimiter()RTTIbool IsPlayerMounted()RTTIbool IsPlayerDriver()RTTIbool HasPassengers()RTTIbool HasTrafficSlot()RTTIvoid PreHijackPrepareDriverSlot()RTTIvoid SetVehicleRemoteControlled(bool enable, bool shouldUnseatPassengers, bool shouldModifyInteractionState)RTTIvoid ToggleVehicleRemoteControlCamera()RTTIvoid SetIsHackable(bool enable)RTTIvoid ActivateNetrunnerQuickhack(vehicle.VehicleNetrunnerQuickhackType chooseHack)RTTIbool IsRadioReceiverActive()RTTIbool WasRadioReceiverPlaying()RTTIvoid ToggleRadioReceiver(bool toggle)RTTIvoid SetRadioReceiverStation(uint stationIndex)RTTIvoid NextRadioReceiverStation()RTTIvoid SetRadioTier(uint radioTier, bool overrideTier)RTTIvoid ToggleHorn(bool toggle, bool? isPolice)RTTIvoid ToggleSiren(bool toggle)RTTIvoid DetachPart(CName partName)RTTIvoid DetachAllParts()RTTIvoid SetHasExploded()RTTIbool HasOccupantSlot(CName slotName)RTTITDBID GetRecordID()RTTICName GetBoneNameFromSlot(CName slotName)RTTIvoid TurnVehicleOn(bool on)RTTIvoid TurnEngineOn(bool on)RTTIvoid LockVehicleOnState(bool shouldLock)RTTIbool IsVehicleTurnedOn()RTTIbool IsEngineTurnedOn()RTTIbool IsVehicleOnStateLocked()RTTIvoid ForceBrakesFor(float seconds)RTTIvoid ForceBrakesUntilStoppedOrFor(float secondsToTimeout, vehicle.ForceBrakesCallbackListener? callback)RTTIvoid ActivateTemporaryLossOfControl()RTTIbool AreFrontWheelsCentered()RTTICName GetAnimsetOverrideForPassenger(CName slotName)RTTICName GetAnimsetOverrideForPassengerFromSlotName(CName slotName)RTTICName GetAnimsetOverrideForPassengerFromBoneName(CName boneName)RTTIvehicle.UnmountPosition CanUnmount(bool isPlayer, WeakHandle<game.Object> mountedObject, vehicle.ExitDirection? checkSpecificDirection)RTTIvehicle.CoolExitImpulseLevel DetermineCoolExitImpulseLevel(WeakHandle<game.Object> mountedObject, float maxImpulseHeightThreshold, float minImpulseHeightThreshold)RTTIvehicle.Controller? GetAccessoryController()RTTIbool IsAirControlEnabled()RTTIvoid EnableAirControl(bool toggle)RTTIbool IsInAir()RTTIbool IsLeaningOnOneWheel()RTTIbool IsFlippedOver()RTTIbool IsSkidding(float wheelSlipThreshold)RTTIvehicle.CameraManager? GetCameraManager()RTTIbool IsPlayerVehicle()RTTIbool IsPlayerActiveVehicle()RTTIbool IsCrowdVehicle()RTTIbool IsVehicleParked()RTTIbool IsAutoDriveModeEnabled()RTTIuint GetCurrentRadioIndex()RTTICName GetRadioReceiverStationName()RTTICName GetRadioReceiverTrackName()RTTIvoid NotifyWindowChange(CName windowName, bool isOpened)RTTIvoid AddCollisionForce(Vector4 force)RTTIVector4 GetCollisionForce()RTTIVector4 GetLinearVelocity()RTTIfloat GetTotalMass()RTTIvoid SetDestructionGridPointValues(uint layer, byte values, bool accumulate)RTTIvoid DestructionResetGrid()RTTIvoid DestructionResetGlass()RTTICName GetSlotIdForMountedObject(WeakHandle<game.Object> mountedObject)RTTIWorldWidgetComponent?[] GetUIComponents()RTTIvoid SendDelayedFinishedMountingEventToPS(bool isMounting, CName slotID, game.Object character, float delay)RTTIvoid PhysicsWakeUp()RTTIbool IsInTrafficPhysicsState()RTTIbool ShouldDamageSystemIgnoreHit(CName hitComponentName)RTTIfloat GetCurrentSlotLocalPathLength()RTTIfloat GetCurrentSlotLocalPathProgression()RTTIfloat GetCurrentSlotEstimatedTimeToArrival()RTTIbool IsExecutingAnyCommand()RTTIAIVehicleAgent? GetAIComponent()RTTIvehicle.VehicleCustomization? GetCustomizationComponent()RTTIbool IsChasingTarget()RTTIfloat GetTimeChasingTarget()RTTIbool HasNavPathToTarget(ent.EntityID targetID, float duration, bool invert)RTTIbool IsPerformingPanicDriving()RTTIbool IsPerformingSceneAnimation()RTTIbool CanStartPanicDriving()RTTIvoid EnableHighPriorityPanicDriving()RTTIvoid ApplyPermanentStun()RTTIbool CommandsFromDriverEnabled()RTTIvehicle.PoliceStrategy GetPoliceStrategy()RTTIvoid SetPoliceStrategy(vehicle.PoliceStrategy strategy)RTTIVector3 GetPoliceStrategyDestination()RTTIvoid SetPoliceStrategyDestination(Vector4 dest)RTTIbool CanSwitchWeapons()RTTIbool IsArmedVehicle()RTTIvoid EnableNPCCombat(bool enable)RTTIvoid NPCShoot(Vector4 target, uint projectiles)RTTIbool IsNPCShooting()RTTIbool EverPerformedChase()RTTIbool TrySetHitCooldown()RTTIvoid ApplyAvgZOffset()RTTIbool IsVehicle()overrideRTTIbool IsPrevention()overrideRTTIfloat GetCurrentSpeed()RTTIbool IsAbandoned()RTTIbool IsDestroyed()RTTIbool IsStolen()RTTIbool RecordHasTag(CName tag)RTTIbool RecordHasTag(game.data.Vehicle_Record vehicleRecord, CName tag)RTTIbool IsGameplayRelevant()overrideRTTIbool OnRequestComponents(ent.EntityRequestComponentsInterface ri)overrideRTTIbool OnTakeControl(ent.EntityResolveComponentsInterface ri)overrideRTTIbool OnGameAttached()overrideRTTIbool OnDetach()overrideRTTIbool OnDeviceLinkRequest(DeviceLinkRequest evt)overrideRTTIbool OnEventReceived(sense.StimuliEvent stimEvent)RTTIbool OnDelayReactionToMissingPassengersEvent(DelayReactionToMissingPassengersEvent evt)RTTIbool OnTeleport()RTTIVehicleDeviceLinkPS? GetDeviceLink()overrideRTTIvoid SendEventToDefaultPS(red.Event evt)overrideRTTIbool OnMountingEvent(game.mounting.MountingEvent evt)RTTIbool OnVehicleFinishedMounting(vehicle.FinishedMountingEvent evt)RTTIbool OnUnmountingEvent(game.mounting.UnmountingEvent evt)RTTIvoid SetInteriorUIEnabled(bool enabled)RTTIbool ReevaluateStealing(WeakHandle<game.Object> character, CName slotID, bool stealingAction)RTTIvoid StealVehicle(WeakHandle<game.Object> thief)RTTIbool OnWorkspotFinished(CName componentName)RTTIVehicleComponentPS? GetVehiclePS()RTTICName GetPSClassName()overrideRTTIgame.PersistentState? GetControllerPersistentState()RTTIVehicleComponent? GetVehicleComponent()RTTICrowdMemberBaseComponent? GetCrowdMemberComponent()RTTIgame.AttitudeAgent? GetAttitudeAgent()overrideRTTIbool ShouldShowScanner()overrideRTTIbool OnHUDInstruction(HUDInstruction evt)overrideRTTIbool IsQuickHackAble()overrideRTTIbool IsQuickHacksExposed()overrideRTTIvoid SendQuickhackCommands(bool shouldOpen)overrideRTTIbool OnUploadProgressStateChanged(UploadProgramProgressEvent evt)RTTIbool CanRevealRemoteActionsWheel()overrideRTTIbool ShouldRegisterToHUD()overrideRTTIbool OnSetExposeQuickHacks(SetExposeQuickHacks evt)RTTIFocusForcedHighlightData? GetDefaultHighlight()overrideRTTIEFocusOutlineType GetCurrentOutline()overrideRTTIbool IsNetrunner()overrideRTTIbool CompileScannerChunks()overrideRTTIbool OnLookedAtEvent(LookedAtEvent evt)overrideRTTIbool OnCrowdSettingsEvent(CrowdSettingsEvent evt)RTTIbool OnStuckEvent(vehicle.VehicleStuckEvent evt)RTTIbool OnVehicleDestructionEvent(game.events.VehicleDestructionEvent evt)RTTIbool OnTrafficAudioEvent(vehicle.TrafficAudioEvent evt)RTTIbool OnVehicleBumpEvent(vehicle.VehicleBumpEvent evt)RTTIvoid HandleTrafficBump(float impact)RTTIvoid EscalateBumpVehicleReaction()RTTIvoid TriggerUnconsciousBehaviorForPassengers()RTTIbool OnUnableToStartPanicDriving(vehicle.UnableToStartPanicDriving evt)RTTIbool OnWaitForPassengersToSpawnEvent(WaitForPassengersToSpawnEvent evt)RTTIbool OnHandleReactionEvent(HandleReactionEvent evt)RTTIbool OnTriggerPanicDrivingEvent(TriggerPanicDrivingEvent evt)RTTIvoid PanicDrivingBehavior()RTTIvoid TriggerDrivingPanicBehavior(Vector4 threatPosition)RTTIvoid TriggerFearInsideVehicleBehavior()RTTIvoid TriggerExitBehavior(float? maxDelayOverride)RTTIvoid ResendHandleReactionEvent()RTTIvoid ResetTimesSentReactionEvent()RTTIvoid ResetReactionSequenceOfAllPassengers()RTTIbool CanNPCsLeaveVehicle()RTTIbool IsTargetClose(Vector4 targetPosition, float distance)RTTIbool OnHit(game.events.HitEvent evt)overrideRTTIbool ShouldPreventionReactToExplosion()RTTIvoid ReactToHitProcess(game.events.HitEvent hitEvent)overrideRTTIvoid OnHitSounds(game.events.HitEvent hitEvent)overrideRTTIbool OnDamageReceived(game.events.DamageReceivedEvent evt)overrideRTTIvoid DamagePipelineFinalized(game.events.HitEvent evt)overrideRTTIvoid ApplyDamagesToDriver(game.events.HitEvent evt)RTTIbool IsOnPavement()RTTIbool OnPavement(game.OnPavement evt)RTTIbool OnOffPavement(game.OffPavement evt)RTTIbool IsActionQueueEnabled()RTTIbool IsActionQueueFull()RTTIvoid SetCurrentlyUploadingAction(ScriptableDeviceAction action)overrideRTTIScriptableDeviceAction? GetCurrentlyUploadingAction()overrideRTTIbool OnInCrowd(game.InCrowd evt)RTTIbool OnOutOfCrowd(game.OutOfCrowd evt)RTTIbool IsInTrafficLane()RTTIbool IsVehicleUpsideDown()RTTIbool ComputeIsVehicleUpsideDown()RTTIgame.data.VehicleType GetVehicleType()RTTIbool OnVehicleFlippedOverEvent(vehicle.FlippedOverEvent evt)RTTIbool OnStealVehicleEvent(vehicle.StealEvent evt)RTTIbool IsQuest()overrideRTTIvoid MarkAsQuest(bool isQuest)overrideRTTIbool OnSwitchVehicleVisualCustomizationStateEvent(SwitchVehicleVisualCustomizationStateEvent evt)RTTIbool OnCheckVehicleVisialCustomizationDistanceTermination(CheckVehicleVisialCustomizationDistanceTermination evt)RTTIbool OnNewVehicleVisualCustomizationEvent(NewVehicleVisualCustomizationEvent evt)RTTIvoid ExecuteVisualCustomizationWithDelay(bool set, bool reset, bool instant, float? delay)RTTIbool OnProcessVehicleVisualCustomizationLights(VehicleCustomizationLightsEvent evt)RTTIvoid PlayVehicleVisualCustomizationShader(bool play, bool? instant, bool? affectRims)RTTIWorldWidgetComponent?[] GetCustomizationWidgets()RTTIvoid SyncVehicleVisualCustomizationDefinition()RTTI