fix(Friends): static_assert size check

This commit is contained in:
Yimura 2022-07-27 12:30:38 +02:00
parent 4570612e8b
commit 9e36400039
3 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ public:
char m_name[20]; //0x0000 char m_name[20]; //0x0000
char pad_0014[36]; //0x0014 char pad_0014[36]; //0x0014
uint64_t m_rockstar_id; //0x0038 uint64_t m_rockstar_id; //0x0038
uint8_t unk_0xC0; //0x0040 uint8_t unk; //0x0040
char pad_0041[3]; //0x0041 char pad_0041[3]; //0x0041
uint32_t m_friend_state; //0x0044 uint32_t m_friend_state; //0x0044
char pad_0048[304]; //0x0048 char pad_0048[304]; //0x0048

View File

@ -8,8 +8,8 @@ class FriendList
{ {
public: public:
class FriendInfo m_data[250]; //0x0000 class FriendInfo m_data[250]; //0x0000
}; //Size: 0x1F400 }; //Size: 0x17700
static_assert(sizeof(FriendList) == 0x1F400); static_assert(sizeof(FriendList) == 0x17700);
#pragma pack(push, 4) #pragma pack(push, 4)
class FriendRegistry class FriendRegistry

Binary file not shown.