2021-07-25 19:12:53 +08:00
|
|
|
#include "CAutomobile.h"
|
|
|
|
#include "CPedModelInfo.h"
|
|
|
|
#include "CPedWeaponManager.h"
|
|
|
|
#include "CPlayerInfo.h"
|
2021-10-15 07:38:31 +08:00
|
|
|
#include "pgBase.h"
|
2021-07-25 19:12:53 +08:00
|
|
|
|
2021-02-09 05:44:51 +08:00
|
|
|
class CPed
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
char pad_0000[32]; //0x0000
|
2021-07-25 19:12:53 +08:00
|
|
|
class CPedModelInfo *m_ped_model_info; //0x0020
|
2021-02-09 05:44:51 +08:00
|
|
|
uint8_t m_entity_type; //0x0028
|
|
|
|
char pad_0029[3]; //0x0029
|
|
|
|
uint8_t m_invisible; //0x002C
|
|
|
|
char pad_002D[1]; //0x002D
|
|
|
|
uint8_t m_freeze_momentum; //0x002E
|
2021-10-15 07:38:31 +08:00
|
|
|
char pad_002F[1]; //0x002F
|
|
|
|
class pgBase *m_posbase; //0x0030
|
|
|
|
char pad_0038[88]; //0x0038
|
|
|
|
rage::vector3 m_camera; //0x0090
|
2021-02-09 05:44:51 +08:00
|
|
|
char pad_009C[237]; //0x009C
|
|
|
|
uint8_t m_godmode; //0x0189
|
2021-09-21 22:12:20 +08:00
|
|
|
char pad_018A[2]; //0x018A
|
|
|
|
uint8_t m_hostility; //0x018C
|
|
|
|
char pad_018D[243]; //0x018D
|
2021-02-09 05:44:51 +08:00
|
|
|
float m_health; //0x0280
|
|
|
|
char pad_0284[28]; //0x0284
|
|
|
|
float m_maxhealth; //0x02A0
|
|
|
|
char pad_02A4[124]; //0x02A4
|
2021-10-15 07:38:31 +08:00
|
|
|
rage::vector3 m_velocity; //0x0320
|
2021-02-09 05:44:51 +08:00
|
|
|
char pad_032C[2564]; //0x032C
|
2021-07-25 19:12:53 +08:00
|
|
|
class CAutomobile *m_vehicle; //0x0D30
|
|
|
|
char pad_0D38[912]; //0x0D38
|
|
|
|
class CPlayerInfo *m_player_info; //0x10C8
|
2021-02-09 05:44:51 +08:00
|
|
|
char pad_10D0[8]; //0x10D0
|
2021-07-25 19:12:53 +08:00
|
|
|
class CPedWeaponManager *m_weapon_manager; //0x10D8
|
2021-09-21 22:12:20 +08:00
|
|
|
char pad_10E0[812]; //0x10E0
|
|
|
|
uint8_t m_bike_seatbelt; //0x140C
|
|
|
|
char pad_140D[11]; //0x140D
|
|
|
|
uint8_t m_vehicle_seatbelt; //0x1418
|
|
|
|
char pad_1419[94]; //0x1419
|
2021-07-27 18:15:56 +08:00
|
|
|
uint8_t m_in_vehicle; //0x1477
|
|
|
|
char pad_1478[104]; //0x1478
|
2021-02-09 05:44:51 +08:00
|
|
|
float m_armor; //0x14E0
|
|
|
|
}; //Size: 0x14E4
|
2021-09-21 22:12:20 +08:00
|
|
|
static_assert(sizeof(CPed) == 0x14E4);
|