2022-02-18 17:17:34 +08:00
|
|
|
#pragma once
|
2022-06-01 13:49:36 +08:00
|
|
|
|
2022-08-26 04:06:34 +08:00
|
|
|
#include "FriendInfo.hpp"
|
2022-02-18 17:17:34 +08:00
|
|
|
|
2022-06-01 13:49:36 +08:00
|
|
|
#include <cstdint>
|
|
|
|
|
2022-02-18 17:17:34 +08:00
|
|
|
#pragma pack(push, 4)
|
|
|
|
class FriendRegistry
|
|
|
|
{
|
|
|
|
public:
|
2022-11-09 05:11:50 +08:00
|
|
|
uint32_t m_friend_count; //0x0000
|
|
|
|
char pad_0004[8]; //0x0004
|
|
|
|
FriendInfo (*m_friends)[250]; //0x000C
|
2022-10-06 18:50:28 +08:00
|
|
|
|
2022-11-09 05:11:50 +08:00
|
|
|
inline FriendInfo* get(std::uint32_t idx)
|
|
|
|
{
|
|
|
|
return &(*m_friends)[idx];
|
|
|
|
}
|
2022-02-18 17:17:34 +08:00
|
|
|
}; //Size: 0x0014
|
|
|
|
static_assert(sizeof(FriendRegistry) == 0x14);
|
|
|
|
#pragma pack(pop)
|