From 2259c50123879b656ddc0ddb97fcb95792466471 Mon Sep 17 00:00:00 2001 From: Yimura Date: Mon, 26 Jul 2021 12:05:02 +0200 Subject: [PATCH] feat(CWeaponInfo): Added a lot of properties --- CWeaponInfo.h | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/CWeaponInfo.h b/CWeaponInfo.h index c0c9433..e01a504 100644 --- a/CWeaponInfo.h +++ b/CWeaponInfo.h @@ -2,6 +2,31 @@ class CWeaponInfo { public: char pad_0000[16]; //0x0000 - uint32_t m_model_hash; //0x0010 -}; //Size: 0x0014 -static_assert(sizeof(CWeaponInfo) == 0x14); \ No newline at end of file + uint32_t m_name_hash; //0x0010 + uint32_t m_model_hash; //0x0014 + char pad_0018[12]; //0x0018 + uint32_t m_impact_explosion; //0x0024 + char pad_0028[56]; //0x0028 + class CAmmoInfo *m_ammo_info; //0x0060 + char pad_0068[20]; //0x0068 + float m_spread; //0x007C + char pad_0080[60]; //0x0080 + float m_bullet_dmg; //0x00BC + char pad_00C0[28]; //0x00C0 + float m_force_on_ped; //0x00DC + float m_force_on_vehicle; //0x00E0 + float m_force_on_heli; //0x00E4 + char pad_00E8[40]; //0x00E8 + float m_penetration; //0x0110 + char pad_0114[8]; //0x0114 + float m_muzzle_velocity; //0x011C + char pad_0120[16]; //0x0120 + float m_vehicle_reload_mult; //0x0130 + float m_reload_mult; //0x0134 + char pad_0138[12]; //0x0138 + float m_spinup; //0x0144 + float m_spin; //0x0148 + char pad_014C[320]; //0x014C + float m_weapon_range; //0x028C +}; //Size: 0x0290 +static_assert(sizeof(CWeaponInfo) == 0x290); \ No newline at end of file