BlackICE Scripting

class

PreventionSystem

  • 108 properties
  • 320 functions

Extends game.ScriptableSystem game.IScriptableSystem IScriptable ISerializable

Properties

PropertyTypeOffset
districtManagerDistrictManager?0x0 scripted
agentRegistryPoliceAgentRegistry?0x10 scripted
ignoreSecurityAreasByQuestbool0x20 scripted
forceEternalGreyStarsbool0x21 scripted
blockOnFootSpawnByQuestbool0x22 scripted
blockVehicleSpawnByQuestbool0x23 scripted
blockReconDroneSpawnByQuestbool0x24 scripted
crimeScoreMultiplierByQuestfloat0x28 scripted
preventionQuestEventSourcesCName[]0x30 scripted
systemLockSourcesCName[]0x40 scripted
systemEnabledbool0x50 scripted
playerWeakHandle<PlayerPuppet>0x58 scripted
preventionPresetWeakHandle<game.data.DistrictPreventionData_Record>0x68 scripted
preventionDataMatrixWeakHandle<game.data.PreventionHeatDataMatrix_Record>0x78 scripted
preventionDataTableWeakHandle<game.data.PreventionHeatTable_Record>0x88 scripted
systemLockedbool0x98 scripted
nodeEventSourcesCName[]0xA0 scripted
heatStageEPreventionHeatStage0xB0 scripted
heatChangeReasonstring0xB8 scripted
ignoreSecurityAreasbool0xD8 scripted
playerIsInSecurityAreagame.PersistentID[]0xE0 scripted
playerIsInPreventionFreeAreabool0xF0 scripted
policeSecuritySystemsgame.PersistentID[]0xF8 scripted
agentGroupsListPreventionAgents?[]0x108 scripted
lastKnownPositionVector40x120 scripted
lastKnownVehicleWeakHandle<vehicle.BaseObject>0x130 scripted
districtMultiplierfloat0x140 scripted
shouldForceStarStateUIToActivebool0x144 scripted
lastAttackTimefloat0x148 scripted
lastAttackTargetIDsent.EntityID[]0x150 scripted
viewersWeakHandle<game.Object>[]0x160 scripted
hasViewersbool0x170 scripted
starStateEStarState0x171 scripted
starStateUIChangedbool0x175 scripted
isPlayerMountedbool0x176 scripted
policeKnowsPlayerLocationbool0x177 scripted
isInitialSearchStatebool0x178 scripted
heatLevelChangedbool0x179 scripted
playerCrossedBufferDistancebool0x17A scripted
crimescoreTimerDelayIDgame.DelayID0x17C scripted
starStateBufferTimerDelayIDgame.DelayID0x184 scripted
beliefAccuracyTimerDelayIDgame.DelayID0x18C scripted
blinkingStatusDelayIDgame.DelayID0x194 scripted
searchingStatusDelayIDgame.DelayID0x19C scripted
transitionToGreyStateDelayIDgame.DelayID0x1A4 scripted
policemenSpawnDelayIDgame.DelayID0x1AC scripted
securityAreaResetDelayIDgame.DelayID0x1B4 scripted
inputlockDelayIDgame.DelayID0x1BC scripted
freeAreaResetDelayIDgame.DelayID0x1C4 scripted
securityAreaResetCheckbool0x1CC scripted
hadOngoingSpawnRequestbool0x1CD scripted
totalCrimeScorefloat0x1D0 scripted
canSpawnFallbackEarlybool0x1D4 scripted
failsafePoliceRecordT1TDBID0x1D8 scripted
failsafePoliceRecordT2TDBID0x1E0 scripted
failsafePoliceRecordT3TDBID0x1E8 scripted
blinkReasonsStackCName[]0x1F0 scripted
wantedBarBlackboardWeakHandle<game.IBlackboard>0x200 scripted
onPlayerChoiceCallIDred.CallbackObject?0x210 scripted
playerAttachedCallbackIDuint0x220 scripted
playerDetachedCallbackIDuint0x224 scripted
playerHLSIDred.CallbackObject?0x228 scripted
playerVehicleStateIDred.CallbackObject?0x238 scripted
playerHLSgame.PSMHighLevel0x248 scripted
playerVehicleStategame.PSMVehicle0x24C scripted
unhandledInputsReceivedint0x250 scripted
preventionUnitKilledDuringLockbool0x254 scripted
previousHitTargetIDent.EntityID0x258 scripted
previousHitAttackTimefloat0x260 scripted
reconPhaseEnabledbool0x264 scripted
reconDeployedbool0x265 scripted
reconDestroyedbool0x266 scripted
minHeatLevelEPreventionHeatStage0x267 scripted
maxHeatLevelEPreventionHeatStage0x26B scripted
defaultHeatLevelsbool0x26F scripted
vehicleSpawnBlockSideEVehicleSpawnBlockSide0x270 scripted
damageToPlayerMultiplierfloat0x274 scripted
chaseMultiplierfloat0x278 scripted
policeChaseBlackboardWeakHandle<game.IBlackboard>0x280 scripted
blockShootingFromVehiclebool0x290 scripted
Debug_ProcessReasonEPreventionDebugProcessReason0x291 scripted
Debug_LastAttackTypegame.data.AttackType0x295 scripted
Debug_LastDamageDealtfloat0x29C scripted
Debug_LastCrimeDistancefloat0x2A0 scripted
Debug_lastAVRequestedSpawnPositionVector30x2A4 scripted
temp_const_falsebool0x2B0 scripted
preventionTickCallerIntervalCaller?0x2B8 scripted
roadblockadeRespawnTickCallerIntervalCaller?0x2C8 scripted
maxtacTicketIDuint0x2D8 scripted
avSpawnPointListVector3[]0x2E0 scripted
maxAllowedDistanceToPlayerfloat0x2F0 scripted
lastAVRequestedSpawnPositionsArrayVector4[]0x2F8 scripted
shouldPreventionUnitsStartRetreatingbool0x308 scripted
numberOfMaxtacSquadsSpawnedint0x30C scripted
maxtacTroopBeingAliveTimeStampfloat0x310 scripted
civilianVehicleDestructionCountint0x314 scripted
lastCivilianVehicleDestructionTimeStampfloat0x318 scripted
civilianVehicleDestructionThresholdint0x31C scripted
civilianVehicleDestructionTimeoutfloat0x320 scripted
vehicleSpawnTickCallerIntervalCaller?0x328 scripted
ressuplyVehicleTicketCallerIntervalCaller?0x338 scripted
isVehicleDelayOverbool0x348 scripted
currentVehicleTicketCountint0x34C scripted
failedVehicleSpawnAttemptsint0x350 scripted
codeRedReinforcementbool0x354 scripted
lastStarChangeTimeStampfloat0x358 scripted
firstStarTimeStampfloat0x35C scripted
setCallRejectionIncrementbool0x360 scripted

