mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
14 lines
380 B
C
14 lines
380 B
C
|
#ifndef __ROUTER_INTERFACE_H
|
||
|
#define __ROUTER_INTERFACE_H
|
||
|
|
||
|
#include "Export.h"
|
||
|
|
||
|
/// On failed directed sends, RakNet can call an alternative send function to use.
|
||
|
class RAK_DLL_EXPORT RouterInterface
|
||
|
{
|
||
|
public:
|
||
|
virtual bool Send( const char *data, unsigned bitLength, PacketPriority priority, PacketReliability reliability, char orderingChannel, PlayerID playerId )=0;
|
||
|
};
|
||
|
|
||
|
#endif
|