mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 22:47:32 +08:00
c8bf23f4f3
Added some of the classes I ported from Phantom for the game's camera.
34 lines
648 B
C++
34 lines
648 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace rage
|
|
{
|
|
enum rlPlatforms : uint8_t
|
|
{
|
|
UNK0,
|
|
XBOX,
|
|
PLAYSTATION,
|
|
PC,
|
|
};
|
|
|
|
#pragma pack(push,8)
|
|
class rlGamerHandle
|
|
{
|
|
public:
|
|
uint64_t m_rockstar_id; //0x0000
|
|
uint8_t m_platform; //0x0008
|
|
uint8_t m_padding; //0x0009
|
|
|
|
inline rlGamerHandle() = default;
|
|
|
|
inline rlGamerHandle(uint64_t rockstar_id) :
|
|
m_rockstar_id(rockstar_id),
|
|
m_platform(rlPlatforms::PC),
|
|
m_padding(0)
|
|
{
|
|
}
|
|
}; //Size: 0x0010
|
|
static_assert(sizeof(rlGamerHandle) == 0x10);
|
|
#pragma pack(pop)
|
|
} |