PreventionSystem class
PreventionSystem
Inheritance
Base: game.ScriptableSystem
Derived
None.
Properties
| Property | Type | |
|---|---|---|
districtManager | DistrictManager? | scripted |
agentRegistry | PoliceAgentRegistry? | scripted |
ignoreSecurityAreasByQuest | bool | scripted |
forceEternalGreyStars | bool | scripted |
blockOnFootSpawnByQuest | bool | scripted |
blockVehicleSpawnByQuest | bool | scripted |
blockReconDroneSpawnByQuest | bool | scripted |
crimeScoreMultiplierByQuest | float | scripted |
preventionQuestEventSources | CName[] | scripted |
systemLockSources | CName[] | scripted |
systemEnabled | bool | scripted |
player | WeakHandle<PlayerPuppet> | scripted |
preventionPreset | WeakHandle<game.data.DistrictPreventionData_Record> | scripted |
preventionDataMatrix | WeakHandle<game.data.PreventionHeatDataMatrix_Record> | scripted |
preventionDataTable | WeakHandle<game.data.PreventionHeatTable_Record> | scripted |
systemLocked | bool | scripted |
nodeEventSources | CName[] | scripted |
heatStage | EPreventionHeatStage | scripted |
heatChangeReason | string | scripted |
ignoreSecurityAreas | bool | scripted |
playerIsInSecurityArea | game.PersistentID[] | scripted |
playerIsInPreventionFreeArea | bool | scripted |
policeSecuritySystems | game.PersistentID[] | scripted |
agentGroupsList | PreventionAgents?[] | scripted |
lastKnownPosition | Vector4 | scripted |
lastKnownVehicle | WeakHandle<vehicle.BaseObject> | scripted |
districtMultiplier | float | scripted |
shouldForceStarStateUIToActive | bool | scripted |
lastAttackTime | float | scripted |
lastAttackTargetIDs | ent.EntityID[] | scripted |
viewers | WeakHandle<game.Object>[] | scripted |
hasViewers | bool | scripted |
starState | EStarState | scripted |
starStateUIChanged | bool | scripted |
isPlayerMounted | bool | scripted |
policeKnowsPlayerLocation | bool | scripted |
isInitialSearchState | bool | scripted |
heatLevelChanged | bool | scripted |
playerCrossedBufferDistance | bool | scripted |
crimescoreTimerDelayID | game.DelayID | scripted |
starStateBufferTimerDelayID | game.DelayID | scripted |
beliefAccuracyTimerDelayID | game.DelayID | scripted |
blinkingStatusDelayID | game.DelayID | scripted |
searchingStatusDelayID | game.DelayID | scripted |
transitionToGreyStateDelayID | game.DelayID | scripted |
policemenSpawnDelayID | game.DelayID | scripted |
securityAreaResetDelayID | game.DelayID | scripted |
inputlockDelayID | game.DelayID | scripted |
freeAreaResetDelayID | game.DelayID | scripted |
securityAreaResetCheck | bool | scripted |
hadOngoingSpawnRequest | bool | scripted |
totalCrimeScore | float | scripted |
canSpawnFallbackEarly | bool | scripted |
failsafePoliceRecordT1 | TDBID | scripted |
failsafePoliceRecordT2 | TDBID | scripted |
failsafePoliceRecordT3 | TDBID | scripted |
blinkReasonsStack | CName[] | scripted |
wantedBarBlackboard | WeakHandle<game.IBlackboard> | scripted |
onPlayerChoiceCallID | red.CallbackObject? | scripted |
playerAttachedCallbackID | uint | scripted |
playerDetachedCallbackID | uint | scripted |
playerHLSID | red.CallbackObject? | scripted |
playerVehicleStateID | red.CallbackObject? | scripted |
playerHLS | game.PSMHighLevel | scripted |
playerVehicleState | game.PSMVehicle | scripted |
unhandledInputsReceived | int | scripted |
preventionUnitKilledDuringLock | bool | scripted |
previousHitTargetID | ent.EntityID | scripted |
previousHitAttackTime | float | scripted |
reconPhaseEnabled | bool | scripted |
reconDeployed | bool | scripted |
reconDestroyed | bool | scripted |
minHeatLevel | EPreventionHeatStage | scripted |
maxHeatLevel | EPreventionHeatStage | scripted |
defaultHeatLevels | bool | scripted |
vehicleSpawnBlockSide | EVehicleSpawnBlockSide | scripted |
damageToPlayerMultiplier | float | scripted |
chaseMultiplier | float | scripted |
policeChaseBlackboard | WeakHandle<game.IBlackboard> | scripted |
blockShootingFromVehicle | bool | scripted |
Debug_ProcessReason | EPreventionDebugProcessReason | scripted |
Debug_LastAttackType | game.data.AttackType | scripted |
Debug_LastDamageDealt | float | scripted |
Debug_LastCrimeDistance | float | scripted |
Debug_lastAVRequestedSpawnPosition | Vector3 | scripted |
temp_const_false | bool | scripted |
preventionTickCaller | IntervalCaller? | scripted |
roadblockadeRespawnTickCaller | IntervalCaller? | scripted |
maxtacTicketID | uint | scripted |
avSpawnPointList | Vector3[] | scripted |
maxAllowedDistanceToPlayer | float | scripted |
lastAVRequestedSpawnPositionsArray | Vector4[] | scripted |
shouldPreventionUnitsStartRetreating | bool | scripted |
numberOfMaxtacSquadsSpawned | int | scripted |
maxtacTroopBeingAliveTimeStamp | float | scripted |
civilianVehicleDestructionCount | int | scripted |
lastCivilianVehicleDestructionTimeStamp | float | scripted |
civilianVehicleDestructionThreshold | int | scripted |
civilianVehicleDestructionTimeout | float | scripted |
vehicleSpawnTickCaller | IntervalCaller? | scripted |
ressuplyVehicleTicketCaller | IntervalCaller? | scripted |
isVehicleDelayOver | bool | scripted |
currentVehicleTicketCount | int | scripted |
failedVehicleSpawnAttempts | int | scripted |
codeRedReinforcement | bool | scripted |
lastStarChangeTimeStamp | float | scripted |
firstStarTimeStamp | float | scripted |
setCallRejectionIncrement | bool | scripted |
Functions
void OnAttach()overrideRTTIvoid OnDetach()overrideRTTIvoid OnRestored(int saveVersion, int gameVersion)overrideRTTIbool IsSystemEnabled()RTTIbool IsSystemLocked()RTTIbool IsChasingPlayer()RTTIbool IsMaxTacDefeated()RTTIbool IsPreventionInputLocked()RTTIbool IsSavingLocked()overrideRTTIfloat GetLastAttackTime()RTTIent.EntityID[] GetLastAttackTargetIDs()RTTIVector4 GetLastKnownPlayerPosition()RTTIWeakHandle<vehicle.BaseObject> GetLastKnownPlayerVehicle()RTTIWeakHandle<PlayerPuppet> GetPlayer()RTTIEPreventionHeatStage GetHeatStage()RTTIEStarState GetStarState()RTTIuint GetHeatStageAsInt()RTTIbool IsShootingFromVehicleBlocked()RTTIScriptGameInstance GetGame()RTTIfloat GetDamageToPlayerMultiplier()RTTIbool AreTurretsActive()RTTIWeakHandle<District> GetCurrentDistrict()RTTIfloat GetLastStarChangeStartTimeStamp()RTTIfloat GetFirstStarTimeStamp()RTTIbool IsPlayerMounted()RTTIbool IsPlayerInQuestArea()RTTIvoid SetIsPlayerMounted(bool isPlayerMounted)RTTIfloat GetSoftDeescalationBlinkingStarsDuration()RTTIfloat GetSoftDeescalationGreyStarsDuration()RTTIbool IsPoliceUnawareOfThePlayerExactLocation()RTTIPoliceAgentRegistry? GetAgentRegistry()RTTIbool ShouldWorkSpotPoliceJoinChase(ScriptedPuppet puppet)RTTIbool ShouldSpawnPatrolVehicleWhenInSearch()RTTIvoid UpdateDataMatrixOnDistrictChange(WeakHandle<District> district)RTTIvoid GetDataTableForCurrentHeat()RTTIgame.data.PreventionHeatTable_Record? GetDataTableForHeat(EPreventionHeatStage heatStage)RTTIfloat GetPreventionInputLockTime()RTTIint GetInputLockOverrideThreshold()RTTIfloat GetSpawnOriginMaxDistance()RTTIbool GetCharacterRecordsFromPool(int recordsCount, WeakHandle<game.data.PreventionUnitPoolData_Record>[] pool, TDBID[] recordIDs)RTTIWeakHandle<game.data.PreventionHeatData_Record> GetHeatData()RTTIbool TryGetUnitDataFromVehicleRecord(WeakHandle<game.data.Vehicle_Record> vehicleRecord, int recordsCount, TDBID[] recordIDs)RTTIbool TryGetUnitDataFromHeatStage(EPreventionHeatStage heatStage, int recordsCount, TDBID[] recordIDs)RTTIbool TryGetDistinctUnitDataFromHeatStage(TDBID[] recordIDs)RTTIvoid GetFindSpawnPointsOriginsData(Vector4[] spawnOriginsPositions)RTTIvoid UpdateTotalCrimeScore(PreventionDamageRequest request)RTTIvoid CalculateCrimeScoreForNPC(PreventionDamageRequest request)RTTIvoid CalculateCrimeScoreForVehicle(PreventionDamageRequest request)RTTIbool TryMarkAsAttackedByPlayer(ent.EntityID targetId)RTTIfloat GetDistrictMultiplier()RTTIvoid SetLastAttackTime(float value)RTTIvoid UpdateLastAttackTargetIDs(ent.EntityID value)RTTIvoid ClearLastAttackTargetIDs()RTTIvoid SetLastKnownPlayerPosition(Vector4 value)RTTIvoid SetSystemLock(bool value)RTTIvoid SetCrimeScoreMultiplier(float value)RTTIvoid SetVehicleSpawnBlockSide(EVehicleSpawnBlockSide value)RTTIvoid SetDamageToPlayerMultiplier(float value)RTTIvoid SetChaseMultiplier(float value)RTTIvoid SetBlockVehicleSpawn(bool value)RTTIvoid SetBlockOnFootSpawn(bool value)RTTIvoid SetBlockShootingFromVehicle(bool value)RTTIvoid SetBlockReconDroneSpawn(bool value)RTTIvoid SetMinMaxResetHeatLevels(int MinLevel, int MaxLevel, bool isDefault)RTTIvoid SetStarStateUI(EStarState newState)RTTIint GetWantedLevelFact()RTTIvoid SetWantedLevelFact(int level)RTTIvoid SetWantedStateFact(EStarState state)RTTIvoid SetAgentsSupport(bool hasSupport)RTTIvoid SetSingleAgentSupport(WeakHandle<game.PersistentState> ps, bool hasSupport)RTTIbool CanPreventionReactToInput()RTTIvoid RegisterToBBCalls()RTTIvoid UnregisterBBCalls()RTTIvoid PlayerAttachedCallback(game.Object playerPuppet)RTTIvoid PlayerDetachedCallback(game.Object playerPuppet)RTTIbool OnPlayerHLSChange(int value)RTTIbool OnPlayerVehicleStateChange(int value)RTTIvoid StartTransitiontoGreyStateTimerRequest()RTTIvoid CancelTransitiontoGreyStateTimerRequest()RTTIvoid ResetTransitiontoGreyStateTimerRequest()RTTIvoid StartStateBufferTimerRequest()RTTIvoid CancelStateBufferTimerRequest()RTTIvoid ResetStateBufferTimerRequest()RTTIvoid UpdateStateBufferTimerRequest()RTTIvoid StartSearchingTimerRequest()RTTIvoid CancelSearchingTimerRequest()RTTIvoid ResetSearchingTimerRequest()RTTIvoid UpdateSearchingTimerRequest()RTTIvoid StartBlinkingTimerRequest()RTTIvoid StartBlinkingTimerRequest(float duration, bool lockWhileBlinking, string telemetryInfo)RTTIvoid CancelBlinkingTimerRequest()RTTIvoid ResetBlinkingTimerRequest()RTTIvoid StartCrimescoreDropTimerRequest()RTTIvoid CancelCrimescoreDropTimerRequest()RTTIvoid ResetCrimescoreDropTimerRequest()RTTIbool CancelNPCSpawnDelay()RTTIvoid OnResupplyVehicleTicketsRequest(ResupplyVehicleTicketsRequest evt)RTTIvoid TryResupplyTicket()RTTIvoid OnSpawnPoliceVehicleRequest(SpawnPoliceVehicleWithDelayRequest evt)RTTIvoid OnSpawnRoadblockRequest(SpawnRoadblockadeWithDelayRequest evt)RTTIbool CanRequestAVSpawn()RTTIbool TryRequestVehicleSpawnWithStrategy()RTTIvoid OnPreventionStarStateBufferTimerRequest(PreventionStarStateBufferTimerRequest evt)RTTIvoid PoliceLostPlayer()RTTIvoid OnPreventionTransitionToGreyStateTimerRequest(PreventionTransitionToGreyStateTimerRequest evt)RTTIvoid OnPreventionSearchingStatusRequest(PreventionSearchingStatusRequest evt)RTTIvoid OnPreventionBlinkingStatusRequest(PreventionBlinkingStatusRequest evt)RTTIvoid OnPreventionForceDeescalateRequest(PreventionForceDeescalateRequest evt)RTTIvoid OnRefreshDeescalationTimers(RefreshDeescalationTimers evt)RTTIvoid RequestUnitSpawn(TDBID recordID, WorldTransform spawnTransform)RTTIvoid RemovePreventionInputLockRequest()RTTIvoid PreventionInputLockRequest()RTTIvoid OnUnlockPreventionInputRequest(UnlockPreventionInputRequest request)RTTIvoid SendDropPointLockRequest(bool isEnabled)RTTIvoid OnPreventionCrimeScoreZeroRequest(PreventionCrimeScoreZeroRequest request)RTTIvoid OnPreventionUnitDespawnedRequest(PreventionUnitDespawnedRequest request)RTTIvoid OnPreventionUnitSpawnedRequest(PreventionUnitSpawnedRequest request)RTTIvoid HandleSpawnRequestSuccess(game.SpawnRequestResult result, TicketData ticketData)RTTIvoid HandleRoadblockadeUnitSpawned(game.Object spawnedObject)RTTIvoid HandleSpawnRequestFailure(game.SpawnRequestResult result, TicketData ticketData)RTTIvoid OnRegisterNPC(RegisterNPCRequest request)RTTIbool RegisterPreventionUnit(game.Object preventionUnit, game.DynamicVehicleType vehicleType, bool overrideExisting, vehicle.PoliceStrategy? strategy, bool? isFallback)RTTIvoid CheckLastMaxTacAlone()RTTIvoid UnregisterPreventionUnit(ent.EntityID entityID)RTTIvoid OnPreventionEntityDestroyed(ent.EntityID destroyedEntityID)RTTIbool TrySetNPCMarkedForDespawnAI(ent.EntityID entityID, bool markedForDespawn)RTTIvoid UpdateVehiclePassengerCount(ent.EntityID entityID, int passengersCount)RTTIbool IsRegistered(ent.EntityID entityID)RTTIvoid OnPreventionTickRequest(PreventionTickRequest request)RTTIvoid CheckPlayerDistanceToLKP()RTTIvoid TryResolveIndefiniteStarState()RTTIvoid TryUpdateStarState()RTTIvoid UpdateMaxTacUnits()RTTIvoid UpdateRoadblockadeUnits()RTTIvoid UpdateStarStateTo(EStarState state)RTTIvoid UpdateStarStateTimers(EStarState state)RTTIvoid UpdateStarState()RTTIvoid TryUpdateWantedLevelFact()RTTIvoid CheckPossibleSpawnPosAndRequestAVSpawn()RTTIbool CanSpawnAvAtPosition(Vector4 playerPosition, Vector4 position)RTTIbool ShouldPreventionUnitsRetreat()RTTIbool IsPlayerCloseToLastCrimePosition()RTTIvoid StartSecurityAreaResetRequest(float? resetDelay)RTTIvoid CancelSecurityAreaResetRequest()RTTIvoid OnSecurityAreaResetRequest(SecurityAreaResetRequest request)RTTIvoid OnDamageInput(PreventionDamageRequest request)RTTIvoid ProcessPreventionDamageRequest(PreventionDamageRequest request)RTTIvoid StartPipeline(PreventionDamageRequest request)RTTIvoid PreDamageChange()RTTIvoid DamageChange()RTTIvoid PostDamageChange(PreventionDamageRequest request)RTTIvoid HeatPipeline(string heatChangeReason)RTTIuint ComputeTotalCrimeScoreForTelemetry(EPreventionHeatStage newHeatStageEnum)RTTIvoid ChangeHeatStage(EPreventionHeatStage newHeatStage, string heatChangeReason)RTTIvoid OnHeatChanged(EPreventionHeatStage previousHeat)RTTIvoid TryRessuplyVehicleTickets()RTTIvoid TryStartVehicleRespawn()RTTIvoid TryStartRoadblockRespawn()RTTIvoid TryInitializePreventionTick()RTTIvoid TutorialAddPoliceSystemFact()RTTIvoid SpawnPipeline()RTTIvoid TrySpawnPoliceOnFootFallback()RTTIint SpawnFallbackUnits(Vector3[] spawnPoints, TDBID[] characterRecords, uint unitCount)RTTIbool ReachedEngagedVehiclesLimit()RTTIbool ReachedSupportVehiclesLimit()RTTIbool ReachedTotalVehiclesLimit()RTTIbool ShouldSpawnRoadblockade()RTTIbool ReachedRoadblockLimit()RTTIvoid GetNewBatchMaxTacSpawnPositions()RTTIbool UseOffTrafficPoints()RTTIvoid TryGetAVSpawnPointsCallback(game.AVSpawnPointsRequestResult requestResult)RTTIvoid RequestAVSpawnAtPosition(Vector3 position)RTTIvoid OnRemoveRecentAvSpawnLocationFromCacheRequest(RemoveRecentAvSpawnLocationFromCacheRequest req)RTTIvoid SpawnRoadblockade(EPreventionHeatStage heatStage)RTTIvoid UpdateStrategyPreCheckRequests()RTTIbool IsStrategyAvailable(vehicle.PoliceStrategy strategy)RTTIbool IsDistanceRangeValid(Vector2 range)RTTIVector2 SelectRange(WeakHandle<game.data.StrategyData_Record> strategyDataRec)RTTIvehicle.BaseStrategyRequest? CreateStrategyRequest(vehicle.PoliceStrategy strategy)RTTIuint SpawnPoliceVehicle()RTTIbool TrySpawnOnFootFallbackBasedOnRoadInfo(game.PreventionSpawnSystem system)RTTIbool IsPursuedVehicleFast()RTTIvoid DespawnAllPolice(bool useAggressiveDespawn)RTTIvoid OnRefreshDistrict(RefreshDistrictRequest request)RTTIvoid RestoreDefaultConfig()RTTIvoid UpdateVehicles()RTTIvoid UpdateNPCs()RTTIvoid OnViewerRequest(PreventionVisibilityRequest request)RTTIvoid OnVehicleStolenRequest(PreventionVehicleStolenRequest request)RTTIvoid OnCombatStartedRequest(PreventionCombatStartedRequest request)RTTIvoid OnCrimeWitnessRequest(PreventionCrimeWitnessRequest request)RTTIbool UpdateViewers()RTTIvoid HasViewersChanged(bool currentViewerState)RTTIvoid OnViewersStateChanged()RTTIvoid ViewerRegister(WeakHandle<game.Object> viewer)RTTIvoid ViewerUnRegister(WeakHandle<game.Object> viewer)RTTIvoid OnRegisterRequest(PreventionRegisterRequest request)RTTIvoid Register(CName attitudeGroup, WeakHandle<game.PersistentState> ps)RTTIvoid UnRegister(CName attitudeGroup, WeakHandle<game.PersistentState> ps)RTTIvoid OnPreventionSecurityAreaRequest(PreventionSecurityAreaRequest request)RTTIvoid OnPreventionPoliceSecuritySystemRequest(PreventionPoliceSecuritySystemRequest request)RTTIbool ShouldReactionBeAggressive()RTTIvoid OnVehicleExplosion()RTTIvoid OnPreventionDamage(PreventionDamage evt)RTTIbool OnPlayerChoice(string value)RTTIvoid OnDistrictAreaEntered(game.map.pins.DistrictEnteredEvent request)RTTIvoid SyncTweakDistrictData()RTTIvoid GetPreventionMatrixPresetForCurrentDistrict(WeakHandle<District> district)RTTIvoid GetPreventionDataForCurrentDistrict(WeakHandle<District> district)RTTIvoid RestoreDefaultPreventionMatrixPreset()RTTIvoid RestoreDefaultPreset()RTTIvoid ChangeAgentsAttitude(EAIAttitude desiredAffiliation)RTTIvoid ChangeAttitude(WeakHandle<game.Object> owner, WeakHandle<game.Object> target, EAIAttitude desiredAttitude)RTTIvoid WakeUpAllAgents(bool wakeUp)RTTIvoid WakeUpAgent(WeakHandle<game.PersistentState> ps, bool wakeUp)RTTIvoid ReevaluateSecurityAreaReset()RTTIvoid CancelAllDelayedEvents()RTTIvoid CancelAllIntervalCallers()RTTIvoid ReevaluttatePreventionLockSources()RTTIvoid OnClearPreventionSystemLocks(ClearPreventionSystemLocks evt)RTTIvoid OnTogglePreventionSystem(TogglePreventionSystem evt)RTTIvoid OnTogglePreventionCrowdSpawns(TogglePreventionCrowdSpawns evt)RTTIvoid OnSetWantedLevel(SetWantedLevel evt)RTTIvoid RestoreMinimapToDefault()RTTIvoid PreventionMinimapOverride()RTTIvoid HandleDebugEventSourceTracking(CName sourceName, bool tryRemoveLock)RTTIvoid OnSetHeatCounterMultiplier(SetHeatCounterMultiplier evt)RTTIvoid OnSetHeatLevelLimiter(SetHeatLevelLimiter evt)RTTIvoid OnSetPreventionPath(SetPreventionPath evt)RTTIvoid OnSetPreventionDifficulty(SetPreventionDifficulty evt)RTTIvoid OnSetPoliceSearchArea(SetPoliceSearchArea evt)RTTIvoid OnSetBlockShootingFromVehicle(SetBlockShootingFromVehicle evt)RTTIvoid OnTogglePreventionFreeArea(TogglePreventionFreeArea evt)RTTIvoid OnToggleQuestPreventionTrigger(ToggleQuestPreventionTrigger evt)RTTIvoid OnTogglePreventionGlobalQuestObjective(TogglePreventionGlobalQuestObjective evt)RTTIvoid TogglePreventionGlobalQuestObjective_Internal(bool preventionGlobalQuestDisabled, CName eventSource)RTTIbool IsPreventionGlobalQuestObjectiveEnabled()RTTIvoid OnToggleBlockSceneInteractions(ToggleBlockSceneInteractions evt)RTTIvoid OnSetPoliceForcesPool(SetPoliceForcesPool evt)RTTIbool IsVehicleValid(WeakHandle<vehicle.BaseObject> vehicle)RTTIbool IsNPCValid(WeakHandle<ScriptedPuppet> puppet)RTTIvoid ReinitAll()RTTIbool IsAnyVehicleChasingTarget()RTTIvoid SendInternalSystem(float damageDealt, EPreventionHeatStage? heatStage)RTTIvoid OnPreventionConsoleInstructionRequest(PreventionConsoleInstructionRequest request)RTTIvoid OnPreventionConsoleLockRequest(PreventionConsoleLockRequest request)RTTIvoid OnPreventionMinMaxHeatLevels(PreventionMinMaxHeatLevels request)RTTIvoid RemovePlayerFromSecuritySystemBlacklist()RTTIvoid TogglePreventionSystem(bool toggle)RTTIvoid StartPreventionFreeAreaReset()RTTIvoid UpdatePreventionFreeAreas(bool isPlayerInFreeArea)RTTIvoid OnTryResetPreventionFreeArea(TryResetPreventionFreeArea request)RTTIvoid execInstructionSafe(string heatChangeReason)RTTIvoid StartVehicleDeescalationBehavior(WeakHandle<vehicle.BaseObject> vehicle)RTTIvoid execInstructionActive(EPreventionHeatStage? heatStage)RTTIvoid execInstructionOn()RTTIvoid execInstructionOff()RTTIint DebugGetCivilianDestroyedVehicleCount()RTTIvoid RefreshDebug()RTTIvoid RefreshDebugRemoveAllLockSources()RTTIvoid RefreshDebugLockSources()RTTIvoid RefreshDebugEventSources()RTTIvoid RefreshDebugEvents()RTTIvoid RefreshDebugProcessInfo()RTTIvoid RefreshDebugDistrictInfo()RTTIvoid RefreshDebugSecAreaInfo()RTTIvoid ProcessDogtownLawAchievement()RTTIstatic void PreventionSecurityAreaEnterRequest(ScriptGameInstance context, bool playerIsIn, game.PersistentID areaID)staticRTTI globalstatic void StartPatrol(WeakHandle<vehicle.WheeledBaseObject> vehicle, PreventionSystem ps)staticRTTI globalstatic void LogChaseVehicleInitBehaviorError(WeakHandle<vehicle.WheeledBaseObject> wheeledVehicleObject, vehicle.PoliceStrategy strat)staticRTTI globalstatic vehicle.BaseObject? GetLastKnownPlayerVehicle(ScriptGameInstance context)staticRTTI globalstatic bool QueueRequest(ScriptGameInstance context, game.ScriptableSystemRequest request, float delay)staticRTTI globalstatic CName GetPreventionQuestDisabledGenericQuestReason()staticRTTI globalstatic void CreateNewDamageRequest(ScriptGameInstance context, game.Object target, game.data.AttackType attackType, float damageDealt, bool isTargetKilled)staticRTTI globalstatic void SetSpawnCodeRedReinforcement(ScriptGameInstance game, bool shouldSpawnReinforcement)staticRTTI globalstatic bool VehicleRegistered(WeakHandle<vehicle.BaseObject> vehicle)staticRTTI globalstatic bool IsPreventionMaxTac(ScriptGameInstance context, game.Puppet owner)staticRTTI globalstatic WeakHandle<game.data.PreventionHeatTable_Record> GetPreventionHeatTableRecord(ScriptGameInstance game)staticRTTI globalstatic void StartRoadblockNPCAgentBehaviour(WeakHandle<ScriptedPuppet> unit)staticRTTI globalstatic void CreateNewPreventionDamageRequest(ScriptGameInstance context, game.Object target, float attackTime, game.data.AttackType attackType, float damageDealt, bool isTargetKilled)staticRTTI globalstatic PoliceAgentRegistry? GetAgentRegistry(ScriptGameInstance context)staticRTTI globalstatic CName GetPreventionQuestDisabledTweakContentTag()staticRTTI globalstatic bool ShouldPreventionSystemReactToCombat(WeakHandle<ScriptedPuppet> puppet)staticRTTI globalstatic void RegisterAsViewerToPreventionSystem(ScriptGameInstance context, game.Object requester)staticRTTI globalstatic void CrimeWitnessRequestToPreventionSystem(ScriptGameInstance context, Vector4 criminalPosition)staticRTTI globalstatic void ShowMessage(ScriptGameInstance gameInstance, string message, float time)staticRTTI globalstatic void UseCWMask(ScriptGameInstance game)staticRTTI globalstatic CName GetSystemName()staticRTTI globalstatic float GetDamageToPlayerMultiplier(ScriptGameInstance game)staticRTTI globalstatic void RegisterToPreventionSystem(ScriptGameInstance context, Device requester)staticRTTI globalstatic bool CanPreventionReact(ScriptGameInstance game)staticRTTI globalstatic CName GetPreventionQuestDisabledFactName()staticRTTI globalstatic void UnRegisterAsViewerToPreventionSystem(ScriptGameInstance context, game.Object requester)staticRTTI globalstatic void StartActiveVehicleBehaviour(ScriptGameInstance context, WeakHandle<vehicle.WheeledBaseObject> wheeledVehicleObject)staticRTTI globalstatic bool CheckNPCSpawnedType(ScriptGameInstance game, ent.EntityID entityID, game.DynamicVehicleType spawnedTypeToCheck)staticRTTI globalstatic void ChasePlayer(WeakHandle<vehicle.WheeledBaseObject> vehicle)staticRTTI globalstatic void CombatStartedRequestToPreventionSystem(ScriptGameInstance context, WeakHandle<game.Object> requester)staticRTTI globalstatic void UnRegisterToPreventionSystem(ScriptGameInstance context, Device requester)staticRTTI globalstatic bool IsPlayerInAPoliceCarChase(ScriptGameInstance gameInstance)staticRTTI globalstatic bool ShouldPreventionSystemReactToDamageDealt(WeakHandle<ScriptedPuppet> puppet)staticRTTI globalstatic void NotifyPolice(game.Object owner)staticRTTI globalstatic void NotifyVehicleExplosion(vehicle.BaseObject veh)staticRTTI globalstatic bool IsChasingPlayer(ScriptGameInstance game)staticRTTI globalstatic void SetLastKnownPlayerPosition(ScriptGameInstance context, Vector4 value)staticRTTI globalstatic void PreventionPoliceSecuritySystemRequest(ScriptGameInstance context, game.PersistentID securitySystemID)staticRTTI globalstatic void SetPlayerMounted(ScriptGameInstance context, bool value)staticRTTI globalstatic bool ShouldReactionBeAgressive(ScriptGameInstance game)staticRTTI globalstatic void SetLastKnownPlayerVehicle(ScriptGameInstance context, WeakHandle<vehicle.BaseObject> value)staticRTTI globalstatic void ForceStarStateToActive(ScriptGameInstance context, bool value)staticRTTI globalstatic float GetDamageReactionThreshold()staticRTTI globalstatic bool StartDriveToPoint(WeakHandle<vehicle.WheeledBaseObject> vehicle)staticRTTI globalstatic bool ShouldPreventionSystemReactToAttack(WeakHandle<game.Object> target, float attackTime, bool istargetDefeated)staticRTTI global