2019-06-14 23:34:19 +00:00
|
|
|
#pragma once
|
|
|
|
#include "Entity.h"
|
|
|
|
#include "math/Vector.h"
|
2019-06-26 21:31:12 +00:00
|
|
|
#include "CopPed.h"
|
2019-06-14 23:34:19 +00:00
|
|
|
|
2019-06-26 21:31:12 +00:00
|
|
|
enum eWantedLevel {
|
|
|
|
NOTWANTED,
|
|
|
|
WANTEDLEVEL_1,
|
|
|
|
WANTEDLEVEL_2,
|
|
|
|
WANTEDLEVEL_3,
|
|
|
|
WANTEDLEVEL_4,
|
|
|
|
WANTEDLEVEL_5,
|
|
|
|
WANTEDLEVEL_6,
|
2019-06-14 23:34:19 +00:00
|
|
|
};
|
|
|
|
|
2019-06-26 21:31:12 +00:00
|
|
|
class CWanted
|
2019-06-17 00:10:55 +00:00
|
|
|
{
|
2019-06-14 23:34:19 +00:00
|
|
|
public:
|
|
|
|
int32 m_nChaos;
|
|
|
|
int32 m_nLastUpdateTime;
|
|
|
|
int32 m_nLastWantedLevelChange;
|
2019-06-16 22:16:38 +00:00
|
|
|
float m_fCrimeSensitivity;
|
2019-06-14 23:34:19 +00:00
|
|
|
uint8 m_bCurrentCops;
|
|
|
|
uint8 m_bMaxCops;
|
|
|
|
uint8 m_bMaximumLawEnforcerVehicles;
|
|
|
|
int8 field_19;
|
|
|
|
int16 m_wRoadblockDensity;
|
2019-06-26 21:31:12 +00:00
|
|
|
uint8 m_IsIgnoredByCops : 1;
|
|
|
|
uint8 m_IsIgnoredByEveryOne : 1;
|
|
|
|
uint8 m_IsSwatRequired : 1;
|
|
|
|
uint8 m_IsFbiRequired : 1;
|
|
|
|
uint8 m_IdArmyRequired : 1;
|
2019-06-14 23:34:19 +00:00
|
|
|
int8 field_23;
|
|
|
|
int32 m_nWantedLevel;
|
|
|
|
CCrime m_sCrimes[16];
|
|
|
|
CCopPed *m_pCops[10];
|
2019-06-26 21:31:12 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
bool AreSwatRequired();
|
|
|
|
bool AreFbiRequired();
|
|
|
|
bool AreArmyRequired();
|
|
|
|
int NumOfHelisRequired();
|
2019-06-14 23:34:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
static_assert(sizeof(CWanted) == 0x204, "CWanted: error");
|