mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 14:37:31 +08:00
feat(Friends): Added classes with friend info
This commit is contained in:
parent
4e103da918
commit
cacab970b3
19
FriendInfo.hpp
Normal file
19
FriendInfo.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
#pragma pack(push, 1)
|
||||
class FriendInfo
|
||||
{
|
||||
public:
|
||||
char pad_0000[128]; //0x0000
|
||||
char m_name[20]; //0x0080
|
||||
char pad_0094[36]; //0x0094
|
||||
uint64_t m_rockstar_id; //0x00B8
|
||||
uint8_t unk_0xC0; //0x00C0
|
||||
char pad_00C1[3]; //0x00C1
|
||||
uint32_t m_friend_state; //0x00C4
|
||||
char pad_00C8[304]; //0x00C8
|
||||
uint32_t m_is_joinable; //0x01F8
|
||||
char pad_01FC[4]; //0x01FC
|
||||
}; //Size: 0x0200
|
||||
static_assert(sizeof(FriendInfo) == 0x200);
|
||||
#pragma pack(pop)
|
20
FriendRegistry.hpp
Normal file
20
FriendRegistry.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include "FriendInfo.hpp"
|
||||
|
||||
class FriendList
|
||||
{
|
||||
public:
|
||||
class FriendInfo m_data[250]; //0x0000
|
||||
}; //Size: 0x1F400
|
||||
static_assert(sizeof(FriendList) == 0x1F400);
|
||||
|
||||
#pragma pack(push, 4)
|
||||
class FriendRegistry
|
||||
{
|
||||
public:
|
||||
uint32_t m_friend_count; //0x0000
|
||||
char pad_0004[8]; //0x0004
|
||||
class FriendList *m_friends_list; //0x000C
|
||||
}; //Size: 0x0014
|
||||
static_assert(sizeof(FriendRegistry) == 0x14);
|
||||
#pragma pack(pop)
|
Loading…
Reference in New Issue
Block a user