Temp-Classes/rage/fwEntity.hpp
Reece Watson 7052c5e91b feat(Classes): Updated CBaseModelInfo, CPlayerGameStateDataNode and fwEntity (#24)
* Fixed eModelType enum value names
* CBaseModelInfo: Changed min/max dimension types from fvector3 to fvector4
* CBaseModelInfo: Adjusted to actual size
* Added datBase, fwRefAwareBase, fwRefAwareBaseImpl, fwExtensibleBase, fwExtension, fwExtensionContainer and pgBase classes
* CPlayerGameStateDataNode: Updated fields and resized to actual size
* CVehicleModelInfo: Resized because of modified CBaseModelInfo
2022-08-20 19:17:32 +02:00

43 lines
1.2 KiB
C++

#pragma once
#include "base/CBaseModelInfo.hpp"
#include "base/CNavigation.hpp"
#include "base/fwExtensibleBase.hpp"
#include "rage/fwDrawData.hpp"
#include "network/netObject.hpp"
#include <cstdint>
namespace rage
{
#pragma pack(push, 4)
class fwEntity : public fwExtensibleBase
{
public:
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)
}