2019-06-02 11:13:56 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Ped.h"
|
2019-06-14 19:34:19 -04:00
|
|
|
#include "Wanted.h"
|
2019-06-02 11:13:56 -04:00
|
|
|
|
2019-06-16 20:10:55 -04:00
|
|
|
class CPlayerPed : public CPed
|
|
|
|
{
|
2019-06-02 11:13:56 -04:00
|
|
|
public:
|
2019-06-14 19:34:19 -04:00
|
|
|
CWanted *m_pWanted;
|
|
|
|
CCopPed *m_pArrestingCop;
|
2019-06-16 18:16:38 -04:00
|
|
|
float m_fMoveSpeed;
|
|
|
|
float m_fCurrentStamina;
|
|
|
|
float m_fMaxStamina;
|
|
|
|
float m_fStaminaProgress;
|
|
|
|
bool m_bWeaponSlot;
|
|
|
|
bool m_bSpeedTimerFlag;
|
|
|
|
bool m_bShouldEvade;
|
2019-06-14 19:34:19 -04:00
|
|
|
int8 field_1367;
|
|
|
|
int32 m_nSpeedTimer;
|
|
|
|
int32 m_nShotDelay;
|
2019-06-16 18:16:38 -04:00
|
|
|
float field_1376;
|
2019-06-18 08:34:27 -04:00
|
|
|
int8 field_1380; // set if can't attack, why?
|
2019-06-14 19:34:19 -04:00
|
|
|
int8 field_1381;
|
|
|
|
int8 field_1382;
|
|
|
|
int8 field_1383;
|
|
|
|
CEntity *m_pEvadingFrom;
|
|
|
|
int32 m_nTargettableObjects[4];
|
2019-06-16 18:16:38 -04:00
|
|
|
bool m_bAdrenalineActive;
|
|
|
|
bool m_bHasLockOnTarget;
|
2019-06-14 19:34:19 -04:00
|
|
|
int8 field_1406;
|
|
|
|
int8 field_1407;
|
2019-06-16 18:16:38 -04:00
|
|
|
bool m_bAdrenalineTime;
|
|
|
|
bool m_bCanBeDamaged;
|
2019-06-14 19:34:19 -04:00
|
|
|
int8 field_1413;
|
|
|
|
int8 field_1414;
|
|
|
|
int8 field_1415;
|
|
|
|
CVector field_1416[6];
|
|
|
|
int32 field_1488[6];
|
2019-06-16 18:16:38 -04:00
|
|
|
float field_1512;
|
|
|
|
float m_fFPSMoveHeading;
|
2019-06-02 11:13:56 -04:00
|
|
|
};
|
2019-06-14 19:34:19 -04:00
|
|
|
|
2019-06-02 11:13:56 -04:00
|
|
|
static_assert(sizeof(CPlayerPed) == 0x5F0, "CPlayerPed: error");
|