1 // If you want to change these defines, put them in NativeFeatureIncludesOverrides so your changes are not lost when updating RakNet 2 // The user should not edit this file 3 #include "NativeFeatureIncludesOverrides.h" 4 5 #ifndef __NATIVE_FEATURE_INCLDUES_H 6 #define __NATIVE_FEATURE_INCLDUES_H 7 8 // Uncomment below defines, and paste to NativeFeatureIncludesOverrides.h, to exclude plugins that you do not want to build into the static library, or DLL 9 // These are not all the plugins, only those that are in the core library 10 // Other plugins are located in DependentExtensions 11 // #define _RAKNET_SUPPORT_AutoRPC 0 12 // #define _RAKNET_SUPPORT_ConnectionGraph 0 13 // #define _RAKNET_SUPPORT_ConnectionGraph2 0 14 // #define _RAKNET_SUPPORT_DirectoryDeltaTransfer 0 15 // #define _RAKNET_SUPPORT_FileListTransfer 0 16 // #define _RAKNET_SUPPORT_FullyConnectedMesh 0 17 // #define _RAKNET_SUPPORT_FullyConnectedMesh2 0 18 // #define _RAKNET_SUPPORT_LightweightDatabaseClient 0 19 // #define _RAKNET_SUPPORT_LightweightDatabaseServer 0 20 // #define _RAKNET_SUPPORT_MessageFilter 0 21 // #define _RAKNET_SUPPORT_NatPunchthroughClient 0 22 // #define _RAKNET_SUPPORT_NatPunchthroughServer 0 23 // #define _RAKNET_SUPPORT_NatTypeDetectionClient 0 24 // #define _RAKNET_SUPPORT_NatTypeDetectionServer 0 25 // #define _RAKNET_SUPPORT_PacketLogger 0 26 // #define _RAKNET_SUPPORT_ReadyEvent 0 27 // #define _RAKNET_SUPPORT_ReplicaManager 0 28 // #define _RAKNET_SUPPORT_ReplicaManager2 0 29 // #define _RAKNET_SUPPORT_ReplicaManager3 0 30 // #define _RAKNET_SUPPORT_Router 0 31 // #define _RAKNET_SUPPORT_Router2 0 32 // #define _RAKNET_SUPPORT_RPC4Plugin 0 33 // #define _RAKNET_SUPPORT_TeamBalancer 0 34 // #define _RAKNET_SUPPORT_UDPProxyClient 0 35 // #define _RAKNET_SUPPORT_UDPProxyCoordinator 0 36 // #define _RAKNET_SUPPORT_UDPProxyServer 0 37 // #define _RAKNET_SUPPORT_ConsoleServer 0 38 // #define _RAKNET_SUPPORT_RakNetTransport 0 39 // #define _RAKNET_SUPPORT_TelnetTransport 0 40 // #define _RAKNET_SUPPORT_TCPInterface 0 41 // #define _RAKNET_SUPPORT_LogCommandParser 0 42 // #define _RAKNET_SUPPORT_RakNetCommandParser 0 43 // #define _RAKNET_SUPPORT_EmailSender 0 44 // #define _RAKNET_SUPPORT_HTTPConnection 0 45 // #define _RAKNET_SUPPORT_PacketizedTCP 0 46 47 // SET DEFAULTS IF UNDEFINED 48 #ifndef _RAKNET_SUPPORT_AutoRPC 49 #define _RAKNET_SUPPORT_AutoRPC 1 50 #endif 51 #ifndef _RAKNET_SUPPORT_ConnectionGraph 52 #define _RAKNET_SUPPORT_ConnectionGraph 1 53 #endif 54 #ifndef _RAKNET_SUPPORT_ConnectionGraph2 55 #define _RAKNET_SUPPORT_ConnectionGraph2 1 56 #endif 57 #ifndef _RAKNET_SUPPORT_DirectoryDeltaTransfer 58 #define _RAKNET_SUPPORT_DirectoryDeltaTransfer 1 59 #endif 60 #ifndef _RAKNET_SUPPORT_FileListTransfer 61 #define _RAKNET_SUPPORT_FileListTransfer 1 62 #endif 63 #ifndef _RAKNET_SUPPORT_FullyConnectedMesh 64 #define _RAKNET_SUPPORT_FullyConnectedMesh 1 65 #endif 66 #ifndef _RAKNET_SUPPORT_FullyConnectedMesh2 67 #define _RAKNET_SUPPORT_FullyConnectedMesh2 1 68 #endif 69 #ifndef _RAKNET_SUPPORT_LightweightDatabaseClient 70 #define _RAKNET_SUPPORT_LightweightDatabaseClient 1 71 #endif 72 #ifndef _RAKNET_SUPPORT_LightweightDatabaseServer 73 #define _RAKNET_SUPPORT_LightweightDatabaseServer 1 74 #endif 75 #ifndef _RAKNET_SUPPORT_MessageFilter 76 #define _RAKNET_SUPPORT_MessageFilter 1 77 #endif 78 #ifndef _RAKNET_SUPPORT_NatPunchthroughClient 79 #define _RAKNET_SUPPORT_NatPunchthroughClient 1 80 #endif 81 #ifndef _RAKNET_SUPPORT_NatPunchthroughServer 82 #define _RAKNET_SUPPORT_NatPunchthroughServer 1 83 #endif 84 #ifndef _RAKNET_SUPPORT_NatTypeDetectionClient 85 #define _RAKNET_SUPPORT_NatTypeDetectionClient 1 86 #endif 87 #ifndef _RAKNET_SUPPORT_NatTypeDetectionServer 88 #define _RAKNET_SUPPORT_NatTypeDetectionServer 1 89 #endif 90 #ifndef _RAKNET_SUPPORT_PacketLogger 91 #define _RAKNET_SUPPORT_PacketLogger 1 92 #endif 93 #ifndef _RAKNET_SUPPORT_ReadyEvent 94 #define _RAKNET_SUPPORT_ReadyEvent 1 95 #endif 96 #ifndef _RAKNET_SUPPORT_ReplicaManager 97 #define _RAKNET_SUPPORT_ReplicaManager 1 98 #endif 99 #ifndef _RAKNET_SUPPORT_ReplicaManager2 100 #define _RAKNET_SUPPORT_ReplicaManager2 1 101 #endif 102 #ifndef _RAKNET_SUPPORT_ReplicaManager3 103 #define _RAKNET_SUPPORT_ReplicaManager3 1 104 #endif 105 #ifndef _RAKNET_SUPPORT_Router 106 #define _RAKNET_SUPPORT_Router 1 107 #endif 108 #ifndef _RAKNET_SUPPORT_Router2 109 #define _RAKNET_SUPPORT_Router2 1 110 #endif 111 #ifndef _RAKNET_SUPPORT_RPC4Plugin 112 #define _RAKNET_SUPPORT_RPC4Plugin 1 113 #endif 114 #ifndef _RAKNET_SUPPORT_TeamBalancer 115 #define _RAKNET_SUPPORT_TeamBalancer 1 116 #endif 117 #ifndef _RAKNET_SUPPORT_UDPProxyClient 118 #define _RAKNET_SUPPORT_UDPProxyClient 1 119 #endif 120 #ifndef _RAKNET_SUPPORT_UDPProxyCoordinator 121 #define _RAKNET_SUPPORT_UDPProxyCoordinator 1 122 #endif 123 #ifndef _RAKNET_SUPPORT_UDPProxyServer 124 #define _RAKNET_SUPPORT_UDPProxyServer 1 125 #endif 126 #ifndef _RAKNET_SUPPORT_ConsoleServer 127 #define _RAKNET_SUPPORT_ConsoleServer 1 128 #endif 129 #ifndef _RAKNET_SUPPORT_RakNetTransport 130 #define _RAKNET_SUPPORT_RakNetTransport 1 131 #endif 132 #ifndef _RAKNET_SUPPORT_TelnetTransport 133 #define _RAKNET_SUPPORT_TelnetTransport 1 134 #endif 135 #ifndef _RAKNET_SUPPORT_TCPInterface 136 #define _RAKNET_SUPPORT_TCPInterface 1 137 #endif 138 #ifndef _RAKNET_SUPPORT_LogCommandParser 139 #define _RAKNET_SUPPORT_LogCommandParser 1 140 #endif 141 #ifndef _RAKNET_SUPPORT_RakNetCommandParser 142 #define _RAKNET_SUPPORT_RakNetCommandParser 1 143 #endif 144 #ifndef _RAKNET_SUPPORT_EmailSender 145 #define _RAKNET_SUPPORT_EmailSender 1 146 #endif 147 #ifndef _RAKNET_SUPPORT_HTTPConnection 148 #define _RAKNET_SUPPORT_HTTPConnection 1 149 #endif 150 #ifndef _RAKNET_SUPPORT_PacketizedTCP 151 #define _RAKNET_SUPPORT_PacketizedTCP 1 152 #endif 153 154 // Take care of dependencies 155 #if _RAKNET_SUPPORT_DirectoryDeltaTransfer==1 156 #undef _RAKNET_SUPPORT_FileListTransfer 157 #define _RAKNET_SUPPORT_FileListTransfer 1 158 #endif 159 #if _RAKNET_SUPPORT_FullyConnectedMesh==1 || _RAKNET_SUPPORT_Router==1 160 #undef _RAKNET_SUPPORT_ConnectionGraph 161 #define _RAKNET_SUPPORT_ConnectionGraph 1 162 #endif 163 #if _RAKNET_SUPPORT_FullyConnectedMesh2==1 164 #undef _RAKNET_SUPPORT_ConnectionGraph2 165 #define _RAKNET_SUPPORT_ConnectionGraph2 1 166 #endif 167 #if _RAKNET_SUPPORT_TelnetTransport==1 168 #undef _RAKNET_SUPPORT_PacketizedTCP 169 #define _RAKNET_SUPPORT_PacketizedTCP 1 170 #endif 171 #if _RAKNET_SUPPORT_PacketizedTCP==1 || _RAKNET_SUPPORT_EmailSender==1 || _RAKNET_SUPPORT_HTTPConnection==1 172 #undef _RAKNET_SUPPORT_TCPInterface 173 #define _RAKNET_SUPPORT_TCPInterface 1 174 #endif 175 176 177 #endif // __NATIVE_FEATURE_INCLDUES_H 178