add CPed seatbelt (#49)

This commit is contained in:
Aure7138 2022-10-30 03:19:58 +08:00 committed by GitHub
parent 41246edf09
commit 86def1ea1d
2 changed files with 13 additions and 11 deletions

View File

@ -28,7 +28,7 @@ public:
bool m_is_invincible; //0x00D5
bool unk_00D6; //0x00D6
bool unk_00D7; //0x00D7
bool unk_00D8; //0x00D8
bool m_seatbelt; //0x00D8
bool unk_00D9; //0x00D9
bool m_bullet_proof; //0x00DA
bool m_fire_proof; //0x00DB

View File

@ -17,16 +17,18 @@ class CPed : public rage::CPhysical
{
public:
char gap30C[20];
rage::fvector3 m_velocity; //0x0320
char pad_032C[2564]; //0x032C
class CVehicle *m_vehicle; //0x0D30
char pad_0D38[912]; //0x0D38
class CPlayerInfo *m_player_info; //0x10C8
class CPedInventory* m_inventory; //0x10D0
class CPedWeaponManager *m_weapon_manager; //0x10D8
char pad_10E0[907]; //0x10E0
uint8_t m_ped_task_flag; //0x146B
char pad_146C[192]; //0x146C
rage::fvector3 m_velocity; //0x0300
char pad_032C[2564]; //0x030C
class CVehicle *m_vehicle; //0x0D10
char pad_0D38[912]; //0x0D18
class CPlayerInfo *m_player_info; //0x10A8
class CPedInventory* m_inventory; //0x10B0
class CPedWeaponManager *m_weapon_manager; //0x10B8
char pad_10C0[892]; //0x10C0
uint8_t m_seatbelt; //0x143C
char pad_143D[14]; //0x143D
uint8_t m_ped_task_flag; //0x144B
char pad_146C[192]; //0x144C
float m_armor; //0x150C
}; //Size: 0x1510
static_assert(sizeof(CPed) == 0x1510);