Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef __RPC_NODE
00012 #define __RPC_NODE
00013
00014 #include "RakNetTypes.h"
00015 #include "Export.h"
00016
00017 class RakPeerInterface;
00018
00019
00023
00029 struct RAK_DLL_EXPORT RPCNode
00030 {
00031
00033 char *uniqueIdentifier;
00034
00036 union
00037 {
00038 void ( *staticFunctionPointer ) ( RPCParameters *rpcParms );
00039 #if (defined(__GNUC__) || defined(__GCCXML__))
00040 void (*memberFunctionPointer)(void* _this, RPCParameters *rpcParms);
00041 #else
00042 void (__cdecl *memberFunctionPointer)(void* _this, RPCParameters *rpcParms);
00043 #endif
00044
00045 void *functionPointer;
00046 };
00047
00049 bool isPointerToMember;
00050 };
00051
00052 #endif
00053