mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2025-01-03 16:13:21 +08:00
fix(CBaseModelInfo): Fixed byte alignment
This commit is contained in:
parent
1048320b4b
commit
4c0e8cc7d8
@ -27,7 +27,7 @@ enum class eModelType : std::uint8_t
|
|||||||
Unk193 = 193
|
Unk193 = 193
|
||||||
};
|
};
|
||||||
|
|
||||||
#pragma pack(push, 2)
|
#pragma pack(push, 1)
|
||||||
class CBaseModelInfo
|
class CBaseModelInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -38,7 +38,7 @@ public:
|
|||||||
char pad_003C[4]; //0x003C
|
char pad_003C[4]; //0x003C
|
||||||
rage::fvector3 m_max_dimensions; //0x0040
|
rage::fvector3 m_max_dimensions; //0x0040
|
||||||
char pad_004C[81]; //0x004C
|
char pad_004C[81]; //0x004C
|
||||||
uint8_t m_model_type; //0x009D
|
eModelType m_model_type; //0x009D
|
||||||
char pad_009E[6]; //0x009E
|
char pad_009E[6]; //0x009E
|
||||||
}; //Size: 0x00A4
|
}; //Size: 0x00A4
|
||||||
static_assert(sizeof(CBaseModelInfo) == 0xA4);
|
static_assert(sizeof(CBaseModelInfo) == 0xA4);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user