diff --git a/network/CMsgTextMessage.hpp b/network/CMsgTextMessage.hpp new file mode 100644 index 0000000..bd2050d --- /dev/null +++ b/network/CMsgTextMessage.hpp @@ -0,0 +1,13 @@ +#pragma once +#include + +#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) diff --git a/network/RemoteGamerInfoMsg.hpp b/network/RemoteGamerInfoMsg.hpp new file mode 100644 index 0000000..e680a0d --- /dev/null +++ b/network/RemoteGamerInfoMsg.hpp @@ -0,0 +1,14 @@ +#pragma once +#include +#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)