mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 22:47:32 +08:00
12919a46ff
* Added get_position() helper to CNavigation * Updated CPed class: * m_fatigued_health_threshold * m_injured_health_threshold * m_dying_health_threshold * m_hurt_health_threshold * Updated CPlayerInfo class: * m_wanted_level_difficulty * m_wanted_level_multiplier * Updated CVehicle class: * m_dirt_level * m_max_passengers * m_num_of_passengers * m_door_lock_status
22 lines
465 B
C++
22 lines
465 B
C++
#pragma once
|
|
|
|
#include "../rage/vector.hpp"
|
|
#include "phArchetype.hpp"
|
|
|
|
#pragma pack(push, 1)
|
|
class CNavigation
|
|
{
|
|
public:
|
|
char pad_0000[16]; //0x0000
|
|
class rage::phArchetypeDamp* m_damp; //0x0010
|
|
char pad_0018[8]; //0x0018
|
|
rage::fmatrix44 m_transformation_matrix;
|
|
|
|
rage::fvector3* get_position()
|
|
{
|
|
return reinterpret_cast<rage::fvector3*>(&m_transformation_matrix.rows[3]);
|
|
}
|
|
}; //Size: 0x0060
|
|
static_assert(sizeof(CNavigation) == 0x60);
|
|
#pragma pack(pop)
|