Minor changes (#121)

* Update rlQueryPresenceAttributesContext.hpp

* Update rlScHandle.hpp
This commit is contained in:
maybegreat48 2023-07-15 18:46:17 +00:00 committed by GitHub
parent a7eee8d5cc
commit 8559fe7a9e
2 changed files with 13 additions and 9 deletions

View File

@ -7,7 +7,11 @@ namespace rage
{
public:
char m_presence_attribute_key[64]; //0x0000
char m_presence_attribute_value[256]; //0x0040
union
{
char m_presence_attribute_string_value[256]; //0x0040
uint64_t m_presence_attribute_int_value;
};
uint32_t m_presence_attibute_type; //0x0140
char pad_0144[4]; //0x0144
}; //Size: 0x0148

View File

@ -9,16 +9,16 @@ namespace rage
{
public:
uint64_t m_rockstar_id; //0x0000
char m_pad[2];
int16_t unk_0008;
uint8_t m_platform; //0x000A
uint8_t unk_0009; //0x000B
char pad[5]{}; //0x000B
inline rlScHandle() = default;
inline rlScHandle(uint64_t rockstar_id) :
m_rockstar_id(rockstar_id),
m_platform(3),
unk_0009(0)
unk_0008(0)
{
}
}; //Size: 0x0010