00001 00002 00003 00004 00005 00006 00007 00008 /* 00009 #include "PluginInterface.h" 00010 00011 #ifdef _MSC_VER 00012 #pragma warning( push ) 00013 #endif 00014 00015 PluginInterface::PluginInterface() 00016 { 00017 00018 } 00019 PluginInterface::~PluginInterface() 00020 { 00021 00022 } 00023 void PluginInterface::OnAttach(RakPeerInterface *peer) 00024 { 00025 (void) peer; 00026 } 00027 void PluginInterface::OnDetach(RakPeerInterface *peer) 00028 { 00029 (void) peer; 00030 } 00031 void PluginInterface::OnStartup(RakPeerInterface *peer) 00032 { 00033 (void) peer; 00034 } 00035 void PluginInterface::Update(RakPeerInterface *peer) 00036 { 00037 (void) peer; 00038 } 00039 PluginReceiveResult PluginInterface::OnReceive(RakPeerInterface *peer, Packet *packet) 00040 { 00041 (void) peer; 00042 (void) packet; 00043 return RR_CONTINUE_PROCESSING; 00044 } 00045 void PluginInterface::OnShutdown(RakPeerInterface *peer) 00046 { 00047 (void) peer; 00048 } 00049 void PluginInterface::OnCloseConnection(RakPeerInterface *peer, SystemAddress systemAddress) 00050 { 00051 (void) peer; 00052 (void) systemAddress; 00053 } 00054 void PluginInterface::OnDirectSocketSend(const char *data, const BitSize_t bitsUsed, SystemAddress remoteSystemAddress) 00055 { 00056 (void) data; 00057 (void) bitsUsed; 00058 (void) remoteSystemAddress; 00059 } 00060 void PluginInterface::OnDirectSocketReceive(const char *data, const BitSize_t bitsUsed, SystemAddress remoteSystemAddress) 00061 { 00062 (void) data; 00063 (void) bitsUsed; 00064 (void) remoteSystemAddress; 00065 } 00066 void PluginInterface::OnInternalPacket(InternalPacket *internalPacket, unsigned frameNumber, SystemAddress remoteSystemAddress, RakNetTime time, int isSend) 00067 { 00068 (void) internalPacket; 00069 (void) frameNumber; 00070 (void) remoteSystemAddress; 00071 (void) time; 00072 (void) isSend; 00073 } 00074 00075 #ifdef _MSC_VER 00076 #pragma warning( pop ) 00077 #endif 00078 */