fix(CPhysical): 0x20 bytes removed (#45)
This commit is contained in:
parent
324e2f7ee4
commit
7cbf45a492
@ -20,5 +20,5 @@ class CObject : public rage::CPhysical
|
|||||||
uint64_t qword408;
|
uint64_t qword408;
|
||||||
uint64_t qword410;
|
uint64_t qword410;
|
||||||
};
|
};
|
||||||
static_assert(sizeof(CObject) == 0x418);
|
static_assert(sizeof(CObject) == 0x3F8);
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
@ -19,16 +19,14 @@ namespace rage
|
|||||||
char gap191[3];
|
char gap191[3];
|
||||||
uint32_t dword194;
|
uint32_t dword194;
|
||||||
char gap198[232];
|
char gap198[232];
|
||||||
float m_health; //0x0280
|
float m_health; //0x0280
|
||||||
char pad_0284[28];
|
|
||||||
float m_maxhealth; //0x02A0
|
float m_maxhealth; //0x02A0
|
||||||
char gap2A4[4];
|
|
||||||
uint64_t qword2A8;
|
uint64_t qword2A8;
|
||||||
char gap2B0[72];
|
char gap2B0[72];
|
||||||
uint64_t qword2F8;
|
uint64_t qword2F8;
|
||||||
uint64_t qword300;
|
uint64_t qword300;
|
||||||
uint32_t dword308;
|
uint32_t dword308;
|
||||||
};
|
};
|
||||||
static_assert(sizeof(CPhysical) == 0x30C);
|
static_assert(sizeof(CPhysical) == 0x2EC);
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
}
|
}
|
||||||
|
@ -29,6 +29,6 @@ public:
|
|||||||
char pad_146C[196]; //0x146C
|
char pad_146C[196]; //0x146C
|
||||||
float m_armor; //0x1530
|
float m_armor; //0x1530
|
||||||
}; //Size: 0x1534
|
}; //Size: 0x1534
|
||||||
static_assert(sizeof(CPed) == 0x1534);
|
static_assert(sizeof(CPed) == 0x1514);
|
||||||
|
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
@ -326,5 +326,5 @@ public:
|
|||||||
char gap1467;
|
char gap1467;
|
||||||
uint64_t qword1468;
|
uint64_t qword1468;
|
||||||
};
|
};
|
||||||
static_assert(sizeof(CVehicle) == 0x1470);
|
static_assert(sizeof(CVehicle) == 0x1450);
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user