Misc net messages (#75)
* Create RemoteGamerInfoMsg.hpp * Create CMsgTextMessage.hpp
This commit is contained in:
parent
1dc66fb37f
commit
16f85bea73
13
network/CMsgTextMessage.hpp
Normal file
13
network/CMsgTextMessage.hpp
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
|
#pragma pack(push, 1)
|
||||||
|
class CMsgTextMessage
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
char m_message[256]; //0x0000
|
||||||
|
uint64_t m_peer_id; //0x0100
|
||||||
|
bool m_is_team; //0x0108
|
||||||
|
}; //Size: 0x0109
|
||||||
|
static_assert(sizeof(CMsgTextMessage) == 0x109);
|
||||||
|
#pragma pack(pop)
|
14
network/RemoteGamerInfoMsg.hpp
Normal file
14
network/RemoteGamerInfoMsg.hpp
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <cstdint>
|
||||||
|
#include "../rage/rlGamerInfo.hpp"
|
||||||
|
|
||||||
|
#pragma pack(push, 1)
|
||||||
|
class RemoteGamerInfoMsg
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
uint64_t m_session_id; //0x0000
|
||||||
|
class rage::rlGamerInfo m_gamer_info; //0x0008
|
||||||
|
char pad_00A0[256]; //0x00A0 (tons of more fields down here, like IP addresses...)
|
||||||
|
}; //Size: 0x01A0
|
||||||
|
static_assert(sizeof(RemoteGamerInfoMsg) == 0x1A0);
|
||||||
|
#pragma pack(pop)
|
Loading…
Reference in New Issue
Block a user