mirror of
https://github.com/YimMenu/RDR-Classes.git
synced 2025-01-03 16:13:23 +08:00
a2a74e151a
* feat: initialize classes repo * feat(script): stuff for native invoker * feat: add some more classes * feat(player): complete CNetworkPlayerMgr * feat(network): add some more stuff * feat(network): add rlGamerInfo * feat(player): add CPlayerInfo
26 lines
597 B
C++
26 lines
597 B
C++
#pragma once
|
|
#include <cstdint>
|
|
#include "rlGamerHandle.hpp"
|
|
|
|
#pragma pack(push, 8)
|
|
namespace rage
|
|
{
|
|
class rlGamerInfoBase
|
|
{
|
|
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);
|
|
}
|
|
#pragma pack(pop) |