mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 22:47:32 +08:00
825a7c0fb7
mission bits can be used to check if an entity is a mission entity.
45 lines
1.3 KiB
C++
45 lines
1.3 KiB
C++
#pragma once
|
|
|
|
#include "base/CBaseModelInfo.hpp"
|
|
#include "base/CNavigation.hpp"
|
|
|
|
#include "rage/fwDrawData.hpp"
|
|
#include "network/netObject.hpp"
|
|
|
|
#include <cstdint>
|
|
|
|
namespace rage
|
|
{
|
|
#pragma pack(push, 4)
|
|
class fwEntity
|
|
{
|
|
public:
|
|
char pad_0000[25]; //0x0000
|
|
uint8_t m_mission_bits; // 0x0019
|
|
char pad_001A[6]; // 0x001A
|
|
class CBaseModelInfo *m_model_info; //0x0020
|
|
char pad_0028[1]; //0x0028
|
|
int8_t m_entity_type; //0x0029
|
|
char pad_002A[2]; //0x002A
|
|
uint8_t m_invisible; //0x002C
|
|
char pad_002D[3]; //0x002D
|
|
class CNavigation *m_navigation; //0x0030
|
|
char pad_0038[16]; //0x0038
|
|
class rage::fwDrawData *m_draw_data; //0x0048
|
|
char pad_0050[16]; //0x0050
|
|
rage::fvector3 m_right; //0x0060
|
|
char pad_006C[4]; //0x006C
|
|
rage::fvector3 m_forward; //0x0070
|
|
char pad_007C[4]; //0x007C
|
|
rage::fvector3 m_up; //0x0080
|
|
char pad_008C[4]; //0x008C
|
|
rage::fvector3 m_position; //0x0090
|
|
char pad_009C[52]; //0x009C
|
|
class rage::netObject *m_net_object; //0x00D0
|
|
char pad_00D8[176]; //0x00D8
|
|
uint32_t m_damage_bits; //0x0188
|
|
}; //Size: 0x018C
|
|
static_assert(sizeof(fwEntity) == 0x18C);
|
|
#pragma pack(pop)
|
|
}
|