Temp-Classes/CHandlingData.hpp

83 lines
2.7 KiB
C++
Raw Normal View History

#pragma once
2022-01-28 08:15:26 +08:00
#include "vector.hpp"
#include <cstdint>
2021-02-09 05:44:51 +08:00
class CHandlingData
{
public:
char pad_0000[8]; //0x0000
2021-07-25 19:12:53 +08:00
uint32_t m_model_hash; //0x0008
2021-02-09 05:44:51 +08:00
float m_mass; //0x000C
float m_initial_drag_coeff; //0x0010
2021-07-25 19:12:53 +08:00
float m_downforce_multiplier; //0x0014
2021-02-09 05:44:51 +08:00
float m_popup_light_rotation; //0x0018
char pad_001C[4]; //0x001C
2022-01-28 08:15:26 +08:00
rage::fvector3 m_centre_of_mass; //0x0020
2021-02-09 05:44:51 +08:00
char pad_002C[4]; //0x002C
2022-01-28 08:15:26 +08:00
rage::fvector3 m_inertia_mult; //0x0030
2021-02-09 05:44:51 +08:00
char pad_003C[4]; //0x003C
float m_buoyancy; //0x0040
float m_drive_bias_rear; //0x0044
float m_drive_bias_front; //0x0048
float m_acceleration; //0x004C
uint8_t m_initial_drive_gears; //0x0050
char pad_0051[3]; //0x0051
float m_drive_inertia; //0x0054
float m_upshift; //0x0058
float m_downshift; //0x005C
float m_initial_drive_force; //0x0060
2021-07-25 19:12:53 +08:00
float m_drive_max_flat_velocity; //0x0064
2021-02-09 05:44:51 +08:00
float m_initial_drive_max_flat_vel; //0x0068
float m_brake_force; //0x006C
2021-02-09 05:44:51 +08:00
char pad_0070[4]; //0x0070
float m_brake_bias_front; //0x0074
float m_brake_bias_rear; //0x0078
float m_handbrake_force; //0x007C
float m_steering_lock; //0x0080
float m_steering_lock_ratio; //0x0084
float m_traction_curve_max; //0x0088
float m_traction_curve_lateral; //0x008C
float m_traction_curve_min; //0x0090
float m_traction_curve_ratio; //0x0094
float m_curve_lateral; //0x0098
float m_curve_lateral_ratio; //0x009C
float m_traction_spring_delta_max; //0x00A0
float m_traction_spring_delta_max_ratio; //0x00A4
float m_low_speed_traction_loss_mult; //0x00A8
float m_camber_stiffness; //0x00AC
float m_traction_bias_front; //0x00B0
float m_traction_bias_rear; //0x00B4
float m_traction_loss_mult; //0x00B8
float m_suspension_force; //0x00BC
float m_suspension_comp_damp; //0x00C0
float m_suspension_rebound_damp; //0x00C4
float m_suspension_upper_limit; //0x00C8
float m_suspension_lower_limit; //0x00CC
float m_suspension_raise; //0x00D0
float m_suspension_bias_front; //0x00D4
float m_suspension_bias_rear; //0x00D8
float m_anti_rollbar_force; //0x00DC
float m_anti_rollbar_bias_front; //0x00E0
float m_anti_rollbar_bias_rear; //0x00E4
float m_roll_centre_height_front; //0x00E8
float m_roll_centre_height_rear; //0x00EC
float m_collision_damage_mult; //0x00F0
float m_weapon_damamge_mult; //0x00F4
float m_deformation_mult; //0x00F8
float m_engine_damage_mult; //0x00FC
float m_petrol_tank_volume; //0x0100
float m_oil_volume; //0x0104
char pad_0108[4]; //0x0108
2022-01-28 08:15:26 +08:00
rage::fvector3 m_seat_offset_dist; //0x010C
2021-02-09 05:44:51 +08:00
uint32_t m_monetary_value; //0x0118
char pad_011C[8]; //0x011C
2021-07-25 19:12:53 +08:00
uint32_t m_model_flags; //0x0124
uint32_t m_handling_flags; //0x0128
uint32_t m_damage_flags; //0x012C
2021-02-09 05:44:51 +08:00
char pad_0130[12]; //0x0130
uint32_t m_ai_handling_hash; //0x013C
2021-07-25 19:12:53 +08:00
}; //Size: 0x0140
2021-09-21 22:11:15 +08:00
static_assert(sizeof(CHandlingData) == 0x140);