Temp-Classes/base/CBaseModelInfo.hpp

39 lines
762 B
C++
Raw Normal View History

2022-01-28 07:02:15 +08:00
#pragma once
#include <cstdint>
#include "fwArchetype.hpp"
enum class eModelType : std::uint8_t
2022-05-10 22:36:54 +08:00
{
Invalid,
Object,
MLO,
Time,
Weapon,
2022-05-10 22:36:54 +08:00
Vehicle,
Ped,
Destructable
2022-05-10 22:36:54 +08:00
};
#pragma pack(push, 8)
class CBaseModelInfo : public rage::fwArchetype
2022-01-28 07:02:15 +08:00
{
public:
char pad_0070[8]; //0x0070
uint64_t unk_0078; //0x0078
uint64_t unk_0080; //0x0080
char pad_0088[8]; //0x0088
uint64_t unk_0090; //0x0090
char pad_0098[5]; //0x0098
uint8_t m_model_type; //0x009D
char pad_009E[6]; //0x009E
uint64_t unk_00A8; //0x00A8
inline eModelType get_model_type()
{
return static_cast<eModelType>(m_model_type & 0x1F);
}
}; //Size: 0x00B0
static_assert(sizeof(CBaseModelInfo) == 0xB0);
2022-05-10 22:36:54 +08:00
#pragma pack(pop)