This commit is contained in:
2025-11-24 14:19:51 +05:30
commit f5c1412b28
6734 changed files with 1527575 additions and 0 deletions

View File

@ -0,0 +1,126 @@
//
// This file was taken from RakNet 4.082.
// Please see licenses/RakNet license.txt for the underlying license and related copyright.
//
//
//
// Modified work: Copyright (c) 2018, SLikeSoft UG (haftungsbeschränkt)
//
// This source code was modified by SLikeSoft. Modifications are licensed under the MIT-style
// license found in the license.txt file in the root directory of this source tree.
//------------------------------Header includes for parsing by swig----------------------------
//This is included in a different section than the C++ version of these includes so a macro was not made to include
//it in both types
//These files are parsed by Swig
%include "defines.h"
%include "Export.h"
%include "NativeFeatureIncludes.h"
//%include "smartptr.h"
%include "MessageIdentifiers.h"
%include "SimpleMutex.h"
%include "NativeTypes.h"
%include "SocketIncludes.h"
%include "types.h"
%include "string.h"
%include "wstring.h"
%include "BitStream.h"
%include "DS_List.h"
%include "DS_ByteQueue.h"
%include "socket.h"
%include "statistics.h"
%include "NetworkIDObject.h"
%include "NetworkIDManager.h"
%include "time.h"
%include "PacketPriority.h"
//The below three classes have been removed from interface, if PluginInterface2 is fully exposed again
//or another class needs them uncomment them and the related typemaps
//%include "TCPInterface.h"
//%include "PacketizedTCP.h"
//%include "InternalPacket.h"
%include "PluginInterface2.h"
%include "peerinterface.h"
%include "peer.h"
%include "PacketLogger.h"
%include "PacketFileLogger.h"
%include "NatTypeDetectionClient.h"
%include "NatPunchthroughClient.h"
%include "Router2.h"
%include "UDPProxyClient.h"
%include "FullyConnectedMesh2.h"
%include "ReadyEvent.h"
//%include "TeamBalancer.h"
%include "TeamManager.h"
%include "NatPunchthroughServer.h"
%include "UDPForwarder.h"
%include "UDPProxyServer.h"
%include "UDPProxyCoordinator.h"
%include "NatTypeDetectionServer.h"
%include "DS_Table.h"
%include "DS_BPlusTree.h"
%include "FileListTransferCBInterface.h"
%include "IncrementalReadInterface.h"
%include "FileListNodeContext.h"
%include "FileList.h"
%include "TransportInterface.h"
%include "CommandParserInterface.h"
%include "LogCommandParser.h"
%include "MessageFilter.h"
%include "DirectoryDeltaTransfer.h"
%include "FileListTransfer.h"
%include "ThreadsafePacketLogger.h"
%include "PacketConsoleLogger.h"
%include "PacketFileLogger.h"
%include "DS_Multilist.h"
%include "ConnectionGraph2.h"
%include "GetTime.h"
//%include "transport2.h"
//%include "RoomsPlugin.h"\
#ifdef SWIG_ADDITIONAL_SQL_LITE
%include "SQLite3PluginCommon.h"
%include "SQLite3ClientPlugin.h"
#ifdef SWIG_ADDITIONAL_SQL_LITE_SERVER
%include "SQLite3ServerPlugin.h"
#endif
#ifdef SWIGWIN
%include "Logger\SQLiteLoggerCommon.h"
%include "Logger\ClientOnly\SQLiteClientLoggerPlugin.h"
#ifdef SWIG_ADDITIONAL_SQL_LITE_SERVER
%include "Logger\ServerOnly\SQLiteServerLoggerPlugin.h"
#endif
#else
%include "Logger/SQLiteLoggerCommon.h"
%include "Logger/ClientOnly/SQLiteClientLoggerPlugin.h"
#ifdef SWIG_ADDITIONAL_SQL_LITE_SERVER
%include "Logger/ServerOnly/SQLiteServerLoggerPlugin.h"
#endif
#endif
#endif
#ifdef SWIG_ADDITIONAL_AUTOPATCHER
%include "AutopatcherPatchContext.h"
%include "AutopatcherRepositoryInterface.h"
#ifdef SWIGWIN
#ifdef SWIG_ADDITIONAL_AUTOPATCHER_MYSQL
%include "MySQLInterface.h"
%include "AutopatcherMySQLRepository\AutopatcherMySQLRepository.h"
#endif
%include "AutopatcherServer.h"
%include "AutopatcherClient.h"
%include "CreatePatch.h"
%include "MemoryCompressor.h"
%include "ApplyPatch.h"
#else
#ifdef SWIG_ADDITIONAL_AUTOPATCHER_MYSQL
%include "MySQLInterface.h"
%include "AutopatcherMySQLRepository/AutopatcherMySQLRepository.h"
#endif
%include "AutopatcherServer.h"
%include "AutopatcherClient.h"
%include "CreatePatch.h"
%include "MemoryCompressor.h"
%include "ApplyPatch.h"
#endif
#endif