From 34ef4b8d395b2db3470a62a28765c0aada9585ac Mon Sep 17 00:00:00 2001 From: Yimura Date: Tue, 10 May 2022 16:36:54 +0200 Subject: [PATCH] feat(CBaseModelInfo): Added model_type --- CBaseModelInfo.hpp | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/CBaseModelInfo.hpp b/CBaseModelInfo.hpp index 15f0379..cebd638 100644 --- a/CBaseModelInfo.hpp +++ b/CBaseModelInfo.hpp @@ -1,9 +1,25 @@ #pragma once +enum class eModelType +{ + UNK_0, + UNK_1, + UNK_2, + UNK_3, + UNK_4, + Vehicle, + Ped, +}; + +#pragma pack(push, 2) class CBaseModelInfo { public: char pad_0000[24]; //0x0000 uint32_t m_model_hash; //0x0018 -}; //Size: 0x001C -static_assert(sizeof(CBaseModelInfo) == 0x1C); + 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)