diff --git a/base/phArchetypeDamp.hpp b/base/phArchetypeDamp.hpp index cf91684..61f70bf 100644 --- a/base/phArchetypeDamp.hpp +++ b/base/phArchetypeDamp.hpp @@ -10,7 +10,9 @@ namespace rage public: char pad_0000[32]; //0x0000 class phBoundComposite* m_bound_composite; //0x0020 - }; //Size: 0x0028 - static_assert(sizeof(phArchetypeDamp) == 0x28); + char pad_0028[44]; //0x0028 + float m_water_collision; //0x0054 + }; //Size: 0x0058 + static_assert(sizeof(phArchetypeDamp) == 0x58); } \ No newline at end of file diff --git a/ped/CPed.hpp b/ped/CPed.hpp index ed330a1..6b34c0e 100644 --- a/ped/CPed.hpp +++ b/ped/CPed.hpp @@ -8,6 +8,7 @@ #include "CPedInventory.hpp" #include "../entities/fwEntity.hpp" #include "../rage/vector.hpp" +#include "CPedOxygenInfo.hpp" #include @@ -20,7 +21,8 @@ public: rage::fvector3 m_velocity; //0x0300 char pad_032C[2564]; //0x030C class CVehicle *m_vehicle; //0x0D10 - char pad_0D38[912]; //0x0D18 + char pad_0D38[904]; //0x0D18 + class CPedOxygenInfo* m_oxygen_info; //0x10A0 class CPlayerInfo *m_player_info; //0x10A8 class CPedInventory* m_inventory; //0x10B0 class CPedWeaponManager *m_weapon_manager; //0x10B8 diff --git a/ped/CPedOxygenInfo.hpp b/ped/CPedOxygenInfo.hpp new file mode 100644 index 0000000..4bf6d5f --- /dev/null +++ b/ped/CPedOxygenInfo.hpp @@ -0,0 +1,9 @@ +#pragma once + +class CPedOxygenInfo +{ +public: + char pad_0000[632]; //0x0000 + float m_oxygen_time; //0x0278 +}; //Size: 0x027C +static_assert(sizeof(CPedOxygenInfo) == 0x27C); \ No newline at end of file