Class
PoliceOfficer
: NPC : NetworkBehaviour : MonoBehaviour : Behaviour : Component : Object : Object0x00x0360
Members 38
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | OutOfSightTimeToDeactivate | float | PublicStatic+1 flags | 0 |
| — | 0x04 | INVESTIGATION_COOLDOWN | float | PublicStatic+1 flags | 0 |
| — | 0x04 | INVESTIGATION_MAX_DISTANCE | float | PublicStatic+1 flags | 0 |
| — | 0x04 | INVESTIGATION_MIN_VISIBILITY | float | PublicStatic+1 flags | 0 |
| — | 0x04 | INVESTIGATION_CHECK_INTERVAL | float | PublicStatic+1 flags | 0 |
| — | 0x04 | BODY_SEARCH_CHANCE_DEFAULT | float | PublicStatic+1 flags | 0 |
| — | 0x04 | MIN_CHATTER_INTERVAL | float | PublicStatic+1 flags | 0 |
| — | 0x04 | MAX_CHATTER_INTERVAL | float | PublicStatic+1 flags | 0 |
| 0x08 | OnPoliceVisionEvent | Action<ScheduleOne.Vision.VisionEventReceipt> | PublicStatic | — | |
| 0x08 | Officers | List<ScheduleOne.Police.PoliceOfficer> | PublicStatic | — | |
| 0x01 | <IgnorePlayers>k__BackingField | bool | Public | — | |
| 0x02A1 | 0x07 | padding / unreflected | |||
| 0x08 | <AssignedVehicle>k__BackingField | LandVehicle | Private | — | |
| 0x08 | PursuitBehaviour | PursuitBehaviour | Public | — | |
| 0x08 | VehiclePursuitBehaviour | VehiclePursuitBehaviour | Public | — | |
| 0x08 | BodySearchBehaviour | BodySearchBehaviour | Public | — | |
| 0x08 | CheckpointBehaviour | CheckpointBehaviour | Public | — | |
| 0x08 | FootPatrolBehaviour | FootPatrolBehaviour | Public | — | |
| 0x08 | ProxCircle | ProximityCircle | Public | — | |
| 0x08 | VehiclePatrolBehaviour | VehiclePatrolBehaviour | Public | — | |
| 0x08 | SentryBehaviour | SentryBehaviour | Public | — | |
| 0x08 | ChatterVO | PoliceChatterVO | Public | — | |
| 0x08 | DeactivationBlockingBehaviours | Behaviour[] | Public | — | |
| 0x08 | CheckpointDialogue | DialogueContainer | Public | — | |
| 0x08 | BatonPrefab | AvatarEquippable | Public | — | |
| 0x08 | TaserPrefab | AvatarEquippable | Public | — | |
| 0x08 | GunPrefab | AvatarEquippable | Public | — | |
| 0x01 | AutoDeactivate | bool | Public | — | |
| 0x01 | ChatterEnabled | bool | Public | — | |
| 0x0322 | 0x02 | padding / unreflected | |||
| 0x04 | BodySearchDuration | float | Public | — | |
| 0x04 | <BodySearchChance>k__BackingField | float | Private | — | |
| 0x032C | 0x04 | padding / unreflected | |||
| 0x08 | belt | PoliceBelt | Public | — | |
| 0x04 | timeSinceReadyToPool | float | Private | — | |
| 0x04 | timeSinceOutOfSight | float | Private | — | |
| 0x04 | chatterCountDown | float | Private | — | |
| 0x0344 | 0x04 | padding / unreflected | |||
| 0x08 | currentBodySearchInvestigation | Investigation | Private | — | |
| 0x08 | syncVar___<IgnorePlayers>k__BackingField | SyncVar<System.Boolean> | Public | — | |
| 0x01 | NetworkInitialize___EarlyScheduleOne.Police.PoliceOfficerAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x01 | NetworkInitialize__LateScheduleOne.Police.PoliceOfficerAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x035A | 0x06 | unreflected bytes to end of PoliceOfficer | |||
Inherited from NPC 56
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | PanicDuration | int | PrivateStatic+1 flags | 15 |
| — | 0x04 | HeadLightStartTime | int | PrivateStatic+1 flags | 1700 |
| — | 0x04 | HeadLightsEndTime | int | PrivateStatic+1 flags | 600 |
| 0x08 | _npcData | BaseNPCDataObject | Private | — | |
| 0x08 | <NPCData>k__BackingField | NPCData | Private | — | |
| 0x08 | OnNPCDataReady | Action<ScheduleOne.NPCs.Framework.NPCData> | Private | — | |
| 0x04 | <Scale>k__BackingField | float | Private | — | |
| 0x04 | Region | EMapRegion | Public | — | |
| 0x08 | BakedGUID | string | Public | — | |
| 0x10 | <GUID>k__BackingField | Guid | Private | — | |
| 0x08 | <AggressionController>k__BackingField | FloatStack | Private | — | |
| 0x08 | <Movement>k__BackingField | NPCMovement | Private | — | |
| 0x08 | <DialogueHandler>k__BackingField | DialogueHandler | Private | — | |
| 0x08 | <Avatar>k__BackingField | Avatar | Private | — | |
| 0x08 | <Awareness>k__BackingField | NPCAwareness | Private | — | |
| 0x08 | <Responses>k__BackingField | NPCResponses | Private | — | |
| 0x08 | <Actions>k__BackingField | NPCActions | Private | — | |
| 0x08 | <Behaviour>k__BackingField | NPCBehaviour | Private | — | |
| 0x08 | <Inventory>k__BackingField | NPCInventory | Private | — | |
| 0x08 | <VoiceOverEmitter>k__BackingField | VOEmitter | Private | — | |
| 0x08 | <Health>k__BackingField | NPCHealth | Private | — | |
| 0x08 | <Visibility>k__BackingField | EntityVisibility | Private | — | |
| 0x08 | <CurrentVehicle>k__BackingField | LandVehicle | Private | — | |
| 0x08 | onEnterVehicle | Action<ScheduleOne.Vehicles.LandVehicle> | Public | — | |
| 0x08 | onExitVehicle | Action<ScheduleOne.Vehicles.LandVehicle> | Public | — | |
| 0x08 | <CurrentBuilding>k__BackingField | NPCEnterableBuilding | Private | — | |
| 0x08 | <LastEnteredDoor>k__BackingField | StaticDoor | Private | — | |
| 0x08 | RelationData | NPCRelationData | Public | — | |
| 0x08 | <MSGConversation>k__BackingField | MSGConversation | Private | — | |
| 0x08 | OnConversationCreated | Action | Private | — | |
| 0x08 | _outlineRenderers | List<UnityEngine.GameObject> | 1 flags | — | |
| 0x08 | _outlineEffect | Outlinable | 1 flags | — | |
| 0x08 | <LocalExtraFiles>k__BackingField | List<System.String> | Private | — | |
| 0x08 | <LocalExtraFolders>k__BackingField | List<System.String> | Private | — | |
| 0x01 | <HasChanged>k__BackingField | bool | Private | — | |
| 0x0211 | 0x07 | padding / unreflected | |||
| 0x08 | <HighestProgressionEvent>k__BackingField | VisionEvent | Private | — | |
| 0x01 | <isVisible>k__BackingField | bool | Private | — | |
| 0x0221 | 0x07 | padding / unreflected | |||
| 0x08 | onVisibilityChanged | Action<System.Boolean> | Public | — | |
| 0x01 | <isUnsettled>k__BackingField | bool | Private | — | |
| 0x0231 | 0x07 | padding / unreflected | |||
| 0x08 | resetUnsettledCoroutine | Coroutine | Private | — | |
| 0x01 | <IsPanicked>k__BackingField | bool | Private | — | |
| 0x0241 | 0x03 | padding / unreflected | |||
| 0x04 | <TimeSincePanicked>k__BackingField | float | Private | — | |
| 0x01 | <HasUmbrella>k__BackingField | bool | Public | — | |
| 0x0249 | 0x07 | padding / unreflected | |||
| 0x08 | <ScheduleOne.Core.Weather.IWeatherEntity.WeatherVolume>k__BackingField | string | Private | — | |
| 0x01 | <IsUnderCover>k__BackingField | bool | Private | — | |
| 0x0259 | 0x07 | padding / unreflected | |||
| 0x08 | impactHistory | List<System.Int32> | Private | — | |
| 0x08 | _weatherTolerence | WeatherConditions | Private | — | |
| 0x08 | _currentWeatherConditionsForEntity | WeatherConditions | 1 flags | — | |
| 0x04 | _wetness | float | Private | — | |
| — | 0x04 | NPC_WET_RATE | float | PrivateStatic+1 flags | 1036831949 |
| — | 0x04 | NPC_DRY_RATE | float | PrivateStatic+1 flags | 1028443341 |
| 0x027C | 0x04 | padding / unreflected | |||
| 0x08 | _networkedEquipper | NetworkedEquipper | 1 flags | — | |
| 0x08 | lerpScaleRoutine | Coroutine | Private | — | |
| 0x08 | syncVar___<HasUmbrella>k__BackingField | SyncVar<System.Boolean> | Public | — | |
| 0x01 | NetworkInitialize___EarlyScheduleOne.NPCs.NPCAssembly-CSharp.dll_Excuted | bool | Private | — | |
| 0x01 | NetworkInitialize__LateScheduleOne.NPCs.NPCAssembly-CSharp.dll_Excuted | bool | Private | — | |
Inherited from NetworkBehaviour 41
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x01 | <OnStartServerCalled>k__BackingField | bool | Private | — | |
| 0x01 | <OnStartClientCalled>k__BackingField | bool | Private | — | |
| 0x01 | _onStartNetworkCalled | bool | Private | — | |
| 0x01 | _onStopNetworkCalled | bool | Private | — | |
| 0x01 | _componentIndexCache | byte | Private | — | |
| 0x0025 | 0x03 | padding / unreflected | |||
| 0x08 | _transportManagerCache | TransportManager | Private | — | |
| 0x08 | _networkObjectCache | NetworkObject | Private | — | |
| 0x01 | _initializedOnceServer | bool | Private | — | |
| 0x01 | _initializedOnceClient | bool | Private | — | |
| 0x01 | ClientHasReconcileData | bool | 1 flags | — | |
| 0x003B | 0x01 | padding / unreflected | |||
| 0x04 | _lastReplicateTick | uint | Private | — | |
| 0x01 | <IsReconciling>k__BackingField | bool | Private | — | |
| 0x0041 | 0x07 | padding / unreflected | |||
| 0x08 | _replicateRpcDelegates | Dictionary<System.UInt32 | Private+1 flags | — | |
| 0x08 | _reconcileRpcDelegates | Dictionary<System.UInt32 | Private+1 flags | — | |
| 0x01 | _predictionInitialized | bool | Private | — | |
| 0x0059 | 0x07 | padding / unreflected | |||
| 0x08 | _predictionRigidbody | Rigidbody | Private | — | |
| 0x08 | _predictionRigidbody2d | Rigidbody2D | Private | — | |
| 0x0C | _lastMayChangePosition | Vector3 | Private | — | |
| 0x10 | _lastMayChangeRotation | Quaternion | Private | — | |
| 0x0C | _lastMayChangeScale | Vector3 | Private | — | |
| 0x04 | _remainingResends | int | Private | — | |
| 0x04 | _lastSentReplicateTick | uint | Private | — | |
| 0x04 | _lastReceivedReplicateTick | uint | Private | — | |
| 0x04 | _lastReceivedReconcileTick | uint | Private | — | |
| 0x04 | _lastReconcileTick | uint | Private | — | |
| 0x00AC | 0x04 | padding / unreflected | |||
| 0x08 | _rpcLinks | Dictionary<System.UInt32 | Private | — | |
| 0x08 | _serverRpcDelegates | Dictionary<System.UInt32 | Private+1 flags | — | |
| 0x08 | _observersRpcDelegates | Dictionary<System.UInt32 | Private+1 flags | — | |
| 0x08 | _targetRpcDelegates | Dictionary<System.UInt32 | Private+1 flags | — | |
| 0x04 | _rpcMethodCount | uint | Private | — | |
| 0x01 | _rpcHashSize | byte | Private | — | |
| 0x00D5 | 0x03 | padding / unreflected | |||
| 0x08 | _bufferedRpcs | Dictionary<System.UInt32 | Private | — | |
| 0x08 | _networkConnectionCache | HashSet<FishNet.Connection.NetworkConnection> | Private | — | |
| — | 0x04 | MAXIMUM_RPC_HEADER_SIZE | int | PrivateStatic+1 flags | 0 |
| 0x08 | _syncTypeWriters | SyncTypeWriter[] | Private | — | |
| 0x08 | _syncVars | Dictionary<System.UInt32 | Private | — | |
| 0x01 | SyncVarDirty | bool | 1 flags | — | |
| 0x00F9 | 0x07 | padding / unreflected | |||
| 0x08 | _syncObjects | Dictionary<System.UInt32 | Private | — | |
| 0x01 | SyncObjectDirty | bool | 1 flags | — | |
| 0x08 | _readPermissions | ReadPermission[] | PrivateStatic | — | |
| 0x0109 | 0x07 | padding / unreflected | |||
| 0x08 | _syncVarReadDelegates | List<FishNet.Object.Delegating.SyncVarReadDelegate> | Private | — | |
Inherited from MonoBehaviour 1
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CancellationTokenSource | CancellationTokenSource | Private | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 80
| Signature | Flags | Native | Params |
|---|---|---|---|
| bool get_IgnorePlayers() | Public+1 flags | 0x01 | |
| void set_IgnorePlayers(bool value) | Private+1 flags | 0x01 | |
| NetworkObject get_PursuitTarget() | Public+1 flags | 0x08 | |
| LandVehicle get_AssignedVehicle() | Public+1 flags | 0x08 | |
| void set_AssignedVehicle(LandVehicle value) | Public+1 flags | 0x08 | |
| float get_BodySearchChance() | Public+1 flags | 0x04 | |
| void set_BodySearchChance(float value) | Public+1 flags | 0x04 | |
| void Awake() | Public+1 flags | 0x00 | |
| void Start() | 2 flags | 0x00 | |
| void OnDestroy() | 2 flags | 0x00 | |
| void Update() | 1 flags | 0x00 | |
| void OnTick() | 2 flags | 0x00 | |
| void UpdateVision() | Private | 0x00 | |
| void CheckDeactivation() | Private | 0x00 | |
| void BeginFootPursuit_Networked(const string& playerCode, bool includeColleagues) | Public+2 flags | 0x08 | |
| void BeginFootPursuit(const string& playerCode) | Private | 0x08 | |
| void BeginVehiclePursuit_Networked(const string& playerCode, NetworkObject vehicle, bool beginAsSighted) | Public+2 flags | 0x08 | |
| void BeginVehiclePursuit(const string& playerCode, NetworkObject vehicle, bool beginAsSighted) | Private | 0x08 | |
| void BeginBodySearch_Networked(const string& playerCode) | Public+2 flags | 0x08 | |
| void BeginBodySearch(const string& playerCode) | Private | 0x08 | |
| void AssignToCheckpoint(const ECheckpointLocation& location) | Public+2 flags | 0x04 | |
| void UnassignFromCheckpoint() | Public | 0x00 | |
| void StartFootPatrol(PatrolGroup group, bool warpToStartPoint) | Public | 0x08 | |
| void StartVehiclePatrol(VehiclePatrolRoute route, LandVehicle vehicle) | Public | 0x08 | |
| void AssignToSentryLocation(SentryLocation location) | Public+2 flags | 0x08 | |
| void UnassignFromSentryLocation() | Public | 0x00 | |
| void Activate() | Public | 0x00 | |
| void Deactivate() | Public | 0x00 | |
| bool ShouldNoticeGeneralCrime(Player player) | 1 flags | 0x08 | |
| bool ShouldSave() | Public+1 flags | 0x01 | |
| string GetNameAddress() | Public+1 flags | 0x08 | |
| void UpdateChatter() | Private | 0x00 | |
| void ProcessVisionEvent(VisionEventReceipt visionEventReceipt) | Private | 0x08 | |
| PoliceOfficer GetNearestOfficer(const Vector3& position, ref float& distanceToTarget, bool onlyConscious) | PublicStatic | 0x0C | |
| void SetIgnorePlayers(bool ignore) | Public | 0x01 | |
| void SetRandomAvoidancePriority() | Public | 0x00 | |
| void SetAvoidancePriority(int priority) | Public | 0x04 | |
| void UpdateBodySearch() | Public+2 flags | 0x00 | |
| bool CanInvestigate() | Private | 0x01 | |
| void UpdateExistingInvestigation() | Private | 0x00 | |
| void CheckNewInvestigation() | Private | 0x00 | |
| void StopBodySearchInvestigation() | Private | 0x00 | |
| void BodySearchLocalPlayer() | Public | 0x00 | |
| void ConductBodySearch(Player player) | Public | 0x08 | |
| bool CanInvestigatePlayer(Player player) | Private | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 | |
| IEnumerator <Deactivate>g__Wait|66_0() | Private | 0x08 | |
| bool <Deactivate>b__66_1() | Private | 0x01 | |
| void NetworkInitialize___Early() | Public+1 flags | 0x00 | |
| void NetworkInitialize__Late() | Public+1 flags | 0x00 | |
| void NetworkInitializeIfDisabled() | Public+1 flags | 0x00 | |
| void RpcWriter___Server_BeginFootPursuit_Networked_310431262(const string& playerCode, bool includeColleagues) | Private | 0x08 | |
| void RpcLogic___BeginFootPursuit_Networked_310431262(const string& playerCode, bool includeColleagues) | Public+2 flags | 0x08 | |
| void RpcReader___Server_BeginFootPursuit_Networked_310431262(PooledReader PooledReader0, const Channel& channel, NetworkConnection conn) | Private | 0x08 | |
| void RpcWriter___Observers_BeginFootPursuit_3615296227(const string& playerCode) | Private | 0x08 | |
| void RpcLogic___BeginFootPursuit_3615296227(const string& playerCode) | Private | 0x08 | |
| void RpcReader___Observers_BeginFootPursuit_3615296227(PooledReader PooledReader0, const Channel& channel) | Private | 0x08 | |
| void RpcWriter___Server_BeginVehiclePursuit_Networked_1834136777(const string& playerCode, NetworkObject vehicle, bool beginAsSighted) | Private | 0x08 | |
| void RpcLogic___BeginVehiclePursuit_Networked_1834136777(const string& playerCode, NetworkObject vehicle, bool beginAsSighted) | Public+2 flags | 0x08 | |
| void RpcReader___Server_BeginVehiclePursuit_Networked_1834136777(PooledReader PooledReader0, const Channel& channel, NetworkConnection conn) | Private | 0x08 | |
| void RpcWriter___Observers_BeginVehiclePursuit_1834136777(const string& playerCode, NetworkObject vehicle, bool beginAsSighted) | Private | 0x08 | |
| void RpcLogic___BeginVehiclePursuit_1834136777(const string& playerCode, NetworkObject vehicle, bool beginAsSighted) | Private | 0x08 | |
| void RpcReader___Observers_BeginVehiclePursuit_1834136777(PooledReader PooledReader0, const Channel& channel) | Private | 0x08 | |
| void RpcWriter___Server_BeginBodySearch_Networked_3615296227(const string& playerCode) | Private | 0x08 | |
| void RpcLogic___BeginBodySearch_Networked_3615296227(const string& playerCode) | Public+2 flags | 0x08 | |
| void RpcReader___Server_BeginBodySearch_Networked_3615296227(PooledReader PooledReader0, const Channel& channel, NetworkConnection conn) | Private | 0x08 | |
| void RpcWriter___Observers_BeginBodySearch_3615296227(const string& playerCode) | Private | 0x08 | |
| void RpcLogic___BeginBodySearch_3615296227(const string& playerCode) | Private | 0x08 | |
| void RpcReader___Observers_BeginBodySearch_3615296227(PooledReader PooledReader0, const Channel& channel) | Private | 0x08 | |
| void RpcWriter___Observers_AssignToCheckpoint_4087078542(const ECheckpointLocation& location) | Private | 0x04 | |
| void RpcLogic___AssignToCheckpoint_4087078542(const ECheckpointLocation& location) | Public+2 flags | 0x04 | |
| void RpcReader___Observers_AssignToCheckpoint_4087078542(PooledReader PooledReader0, const Channel& channel) | Private | 0x08 | |
| void RpcWriter___Server_SetIgnorePlayers_1140765316(bool ignore) | Private | 0x01 | |
| void RpcLogic___SetIgnorePlayers_1140765316(bool ignore) | Public | 0x01 | |
| void RpcReader___Server_SetIgnorePlayers_1140765316(PooledReader PooledReader0, const Channel& channel, NetworkConnection conn) | Private | 0x08 | |
| bool sync___get_value_<IgnorePlayers>k__BackingField() | Public+1 flags | 0x01 | |
| void sync___set_value_<IgnorePlayers>k__BackingField(bool value, bool asServer) | Public+1 flags | 0x01 | |
| bool ReadSyncVar___ScheduleOne.Police.PoliceOfficer(PooledReader PooledReader0, uint UInt321, bool Boolean2) | Public+1 flags | 0x08 | |
| void Awake_UserLogic_ScheduleOne.Police.PoliceOfficer_Assembly-CSharp.dll() | 2 flags | 0x00 |
Used by 24
types with a member, parameter or interface of this type<<Deactivate>g__Wait|66_0>dAction`1ArraySortHelper`1BodySearchBehaviourComparison`1DialogueController_PoliceDialogueHandler_PoliceEnumeratorICollection`1IComparer`1IEnumerator`1IList`1IReadOnlyList`1LawManagerList`1NPCResponses_PolicePlayerCrimeDataPoliceOfficer[]PoliceStationPredicate`1PursuitBehaviourReadOnlyCollection`1SentryBehaviourVehiclePatrolInstance