mirror of
https://github.com/YimMenu/RDR-Classes.git
synced 2024-12-22 22:47:31 +08:00
02c09a9a3b
* Migrate InFrame * Format(ish) netServerMessages
29 lines
472 B
C++
29 lines
472 B
C++
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace rage
|
|
{
|
|
#pragma pack(push, 8)
|
|
class InFrame
|
|
{
|
|
public:
|
|
enum class EventType
|
|
{
|
|
ConnectionClosed = 4,
|
|
FrameReceived = 5,
|
|
BandwidthExceeded = 6,
|
|
OutOfMemory = 7
|
|
};
|
|
|
|
virtual ~InFrame() = default;
|
|
|
|
virtual void Destroy() = 0;
|
|
virtual EventType GetEventType() = 0;
|
|
virtual uint32_t _0x18() = 0;
|
|
|
|
char pad_0[0x70]; // 0x8
|
|
uint32_t m_Length; // 0x78
|
|
void *m_Data; // 0x80
|
|
};
|
|
#pragma pack(pop)
|
|
} |