diff --git a/rage/rlQueryPresenceAttributesContext.hpp b/rage/rlQueryPresenceAttributesContext.hpp index f455312..5f94abe 100644 --- a/rage/rlQueryPresenceAttributesContext.hpp +++ b/rage/rlQueryPresenceAttributesContext.hpp @@ -7,9 +7,13 @@ 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 static_assert(sizeof(rage::rlQueryPresenceAttributesContext) == 0x148); -} \ No newline at end of file +} diff --git a/rage/rlScHandle.hpp b/rage/rlScHandle.hpp index 0aea109..054b1ad 100644 --- a/rage/rlScHandle.hpp +++ b/rage/rlScHandle.hpp @@ -4,24 +4,24 @@ namespace rage { -#pragma pack(push,8) +#pragma pack(push, 8) class rlScHandle { 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) + m_rockstar_id(rockstar_id), + m_platform(3), + unk_0008(0) { } }; //Size: 0x0010 static_assert(sizeof(rlScHandle) == 0x10); #pragma pack(pop) -} \ No newline at end of file +}