Functions

  • void OnAttach() overrideRTTI
  • void OnDetach() overrideRTTI
  • void OnRestored(int saveVersion, int gameVersion) overrideRTTI
  • bool IsSystemEnabled() RTTI
  • bool IsSystemLocked() RTTI
  • bool IsChasingPlayer() RTTI
  • bool IsMaxTacDefeated() RTTI
  • bool IsPreventionInputLocked() RTTI
  • bool IsSavingLocked() overrideRTTI
  • float GetLastAttackTime() RTTI
  • ent.EntityID[] GetLastAttackTargetIDs() RTTI
  • Vector4 GetLastKnownPlayerPosition() RTTI
  • WeakHandle<vehicle.BaseObject> GetLastKnownPlayerVehicle() RTTI
  • WeakHandle<PlayerPuppet> GetPlayer() RTTI
  • EPreventionHeatStage GetHeatStage() RTTI
  • EStarState GetStarState() RTTI
  • uint GetHeatStageAsInt() RTTI
  • bool IsShootingFromVehicleBlocked() RTTI
  • ScriptGameInstance GetGame() RTTI
  • float GetDamageToPlayerMultiplier() RTTI
  • bool AreTurretsActive() RTTI
  • WeakHandle<District> GetCurrentDistrict() RTTI
  • float GetLastStarChangeStartTimeStamp() RTTI
  • float GetFirstStarTimeStamp() RTTI
  • bool IsPlayerMounted() RTTI
  • bool IsPlayerInQuestArea() RTTI
  • void SetIsPlayerMounted(bool isPlayerMounted) RTTI
  • float GetSoftDeescalationBlinkingStarsDuration() RTTI
  • float GetSoftDeescalationGreyStarsDuration() RTTI
  • bool IsPoliceUnawareOfThePlayerExactLocation() RTTI
  • PoliceAgentRegistry? GetAgentRegistry() RTTI
  • bool ShouldWorkSpotPoliceJoinChase(ScriptedPuppet puppet) RTTI
  • bool ShouldSpawnPatrolVehicleWhenInSearch() RTTI
  • void UpdateDataMatrixOnDistrictChange(WeakHandle<District> district) RTTI
  • void GetDataTableForCurrentHeat() RTTI
  • game.data.PreventionHeatTable_Record? GetDataTableForHeat(EPreventionHeatStage heatStage) RTTI
  • float GetPreventionInputLockTime() RTTI
  • int GetInputLockOverrideThreshold() RTTI
  • float GetSpawnOriginMaxDistance() RTTI
  • bool GetDataTableForCurrentHeat(EPreventionHeatStage heatStage, TDBID[] characterRecords, out Vector2 spawnRange, out uint unitsCount, out float spawnInterval, out bool hasRecon) RTTI
  • bool GetVehicleRecordFromPool(WeakHandle<game.data.PreventionVehiclePoolData_Record>[] pool, out WeakHandle<game.data.Vehicle_Record> outVehicleRecord) RTTI
  • bool GetCharacterRecordsFromPool(int recordsCount, WeakHandle<game.data.PreventionUnitPoolData_Record>[] pool, TDBID[] recordIDs) RTTI
  • bool GetCharacterRecordFromPool(WeakHandle<game.data.PreventionUnitPoolData_Record>[] pool, out TDBID recordID) RTTI
  • bool TryGetRoadblockDataFromHeatStage(EPreventionHeatStage heatStage, out WeakHandle<game.data.Vehicle_Record> outVehicleRecord, out Vector2 spawnDistanceRange) RTTI
  • bool TryGetVehicleDataFromHeatStage(EPreventionHeatStage heatStage, out WeakHandle<game.data.Vehicle_Record> outVehicleRecord) RTTI
  • WeakHandle<game.data.PreventionHeatData_Record> GetHeatData() RTTI
  • bool TryGetUnitDataFromVehicleRecord(WeakHandle<game.data.Vehicle_Record> vehicleRecord, int recordsCount, TDBID[] recordIDs) RTTI
  • bool TryGetUnitDataFromHeatStage(EPreventionHeatStage heatStage, int recordsCount, TDBID[] recordIDs) RTTI
  • bool TryGetDistinctUnitDataFromHeatStage(TDBID[] recordIDs) RTTI
  • void GetFindSpawnPointsOrigin(out Vector4 pos, out Vector4 dir) RTTI
  • void GetFindSpawnPointsOriginsData(Vector4[] spawnOriginsPositions) RTTI
  • void UpdateTotalCrimeScore(PreventionDamageRequest request) RTTI
  • void CalculateCrimeScoreForNPC(PreventionDamageRequest request) RTTI
  • void CalculateCrimeScoreForVehicle(PreventionDamageRequest request) RTTI
  • bool TryMarkAsAttackedByPlayer(ent.EntityID targetId) RTTI
  • float GetDistrictMultiplier() RTTI
  • void SetLastAttackTime(float value) RTTI
  • void UpdateLastAttackTargetIDs(ent.EntityID value) RTTI
  • void ClearLastAttackTargetIDs() RTTI
  • void SetLastKnownPlayerPosition(Vector4 value) RTTI
  • void SetSystemLock(bool value) RTTI
  • void SetCrimeScoreMultiplier(float value) RTTI
  • void SetVehicleSpawnBlockSide(EVehicleSpawnBlockSide value) RTTI
  • void SetDamageToPlayerMultiplier(float value) RTTI
  • void SetChaseMultiplier(float value) RTTI
  • void SetBlockVehicleSpawn(bool value) RTTI
  • void SetBlockOnFootSpawn(bool value) RTTI
  • void SetBlockShootingFromVehicle(bool value) RTTI
  • void SetBlockReconDroneSpawn(bool value) RTTI
  • void SetMinMaxResetHeatLevels(int MinLevel, int MaxLevel, bool isDefault) RTTI
  • void SetStarStateUI(EStarState newState) RTTI
  • int GetWantedLevelFact() RTTI
  • void SetWantedLevelFact(int level) RTTI
  • void SetWantedStateFact(EStarState state) RTTI
  • void SetAgentsSupport(bool hasSupport) RTTI
  • void SetSingleAgentSupport(WeakHandle<game.PersistentState> ps, bool hasSupport) RTTI
  • bool CanPreventionReactToInput() RTTI
  • void RegisterToBBCalls() RTTI
  • void UnregisterBBCalls() RTTI
  • void PlayerAttachedCallback(game.Object playerPuppet) RTTI
  • void PlayerDetachedCallback(game.Object playerPuppet) RTTI
  • bool OnPlayerHLSChange(int value) RTTI
  • bool OnPlayerVehicleStateChange(int value) RTTI
  • void StartTransitiontoGreyStateTimerRequest() RTTI
  • void CancelTransitiontoGreyStateTimerRequest() RTTI
  • void ResetTransitiontoGreyStateTimerRequest() RTTI
  • void StartStateBufferTimerRequest() RTTI
  • void CancelStateBufferTimerRequest() RTTI
  • void ResetStateBufferTimerRequest() RTTI
  • void UpdateStateBufferTimerRequest() RTTI
  • void StartSearchingTimerRequest() RTTI
  • void CancelSearchingTimerRequest() RTTI
  • void ResetSearchingTimerRequest() RTTI
  • void UpdateSearchingTimerRequest() RTTI
  • void StartBlinkingTimerRequest() RTTI
  • void StartBlinkingTimerRequest(float duration, bool lockWhileBlinking, string telemetryInfo) RTTI
  • void CancelBlinkingTimerRequest() RTTI
  • void ResetBlinkingTimerRequest() RTTI
  • void StartCrimescoreDropTimerRequest() RTTI
  • void CancelCrimescoreDropTimerRequest() RTTI
  • void ResetCrimescoreDropTimerRequest() RTTI
  • bool CancelNPCSpawnDelay() RTTI
  • void OnResupplyVehicleTicketsRequest(ResupplyVehicleTicketsRequest evt) RTTI
  • void TryResupplyTicket() RTTI
  • void OnSpawnPoliceVehicleRequest(SpawnPoliceVehicleWithDelayRequest evt) RTTI
  • void OnSpawnRoadblockRequest(SpawnRoadblockadeWithDelayRequest evt) RTTI
  • bool CanRequestAVSpawn() RTTI
  • bool TryRequestVehicleSpawnWithStrategy() RTTI
  • void OnPreventionStarStateBufferTimerRequest(PreventionStarStateBufferTimerRequest evt) RTTI
  • void PoliceLostPlayer() RTTI
  • void OnPreventionTransitionToGreyStateTimerRequest(PreventionTransitionToGreyStateTimerRequest evt) RTTI
  • void OnPreventionSearchingStatusRequest(PreventionSearchingStatusRequest evt) RTTI
  • void OnPreventionBlinkingStatusRequest(PreventionBlinkingStatusRequest evt) RTTI
  • void OnPreventionForceDeescalateRequest(PreventionForceDeescalateRequest evt) RTTI
  • void OnRefreshDeescalationTimers(RefreshDeescalationTimers evt) RTTI
  • void RequestUnitSpawn(TDBID recordID, WorldTransform spawnTransform) RTTI
  • void RemovePreventionInputLockRequest() RTTI
  • void PreventionInputLockRequest() RTTI
  • void OnUnlockPreventionInputRequest(UnlockPreventionInputRequest request) RTTI
  • void SendDropPointLockRequest(bool isEnabled) RTTI
  • void OnPreventionCrimeScoreZeroRequest(PreventionCrimeScoreZeroRequest request) RTTI
  • void OnPreventionUnitDespawnedRequest(PreventionUnitDespawnedRequest request) RTTI
  • void OnPreventionUnitSpawnedRequest(PreventionUnitSpawnedRequest request) RTTI
  • void HandleSpawnRequestSuccess(game.SpawnRequestResult result, TicketData ticketData) RTTI
  • void HandleRoadblockadeUnitSpawned(game.Object spawnedObject) RTTI
  • void HandleSpawnRequestFailure(game.SpawnRequestResult result, TicketData ticketData) RTTI
  • void OnRegisterNPC(RegisterNPCRequest request) RTTI
  • bool RegisterPreventionUnit(game.Object preventionUnit, game.DynamicVehicleType vehicleType, bool overrideExisting, vehicle.PoliceStrategy? strategy, bool? isFallback) RTTI
  • void CheckLastMaxTacAlone() RTTI
  • void UnregisterPreventionUnit(ent.EntityID entityID) RTTI
  • void OnPreventionEntityDestroyed(ent.EntityID destroyedEntityID) RTTI
  • bool TrySetNPCMarkedForDespawnAI(ent.EntityID entityID, bool markedForDespawn) RTTI
  • bool TryGetNPCMarkedForDespawnAI(ent.EntityID entityID, out bool markedForDespawn) RTTI
  • void UpdateVehiclePassengerCount(ent.EntityID entityID, int passengersCount) RTTI
  • bool IsRegistered(ent.EntityID entityID) RTTI
  • void OnPreventionTickRequest(PreventionTickRequest request) RTTI
  • void CheckPlayerDistanceToLKP() RTTI
  • void TryResolveIndefiniteStarState() RTTI
  • void TryUpdateStarState() RTTI
  • void UpdateMaxTacUnits() RTTI
  • void UpdateRoadblockadeUnits() RTTI
  • void UpdateStarStateTo(EStarState state) RTTI
  • void UpdateStarStateTimers(EStarState state) RTTI
  • void UpdateStarState() RTTI
  • void TryUpdateWantedLevelFact() RTTI
  • void CheckPossibleSpawnPosAndRequestAVSpawn() RTTI
  • bool CanSpawnAvAtPosition(Vector4 playerPosition, Vector4 position) RTTI
  • bool ShouldPreventionUnitsRetreat() RTTI
  • bool IsPlayerCloseToLastCrimePosition() RTTI
  • void StartSecurityAreaResetRequest(float? resetDelay) RTTI
  • void CancelSecurityAreaResetRequest() RTTI
  • void OnSecurityAreaResetRequest(SecurityAreaResetRequest request) RTTI
  • void OnDamageInput(PreventionDamageRequest request) RTTI
  • void ProcessPreventionDamageRequest(PreventionDamageRequest request) RTTI
  • void StartPipeline(PreventionDamageRequest request) RTTI
  • void PreDamageChange() RTTI
  • void DamageChange() RTTI
  • void PostDamageChange(PreventionDamageRequest request) RTTI
  • void HeatPipeline(string heatChangeReason) RTTI
  • uint ComputeTotalCrimeScoreForTelemetry(EPreventionHeatStage newHeatStageEnum) RTTI
  • void ChangeHeatStage(EPreventionHeatStage newHeatStage, string heatChangeReason) RTTI
  • void OnHeatChanged(EPreventionHeatStage previousHeat) RTTI
  • void TryRessuplyVehicleTickets() RTTI
  • void TryStartVehicleRespawn() RTTI
  • void TryStartRoadblockRespawn() RTTI
  • void TryInitializePreventionTick() RTTI
  • void TutorialAddPoliceSystemFact() RTTI
  • void SpawnPipeline() RTTI
  • void TrySpawnPoliceOnFootFallback() RTTI
  • int SpawnFallbackUnits(Vector3[] spawnPoints, TDBID[] characterRecords, uint unitCount) RTTI
  • bool SpawnUnits(Vector3[] spawnPoints, TDBID[] characterRecords, uint unitCount, out int sentRequests) RTTI
  • bool ReachedEngagedVehiclesLimit() RTTI
  • bool ReachedSupportVehiclesLimit() RTTI
  • bool ReachedTotalVehiclesLimit() RTTI
  • bool ShouldSpawnRoadblockade() RTTI
  • bool ReachedRoadblockLimit() RTTI
  • void GetNewBatchMaxTacSpawnPositions() RTTI
  • bool UseOffTrafficPoints() RTTI
  • void TryGetAVSpawnPointsCallback(game.AVSpawnPointsRequestResult requestResult) RTTI
  • void RequestAVSpawnAtPosition(Vector3 position) RTTI
  • void OnRemoveRecentAvSpawnLocationFromCacheRequest(RemoveRecentAvSpawnLocationFromCacheRequest req) RTTI
  • void SpawnRoadblockade(EPreventionHeatStage heatStage) RTTI
  • void UpdateStrategyPreCheckRequests() RTTI
  • bool IsStrategyAvailable(vehicle.PoliceStrategy strategy) RTTI
  • bool IsDistanceRangeValid(Vector2 range) RTTI
  • Vector2 SelectRange(WeakHandle<game.data.StrategyData_Record> strategyDataRec) RTTI
  • vehicle.BaseStrategyRequest? CreateStrategyRequest(vehicle.PoliceStrategy strategy) RTTI
  • uint SpawnPoliceVehicle() RTTI
  • bool TrySpawnOnFootFallbackBasedOnRoadInfo(game.PreventionSpawnSystem system) RTTI
  • bool IsPursuedVehicleFast() RTTI
  • void DespawnAllPolice(bool useAggressiveDespawn) RTTI
  • void OnRefreshDistrict(RefreshDistrictRequest request) RTTI
  • void RestoreDefaultConfig() RTTI
  • void UpdateVehicles() RTTI
  • void UpdateNPCs() RTTI
  • void OnViewerRequest(PreventionVisibilityRequest request) RTTI
  • void OnVehicleStolenRequest(PreventionVehicleStolenRequest request) RTTI
  • void OnCombatStartedRequest(PreventionCombatStartedRequest request) RTTI
  • void OnCrimeWitnessRequest(PreventionCrimeWitnessRequest request) RTTI
  • bool UpdateViewers() RTTI
  • void HasViewersChanged(bool currentViewerState) RTTI
  • void OnViewersStateChanged() RTTI
  • void ViewerRegister(WeakHandle<game.Object> viewer) RTTI
  • void ViewerUnRegister(WeakHandle<game.Object> viewer) RTTI
  • void OnRegisterRequest(PreventionRegisterRequest request) RTTI
  • void Register(CName attitudeGroup, WeakHandle<game.PersistentState> ps) RTTI
  • void UnRegister(CName attitudeGroup, WeakHandle<game.PersistentState> ps) RTTI
  • void OnPreventionSecurityAreaRequest(PreventionSecurityAreaRequest request) RTTI
  • void OnPreventionPoliceSecuritySystemRequest(PreventionPoliceSecuritySystemRequest request) RTTI
  • bool ShouldReactionBeAggressive() RTTI
  • void OnVehicleExplosion() RTTI
  • void OnPreventionDamage(PreventionDamage evt) RTTI
  • void OnDistrictAreaEntered(game.map.pins.DistrictEnteredEvent request) RTTI
  • void SyncTweakDistrictData() RTTI
  • void GetPreventionMatrixPresetForCurrentDistrict(WeakHandle<District> district) RTTI
  • void GetPreventionDataForCurrentDistrict(WeakHandle<District> district) RTTI
  • void RestoreDefaultPreventionMatrixPreset() RTTI
  • void RestoreDefaultPreset() RTTI
  • void ChangeAgentsAttitude(EAIAttitude desiredAffiliation) RTTI
  • void ChangeAttitude(WeakHandle<game.Object> owner, WeakHandle<game.Object> target, EAIAttitude desiredAttitude) RTTI
  • void WakeUpAllAgents(bool wakeUp) RTTI
  • void WakeUpAgent(WeakHandle<game.PersistentState> ps, bool wakeUp) RTTI
  • void ReevaluateSecurityAreaReset() RTTI
  • void CancelAllDelayedEvents() RTTI
  • void CancelAllIntervalCallers() RTTI
  • void ReevaluttatePreventionLockSources() RTTI
  • void OnClearPreventionSystemLocks(ClearPreventionSystemLocks evt) RTTI
  • void OnTogglePreventionSystem(TogglePreventionSystem evt) RTTI
  • void OnTogglePreventionCrowdSpawns(TogglePreventionCrowdSpawns evt) RTTI
  • void OnSetWantedLevel(SetWantedLevel evt) RTTI
  • void RestoreMinimapToDefault() RTTI
  • void PreventionMinimapOverride() RTTI
  • void HandleDebugEventSourceTracking(CName sourceName, bool tryRemoveLock) RTTI
  • void OnSetHeatCounterMultiplier(SetHeatCounterMultiplier evt) RTTI
  • void OnSetHeatLevelLimiter(SetHeatLevelLimiter evt) RTTI
  • void OnSetPreventionPath(SetPreventionPath evt) RTTI
  • void OnSetPreventionDifficulty(SetPreventionDifficulty evt) RTTI
  • void OnSetPoliceSearchArea(SetPoliceSearchArea evt) RTTI
  • void OnSetBlockShootingFromVehicle(SetBlockShootingFromVehicle evt) RTTI
  • void OnTogglePreventionFreeArea(TogglePreventionFreeArea evt) RTTI
  • void OnToggleQuestPreventionTrigger(ToggleQuestPreventionTrigger evt) RTTI
  • void OnTogglePreventionGlobalQuestObjective(TogglePreventionGlobalQuestObjective evt) RTTI
  • void TogglePreventionGlobalQuestObjective_Internal(bool preventionGlobalQuestDisabled, CName eventSource) RTTI
  • bool IsPreventionGlobalQuestObjectiveEnabled() RTTI
  • void OnToggleBlockSceneInteractions(ToggleBlockSceneInteractions evt) RTTI
  • void OnSetPoliceForcesPool(SetPoliceForcesPool evt) RTTI
  • bool IsVehicleValid(WeakHandle<vehicle.BaseObject> vehicle) RTTI
  • bool IsNPCValid(WeakHandle<ScriptedPuppet> puppet) RTTI
  • void ReinitAll() RTTI
  • bool IsAnyVehicleChasingTarget() RTTI
  • void SendInternalSystem(float damageDealt, EPreventionHeatStage? heatStage) RTTI
  • void OnPreventionConsoleInstructionRequest(PreventionConsoleInstructionRequest request) RTTI
  • void OnPreventionConsoleLockRequest(PreventionConsoleLockRequest request) RTTI
  • void OnPreventionMinMaxHeatLevels(PreventionMinMaxHeatLevels request) RTTI
  • void RemovePlayerFromSecuritySystemBlacklist() RTTI
  • void TogglePreventionSystem(bool toggle) RTTI
  • void StartPreventionFreeAreaReset() RTTI
  • void UpdatePreventionFreeAreas(bool isPlayerInFreeArea) RTTI
  • void OnTryResetPreventionFreeArea(TryResetPreventionFreeArea request) RTTI
  • void execInstructionSafe(string heatChangeReason) RTTI
  • void StartVehicleDeescalationBehavior(WeakHandle<vehicle.BaseObject> vehicle) RTTI
  • void execInstructionActive(EPreventionHeatStage? heatStage) RTTI
  • void execInstructionOn() RTTI
  • void execInstructionOff() RTTI
  • void FillPreventionSystemDebugData(out game.PreventionSystemDebugData dataToFill) RTTI
  • int DebugGetCivilianDestroyedVehicleCount() RTTI
  • void RefreshDebug() RTTI
  • void RefreshDebugRemoveAllLockSources() RTTI
  • void RefreshDebugLockSources() RTTI
  • void RefreshDebugEventSources() RTTI
  • void RefreshDebugEvents() RTTI
  • void RefreshDebugProcessInfo() RTTI
  • void RefreshDebugDistrictInfo() RTTI
  • void RefreshDebugSecAreaInfo() RTTI
  • void ProcessDogtownLawAchievement() RTTI
  • static void PreventionSecurityAreaEnterRequest(ScriptGameInstance context, bool playerIsIn, game.PersistentID areaID) staticRTTI global
  • static void StartPatrol(WeakHandle<vehicle.WheeledBaseObject> vehicle, PreventionSystem ps) staticRTTI global
  • static void LogChaseVehicleInitBehaviorError(WeakHandle<vehicle.WheeledBaseObject> wheeledVehicleObject, vehicle.PoliceStrategy strat) staticRTTI global
  • static vehicle.BaseObject? GetLastKnownPlayerVehicle(ScriptGameInstance context) staticRTTI global
  • static bool QueueRequest(ScriptGameInstance context, game.ScriptableSystemRequest request, float delay) staticRTTI global
  • static CName GetPreventionQuestDisabledGenericQuestReason() staticRTTI global
  • static void CreateNewDamageRequest(ScriptGameInstance context, game.Object target, game.data.AttackType attackType, float damageDealt, bool isTargetKilled) staticRTTI global
  • static void SetSpawnCodeRedReinforcement(ScriptGameInstance game, bool shouldSpawnReinforcement) staticRTTI global
  • static bool VehicleRegistered(WeakHandle<vehicle.BaseObject> vehicle) staticRTTI global
  • static bool IsPreventionMaxTac(ScriptGameInstance context, game.Puppet owner) staticRTTI global
  • static WeakHandle<game.data.PreventionHeatTable_Record> GetPreventionHeatTableRecord(ScriptGameInstance game) staticRTTI global
  • static void StartRoadblockNPCAgentBehaviour(WeakHandle<ScriptedPuppet> unit) staticRTTI global
  • static void CreateNewPreventionDamageRequest(ScriptGameInstance context, game.Object target, float attackTime, game.data.AttackType attackType, float damageDealt, bool isTargetKilled) staticRTTI global
  • static PoliceAgentRegistry? GetAgentRegistry(ScriptGameInstance context) staticRTTI global
  • static CName GetPreventionQuestDisabledTweakContentTag() staticRTTI global
  • static bool ShouldPreventionSystemReactToCombat(WeakHandle<ScriptedPuppet> puppet) staticRTTI global
  • static void RegisterAsViewerToPreventionSystem(ScriptGameInstance context, game.Object requester) staticRTTI global
  • static void CrimeWitnessRequestToPreventionSystem(ScriptGameInstance context, Vector4 criminalPosition) staticRTTI global
  • static void ShowMessage(ScriptGameInstance gameInstance, string message, float time) staticRTTI global
  • static void UseCWMask(ScriptGameInstance game) staticRTTI global
  • static CName GetSystemName() staticRTTI global
  • static float GetDamageToPlayerMultiplier(ScriptGameInstance game) staticRTTI global
  • static void RegisterToPreventionSystem(ScriptGameInstance context, Device requester) staticRTTI global
  • static bool CanPreventionReact(ScriptGameInstance game) staticRTTI global
  • static CName GetPreventionQuestDisabledFactName() staticRTTI global
  • static void UnRegisterAsViewerToPreventionSystem(ScriptGameInstance context, game.Object requester) staticRTTI global
  • static void StartActiveVehicleBehaviour(ScriptGameInstance context, WeakHandle<vehicle.WheeledBaseObject> wheeledVehicleObject) staticRTTI global
  • static bool CheckNPCSpawnedType(ScriptGameInstance game, ent.EntityID entityID, game.DynamicVehicleType spawnedTypeToCheck) staticRTTI global
  • static void ChasePlayer(WeakHandle<vehicle.WheeledBaseObject> vehicle) staticRTTI global
  • static void CombatStartedRequestToPreventionSystem(ScriptGameInstance context, WeakHandle<game.Object> requester) staticRTTI global
  • static void UnRegisterToPreventionSystem(ScriptGameInstance context, Device requester) staticRTTI global
  • static bool IsPlayerInAPoliceCarChase(ScriptGameInstance gameInstance) staticRTTI global
  • static bool ShouldPreventionSystemReactToDamageDealt(WeakHandle<ScriptedPuppet> puppet) staticRTTI global
  • static void NotifyPolice(game.Object owner) staticRTTI global
  • static void NotifyVehicleExplosion(vehicle.BaseObject veh) staticRTTI global
  • static bool IsChasingPlayer(ScriptGameInstance game) staticRTTI global
  • static void SetLastKnownPlayerPosition(ScriptGameInstance context, Vector4 value) staticRTTI global
  • static void PreventionPoliceSecuritySystemRequest(ScriptGameInstance context, game.PersistentID securitySystemID) staticRTTI global
  • static void SetPlayerMounted(ScriptGameInstance context, bool value) staticRTTI global
  • static bool ShouldReactionBeAgressive(ScriptGameInstance game) staticRTTI global
  • static void SetLastKnownPlayerVehicle(ScriptGameInstance context, WeakHandle<vehicle.BaseObject> value) staticRTTI global
  • static void ForceStarStateToActive(ScriptGameInstance context, bool value) staticRTTI global
  • static float GetDamageReactionThreshold() staticRTTI global
  • static bool StartDriveToPoint(WeakHandle<vehicle.WheeledBaseObject> vehicle) staticRTTI global
  • static bool ShouldPreventionSystemReactToAttack(WeakHandle<game.Object> target, float attackTime, bool istargetDefeated) staticRTTI global