mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 14:37:31 +08:00
fix(CPhysical): 0x20 bytes removed (#45)
This commit is contained in:
parent
52f23b3a02
commit
a35ff28244
@ -20,5 +20,5 @@ class CObject : public rage::CPhysical
|
||||
uint64_t qword408;
|
||||
uint64_t qword410;
|
||||
};
|
||||
static_assert(sizeof(CObject) == 0x418);
|
||||
static_assert(sizeof(CObject) == 0x3F8);
|
||||
#pragma pack(pop)
|
||||
|
@ -19,16 +19,14 @@ namespace rage
|
||||
char gap191[3];
|
||||
uint32_t dword194;
|
||||
char gap198[232];
|
||||
float m_health; //0x0280
|
||||
char pad_0284[28];
|
||||
float m_health; //0x0280
|
||||
float m_maxhealth; //0x02A0
|
||||
char gap2A4[4];
|
||||
uint64_t qword2A8;
|
||||
char gap2B0[72];
|
||||
uint64_t qword2F8;
|
||||
uint64_t qword300;
|
||||
uint32_t dword308;
|
||||
};
|
||||
static_assert(sizeof(CPhysical) == 0x30C);
|
||||
static_assert(sizeof(CPhysical) == 0x2EC);
|
||||
#pragma pack(pop)
|
||||
}
|
||||
|
@ -29,6 +29,6 @@ public:
|
||||
char pad_146C[196]; //0x146C
|
||||
float m_armor; //0x1530
|
||||
}; //Size: 0x1534
|
||||
static_assert(sizeof(CPed) == 0x1534);
|
||||
static_assert(sizeof(CPed) == 0x1514);
|
||||
|
||||
#pragma pack(pop)
|
||||
|
@ -326,5 +326,5 @@ public:
|
||||
char gap1467;
|
||||
uint64_t qword1468;
|
||||
};
|
||||
static_assert(sizeof(CVehicle) == 0x1470);
|
||||
static_assert(sizeof(CVehicle) == 0x1450);
|
||||
#pragma pack(pop)
|
||||
|
Loading…
Reference in New Issue
Block a user