RDR-Classes/network/netServerMessages.hpp

43 lines
798 B
C++
Raw Normal View History

2024-06-24 22:29:36 -04:00
#pragma once
#include <cstdint>
namespace rage
{
class ServerRPCSerializer
{
2024-06-24 22:29:36 -04:00
public:
virtual int dtor() = 0;
virtual int Unk() = 0;
virtual void *GetData() = 0;
virtual int GetSize() = 0;
};
class ServerMsgData
{
2024-06-24 22:29:36 -04:00
public:
unsigned char *data;
int size;
bool is_json;
};
class ServerMsg
{
2024-06-24 22:29:36 -04:00
public:
virtual ~ServerMsg() = default;
virtual void _0x08() = 0;
virtual void _0x10() = 0;
virtual void _0x18() = 0;
virtual void _0x20() = 0;
virtual void _0x28() = 0;
virtual void _0x30() = 0;
virtual const char *GetName() = 0;
virtual void _0x40() = 0;
virtual void _0x48() = 0;
virtual void _0x50() = 0;
virtual void _0x58() = 0;
virtual void _0x60() = 0;
virtual void _0x68() = 0;
virtual void _0x70() = 0;
virtual ServerMsgData *GetMsgData() = 0;
};
}