summaryrefslogtreecommitdiffstats
path: root/src/entities/PlayerPed.h
blob: 0889227772b0c324a6362bcbc3c4109e5f08b04d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#pragma once

#include "Ped.h"

class CPlayerPed : public CPed
{
public:
	// All credits goes to DK22Pac
	// 0x53C
	int *m_pWanted;			//	CWanted *
	int *m_pArrestingCop;	//	CCopPed *m_pArrestingCop;
	float m_fMoveSpeed;
	float m_fCurrentStamina;
	float m_fMaxStamina;
	float m_fStaminaProgress;
	char m_bWeaponSlot;
	uint8 m_bSpeedTimerFlag;
	bool m_bShouldEvade;
	char field_1367;
	uint32 m_nSpeedTimer;
	uint32 m_nShotDelay;
	float field_1376;
	char field_1380;
	char field_1381;
	char field_1382;
	char field_1383;
	CEntity *m_pEvadingFrom;
	int m_nTargettableObjects[4];
	bool m_bAdrenalineActive;
	bool m_bHasLockOnTarget;
	char field_1406;
	char field_1407;
	uint32 m_bAdrenalineTime;
	bool m_bCanBeDamaged;
	char field_1413;
	char field_1414;
	char field_1415;
	CVector field_1416[6];
	int field_1488[6];
	float field_1512;
	float m_fFPSMoveHeading;
};
static_assert(sizeof(CPlayerPed) == 0x5F0, "CPlayerPed: error");