SA-MP/raknet/RakNetworkFactory.h
RD42 118153f727 [raknet] Update RakNetworkFactory
This commit implements:
* GetRakClientInterface()
* DestroyRakClientInterface()
* DestroyRakServerInterface()
* DestroyRakPeerInterface()
2023-12-16 23:25:47 +08:00

25 lines
590 B
C++

#ifndef __RAK_NETWORK_FACTORY_H
#define __RAK_NETWORK_FACTORY_H
#include "Export.h"
class RakClientInterface;
class RakServerInterface;
class RakPeerInterface;
class RAK_DLL_EXPORT RakNetworkFactory
{
public:
static RakClientInterface* GetRakClientInterface( void );
static RakServerInterface* GetRakServerInterface( void );
static RakPeerInterface* GetRakPeerInterface( void );
static void DestroyRakClientInterface( RakClientInterface* i );
static void DestroyRakServerInterface( RakServerInterface* i );
static void DestroyRakPeerInterface( RakPeerInterface* i );
};
#endif