Temp-Classes/ped/CPed.hpp
Aure7138 5b1210b143 feat: CPhysical, CPed & CVehicle(#57)
* CPhysical added CAttackers class
* CPed added m_can_switch_weapon & m_cash
* CVehicle added m_door_lock_status

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2022-11-06 22:29:08 +00:00

47 lines
1.2 KiB
C++

#pragma once
#include "../vehicle/CVehicle.hpp"
#include "../player/CPlayerInfo.hpp"
#include "CPedModelInfo.hpp"
#include "CPedWeaponManager.hpp"
#include "CPedInventory.hpp"
#include "../entities/fwEntity.hpp"
#include "../rage/vector.hpp"
#include "CPedOxygenInfo.hpp"
#include "CPedBoneInfo.hpp"
#include <cstdint>
#pragma pack(push, 1)
class CPed : public rage::CPhysical
{
public:
char gap2EC[20];
rage::fvector3 m_velocity; //0x0300
char pad_030C[260]; //0x030C
class CPedBoneInfo m_bone_info; //0x0410
char pad_04A0[2160]; //0x04A0
class CVehicle *m_vehicle; //0x0D10
char pad_0D18[896]; //0x0D18
uint32_t m_ped_type; //0x1098
char pad_109C[4]; //0x109C
class CPedOxygenInfo* m_oxygen_info; //0x10A0
class CPlayerInfo *m_player_info; //0x10A8
class CPedInventory* m_inventory; //0x10B0
class CPedWeaponManager *m_weapon_manager; //0x10B8
char pad_10C0[892]; //0x10C0
uint8_t m_seatbelt; //0x143C
char pad_143D[13]; //0x143D
uint8_t m_can_switch_weapon; //0x144A
uint8_t m_ped_task_flag; //0x144B
char pad_144C[192]; //0x144C
float m_armor; //0x150C
char pad_1510[260]; //0x1510
int m_cash; //0x1614
}; //Size: 0x1618
static_assert(sizeof(CPed) == 0x1618);
#pragma pack(pop)