mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Added all raknet headers for full raknet support Added Testclass "TestCB.cpp" which is a test implementation for raknet plugin "File List Transfer". We will use this plugin for file transfer in multiplayer git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2638 3b4a5df2-a311-0410-b5c6-a8a6f20db521
18 lines
487 B
C++
18 lines
487 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
|