feat(CAutomobile): Added CVehicleModelInfo and posbase

This commit is contained in:
Yimura 2021-10-15 01:39:29 +02:00
parent dae0a5977e
commit 3c9715ddd8
2 changed files with 14 additions and 1 deletions

View File

@ -1,10 +1,16 @@
#include "CHandlingData.h" #include "CHandlingData.h"
#include "CVehicleDrawHandler.h" #include "CVehicleDrawHandler.h"
#include "CVehicleModelInfo.h"
#include "pgBase.h"
class CAutomobile class CAutomobile
{ {
public: public:
char pad_0000[72]; //0x0000 char pad_0000[32]; //0x0000
class CVehicleModelInfo *m_vehicle_model; //0x0020
char pad_0028[8]; //0x0028
class pgBase *m_posbase; //0x0030
char pad_0038[16]; //0x0038
class CVehicleDrawHandler *m_mods; //0x0048 class CVehicleDrawHandler *m_mods; //0x0048
char pad_0050[313]; //0x0050 char pad_0050[313]; //0x0050
uint8_t m_godmode; //0x0189 uint8_t m_godmode; //0x0189

7
CVehicleModelInfo.h Normal file
View File

@ -0,0 +1,7 @@
class CVehicleModelInfo
{
public:
char pad_0000[1419]; //0x0000
uint8_t m_custom_type; //0x058B
}; //Size: 0x058C
static_assert(sizeof(CVehicleModelInfo) == 0x58C);