2023-08-27 03:12:04 +08:00
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
#include "rlGamerHandle.hpp"
|
2023-09-30 05:45:35 +08:00
|
|
|
#include "netPeerAddress.hpp"
|
2023-08-27 03:12:04 +08:00
|
|
|
|
|
|
|
#pragma pack(push, 8)
|
|
|
|
namespace rage
|
|
|
|
{
|
|
|
|
class rlGamerInfoBase
|
|
|
|
{
|
2023-10-20 23:00:34 +08:00
|
|
|
public:
|
2023-08-27 03:12:04 +08:00
|
|
|
uint64_t m_PeerId;
|
|
|
|
rage::rlGamerHandle m_GamerHandle;
|
|
|
|
char m_AesKey[33];
|
|
|
|
netAddress m_InternalAddress;
|
|
|
|
uint16_t m_InternalPort;
|
|
|
|
netAddress m_UnkAddress;
|
|
|
|
uint16_t m_UnkPort;
|
|
|
|
netAddress m_ExternalAddress;
|
|
|
|
uint16_t m_ExternalPort;
|
|
|
|
netAddress m_RelayAddress;
|
|
|
|
uint16_t m_RelayPort;
|
|
|
|
char gap5A[54]; // TODO: reverse this
|
|
|
|
uint32_t m_RelayState;
|
|
|
|
};
|
|
|
|
static_assert(sizeof(rage::rlGamerInfoBase) == 0x98);
|
|
|
|
}
|
2023-10-20 23:00:34 +08:00
|
|
|
#pragma pack(pop)
|