mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 14:37:31 +08:00
Add join request classes (#74)
This commit is contained in:
parent
89b48daa59
commit
c7bbb404a4
16
network/CJoinRequestContext.hpp
Normal file
16
network/CJoinRequestContext.hpp
Normal 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)
|
18
network/CMsgJoinResponse.hpp
Normal file
18
network/CMsgJoinResponse.hpp
Normal 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)
|
Loading…
Reference in New Issue
Block a user