2021-12-06 19:36:09 +01:00
|
|
|
#pragma once
|
2022-06-01 07:49:36 +02:00
|
|
|
|
2022-08-26 00:13:12 +02:00
|
|
|
|
|
|
|
#include "../vehicle/CVehicle.hpp"
|
2022-08-25 22:06:34 +02:00
|
|
|
#include "../player/CPlayerInfo.hpp"
|
|
|
|
#include "CPedModelInfo.hpp"
|
|
|
|
#include "CPedWeaponManager.hpp"
|
2022-08-26 00:37:00 +02:00
|
|
|
#include "CPedInventory.hpp"
|
2022-08-26 00:13:12 +02:00
|
|
|
#include "../entities/fwEntity.hpp"
|
2022-08-25 22:06:34 +02:00
|
|
|
#include "../rage/vector.hpp"
|
2021-12-06 19:36:09 +01:00
|
|
|
|
2022-06-01 07:49:36 +02:00
|
|
|
#include <cstdint>
|
|
|
|
|
2021-12-06 19:36:09 +01:00
|
|
|
#pragma pack(push, 1)
|
2021-07-25 13:12:53 +02:00
|
|
|
|
2022-08-26 00:13:12 +02:00
|
|
|
class CPed : public rage::CPhysical
|
2021-02-08 22:44:51 +01:00
|
|
|
{
|
|
|
|
public:
|
2022-08-26 00:13:12 +02:00
|
|
|
char gap30C[20];
|
2022-01-28 01:15:26 +01:00
|
|
|
rage::fvector3 m_velocity; //0x0320
|
2021-02-08 22:44:51 +01:00
|
|
|
char pad_032C[2564]; //0x032C
|
2022-08-26 00:13:12 +02:00
|
|
|
class CVehicle *m_vehicle; //0x0D30
|
2021-07-25 13:12:53 +02:00
|
|
|
char pad_0D38[912]; //0x0D38
|
2021-12-15 16:07:30 +01:00
|
|
|
class CPlayerInfo *m_player_info; //0x10C8
|
2022-08-26 00:37:00 +02:00
|
|
|
class CPedInventory* m_inventory; //0x10D0
|
2021-12-15 16:07:30 +01:00
|
|
|
class CPedWeaponManager *m_weapon_manager; //0x10D8
|
|
|
|
char pad_10E0[907]; //0x10E0
|
2021-12-22 13:00:14 +01:00
|
|
|
uint8_t m_ped_task_flag; //0x146B
|
2021-12-15 16:07:30 +01:00
|
|
|
char pad_146C[196]; //0x146C
|
|
|
|
float m_armor; //0x1530
|
|
|
|
}; //Size: 0x1534
|
|
|
|
static_assert(sizeof(CPed) == 0x1534);
|
2021-12-06 19:36:09 +01:00
|
|
|
|
|
|
|
#pragma pack(pop)
|