Merge branch 'master' of github.com:Yimura/GTAV-Classes

This commit is contained in:
Yimura 2022-01-30 00:12:22 +01:00
commit 9f6df5ee29
2 changed files with 3 additions and 1 deletions

View File

@ -15,6 +15,7 @@ namespace rage
static_assert(sizeof(nonPhysicalPlayerDataBase) == 0x8);
}
#pragma pack(push, 4)
class CNonPhysicalPlayerData : public rage::nonPhysicalPlayerDataBase
{
public:
@ -23,3 +24,4 @@ public:
rage::fvector3 m_position; //0x0010
}; //Size: 0x001C
static_assert(sizeof(CNonPhysicalPlayerData) == 0x1C);
#pragma pack(pop)

View File

@ -6,7 +6,7 @@ namespace rage
union vector3
{
T data[3];
struct {T x, y, z};
struct { T x, y, z; };
};
typedef vector3<float> fvector3;