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,
|
|
|
|
};
|
|
|
|
|
2019-06-02 17:13:56 +02:00
|
|
|
class CCopPed : public CPed
|
|
|
|
{
|
|
|
|
public:
|
2019-06-26 23:31:12 +02:00
|
|
|
int16 m_wRoadblockNode;
|
|
|
|
int8 field_1342;
|
|
|
|
int8 field_1343;
|
|
|
|
float m_fDistanceToTarget;
|
|
|
|
int8 m_bIsInPursuit;
|
|
|
|
int8 m_bIsDisabledCop;
|
|
|
|
int8 field_1350;
|
|
|
|
int8 field_1351;
|
|
|
|
int8 m_bZoneDisabledButClose;
|
|
|
|
int8 m_bZoneDisabled;
|
|
|
|
int8 field_1354;
|
|
|
|
int8 field_1355;
|
|
|
|
int32 field_1356;
|
|
|
|
eCopType m_nCopType;
|
|
|
|
int8 field_1364;
|
|
|
|
int8 field_1365;
|
|
|
|
int8 field_1366;
|
|
|
|
int8 field_1367;
|
2019-06-30 12:59:55 +02:00
|
|
|
|
2019-07-14 11:49:03 +02:00
|
|
|
CCopPed(eCopType);
|
2019-06-30 12:59:55 +02:00
|
|
|
~CCopPed();
|
|
|
|
|
|
|
|
void ClearPursuit(void);
|
2019-07-14 14:00:36 +02:00
|
|
|
void ProcessControl(void);
|
2019-06-02 17:13:56 +02:00
|
|
|
};
|
2019-06-26 23:31:12 +02:00
|
|
|
|
2019-06-02 17:13:56 +02:00
|
|
|
static_assert(sizeof(CCopPed) == 0x558, "CCopPed: error");
|