2019-06-02 11:13:56 -04:00
|
|
|
#pragma once
|
|
|
|
#include "Ped.h"
|
|
|
|
|
2019-06-26 17:31:12 -04:00
|
|
|
enum eCopType
|
|
|
|
{
|
|
|
|
COP_STREET = 0,
|
|
|
|
COP_FBI = 1,
|
|
|
|
COP_SWAT = 2,
|
|
|
|
COP_ARMY = 3,
|
|
|
|
};
|
|
|
|
|
2019-06-02 11:13:56 -04:00
|
|
|
class CCopPed : public CPed
|
|
|
|
{
|
|
|
|
public:
|
2019-06-26 17:31:12 -04:00
|
|
|
int16 m_wRoadblockNode;
|
|
|
|
float m_fDistanceToTarget;
|
2020-04-18 04:31:53 -04:00
|
|
|
bool m_bIsInPursuit;
|
|
|
|
bool m_bIsDisabledCop;
|
2019-06-26 17:31:12 -04:00
|
|
|
int8 field_1350;
|
2020-03-25 10:13:06 -04:00
|
|
|
bool m_bBeatingSuspect;
|
2020-04-18 04:31:53 -04:00
|
|
|
bool m_bStopAndShootDisabledZone;
|
|
|
|
bool m_bZoneDisabled;
|
2019-06-26 17:31:12 -04:00
|
|
|
int32 field_1356;
|
|
|
|
eCopType m_nCopType;
|
|
|
|
int8 field_1364;
|
|
|
|
int8 field_1365;
|
|
|
|
int8 field_1366;
|
|
|
|
int8 field_1367;
|
2019-06-30 06:59:55 -04:00
|
|
|
|
2019-07-14 05:49:03 -04:00
|
|
|
CCopPed(eCopType);
|
2019-06-30 06:59:55 -04:00
|
|
|
~CCopPed();
|
|
|
|
|
|
|
|
void ClearPursuit(void);
|
2019-07-14 08:00:36 -04:00
|
|
|
void ProcessControl(void);
|
2019-09-06 18:27:07 -04:00
|
|
|
void SetArrestPlayer(CPed*);
|
2020-03-07 14:22:43 -05:00
|
|
|
void SetPursuit(bool);
|
|
|
|
void ArrestPlayer(void);
|
|
|
|
void ScanForCrimes(void);
|
2020-03-25 10:13:06 -04:00
|
|
|
void CopAI(void);
|
2019-06-02 11:13:56 -04:00
|
|
|
};
|
2019-06-26 17:31:12 -04:00
|
|
|
|
2019-06-02 11:13:56 -04:00
|
|
|
static_assert(sizeof(CCopPed) == 0x558, "CCopPed: error");
|