mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2026-10-10 20:03:20 +08:00
25 lines
392 B
C++
25 lines
392 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
struct PlatformAccountId
|
|
{
|
|
enum Platform : uint8_t
|
|
{
|
|
PLATFORM_INVALID = 0,
|
|
PLATFORM_XBOX = 1,
|
|
PLATFORM_STEAM = 10,
|
|
PLATFORM_EPIC = 15
|
|
};
|
|
|
|
union
|
|
{
|
|
uint64_t m_xbox_user_id; //0x0000
|
|
uint64_t m_steam_id;
|
|
char m_epic_account_id[32 + 1];
|
|
char m_pad[40];
|
|
};
|
|
|
|
Platform m_platform; //0x0028
|
|
};
|
|
static_assert(sizeof(PlatformAccountId) == 0x30); |