feat(CPedWeaponManager): Added some properties

- m_owner -> owner of the manager
- m_selected_weapon_hash
This commit is contained in:
Yimura 2021-09-21 16:14:19 +02:00
parent 33c551933d
commit 124e5ea148

View File

@ -3,9 +3,12 @@
class CPedWeaponManager
{
public:
char pad_0000[32]; //0x0000
char pad_0000[16]; //0x0000
class CPed *m_owner; //0x0010
uint32_t m_selected_weapon_hash; //0x0018
char pad_001C[4]; //0x001C
class CWeaponInfo *m_weapon_info; //0x0020
char pad_0028[72]; //0x0028
class CWeaponInfo *m_vehicle_weapon_info; //0x0070
}; //Size: 0x0078
static_assert(sizeof(CPedWeaponManager) == 0x78);
static_assert(sizeof(CPedWeaponManager) == 0x78);