feat(CVehicleModelInfo): Updated class members

This commit is contained in:
Yimura 2022-07-06 00:00:09 +02:00
parent a0e7947457
commit 50f4c6e763

View File

@ -23,18 +23,59 @@ enum class eVehicleType : std::uint32_t
Train Train
}; };
#pragma pack(push, 2) #pragma pack(push, 1)
class CVehicleModelInfo : public CBaseModelInfo class CVehicleModelInfo : public CBaseModelInfo
{ {
public: public:
char pad_00A4[500]; //0x00A4 char pad_00A4[84]; //0x00A4
uint8_t m_primary_color_combinations[25]; //0x00F8
uint8_t m_secondary_color_combinations[25]; //0x0111
uint8_t m_unk_color_combos1[25]; //0x012A
uint8_t m_unk_color_combos2[25]; //0x0143
uint8_t m_interior_color_combinations[25]; //0x015C
uint8_t m_dashboard_color_combinations[25]; //0x0175
char pad_018E[266]; //0x018E
char m_name[12]; //0x0298 char m_name[12]; //0x0298
char m_manufacturer[12]; //0x02A4 char m_manufacturer[12]; //0x02A4
char pad_02B0[144]; //0x02B0 char pad_02B0[8]; //0x02B0
uint16_t m_modkits_count; //0x02B8
char pad_02BA[30]; //0x02BA
uint8_t m_passenger_capacity; //0x02D8
char pad_02D9[103]; //0x02D9
eVehicleType m_vehicle_type; //0x0340 eVehicleType m_vehicle_type; //0x0340
char pad_0344[572]; //0x0344 uint32_t m_unk_vehicle_type; //0x0344
uint32_t m_diffuse_tint; //0x0348
char pad_034C[20]; //0x034C
rage::fvector3 m_first_person_driveby_ik_offset; //0x0360
char pad_036C[4]; //0x036C
rage::fvector3 m_first_person_driveby_unarmed_ik_offset; //0x0370
char pad_037C[20]; //0x037C
rage::fvector3 m_first_person_driveby_right_passenger_ik_offset; //0x0390
char pad_039C[36]; //0x039C
rage::fvector3 m_first_person_driveby_right_passenger_unarmed_ik_offset; //0x03C0
char pad_03CC[4]; //0x03CC
rage::fvector3 m_first_person_projectile_driveby_ik_offset; //0x03D0
char pad_03DC[4]; //0x03DC
rage::fvector3 m_first_person_projectile_driveby_passenger_ik_offset; //0x03E0
char pad_03EC[52]; //0x03EC
rage::fvector3 m_first_person_mobile_phone_offset; //0x0420
char pad_042C[4]; //0x042C
rage::fvector3 m_first_person_passenger_mobile_phone_offset; //0x0430
char pad_043C[20]; //0x043C
rage::fvector3 m_pov_camera_offset; //0x0450
char pad_045C[36]; //0x045C
float m_pov_camera_vertical_adjustement_for_rollcage; //0x0480
char pad_0484[8]; //0x0484
float m_wheel_scale; //0x048C
float m_wheel_scale_rear; //0x0490
float m_default_health; //0x0494
char pad_0498[4]; //0x0498
float m_steer_wheel_multiplier; //0x049C
char pad_04A0[180]; //0x04A0
float m_min_seat_height; //0x0554
char pad_0558[40]; //0x0558
uint32_t m_is_jetski; //0x0580 uint32_t m_is_jetski; //0x0580
char pad_0584[4]; //0x0584 char pad_0584[28]; //0x0584
}; //Size: 0x0588 }; //Size: 0x05A0
static_assert(sizeof(CVehicleModelInfo) == 0x588); static_assert(sizeof(CVehicleModelInfo) == 0x5A0);
#pragma pack(pop) #pragma pack(pop)