Class
PoliceStation
: NPCEnterableBuilding : MonoBehaviour : Behaviour : Component : Object : Object0x00x0090
Members 9
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | PoliceStations | List<ScheduleOne.Map.PoliceStation> | PublicStatic | — | |
| 0x08 | SpawnPoint | Transform | Public | — | |
| 0x08 | VehicleSpawnPoints | Transform[] | Public | — | |
| 0x08 | PossessedVehicleSpawnPoints | Transform[] | Public | — | |
| 0x08 | PoliceVehicleParkingLot | ParkingLot | Public | — | |
| 0x08 | PoliceVehicles | LandVehicle[] | Public | — | |
| 0x08 | <OfficerPool>k__BackingField | List<ScheduleOne.Police.PoliceOfficer> | Private | — | |
| 0x04 | <TimeSinceLastDispatch>k__BackingField | float | Private | — | |
| 0x0084 | 0x04 | padding / unreflected | |||
| 0x08 | deployedVehicles | List<ScheduleOne.Vehicles.LandVehicle> | Private | — | |
Inherited from NPCEnterableBuilding 6
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| — | 0x04 | DOOR_SOUND_DISTANCE_LIMIT | float | PublicStatic+1 flags | 1097859072 |
| 0x10 | <GUID>k__BackingField | Guid | Private | — | |
| 0x08 | BuildingName | string | Public | — | |
| 0x08 | BakedGUID | string | 1 flags | — | |
| 0x08 | Doors | StaticDoor[] | Public | — | |
| 0x08 | Occupants | List<ScheduleOne.NPCs.NPC> | 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 21
| Signature | Flags | Native | Params |
|---|---|---|---|
| List<ScheduleOne.Police.PoliceOfficer> get_OfficerPool() | Public+1 flags | 0x08 | |
| void set_OfficerPool(List<ScheduleOne.Police.PoliceOfficer> value) | Private+1 flags | 0x08 | |
| float get_TimeSinceLastDispatch() | Public+1 flags | 0x04 | |
| void set_TimeSinceLastDispatch(float value) | Private+1 flags | 0x04 | |
| int get_AvailableVehicleCount() | Public+1 flags | 0x04 | |
| int get_deployedVehicleCount() | Private+1 flags | 0x04 | |
| void Awake() | 2 flags | 0x00 | |
| void OnDestroy() | Private | 0x00 | |
| void Update() | Private | 0x00 | |
| void Dispatch(int requestedOfficerCount, Player targetPlayer, const EDispatchType& type, bool beginAsSighted) | Public | 0x08 | |
| PoliceOfficer PullOfficer() | Public | 0x08 | |
| LandVehicle DeployVehicle() | Public | 0x08 | |
| bool TryDeployVehicle(ref LandVehicle& vehicle, Transform spawnPoint) | Public | 0x08 | |
| void ReturnVehicle(LandVehicle vehicle) | Public | 0x08 | |
| void NPCEnteredBuilding(NPC npc, StaticDoor door) | Public+1 flags | 0x08 | |
| void NPCExitedBuilding(NPC npc, StaticDoor door) | Public+1 flags | 0x08 | |
| PoliceStation GetClosestPoliceStation(const Vector3& point) | PublicStatic | 0x0C | |
| void .ctor() | Public+1 flags | 0x00 | |
| void .cctor() | PrivateStatic+1 flags | 0x00 | |
| bool <DeployVehicle>g__IsSpawnPointAvailable|25_0(Transform spawnPoint) | Static+1 flags | 0x08 | |
| bool <TryDeployVehicle>b__26_0(LandVehicle x) | Private | 0x08 |