Temp-Classes/fwEntity.hpp

43 lines
1.2 KiB
C++
Raw Normal View History

2022-01-28 07:02:15 +08:00
#pragma once
2022-01-28 07:02:15 +08:00
#include "CBaseModelInfo.hpp"
#include "CNavigation.hpp"
2022-01-28 07:02:15 +08:00
#include "fwDrawData.hpp"
#include "netObject.hpp"
#include <cstdint>
2022-01-28 07:02:15 +08:00
namespace rage
{
2022-01-28 07:59:11 +08:00
#pragma pack(push, 4)
2022-01-28 07:02:15 +08:00
class fwEntity
{
public:
char pad_0000[32]; //0x0000
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
2022-01-28 07:02:15 +08:00
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);
2022-01-28 07:59:11 +08:00
#pragma pack(pop)
2022-01-28 07:02:15 +08:00
}