r5sdk/r5dev/public/idatablock.h
Kawe Mazidjatari f2615b10de Improve CClient class structure
* Added structure for send/recv datablocks vtable.
* Mapped out CClient structure more.
* Fixed incorrect tick member offsets for CClient.
2023-06-22 00:33:00 +02:00

25 lines
569 B
C++

#ifndef IDATABLOCK_H
#define IDATABLOCK_H
#define DATABLOCK_STATUS_SIZE 0x300
abstract_class NetDataBlockSender
{
public:
virtual ~NetDataBlockSender() {};
virtual void SendDataBlock(short unk0, int unk1,
short unk2, short unk3, const void* buffer, int length) = 0;
virtual float GetResendRate() const = 0;
virtual const char* GetReceiverName() const = 0;
};
abstract_class NetDataBlockReceiver
{
public:
virtual ~NetDataBlockReceiver() {};
virtual void NotImplemented() {}// = 0;
virtual void AcknowledgeTransmission() {}// = 0;
};
#endif // IDATABLOCK_H