Temp-Classes/base/CNavigation.hpp
Aure7138 12919a46ff feat: CPlayerInfo, CVehicle & CPed (#58)
* 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
2022-11-08 21:02:11 +00:00

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)