RDR-Classes/network/rlGamerInfoBase.hpp
maybegreat48 a2a74e151a
Invoker stuff (#1)
* 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
2023-08-26 21:12:04 +02:00

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)