GTAV-Classes/CBaseModelInfo.hpp

27 lines
443 B
C++
Raw Normal View History

2022-01-28 07:02:15 +08:00
#pragma once
enum class eModelType : std::uint8_t
2022-05-10 22:36:54 +08:00
{
UNK_0,
Object,
2022-05-10 22:36:54 +08:00
UNK_2,
UNK_3,
Weapon,
2022-05-10 22:36:54 +08:00
Vehicle,
Ped,
Plant = 129
2022-05-10 22:36:54 +08:00
};
#pragma pack(push, 2)
2022-01-28 07:02:15 +08:00
class CBaseModelInfo
{
public:
char pad_0000[24]; //0x0000
uint32_t m_model_hash; //0x0018
2022-05-10 22:36:54 +08:00
char pad_001C[129]; //0x001C
eModelType m_model_type; //0x009D
char pad_009E[6]; //0x009E
}; //Size: 0x00A4
static_assert(sizeof(CBaseModelInfo) == 0xA4);
#pragma pack(pop)