2019-06-02 17:13:56 +02:00
|
|
|
#pragma once
|
|
|
|
#include "Ped.h"
|
|
|
|
|
2019-06-26 23:31:12 +02:00
|
|
|
enum eCopType
|
|
|
|
{
|
|
|
|
COP_STREET = 0,
|
|
|
|
COP_FBI = 1,
|
|
|
|
COP_SWAT = 2,
|
|
|
|
COP_ARMY = 3,
|
2020-05-10 11:25:30 +02:00
|
|
|
COP_MIAMIVICE = 5
|
2019-06-26 23:31:12 +02:00
|
|
|
};
|
|
|
|
|
2019-06-02 17:13:56 +02:00
|
|
|
class CCopPed : public CPed
|
|
|
|
{
|
|
|
|
public:
|
2020-05-03 15:57:57 +02:00
|
|
|
int16 m_nRoadblockNode;
|
2019-06-26 23:31:12 +02:00
|
|
|
float m_fDistanceToTarget;
|
2020-04-18 10:31:53 +02:00
|
|
|
bool m_bIsInPursuit;
|
|
|
|
bool m_bIsDisabledCop;
|
2020-06-08 23:56:01 +02:00
|
|
|
int8 field_5FE;
|
|
|
|
int8 field_5FF;
|
2020-03-25 15:13:06 +01:00
|
|
|
bool m_bBeatingSuspect;
|
2020-04-18 10:31:53 +02:00
|
|
|
bool m_bStopAndShootDisabledZone;
|
2020-06-08 23:56:01 +02:00
|
|
|
bool field_601; // set when police dragging player from car
|
2020-04-18 10:31:53 +02:00
|
|
|
bool m_bZoneDisabled;
|
2020-06-08 23:56:01 +02:00
|
|
|
float m_fAbseilPos;
|
2019-06-26 23:31:12 +02:00
|
|
|
eCopType m_nCopType;
|
2020-07-04 14:31:28 +02:00
|
|
|
int32 field_624;
|
2020-06-08 23:56:01 +02:00
|
|
|
int8 field_628;
|
2019-06-30 12:59:55 +02:00
|
|
|
|
2020-05-10 11:25:30 +02:00
|
|
|
CCopPed(eCopType, int32 modifier = 0);
|
2019-06-30 12:59:55 +02:00
|
|
|
~CCopPed();
|
|
|
|
|
|
|
|
void ClearPursuit(void);
|
2019-07-14 14:00:36 +02:00
|
|
|
void ProcessControl(void);
|
2019-09-07 00:27:07 +02:00
|
|
|
void SetArrestPlayer(CPed*);
|
2020-03-07 20:22:43 +01:00
|
|
|
void SetPursuit(bool);
|
|
|
|
void ArrestPlayer(void);
|
|
|
|
void ScanForCrimes(void);
|
2020-03-25 15:13:06 +01:00
|
|
|
void CopAI(void);
|
2019-06-02 17:13:56 +02:00
|
|
|
};
|
2019-06-26 23:31:12 +02:00
|
|
|
|
2020-04-23 22:25:18 +02:00
|
|
|
#ifndef PED_SKIN
|
2020-05-10 17:49:33 +02:00
|
|
|
VALIDATE_SIZE(CCopPed, 0x558);
|
2020-04-23 22:25:18 +02:00
|
|
|
#endif
|