mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-13 19:58:21 +00:00
18 lines
470 B
C
18 lines
470 B
C
|
#ifndef __ROUTER_INTERFACE_H
|
||
|
#define __ROUTER_INTERFACE_H
|
||
|
|
||
|
#include "Export.h"
|
||
|
#include "RakNetTypes.h"
|
||
|
|
||
|
/// On failed directed sends, RakNet can call an alternative send function to use.
|
||
|
class RAK_DLL_EXPORT RouterInterface
|
||
|
{
|
||
|
public:
|
||
|
RouterInterface() {}
|
||
|
virtual ~RouterInterface() {}
|
||
|
|
||
|
virtual bool Send( const char *data, BitSize_t bitLength, PacketPriority priority, PacketReliability reliability, char orderingChannel, SystemAddress systemAddress )=0;
|
||
|
};
|
||
|
|
||
|
#endif
|