Temp-Classes/ped/CPed.hpp

39 lines
937 B
C++
Raw Normal View History

#pragma once
#include "../vehicle/CAutomobile.hpp"
#include "../player/CPlayerInfo.hpp"
#include "CPedModelInfo.hpp"
#include "CPedWeaponManager.hpp"
#include "../rage/fwEntity.hpp"
#include "../rage/vector.hpp"
#include <cstdint>
#pragma pack(push, 1)
2021-07-25 19:12:53 +08:00
2022-01-28 07:02:15 +08:00
class CPed : public rage::fwEntity
2021-02-09 05:44:51 +08:00
{
public:
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
2022-01-28 08:15:26 +08:00
rage::fvector3 m_velocity; //0x0320
2021-02-09 05:44:51 +08:00
char pad_032C[2564]; //0x032C
2021-12-15 23:07:30 +08:00
class CAutomobile *m_vehicle; //0x0D30
2021-07-25 19:12:53 +08:00
char pad_0D38[912]; //0x0D38
2021-12-15 23:07:30 +08:00
class CPlayerInfo *m_player_info; //0x10C8
2021-02-09 05:44:51 +08:00
char pad_10D0[8]; //0x10D0
2021-12-15 23:07:30 +08:00
class CPedWeaponManager *m_weapon_manager; //0x10D8
char pad_10E0[907]; //0x10E0
uint8_t m_ped_task_flag; //0x146B
2021-12-15 23:07:30 +08:00
char pad_146C[196]; //0x146C
float m_armor; //0x1530
}; //Size: 0x1534
static_assert(sizeof(CPed) == 0x1534);
#pragma pack(pop)