mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 22:47:32 +08:00
fix(CNetworkPlayerMgr): Fixed byte alignment to 2
This commit is contained in:
parent
9f6df5ee29
commit
ed5da8532e
@ -19,6 +19,7 @@ namespace rage
|
|||||||
static_assert(sizeof(netPlayerMgrBase) == 0x8);
|
static_assert(sizeof(netPlayerMgrBase) == 0x8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma pack(push, 2)
|
||||||
class CNetworkPlayerMgr : public rage::netPlayerMgrBase
|
class CNetworkPlayerMgr : public rage::netPlayerMgrBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -31,3 +32,4 @@ public:
|
|||||||
uint16_t m_player_count; //0x028C
|
uint16_t m_player_count; //0x028C
|
||||||
}; //Size: 0x028E
|
}; //Size: 0x028E
|
||||||
static_assert(sizeof(CNetworkPlayerMgr) == 0x28E);
|
static_assert(sizeof(CNetworkPlayerMgr) == 0x28E);
|
||||||
|
#pragma pack(pop)
|
||||||
|
Loading…
Reference in New Issue
Block a user