fix(CPhysical): 0x20 bytes removed (#45)

This commit is contained in:
Yimura authored and GitHub committed 2022-10-25 17:39:32 +01:00
1 parent 324e2f7ee4
commit 7cbf45a492
4 files changed
+5 -7

No files matched your search

+1 -1
View File
@@ -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)
+2 -4
View File
@@ -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)
}
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -326,5 +326,5 @@ public:
char gap1467;
uint64_t qword1468;
};
static_assert(sizeof(CVehicle) == 0x1470);
static_assert(sizeof(CVehicle) == 0x1450);
#pragma pack(pop)