2023-08-27 03:12:04 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
namespace rage
|
|
|
|
{
|
2024-07-10 08:12:20 +08:00
|
|
|
class datBitBuffer;
|
|
|
|
|
2023-08-27 03:12:04 +08:00
|
|
|
#pragma pack(push,8)
|
|
|
|
class rlGamerHandle
|
|
|
|
{
|
|
|
|
public:
|
2024-08-08 08:11:50 +08:00
|
|
|
int64_t m_RockstarId; // 0x00
|
2024-07-10 08:12:20 +08:00
|
|
|
uint16_t m_UnkData; // 0x08
|
|
|
|
uint8_t m_Platform; // 0x0A
|
2023-08-27 03:12:04 +08:00
|
|
|
|
|
|
|
inline rlGamerHandle() = default;
|
|
|
|
|
2024-08-08 08:11:50 +08:00
|
|
|
inline rlGamerHandle(int64_t rockstar_id) :
|
2024-07-10 08:12:20 +08:00
|
|
|
m_RockstarId(rockstar_id),
|
|
|
|
m_Platform(3),
|
|
|
|
m_UnkData(0)
|
2023-08-27 03:12:04 +08:00
|
|
|
{
|
|
|
|
}
|
2024-07-10 08:12:20 +08:00
|
|
|
|
2024-07-14 02:56:19 +08:00
|
|
|
inline bool operator==(const rage::rlGamerHandle other)
|
|
|
|
{
|
|
|
|
return m_Platform == other.m_Platform && m_UnkData == other.m_UnkData && m_RockstarId == other.m_RockstarId && m_Platform == 3;
|
|
|
|
}
|
|
|
|
|
2024-07-10 08:12:20 +08:00
|
|
|
bool Serialize(rage::datBitBuffer& buf) const;
|
|
|
|
bool Deserialize(rage::datBitBuffer& buf);
|
2023-08-27 03:12:04 +08:00
|
|
|
}; //Size: 0x0010
|
|
|
|
static_assert(sizeof(rlGamerHandle) == 0x10);
|
|
|
|
#pragma pack(pop)
|
|
|
|
}
|