mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 14:37:31 +08:00
fix(CPlayerInfo): Include eGameState and align to 4 bytes
This commit is contained in:
parent
d25c9a3310
commit
ade425031f
@ -1,7 +1,19 @@
|
||||
#pragma once
|
||||
#include "netPlayerData.hpp"
|
||||
|
||||
#pragma pack(push, 1)
|
||||
enum eGameState : int32_t
|
||||
{
|
||||
Invalid = -1,
|
||||
Playing,
|
||||
Died,
|
||||
Arrested,
|
||||
FailedMission,
|
||||
LeftGame,
|
||||
Respawn,
|
||||
InMPCutscene
|
||||
};
|
||||
|
||||
#pragma pack(push, 4)
|
||||
class CPlayerInfo
|
||||
{
|
||||
public:
|
||||
@ -43,5 +55,4 @@ public:
|
||||
float m_melee_weapon_defence_mult; //0x0D2C
|
||||
}; //Size: 0x0D30
|
||||
static_assert(sizeof(CPlayerInfo) == 0xD30);
|
||||
|
||||
#pragma pack(pop)
|
||||
|
Loading…
Reference in New Issue
Block a user