2019-06-02 15:13:56 +00:00
|
|
|
#pragma once
|
|
|
|
#include "Ped.h"
|
|
|
|
|
2019-06-26 21:31:12 +00:00
|
|
|
enum eCopType
|
|
|
|
{
|
|
|
|
COP_STREET = 0,
|
|
|
|
COP_FBI = 1,
|
|
|
|
COP_SWAT = 2,
|
2020-07-27 13:04:05 +00:00
|
|
|
COP_HELI_SWAT = 3,
|
|
|
|
COP_ARMY = 4,
|
2020-05-10 09:25:30 +00:00
|
|
|
COP_MIAMIVICE = 5
|
2019-06-26 21:31:12 +00:00
|
|
|
};
|
|
|
|
|
2019-06-02 15:13:56 +00:00
|
|
|
class CCopPed : public CPed
|
|
|
|
{
|
|
|
|
public:
|
2020-09-26 23:36:49 +00:00
|
|
|
CVehicle* m_nRoadblockVeh;
|
2019-06-26 21:31:12 +00:00
|
|
|
float m_fDistanceToTarget;
|
2020-04-18 08:31:53 +00:00
|
|
|
bool m_bIsInPursuit;
|
|
|
|
bool m_bIsDisabledCop;
|
2020-06-08 21:56:01 +00:00
|
|
|
int8 field_5FE;
|
2020-03-25 14:13:06 +00:00
|
|
|
bool m_bBeatingSuspect;
|
2020-04-18 08:31:53 +00:00
|
|
|
bool m_bStopAndShootDisabledZone;
|
2020-09-26 23:36:49 +00:00
|
|
|
bool m_bDragsPlayerFromCar;
|
2020-04-18 08:31:53 +00:00
|
|
|
bool m_bZoneDisabled;
|
2020-06-08 21:56:01 +00:00
|
|
|
float m_fAbseilPos;
|
2019-06-26 21:31:12 +00:00
|
|
|
eCopType m_nCopType;
|
2020-07-08 14:26:23 +00:00
|
|
|
bool m_bThrowsSpikeTrap;
|
2020-07-26 21:41:01 +00:00
|
|
|
CEntity *m_pRopeEntity; // CHeli or 1
|
|
|
|
uintptr m_nRopeID;
|
2020-07-27 13:04:05 +00:00
|
|
|
uint32 m_nHassleTimer;
|
|
|
|
uint32 field_61C;
|
2020-08-31 18:09:48 +00:00
|
|
|
class CStinger *m_pStinger;
|
2020-07-04 12:31:28 +00:00
|
|
|
int32 field_624;
|
2020-06-08 21:56:01 +00:00
|
|
|
int8 field_628;
|
2019-06-30 10:59:55 +00:00
|
|
|
|
2020-05-10 09:25:30 +00:00
|
|
|
CCopPed(eCopType, int32 modifier = 0);
|
2019-06-30 10:59:55 +00:00
|
|
|
~CCopPed();
|
|
|
|
|
|
|
|
void ClearPursuit(void);
|
2019-07-14 12:00:36 +00:00
|
|
|
void ProcessControl(void);
|
2019-09-06 22:27:07 +00:00
|
|
|
void SetArrestPlayer(CPed*);
|
2020-03-07 19:22:43 +00:00
|
|
|
void SetPursuit(bool);
|
|
|
|
void ArrestPlayer(void);
|
|
|
|
void ScanForCrimes(void);
|
2020-03-25 14:13:06 +00:00
|
|
|
void CopAI(void);
|
2020-07-27 13:04:05 +00:00
|
|
|
void ProcessHeliSwat(void);
|
2020-09-01 18:10:35 +00:00
|
|
|
void ProcessStingerCop(void);
|
2019-06-02 15:13:56 +00:00
|
|
|
};
|
2019-06-26 21:31:12 +00:00
|
|
|
|
2020-12-18 16:27:18 +00:00
|
|
|
VALIDATE_SIZE(CCopPed, 0x62C);
|