Add join request classes (#74)

This commit is contained in:
maybegreat48 2022-11-17 11:31:52 +00:00 committed by GitHub
parent 11e161582e
commit 1dc66fb37f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#pragma once
#include <cstdint>
#pragma pack(push, 1)
class CJoinRequestContext
{
public:
char pad_0000[40]; //0x0000
void* m_join_request_data; //0x0028
uint32_t m_join_request_size; //0x0030
uint8_t m_join_response_data[512]; //0x0034
uint32_t m_join_response_size; //0x0234
char pad_0238[12]; //0x0238
}; //Size: 0x0244
static_assert(sizeof(CJoinRequestContext) == 0x244);
#pragma pack(pop)

View File

@ -0,0 +1,18 @@
#pragma once
#include <cstdint>
#pragma pack(push, 1)
class CMsgJoinResponse
{
public:
uint32_t m_status_code; //0x0000
uint32_t m_visibility_flags; //0x0004
bool m_can_wait_for_slot; //0x0008
char pad_0009[3]; //0x0009
bool m_is_activity_session; //0x000C
char pad_000D[7]; //0x000D
uint32_t m_network_time; //0x0014
char pad_0018[72]; //0x0018
}; //Size: 0x0060
static_assert(sizeof(CMsgJoinResponse) == 0x60);
#pragma pack(pop)