mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2025-01-03 16:13:21 +08:00
feat(ped): add CPedBoneInfo (#53)
This commit is contained in:
parent
667fbbb72e
commit
9eb87c80c4
@ -9,6 +9,7 @@
|
|||||||
#include "../entities/fwEntity.hpp"
|
#include "../entities/fwEntity.hpp"
|
||||||
#include "../rage/vector.hpp"
|
#include "../rage/vector.hpp"
|
||||||
#include "CPedOxygenInfo.hpp"
|
#include "CPedOxygenInfo.hpp"
|
||||||
|
#include "CPedBoneInfo.hpp"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
@ -19,7 +20,9 @@ class CPed : public rage::CPhysical
|
|||||||
public:
|
public:
|
||||||
char gap30C[20];
|
char gap30C[20];
|
||||||
rage::fvector3 m_velocity; //0x0300
|
rage::fvector3 m_velocity; //0x0300
|
||||||
char pad_032C[2564]; //0x030C
|
char pad_032C[260]; //0x030C
|
||||||
|
class CPedBoneInfo m_bone_info; //0x0410
|
||||||
|
char pad_4A0[2160]; //0x04A0
|
||||||
class CVehicle *m_vehicle; //0x0D10
|
class CVehicle *m_vehicle; //0x0D10
|
||||||
char pad_0D38[904]; //0x0D18
|
char pad_0D38[904]; //0x0D18
|
||||||
class CPedOxygenInfo* m_oxygen_info; //0x10A0
|
class CPedOxygenInfo* m_oxygen_info; //0x10A0
|
||||||
|
27
ped/CPedBoneInfo.hpp
Normal file
27
ped/CPedBoneInfo.hpp
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include "../rage/vector.hpp"
|
||||||
|
|
||||||
|
class CPedBoneInfo
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
rage::fvector3 m_bone_head_model_coords; //0x0000
|
||||||
|
char pad_000C[4]; //0x000C
|
||||||
|
rage::fvector3 m_bone_left_foot_model_coords; //0x0010
|
||||||
|
char pad_001C[4]; //0x001C
|
||||||
|
rage::fvector3 m_bone_right_foot_model_coords; //0x0020
|
||||||
|
char pad_002C[4]; //0x002C
|
||||||
|
rage::fvector3 m_bone_left_ankle_model_coords; //0x0030
|
||||||
|
char pad_003C[4]; //0x003C
|
||||||
|
rage::fvector3 m_bone_right_ankle_model_coords; //0x0040
|
||||||
|
char pad_004C[4]; //0x004C
|
||||||
|
rage::fvector3 m_bone_left_hand_model_coords; //0x0050
|
||||||
|
char pad_005C[4]; //0x005C
|
||||||
|
rage::fvector3 m_bone_right_hand_model_coords; //0x0060
|
||||||
|
char pad_006C[4]; //0x006C
|
||||||
|
rage::fvector3 m_bone_neck_model_coords; //0x0070
|
||||||
|
char pad_007C[4]; //0x007C
|
||||||
|
rage::fvector3 m_bone_abdomen_model_coords; //0x0080
|
||||||
|
char pad_008C[4]; //0x008C
|
||||||
|
}; //Size: 0x0090
|
||||||
|
static_assert(sizeof(CPedBoneInfo) == 0x90);
|
Loading…
x
Reference in New Issue
Block a user