Temp-Classes/network/snConnectToPeerTask.hpp

26 lines
477 B
C++
Raw Permalink Normal View History

2024-06-06 21:58:11 +08:00
#pragma once
#include <cstdint>
namespace rage
{
#pragma pack(push, 8)
class snConnectToPeerTaskData
{
public:
std::uint8_t m_host_flag;
std::uint8_t m_connect_reason;
std::uint64_t m_session_token;
std::uint8_t m_flag2;
std::uint8_t m_flag3;
};
static_assert(sizeof(rage::snConnectToPeerTaskData) == 0x18);
#pragma pack(pop)
class snConnectToPeerTaskResult
{
public:
char pad[0x10]{};
int m_peer_id;
char pad2[0x400]{};
};
}