feat(CAutomobile): Added and adjusted properties

- m_health
- m_health_max
- m_boost_state
- m_boost_allow_recharge
- m_jump_boost_charge
- m_body_health
- m_petrol_tank_health
- m_engine_health
- m_is_drivable
- m_tyres_can_burst
- m_dirt_level
- m_is_targetable
- m_driver
- m_passengers
- m_last_driver
This commit is contained in:
Yimura 2021-09-21 16:10:20 +02:00
parent f31c0264ab
commit 367492bc09

View File

@ -8,20 +8,39 @@ public:
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
char pad_018A[406]; //0x018A char pad_018A[246]; //0x018A
float m_health; //0x0280
char pad_0284[28]; //0x0284
float m_health_max; //0x02A0
char pad_02A4[116]; //0x02A4
uint8_t m_boost_state; //0x0318
char pad_0319[2]; //0x0319
uint8_t m_boost_allow_recharge; //0x031B
char pad_031C[4]; //0x031C
float m_boost; //0x0320 float m_boost; //0x0320
float m_rocket_recharge_speed; //0x0324 float m_rocket_recharge_speed; //0x0324
char pad_0328[1308]; //0x0328 char pad_0328[136]; //0x0328
float m_health; //0x0844 float m_jump_boost_charge; //0x03B0
char pad_03B4[1164]; //0x03B4
float m_body_health; //0x0840
float m_petrol_tank_health; //0x0844
char pad_0848[192]; //0x0848 char pad_0848[192]; //0x0848
float m_health2; //0x0908 float m_engine_health; //0x0908
char pad_090C[44]; //0x090C char pad_090C[44]; //0x090C
class CHandlingData *m_handling; //0x0938 class CHandlingData *m_handling; //0x0938
char pad_0940[2]; //0x0940 char pad_0940[2]; //0x0940
uint8_t m_bullet_proof_tyres; //0x0942 uint8_t m_is_drivable; //0x0942
char pad_0943[1]; //0x0943 uint8_t m_tyres_can_burst; //0x0943
uint8_t m_deform_god; //0x0944 uint8_t m_deform_god; //0x0944
char pad_0945[791]; //0x0945 char pad_0945[179]; //0x0945
float m_dirt_level; //0x09F8
char pad_09FC[194]; //0x09FC
uint8_t m_is_targetable; //0x0ABE
char pad_0ABF[413]; //0x0ABF
float m_gravity; //0x0C5C float m_gravity; //0x0C5C
}; //Size: 0x0C60 char pad_0C60[8]; //0x0C60
static_assert(sizeof(CAutomobile) == 0xC60); class CPed *m_driver; //0x0C68
class CPed *m_passengers[15]; //0x0C70
class CPed *m_last_driver; //0x0CE8
}; //Size: 0x0CF0
static_assert(sizeof(CAutomobile) == 0xCF0);