2022-01-28 07:02:15 +08:00
|
|
|
#pragma once
|
|
|
|
|
2022-07-30 00:00:22 +08:00
|
|
|
#include "rage/vector.hpp"
|
2022-07-05 19:21:38 +08:00
|
|
|
|
2022-06-01 13:49:36 +08:00
|
|
|
#include <cstdint>
|
|
|
|
|
2022-05-11 00:11:31 +08:00
|
|
|
enum class eModelType : std::uint8_t
|
2022-05-10 22:36:54 +08:00
|
|
|
{
|
2022-07-03 23:29:50 +08:00
|
|
|
Invalid,
|
2022-05-22 22:10:07 +08:00
|
|
|
Object,
|
2022-07-03 23:29:50 +08:00
|
|
|
Interior,
|
|
|
|
Window,
|
2022-05-22 22:10:07 +08:00
|
|
|
Weapon,
|
2022-05-10 22:36:54 +08:00
|
|
|
Vehicle,
|
|
|
|
Ped,
|
2022-07-03 23:29:50 +08:00
|
|
|
Destructable,
|
|
|
|
WorldObject = 33,
|
|
|
|
Sprinkler = 35,
|
|
|
|
Unk65 = 65,
|
|
|
|
EmissiveLOD = 67,
|
|
|
|
Plant = 129,
|
|
|
|
LOD = 131,
|
|
|
|
Unk132 = 132,
|
|
|
|
Unk133 = 133,
|
|
|
|
OnlineOnlyPed = 134,
|
|
|
|
Building = 161,
|
|
|
|
Unk193 = 193
|
2022-05-10 22:36:54 +08:00
|
|
|
};
|
|
|
|
|
2022-07-05 21:13:18 +08:00
|
|
|
#pragma pack(push, 1)
|
2022-01-28 07:02:15 +08:00
|
|
|
class CBaseModelInfo
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
char pad_0000[24]; //0x0000
|
|
|
|
uint32_t m_model_hash; //0x0018
|
2022-07-05 19:21:38 +08:00
|
|
|
char pad_001C[20]; //0x001C
|
|
|
|
rage::fvector3 m_min_dimensions; //0x0030
|
|
|
|
char pad_003C[4]; //0x003C
|
|
|
|
rage::fvector3 m_max_dimensions; //0x0040
|
|
|
|
char pad_004C[81]; //0x004C
|
2022-07-05 21:13:18 +08:00
|
|
|
eModelType m_model_type; //0x009D
|
2022-05-10 22:36:54 +08:00
|
|
|
char pad_009E[6]; //0x009E
|
|
|
|
}; //Size: 0x00A4
|
|
|
|
static_assert(sizeof(CBaseModelInfo) == 0xA4);
|
|
|
|
#pragma pack(pop)
|