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,582 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{4D1901AC-A543-4733-B0A6-7F22684894C1}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CSharpTestApp</RootNamespace>
<AssemblyName>CSharpTestApp</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug - Unicode|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug - Unicode\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release - Unicode|x86'">
<OutputPath>bin\x86\Release - Unicode\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Retail|x86'">
<OutputPath>bin\x86\Retail\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Retail - Unicode|x86'">
<OutputPath>bin\x86\Retail - Unicode\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>TRACE;DEBUG;_WIN64</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug - Unicode|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug - Unicode\</OutputPath>
<DefineConstants>TRACE;DEBUG</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release - Unicode|x64'">
<OutputPath>bin\x64\Release - Unicode\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Retail|x64'">
<OutputPath>bin\x64\Retail\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Retail - Unicode|x64'">
<OutputPath>bin\x64\Retail - Unicode\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<ItemGroup>
<Compile Include="..\..\..\bindings\csharp\interfaces\AddressOrGUID.cs">
<Link>bindings\AddressOrGUID.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\BitStream.cs">
<Link>bindings\BitStream.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\ByteQueue.cs">
<Link>bindings\ByteQueue.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\Cell.cs">
<Link>bindings\Cell.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\ColumnDescriptor.cs">
<Link>bindings\ColumnDescriptor.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\CommandParserInterface.cs">
<Link>bindings\CommandParserInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\ConnectionAttemptResult.cs">
<Link>bindings\ConnectionAttemptResult.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\ConnectionGraph2.cs">
<Link>bindings\ConnectionGraph2.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\ConnectionState.cs">
<Link>bindings\ConnectionState.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\DefaultMessageIDTypes.cs">
<Link>bindings\DefaultMessageIDTypes.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\DirectoryDeltaTransfer.cs">
<Link>bindings\DirectoryDeltaTransfer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\DownloadCompleteStruct.cs">
<Link>bindings\DownloadCompleteStruct.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\FileList.cs">
<Link>bindings\FileList.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\FileListNode.cs">
<Link>bindings\FileListNode.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\FileListNodeContext.cs">
<Link>bindings\FileListNodeContext.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\FileListProgress.cs">
<Link>bindings\FileListProgress.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\FileListTransfer.cs">
<Link>bindings\FileListTransfer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\FileListTransferCBInterface.cs">
<Link>bindings\FileListTransferCBInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\FileProgressStruct.cs">
<Link>bindings\FileProgressStruct.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\FilterQuery.cs">
<Link>bindings\FilterQuery.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\FLP_Printf.cs">
<Link>bindings\FLP_Printf.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\FullyConnectedMesh2.cs">
<Link>bindings\FullyConnectedMesh2.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\IncrementalReadInterface.cs">
<Link>bindings\IncrementalReadInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\JoinTeamType.cs">
<Link>bindings\JoinTeamType.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\LogCommandParser.cs">
<Link>bindings\LogCommandParser.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\MessageFilter.cs">
<Link>bindings\MessageFilter.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\MultilistType.cs">
<Link>bindings\MultilistType.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NatPunchthroughClient.cs">
<Link>bindings\NatPunchthroughClient.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NatPunchthroughDebugInterface.cs">
<Link>bindings\NatPunchthroughDebugInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NatPunchthroughDebugInterface_PacketLogger.cs">
<Link>bindings\NatPunchthroughDebugInterface_PacketLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NatPunchthroughDebugInterface_Printf.cs">
<Link>bindings\NatPunchthroughDebugInterface_Printf.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NatPunchthroughServer.cs">
<Link>bindings\NatPunchthroughServer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NatPunchthroughServerDebugInterface.cs">
<Link>bindings\NatPunchthroughServerDebugInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NatPunchthroughServerDebugInterface_PacketLogger.cs">
<Link>bindings\NatPunchthroughServerDebugInterface_PacketLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NatPunchthroughServerDebugInterface_Printf.cs">
<Link>bindings\NatPunchthroughServerDebugInterface_Printf.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NatTypeDetectionClient.cs">
<Link>bindings\NatTypeDetectionClient.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NatTypeDetectionServer.cs">
<Link>bindings\NatTypeDetectionServer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NetworkIDManager.cs">
<Link>bindings\NetworkIDManager.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\NetworkIDObject.cs">
<Link>bindings\NetworkIDObject.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\OnFileStruct.cs">
<Link>bindings\OnFileStruct.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\OutOfBandIdentifiers.cs">
<Link>bindings\OutOfBandIdentifiers.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\Packet.cs">
<Link>bindings\Packet.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\PacketConsoleLogger.cs">
<Link>bindings\PacketConsoleLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\PacketFileLogger.cs">
<Link>bindings\PacketFileLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\PacketLogger.cs">
<Link>bindings\PacketLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\PacketPriority.cs">
<Link>bindings\PacketPriority.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\PacketReliability.cs">
<Link>bindings\PacketReliability.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\PluginInterface2.cs">
<Link>bindings\PluginInterface2.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\PluginReceiveResult.cs">
<Link>bindings\PluginReceiveResult.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\PublicKey.cs">
<Link>bindings\PublicKey.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\PublicKeyMode.cs">
<Link>bindings\PublicKeyMode.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\PunchthroughConfiguration.cs">
<Link>bindings\PunchthroughConfiguration.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetBPlusTreeRow.cs">
<Link>bindings\RakNetBPlusTreeRow.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetGUID.cs">
<Link>bindings\RakNetGUID.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListCell.cs">
<Link>bindings\RakNetListCell.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListCellPointer.cs">
<Link>bindings\RakNetListCellPointer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListColumnDescriptor.cs">
<Link>bindings\RakNetListColumnDescriptor.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListFileListNode.cs">
<Link>bindings\RakNetListFileListNode.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListFilterQuery.cs">
<Link>bindings\RakNetListFilterQuery.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListRakNetGUID.cs">
<Link>bindings\RakNetListRakNetGUID.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListRakString.cs">
<Link>bindings\RakNetListRakString.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListSortQuery.cs">
<Link>bindings\RakNetListSortQuery.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListSystemAddress.cs">
<Link>bindings\RakNetListSystemAddress.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListTableRow.cs">
<Link>bindings\RakNetListTableRow.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListUnsignedInt.cs">
<Link>bindings\RakNetListUnsignedInt.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetListUnsignedShort.cs">
<Link>bindings\RakNetListUnsignedShort.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetPageRow.cs">
<Link>bindings\RakNetPageRow.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakNetStatistics.cs">
<Link>bindings\RakNetStatistics.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakPeer.cs">
<Link>bindings\RakPeer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakPeerInterface.cs">
<Link>bindings\RakPeerInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakString.cs">
<Link>bindings\RakString.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RakWString.cs">
<Link>bindings\RakWString.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\ReadyEvent.cs">
<Link>bindings\ReadyEvent.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\ReadyEventSystemStatus.cs">
<Link>bindings\ReadyEventSystemStatus.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RemoteSystemIndex.cs">
<Link>bindings\RemoteSystemIndex.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\RNSPerSecondMetrics.cs">
<Link>bindings\RNSPerSecondMetrics.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\Router2.cs">
<Link>bindings\Router2.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\Router2DebugInterface.cs">
<Link>bindings\Router2DebugInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\Row.cs">
<Link>bindings\Row.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SimpleMutex.cs">
<Link>bindings\SimpleMutex.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SLikeNet.cs">
<Link>bindings\SLikeNet.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SLikeNetPINVOKE.cs">
<Link>bindings\SLikeNetPINVOKE.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SocketDescriptor.cs">
<Link>bindings\SocketDescriptor.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SortQuery.cs">
<Link>bindings\SortQuery.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\StartupResult.cs">
<Link>bindings\StartupResult.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_bool.cs">
<Link>bindings\SWIGTYPE_p_bool.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_DataStructures__ListT_RakNetSocket2_p_t.cs">
<Link>bindings\SWIGTYPE_p_DataStructures__ListT_RakNetSocket2_p_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_DataStructures__ListT_SLNet__BitStream_p_t.cs">
<Link>bindings\SWIGTYPE_p_DataStructures__ListT_SLNet__BitStream_p_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_DataStructures__ListT_SLNet__TM_TeamMember_p_t.cs">
<Link>bindings\SWIGTYPE_p_DataStructures__ListT_SLNet__TM_TeamMember_p_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_DataStructures__ListT_SLNet__TM_Team_p_t.cs">
<Link>bindings\SWIGTYPE_p_DataStructures__ListT_SLNet__TM_Team_p_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_double.cs">
<Link>bindings\SWIGTYPE_p_double.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_FILE.cs">
<Link>bindings\SWIGTYPE_p_FILE.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_p_SLNet__TM_Team.cs">
<Link>bindings\SWIGTYPE_p_p_SLNet__TM_Team.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_p_SLNet__TM_TeamMember.cs">
<Link>bindings\SWIGTYPE_p_p_SLNet__TM_TeamMember.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_p_SLNet__TM_World.cs">
<Link>bindings\SWIGTYPE_p_p_SLNet__TM_World.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_p_wchar_t.cs">
<Link>bindings\SWIGTYPE_p_p_wchar_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_RNS2RecvStruct.cs">
<Link>bindings\SWIGTYPE_p_RNS2RecvStruct.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_SLNet__NatPunchthroughClient__SendPing.cs">
<Link>bindings\SWIGTYPE_p_SLNet__NatPunchthroughClient__SendPing.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_SLNet__ReadyEvent__RemoteSystem.cs">
<Link>bindings\SWIGTYPE_p_SLNet__ReadyEvent__RemoteSystem.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_SLNet__TCPInterface.cs">
<Link>bindings\SWIGTYPE_p_SLNet__TCPInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_SLNet__TM_World__JoinRequestHelper.cs">
<Link>bindings\SWIGTYPE_p_SLNet__TM_World__JoinRequestHelper.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_unsigned_char.cs">
<Link>bindings\SWIGTYPE_p_unsigned_char.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_unsigned_int.cs">
<Link>bindings\SWIGTYPE_p_unsigned_int.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_unsigned_long_long.cs">
<Link>bindings\SWIGTYPE_p_unsigned_long_long.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_unsigned_short.cs">
<Link>bindings\SWIGTYPE_p_unsigned_short.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_void.cs">
<Link>bindings\SWIGTYPE_p_void.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SWIGTYPE_p_wchar_t.cs">
<Link>bindings\SWIGTYPE_p_wchar_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\SystemAddress.cs">
<Link>bindings\SystemAddress.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\Table.cs">
<Link>bindings\Table.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\TeamManager.cs">
<Link>bindings\TeamManager.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\TeamSelection.cs">
<Link>bindings\TeamSelection.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\ThreadsafePacketLogger.cs">
<Link>bindings\ThreadsafePacketLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\TMTopology.cs">
<Link>bindings\TMTopology.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\TM_Team.cs">
<Link>bindings\TM_Team.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\TM_TeamMember.cs">
<Link>bindings\TM_TeamMember.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\TM_World.cs">
<Link>bindings\TM_World.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\TransportInterface.cs">
<Link>bindings\TransportInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\UDPForwarder.cs">
<Link>bindings\UDPForwarder.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\UDPForwarderResult.cs">
<Link>bindings\UDPForwarderResult.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\UDPProxyClient.cs">
<Link>bindings\UDPProxyClient.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\UDPProxyClientResultHandler.cs">
<Link>bindings\UDPProxyClientResultHandler.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\UDPProxyCoordinator.cs">
<Link>bindings\UDPProxyCoordinator.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\UDPProxyServer.cs">
<Link>bindings\UDPProxyServer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\UDPProxyServerResultHandler.cs">
<Link>bindings\UDPProxyServerResultHandler.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\uint24_t.cs">
<Link>bindings\uint24_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\UnsignedIntPointer.cs">
<Link>bindings\UnsignedIntPointer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\csharp\interfaces\UnsignedShortPointer.cs">
<Link>bindings\UnsignedShortPointer.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TestMain.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
<Reference Include="System.XML" />
<Reference Include="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup />
<PropertyGroup>
<PreBuildEvent>cd "$(ProjectDir)"
call prebuild.bat "$(ConfigurationName)" $(PlatformName)</PreBuildEvent>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,41 @@
/*
* This file was taken from RakNet 4.082 without any modifications.
* Please see licenses/RakNet license.txt for the underlying license and related copyright.
*/
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ConsoleApplication2")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ConsoleApplication2")]
[assembly: AssemblyCopyright("Copyright © 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("bfa4bffa-dd43-4e1f-ac92-e157a81e7fa1")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -0,0 +1,439 @@
/*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Threading;
using System.Timers;
using System.IO;
using SLNet;
namespace CSharpTestApp
{
class TestMain
{
static void Main(string[] args)
{
if (!File.Exists("SLikeNet.dll"))
{
Console.WriteLine("The SLikeNet DLL is missing.\nPress enter to quit.");
Console.Read();
return;
}
try
{
RakString dllCallTest = new RakString();
}
catch (Exception)
{
Console.WriteLine("DLL issue.\nMost likely the provided DLL wasn't build with the C# wrapper file.\nPress enter to quit.");
Console.Read();
return;
}
Packet testPacket;
int loopNumber;
BitStream stringTestSendBitStream = new BitStream();
BitStream rakStringTestSendBitStream = new BitStream();
BitStream receiveBitStream = new BitStream();
String holdingString;
TimeSpan startTimeSpan;
RakString rakStringTest = new RakString();
RakPeerInterface testClient = RakPeer.GetInstance();
testClient.Startup(1, new SocketDescriptor(60000, "127.0.0.1"), 1);
RakPeerInterface testServer = RakPeer.GetInstance();
testServer.Startup(1, new SocketDescriptor(60001, "127.0.0.1"), 1);
testServer.SetMaximumIncomingConnections(1);
Console.WriteLine("Send and receive loop using BitStream.\nBitStream read done into RakString");
testClient.Connect("127.0.0.1", 60001, "", 0);
String sendString = "The test string";
stringTestSendBitStream.Write((byte)DefaultMessageIDTypes.ID_USER_PACKET_ENUM);
stringTestSendBitStream.Write(sendString);
RakString testRakString = new RakString("Test RakString");
rakStringTestSendBitStream.Write((byte)DefaultMessageIDTypes.ID_USER_PACKET_ENUM);
rakStringTestSendBitStream.Write(testRakString);
startTimeSpan = (DateTime.UtcNow - new DateTime(1970, 1, 1));
loopNumber = 0;
while (startTimeSpan.TotalSeconds + 5 > (DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds)
{
testPacket = testServer.Receive();
if (testPacket != null && testPacket.data[0] == (byte)DefaultMessageIDTypes.ID_USER_PACKET_ENUM)
{
receiveBitStream.Reset();
receiveBitStream.Write(testPacket.data, testPacket.length);
receiveBitStream.IgnoreBytes(1);
receiveBitStream.Read(rakStringTest);
Console.WriteLine("Loop number: " + loopNumber + "\nData: " + rakStringTest.C_String());
}
testServer.DeallocatePacket(testPacket);
loopNumber++;
System.Threading.Thread.Sleep(50);
testClient.Send(rakStringTestSendBitStream, PacketPriority.LOW_PRIORITY, PacketReliability.RELIABLE_ORDERED, (char)0, new AddressOrGUID(new SystemAddress("127.0.0.1", 60001)), false);
}
Console.WriteLine("String send and receive loop using BitStream.\nBitStream read done into String");
SystemAddress[] remoteSystems;
ushort numberOfSystems=1;
testServer.GetConnectionList(out remoteSystems, ref numberOfSystems);
startTimeSpan = (DateTime.UtcNow - new DateTime(1970, 1, 1));
loopNumber = 0;
while (startTimeSpan.TotalSeconds + 5 > (DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds)
{
testPacket = testServer.Receive();
if (testPacket != null && testPacket.data[0] == (byte)DefaultMessageIDTypes.ID_USER_PACKET_ENUM)
{
receiveBitStream.Reset();
receiveBitStream.Write(testPacket.data, testPacket.length);
receiveBitStream.IgnoreBytes(1);
receiveBitStream.Read(out holdingString);
Console.WriteLine("Loop number: " + loopNumber + "\nData: " + holdingString);
}
testServer.DeallocatePacket(testPacket);
loopNumber++;
System.Threading.Thread.Sleep(50);
SystemAddress sa = SLNet.SLikeNet.UNASSIGNED_SYSTEM_ADDRESS;
testClient.Send(stringTestSendBitStream, PacketPriority.LOW_PRIORITY, PacketReliability.RELIABLE_ORDERED, (char)0, new AddressOrGUID(new SystemAddress("127.0.0.1", 60001)), false);
}
//If RakString is not freed before program exit it will crash
rakStringTest.Dispose();
testRakString.Dispose();
RakPeer.DestroyInstance(testClient);
RakPeer.DestroyInstance(testServer);
Console.WriteLine("Demo complete. Press Enter.");
Console.Read();
}
}
#if AUTOPATCHERMYSQLTESTS
private static int TestAutoPatcherClient()
{
//Stick the restarter path here
String restarterPath = "C:\\Rak4\\Samples\\AutopatcherClientRestarter\\Debug\\AutopatcherClientRestarter.exe";
TestCB transferCallback = new TestCB();
Console.Write("A simple client interface for the advanced autopatcher.\n");
Console.Write("Use DirectoryDeltaTransfer for a simpler version of an autopatcher.\n");
Console.Write("Difficulty: Intermediate\n\n");
Console.Write("Client starting...");
SystemAddress serverAddress = RakNet.RakNet.UNASSIGNED_SYSTEM_ADDRESS;
AutopatcherClient autopatcherClient = new AutopatcherClient();
FileListTransfer fileListTransfer = new FileListTransfer();
autopatcherClient.SetFileListTransferPlugin(fileListTransfer);
RakPeerInterface rakPeer;
rakPeer = RakPeerInterface.GetInstance();
SocketDescriptor socketDescriptor = new SocketDescriptor(0, null);
rakPeer.Startup(1, socketDescriptor, 1);
// Plugin will send us downloading progress notifications if a file is split to fit under the MTU 10 or more times
rakPeer.SetSplitMessageProgressInterval(10);
rakPeer.AttachPlugin(autopatcherClient);
rakPeer.AttachPlugin(fileListTransfer);
Console.Write("started\n");
String buff;
Console.Write("Enter server IP: ");
buff = Console.ReadLine();
if (buff == "")
buff = "127.0.0.1";
rakPeer.Connect(buff, 60000, null, 0);
Console.Write("Connecting...\n");
String appDir;
Console.Write("Enter application directory: ");
appDir = Console.ReadLine();
if (appDir == "")
{
appDir = "C:/temp2";
}
String appName;
Console.Write("Enter application name: ");
appName = Console.ReadLine();
if (appName == "")
appName = "TestApp";
bool patchImmediately = false;
if (patchImmediately == false)
Console.Write("Hit 'q' to quit, 'p' to patch, 'c' to cancel the patch. 'r' to reconnect. 'd' to disconnect.\n");
else
Console.Write("Hit 'q' to quit, 'c' to cancel the patch.\n");
char ch;
Packet p;
while (true)
{
p = rakPeer.Receive();
while (p != null)
{
if (p.data[0] == (byte)DefaultMessageIDTypes.ID_DISCONNECTION_NOTIFICATION)
Console.Write("ID_DISCONNECTION_NOTIFICATION\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_CONNECTION_LOST)
Console.Write("ID_CONNECTION_LOST\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_CONNECTION_REQUEST_ACCEPTED)
{
Console.Write("ID_CONNECTION_REQUEST_ACCEPTED\n");
serverAddress = p.systemAddress;
}
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_CONNECTION_ATTEMPT_FAILED)
Console.Write("ID_CONNECTION_ATTEMPT_FAILED\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_AUTOPATCHER_REPOSITORY_FATAL_ERROR)
{
//String buff;
//BitStream temp = new BitStream(p.data, p.length, false);
//temp.IgnoreBits(8);
//StringCompressor.Instance().DecodeString(buff, 256, temp);
//Console.Write("ID_AUTOPATCHER_REPOSITORY_FATAL_ERROR\n");
//Console.Write("%s\n", buff);
}
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_AUTOPATCHER_FINISHED)
Console.Write("ID_AUTOPATCHER_FINISHED\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_AUTOPATCHER_RESTART_APPLICATION)
Console.Write("Launch \"AutopatcherClientRestarter.exe autopatcherRestart.txt\"\nQuit this application immediately after to unlock files.\n");
rakPeer.DeallocatePacket(p);
p = rakPeer.Receive();
}
if (Console.KeyAvailable)
ch = Console.ReadKey().KeyChar;
else
ch = (char)0;
if (ch == 'q')
break;
else if (ch == 'r')
{
rakPeer.Connect(buff, 60000, null, 0);
}
else if (ch == 'd')
{
rakPeer.CloseConnection(serverAddress, true);
}
else if (ch == 'p' || (serverAddress != RakNet.RakNet.UNASSIGNED_SYSTEM_ADDRESS && patchImmediately == true))
{
patchImmediately = false;
String lastUpdateDate;
String restartFile;
restartFile = appDir;
restartFile += "/autopatcherRestart.txt";
// Console.Write("Enter last update date (only newer updates retrieved) or nothing to get all updates\n");
// lastUpdateDate = Console.ReadLine();
lastUpdateDate = "";
if (autopatcherClient.PatchApplication(appName, appDir, lastUpdateDate, serverAddress, transferCallback, restartFile, restarterPath))
{
Console.Write("Patching process starting.\n");
}
else
{
Console.Write("Failed to start patching.\n");
}
}
else if (ch == 'c')
{
autopatcherClient.Clear();
Console.Write("Autopatcher cleared.\n");
}
Thread.Sleep(30);
}
// Dereference so the destructor doesn't crash
autopatcherClient.SetFileListTransferPlugin(null);
rakPeer.Shutdown(500, 0);
RakPeerInterface.DestroyInstance(rakPeer);
return 1;
}
private static void TestAutoPatcherServer()
{
TimeSpan startTimeSpan;
// Avoids the Error: Got a packet bigger than 'max_allowed_packet' bytes
Console.Write("Important: Requires that you first set the DB schema and the max packet size on the server.\n");
Console.Write("See DependentExtensions/AutopatcherMySQLRepository/readme.txt\n");
Console.Write("Server starting... ");
AutopatcherServer autopatcherServer = new AutopatcherServer();
FLP_Printf progressIndicator = new FLP_Printf();
FileListTransfer fileListTransfer = new FileListTransfer();
// So only one thread runs per connection, we create an array of connection objects, and tell the autopatcher server to use one thread per item
const int sqlConnectionObjectCount = 4;
AutopatcherMySQLRepository[] connectionObject = new AutopatcherMySQLRepository[sqlConnectionObjectCount];
AutopatcherRepositoryInterface[] connectionObjectAddresses = new AutopatcherRepositoryInterface[sqlConnectionObjectCount];
for (int i = 0; i < sqlConnectionObjectCount; i++)
{
connectionObject[i] = new AutopatcherMySQLRepository();
connectionObjectAddresses[i] = connectionObject[i];
}
fileListTransfer.SetCallback(progressIndicator);
autopatcherServer.SetFileListTransferPlugin(fileListTransfer);
RakPeerInterface rakPeer;
rakPeer = RakPeerInterface.GetInstance();
SocketDescriptor socketDescriptor = new SocketDescriptor((ushort)LISTEN_PORT, null);
rakPeer.Startup(8, socketDescriptor, 1);
rakPeer.SetMaximumIncomingConnections(MAX_INCOMING_CONNECTIONS);
rakPeer.AttachPlugin(autopatcherServer);
rakPeer.AttachPlugin(fileListTransfer);
Console.Write("started.\n");
Console.Write("Enter database password:\n");
String password;
String username = "root";
password = Console.ReadLine();
if (password == "")
password = "aaaa";
string db;
Console.Write("Enter DB schema: ");
// To create the schema, go to the command line client and type create schema autopatcher;
// You also have to add
// max_allowed_packet=128M
// Where 128 is the maximum size file in megabytes you'll ever add
// to MySQL\MySQL Server 5.1\my.ini in the [mysqld] section
// Be sure to restart the service after doing so
db = Console.ReadLine(); ;
if (db == "")
db = "autopatcher";
for (int conIdx = 0; conIdx < sqlConnectionObjectCount; conIdx++)
{
if (!connectionObject[conIdx].Connect("localhost", username, password, db, 0, null, 0))
{
Console.Write("Database connection failed.\n");
return;
}
}
Console.Write("Database connection suceeded.\n");
Console.Write("Starting threads\n");
autopatcherServer.StartThreads(sqlConnectionObjectCount, connectionObjectAddresses);
Console.Write("System ready for connections\n");
Console.Write("(D)rop database\n(C)reate database.\n(A)dd application\n(U)pdate revision.\n(R)emove application\n(Q)uit\n");
char ch;
Packet p;
while (true)
{
p = rakPeer.Receive();
while (p != null)
{
if (p.data[0] == (byte)DefaultMessageIDTypes.ID_NEW_INCOMING_CONNECTION)
Console.Write("ID_NEW_INCOMING_CONNECTION\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_DISCONNECTION_NOTIFICATION)
Console.Write("ID_DISCONNECTION_NOTIFICATION\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_CONNECTION_LOST)
Console.Write("ID_CONNECTION_LOST\n");
rakPeer.DeallocatePacket(p);
p = rakPeer.Receive();
}
if (Console.KeyAvailable)
{
ch = Console.ReadKey().KeyChar;
if (ch == 'q')
break;
else if (ch == 'c')
{
if (connectionObject[0].CreateAutopatcherTables() == false)
Console.Write("Error: %s\n", connectionObject[0].GetLastError());
else
Console.Write("Created\n");
}
else if (ch == 'd')
{
if (connectionObject[0].DestroyAutopatcherTables() == false)
Console.Write("Error: %s\n", connectionObject[0].GetLastError());
else
Console.Write("Destroyed\n");
}
else if (ch == 'a')
{
Console.Write("Enter application name to add: ");
string appName;
appName = Console.ReadLine(); ;
if (appName == "")
appName = "TestApp";
if (connectionObject[0].AddApplication(appName, username) == false)
Console.Write("Error: %s\n", connectionObject[0].GetLastError());
else
Console.Write("Done\n");
}
else if (ch == 'r')
{
Console.Write("Enter application name to remove: ");
string appName;
appName = Console.ReadLine(); ;
if (appName == "")
appName = "TestApp";
if (connectionObject[0].RemoveApplication(appName) == false)
Console.Write("Error: %s\n", connectionObject[0].GetLastError());
else
Console.Write("Done\n");
}
else if (ch == 'u')
{
Console.Write("Enter application name: ");
string appName;
appName = Console.ReadLine(); ;
if (appName == "")
appName = "TestApp";
Console.Write("Enter application directory: ");
string appDir;
appDir = Console.ReadLine(); ;
if (appDir == "")
appDir = "C:/temp";
if (connectionObject[0].UpdateApplicationFiles(appName, appDir, username, progressIndicator) == false)
{
Console.Write("Error: %s\n", connectionObject[0].GetLastError());
}
else
{
Console.Write("Update success.\n");
}
}
}
Thread.Sleep(30);
}
RakPeerInterface.DestroyInstance(rakPeer);
}
#endif
}

View File

@ -0,0 +1,3 @@
<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v2.0.50727" sku="Client"/></startup></configuration>

View File

@ -0,0 +1,23 @@
@echo off
REM Copyright (c) 2018, SLikeSoft UG (haftungsbeschr<68>nkt)
REM
REM This file is licensed under the MIT-style license found in the license.txt
REM file in the root directory of this source tree.
REM import mandatory parameters
set configuration=%~1
set platform=%2
REM set required variables
set targetDir=bin\x64\%configuration%
REM convert platform parameter
if "%platform%"=="x86" (
set platform=Win32
set targetDir=bin\x86\%configuration%
)
copy "..\..\..\Lib\SLikeNet_DLL_%configuration%_%platform%.dll" "%targetDir%\SLikeNet.dll"
exit %ERRORLEVEL%

View File

@ -0,0 +1,582 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{61A4B9B1-7FBF-404A-BFDD-B1C10853F12E}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>CSharpTestApp_RakNetCompat</RootNamespace>
<AssemblyName>CSharpTestApp_RakNetCompat</AssemblyName>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>3.5</OldToolsVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug - Unicode|x86'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug - Unicode\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release - Unicode|x86'">
<OutputPath>bin\x86\Release - Unicode\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Retail|x86'">
<OutputPath>bin\x86\Retail\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Retail - Unicode|x86'">
<OutputPath>bin\x86\Retail - Unicode\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
<OutputPath>bin\x64\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug - Unicode|x64'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x64\Debug - Unicode\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>full</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release - Unicode|x64'">
<OutputPath>bin\x64\Release - Unicode\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Retail|x64'">
<OutputPath>bin\x64\Retail\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Retail - Unicode|x64'">
<OutputPath>bin\x64\Retail - Unicode\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x64</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<ItemGroup>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\AddressOrGUID.cs">
<Link>bindings\AddressOrGUID.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\BitStream.cs">
<Link>bindings\BitStream.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\ByteQueue.cs">
<Link>bindings\ByteQueue.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\Cell.cs">
<Link>bindings\Cell.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\ColumnDescriptor.cs">
<Link>bindings\ColumnDescriptor.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\CommandParserInterface.cs">
<Link>bindings\CommandParserInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\ConnectionAttemptResult.cs">
<Link>bindings\ConnectionAttemptResult.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\ConnectionGraph2.cs">
<Link>bindings\ConnectionGraph2.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\ConnectionState.cs">
<Link>bindings\ConnectionState.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\DefaultMessageIDTypes.cs">
<Link>bindings\DefaultMessageIDTypes.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\DirectoryDeltaTransfer.cs">
<Link>bindings\DirectoryDeltaTransfer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\DownloadCompleteStruct.cs">
<Link>bindings\DownloadCompleteStruct.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\FileList.cs">
<Link>bindings\FileList.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\FileListNode.cs">
<Link>bindings\FileListNode.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\FileListNodeContext.cs">
<Link>bindings\FileListNodeContext.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\FileListProgress.cs">
<Link>bindings\FileListProgress.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\FileListTransfer.cs">
<Link>bindings\FileListTransfer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\FileListTransferCBInterface.cs">
<Link>bindings\FileListTransferCBInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\FileProgressStruct.cs">
<Link>bindings\FileProgressStruct.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\FilterQuery.cs">
<Link>bindings\FilterQuery.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\FLP_Printf.cs">
<Link>bindings\FLP_Printf.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\FullyConnectedMesh2.cs">
<Link>bindings\FullyConnectedMesh2.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\IncrementalReadInterface.cs">
<Link>bindings\IncrementalReadInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\JoinTeamType.cs">
<Link>bindings\JoinTeamType.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\LogCommandParser.cs">
<Link>bindings\LogCommandParser.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\MessageFilter.cs">
<Link>bindings\MessageFilter.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\MultilistType.cs">
<Link>bindings\MultilistType.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NatPunchthroughClient.cs">
<Link>bindings\NatPunchthroughClient.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NatPunchthroughDebugInterface.cs">
<Link>bindings\NatPunchthroughDebugInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NatPunchthroughDebugInterface_PacketLogger.cs">
<Link>bindings\NatPunchthroughDebugInterface_PacketLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NatPunchthroughDebugInterface_Printf.cs">
<Link>bindings\NatPunchthroughDebugInterface_Printf.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NatPunchthroughServer.cs">
<Link>bindings\NatPunchthroughServer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NatPunchthroughServerDebugInterface.cs">
<Link>bindings\NatPunchthroughServerDebugInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NatPunchthroughServerDebugInterface_PacketLogger.cs">
<Link>bindings\NatPunchthroughServerDebugInterface_PacketLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NatPunchthroughServerDebugInterface_Printf.cs">
<Link>bindings\NatPunchthroughServerDebugInterface_Printf.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NatTypeDetectionClient.cs">
<Link>bindings\NatTypeDetectionClient.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NatTypeDetectionServer.cs">
<Link>bindings\NatTypeDetectionServer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NetworkIDManager.cs">
<Link>bindings\NetworkIDManager.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\NetworkIDObject.cs">
<Link>bindings\NetworkIDObject.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\OnFileStruct.cs">
<Link>bindings\OnFileStruct.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\OutOfBandIdentifiers.cs">
<Link>bindings\OutOfBandIdentifiers.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\Packet.cs">
<Link>bindings\Packet.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\PacketConsoleLogger.cs">
<Link>bindings\PacketConsoleLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\PacketFileLogger.cs">
<Link>bindings\PacketFileLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\PacketLogger.cs">
<Link>bindings\PacketLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\PacketPriority.cs">
<Link>bindings\PacketPriority.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\PacketReliability.cs">
<Link>bindings\PacketReliability.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\PluginInterface2.cs">
<Link>bindings\PluginInterface2.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\PluginReceiveResult.cs">
<Link>bindings\PluginReceiveResult.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\PublicKey.cs">
<Link>bindings\PublicKey.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\PublicKeyMode.cs">
<Link>bindings\PublicKeyMode.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\PunchthroughConfiguration.cs">
<Link>bindings\PunchthroughConfiguration.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNet.cs">
<Link>bindings\RakNet.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetBPlusTreeRow.cs">
<Link>bindings\RakNetBPlusTreeRow.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetGUID.cs">
<Link>bindings\RakNetGUID.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListCell.cs">
<Link>bindings\RakNetListCell.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListCellPointer.cs">
<Link>bindings\RakNetListCellPointer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListColumnDescriptor.cs">
<Link>bindings\RakNetListColumnDescriptor.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListFileListNode.cs">
<Link>bindings\RakNetListFileListNode.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListFilterQuery.cs">
<Link>bindings\RakNetListFilterQuery.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListRakNetGUID.cs">
<Link>bindings\RakNetListRakNetGUID.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListRakString.cs">
<Link>bindings\RakNetListRakString.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListSortQuery.cs">
<Link>bindings\RakNetListSortQuery.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListSystemAddress.cs">
<Link>bindings\RakNetListSystemAddress.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListTableRow.cs">
<Link>bindings\RakNetListTableRow.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListUnsignedInt.cs">
<Link>bindings\RakNetListUnsignedInt.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetListUnsignedShort.cs">
<Link>bindings\RakNetListUnsignedShort.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetPageRow.cs">
<Link>bindings\RakNetPageRow.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetPINVOKE.cs">
<Link>bindings\RakNetPINVOKE.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakNetStatistics.cs">
<Link>bindings\RakNetStatistics.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakPeer.cs">
<Link>bindings\RakPeer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakPeerInterface.cs">
<Link>bindings\RakPeerInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakString.cs">
<Link>bindings\RakString.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RakWString.cs">
<Link>bindings\RakWString.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\ReadyEvent.cs">
<Link>bindings\ReadyEvent.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\ReadyEventSystemStatus.cs">
<Link>bindings\ReadyEventSystemStatus.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RemoteSystemIndex.cs">
<Link>bindings\RemoteSystemIndex.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\RNSPerSecondMetrics.cs">
<Link>bindings\RNSPerSecondMetrics.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\Router2.cs">
<Link>bindings\Router2.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\Router2DebugInterface.cs">
<Link>bindings\Router2DebugInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\Row.cs">
<Link>bindings\Row.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SimpleMutex.cs">
<Link>bindings\SimpleMutex.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SocketDescriptor.cs">
<Link>bindings\SocketDescriptor.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SortQuery.cs">
<Link>bindings\SortQuery.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\StartupResult.cs">
<Link>bindings\StartupResult.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_bool.cs">
<Link>bindings\SWIGTYPE_p_bool.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_DataStructures__ListT_RakNetSocket2_p_t.cs">
<Link>bindings\SWIGTYPE_p_DataStructures__ListT_RakNetSocket2_p_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_DataStructures__ListT_RakNet__BitStream_p_t.cs">
<Link>bindings\SWIGTYPE_p_DataStructures__ListT_RakNet__BitStream_p_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_DataStructures__ListT_RakNet__TM_TeamMember_p_t.cs">
<Link>bindings\SWIGTYPE_p_DataStructures__ListT_RakNet__TM_TeamMember_p_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_DataStructures__ListT_RakNet__TM_Team_p_t.cs">
<Link>bindings\SWIGTYPE_p_DataStructures__ListT_RakNet__TM_Team_p_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_double.cs">
<Link>bindings\SWIGTYPE_p_double.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_FILE.cs">
<Link>bindings\SWIGTYPE_p_FILE.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_p_RakNet__TM_Team.cs">
<Link>bindings\SWIGTYPE_p_p_RakNet__TM_Team.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_p_RakNet__TM_TeamMember.cs">
<Link>bindings\SWIGTYPE_p_p_RakNet__TM_TeamMember.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_p_RakNet__TM_World.cs">
<Link>bindings\SWIGTYPE_p_p_RakNet__TM_World.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_p_wchar_t.cs">
<Link>bindings\SWIGTYPE_p_p_wchar_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_RakNet__NatPunchthroughClient__SendPing.cs">
<Link>bindings\SWIGTYPE_p_RakNet__NatPunchthroughClient__SendPing.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_RakNet__ReadyEvent__RemoteSystem.cs">
<Link>bindings\SWIGTYPE_p_RakNet__ReadyEvent__RemoteSystem.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_RakNet__TCPInterface.cs">
<Link>bindings\SWIGTYPE_p_RakNet__TCPInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_RakNet__TM_World__JoinRequestHelper.cs">
<Link>bindings\SWIGTYPE_p_RakNet__TM_World__JoinRequestHelper.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_RNS2RecvStruct.cs">
<Link>bindings\SWIGTYPE_p_RNS2RecvStruct.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_unsigned_char.cs">
<Link>bindings\SWIGTYPE_p_unsigned_char.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_unsigned_int.cs">
<Link>bindings\SWIGTYPE_p_unsigned_int.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_unsigned_long_long.cs">
<Link>bindings\SWIGTYPE_p_unsigned_long_long.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_unsigned_short.cs">
<Link>bindings\SWIGTYPE_p_unsigned_short.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_void.cs">
<Link>bindings\SWIGTYPE_p_void.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SWIGTYPE_p_wchar_t.cs">
<Link>bindings\SWIGTYPE_p_wchar_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\SystemAddress.cs">
<Link>bindings\SystemAddress.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\Table.cs">
<Link>bindings\Table.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\TeamManager.cs">
<Link>bindings\TeamManager.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\TeamSelection.cs">
<Link>bindings\TeamSelection.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\ThreadsafePacketLogger.cs">
<Link>bindings\ThreadsafePacketLogger.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\TMTopology.cs">
<Link>bindings\TMTopology.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\TM_Team.cs">
<Link>bindings\TM_Team.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\TM_TeamMember.cs">
<Link>bindings\TM_TeamMember.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\TM_World.cs">
<Link>bindings\TM_World.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\TransportInterface.cs">
<Link>bindings\TransportInterface.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\UDPForwarder.cs">
<Link>bindings\UDPForwarder.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\UDPForwarderResult.cs">
<Link>bindings\UDPForwarderResult.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\UDPProxyClient.cs">
<Link>bindings\UDPProxyClient.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\UDPProxyClientResultHandler.cs">
<Link>bindings\UDPProxyClientResultHandler.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\UDPProxyCoordinator.cs">
<Link>bindings\UDPProxyCoordinator.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\UDPProxyServer.cs">
<Link>bindings\UDPProxyServer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\UDPProxyServerResultHandler.cs">
<Link>bindings\UDPProxyServerResultHandler.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\uint24_t.cs">
<Link>bindings\uint24_t.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\UnsignedIntPointer.cs">
<Link>bindings\UnsignedIntPointer.cs</Link>
</Compile>
<Compile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\interfaces\UnsignedShortPointer.cs">
<Link>bindings\UnsignedShortPointer.cs</Link>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TestMain.cs" />
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
<Reference Include="System.XML" />
<Reference Include="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup />
<PropertyGroup>
<PreBuildEvent>cd "$(ProjectDir)"
call prebuild.bat "$(ConfigurationName)" $(PlatformName)</PreBuildEvent>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,41 @@
/*
* This file was taken from RakNet 4.082 without any modifications.
* Please see licenses/RakNet license.txt for the underlying license and related copyright.
*/
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ConsoleApplication2")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ConsoleApplication2")]
[assembly: AssemblyCopyright("Copyright © 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("bfa4bffa-dd43-4e1f-ac92-e157a81e7fa1")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -0,0 +1,439 @@
/*
* 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.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Threading;
using System.Timers;
using System.IO;
using RakNet;
namespace CSharpTestApp_RakNetCompat
{
class TestMain
{
static void Main(string[] args)
{
if (!File.Exists("RakNet.dll"))
{
Console.WriteLine("The RakNet DLL is missing.\nPress enter to quit.");
Console.Read();
return;
}
try
{
RakString dllCallTest = new RakString();
}
catch (Exception)
{
Console.WriteLine("DLL issue.\nMost likely the provided DLL wasn't build with the C# wrapper file.\nPress enter to quit.");
Console.Read();
return;
}
Packet testPacket;
int loopNumber;
BitStream stringTestSendBitStream = new BitStream();
BitStream rakStringTestSendBitStream = new BitStream();
BitStream receiveBitStream = new BitStream();
String holdingString;
TimeSpan startTimeSpan;
RakString rakStringTest = new RakString();
RakPeerInterface testClient = RakPeer.GetInstance();
testClient.Startup(1, new SocketDescriptor(60000, "127.0.0.1"), 1);
RakPeerInterface testServer = RakPeer.GetInstance();
testServer.Startup(1, new SocketDescriptor(60001, "127.0.0.1"), 1);
testServer.SetMaximumIncomingConnections(1);
Console.WriteLine("Send and receive loop using BitStream.\nBitStream read done into RakString");
testClient.Connect("127.0.0.1", 60001, "", 0);
String sendString = "The test string";
stringTestSendBitStream.Write((byte)DefaultMessageIDTypes.ID_USER_PACKET_ENUM);
stringTestSendBitStream.Write(sendString);
RakString testRakString = new RakString("Test RakString");
rakStringTestSendBitStream.Write((byte)DefaultMessageIDTypes.ID_USER_PACKET_ENUM);
rakStringTestSendBitStream.Write(testRakString);
startTimeSpan = (DateTime.UtcNow - new DateTime(1970, 1, 1));
loopNumber = 0;
while (startTimeSpan.TotalSeconds + 5 > (DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds)
{
testPacket = testServer.Receive();
if (testPacket != null && testPacket.data[0] == (byte)DefaultMessageIDTypes.ID_USER_PACKET_ENUM)
{
receiveBitStream.Reset();
receiveBitStream.Write(testPacket.data, testPacket.length);
receiveBitStream.IgnoreBytes(1);
receiveBitStream.Read(rakStringTest);
Console.WriteLine("Loop number: " + loopNumber + "\nData: " + rakStringTest.C_String());
}
testServer.DeallocatePacket(testPacket);
loopNumber++;
System.Threading.Thread.Sleep(50);
testClient.Send(rakStringTestSendBitStream, PacketPriority.LOW_PRIORITY, PacketReliability.RELIABLE_ORDERED, (char)0, new AddressOrGUID(new SystemAddress("127.0.0.1", 60001)), false);
}
Console.WriteLine("String send and receive loop using BitStream.\nBitStream read done into String");
SystemAddress[] remoteSystems;
ushort numberOfSystems=1;
testServer.GetConnectionList(out remoteSystems, ref numberOfSystems);
startTimeSpan = (DateTime.UtcNow - new DateTime(1970, 1, 1));
loopNumber = 0;
while (startTimeSpan.TotalSeconds + 5 > (DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds)
{
testPacket = testServer.Receive();
if (testPacket != null && testPacket.data[0] == (byte)DefaultMessageIDTypes.ID_USER_PACKET_ENUM)
{
receiveBitStream.Reset();
receiveBitStream.Write(testPacket.data, testPacket.length);
receiveBitStream.IgnoreBytes(1);
receiveBitStream.Read(out holdingString);
Console.WriteLine("Loop number: " + loopNumber + "\nData: " + holdingString);
}
testServer.DeallocatePacket(testPacket);
loopNumber++;
System.Threading.Thread.Sleep(50);
SystemAddress sa = RakNet.RakNet.UNASSIGNED_SYSTEM_ADDRESS;
testClient.Send(stringTestSendBitStream, PacketPriority.LOW_PRIORITY, PacketReliability.RELIABLE_ORDERED, (char)0, new AddressOrGUID(new SystemAddress("127.0.0.1", 60001)), false);
}
//If RakString is not freed before program exit it will crash
rakStringTest.Dispose();
testRakString.Dispose();
RakPeer.DestroyInstance(testClient);
RakPeer.DestroyInstance(testServer);
Console.WriteLine("Demo complete. Press Enter.");
Console.Read();
}
}
#if AUTOPATCHERMYSQLTESTS
private static int TestAutoPatcherClient()
{
//Stick the restarter path here
String restarterPath = "C:\\Rak4\\Samples\\AutopatcherClientRestarter\\Debug\\AutopatcherClientRestarter.exe";
TestCB transferCallback = new TestCB();
Console.Write("A simple client interface for the advanced autopatcher.\n");
Console.Write("Use DirectoryDeltaTransfer for a simpler version of an autopatcher.\n");
Console.Write("Difficulty: Intermediate\n\n");
Console.Write("Client starting...");
SystemAddress serverAddress = RakNet.RakNet.UNASSIGNED_SYSTEM_ADDRESS;
AutopatcherClient autopatcherClient = new AutopatcherClient();
FileListTransfer fileListTransfer = new FileListTransfer();
autopatcherClient.SetFileListTransferPlugin(fileListTransfer);
RakPeerInterface rakPeer;
rakPeer = RakPeerInterface.GetInstance();
SocketDescriptor socketDescriptor = new SocketDescriptor(0, null);
rakPeer.Startup(1, socketDescriptor, 1);
// Plugin will send us downloading progress notifications if a file is split to fit under the MTU 10 or more times
rakPeer.SetSplitMessageProgressInterval(10);
rakPeer.AttachPlugin(autopatcherClient);
rakPeer.AttachPlugin(fileListTransfer);
Console.Write("started\n");
String buff;
Console.Write("Enter server IP: ");
buff = Console.ReadLine();
if (buff == "")
buff = "127.0.0.1";
rakPeer.Connect(buff, 60000, null, 0);
Console.Write("Connecting...\n");
String appDir;
Console.Write("Enter application directory: ");
appDir = Console.ReadLine();
if (appDir == "")
{
appDir = "C:/temp2";
}
String appName;
Console.Write("Enter application name: ");
appName = Console.ReadLine();
if (appName == "")
appName = "TestApp";
bool patchImmediately = false;
if (patchImmediately == false)
Console.Write("Hit 'q' to quit, 'p' to patch, 'c' to cancel the patch. 'r' to reconnect. 'd' to disconnect.\n");
else
Console.Write("Hit 'q' to quit, 'c' to cancel the patch.\n");
char ch;
Packet p;
while (true)
{
p = rakPeer.Receive();
while (p != null)
{
if (p.data[0] == (byte)DefaultMessageIDTypes.ID_DISCONNECTION_NOTIFICATION)
Console.Write("ID_DISCONNECTION_NOTIFICATION\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_CONNECTION_LOST)
Console.Write("ID_CONNECTION_LOST\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_CONNECTION_REQUEST_ACCEPTED)
{
Console.Write("ID_CONNECTION_REQUEST_ACCEPTED\n");
serverAddress = p.systemAddress;
}
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_CONNECTION_ATTEMPT_FAILED)
Console.Write("ID_CONNECTION_ATTEMPT_FAILED\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_AUTOPATCHER_REPOSITORY_FATAL_ERROR)
{
//String buff;
//BitStream temp = new BitStream(p.data, p.length, false);
//temp.IgnoreBits(8);
//StringCompressor.Instance().DecodeString(buff, 256, temp);
//Console.Write("ID_AUTOPATCHER_REPOSITORY_FATAL_ERROR\n");
//Console.Write("%s\n", buff);
}
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_AUTOPATCHER_FINISHED)
Console.Write("ID_AUTOPATCHER_FINISHED\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_AUTOPATCHER_RESTART_APPLICATION)
Console.Write("Launch \"AutopatcherClientRestarter.exe autopatcherRestart.txt\"\nQuit this application immediately after to unlock files.\n");
rakPeer.DeallocatePacket(p);
p = rakPeer.Receive();
}
if (Console.KeyAvailable)
ch = Console.ReadKey().KeyChar;
else
ch = (char)0;
if (ch == 'q')
break;
else if (ch == 'r')
{
rakPeer.Connect(buff, 60000, null, 0);
}
else if (ch == 'd')
{
rakPeer.CloseConnection(serverAddress, true);
}
else if (ch == 'p' || (serverAddress != RakNet.RakNet.UNASSIGNED_SYSTEM_ADDRESS && patchImmediately == true))
{
patchImmediately = false;
String lastUpdateDate;
String restartFile;
restartFile = appDir;
restartFile += "/autopatcherRestart.txt";
// Console.Write("Enter last update date (only newer updates retrieved) or nothing to get all updates\n");
// lastUpdateDate = Console.ReadLine();
lastUpdateDate = "";
if (autopatcherClient.PatchApplication(appName, appDir, lastUpdateDate, serverAddress, transferCallback, restartFile, restarterPath))
{
Console.Write("Patching process starting.\n");
}
else
{
Console.Write("Failed to start patching.\n");
}
}
else if (ch == 'c')
{
autopatcherClient.Clear();
Console.Write("Autopatcher cleared.\n");
}
Thread.Sleep(30);
}
// Dereference so the destructor doesn't crash
autopatcherClient.SetFileListTransferPlugin(null);
rakPeer.Shutdown(500, 0);
RakPeerInterface.DestroyInstance(rakPeer);
return 1;
}
private static void TestAutoPatcherServer()
{
TimeSpan startTimeSpan;
// Avoids the Error: Got a packet bigger than 'max_allowed_packet' bytes
Console.Write("Important: Requires that you first set the DB schema and the max packet size on the server.\n");
Console.Write("See DependentExtensions/AutopatcherMySQLRepository/readme.txt\n");
Console.Write("Server starting... ");
AutopatcherServer autopatcherServer = new AutopatcherServer();
FLP_Printf progressIndicator = new FLP_Printf();
FileListTransfer fileListTransfer = new FileListTransfer();
// So only one thread runs per connection, we create an array of connection objects, and tell the autopatcher server to use one thread per item
const int sqlConnectionObjectCount = 4;
AutopatcherMySQLRepository[] connectionObject = new AutopatcherMySQLRepository[sqlConnectionObjectCount];
AutopatcherRepositoryInterface[] connectionObjectAddresses = new AutopatcherRepositoryInterface[sqlConnectionObjectCount];
for (int i = 0; i < sqlConnectionObjectCount; i++)
{
connectionObject[i] = new AutopatcherMySQLRepository();
connectionObjectAddresses[i] = connectionObject[i];
}
fileListTransfer.SetCallback(progressIndicator);
autopatcherServer.SetFileListTransferPlugin(fileListTransfer);
RakPeerInterface rakPeer;
rakPeer = RakPeerInterface.GetInstance();
SocketDescriptor socketDescriptor = new SocketDescriptor((ushort)LISTEN_PORT, null);
rakPeer.Startup(8, socketDescriptor, 1);
rakPeer.SetMaximumIncomingConnections(MAX_INCOMING_CONNECTIONS);
rakPeer.AttachPlugin(autopatcherServer);
rakPeer.AttachPlugin(fileListTransfer);
Console.Write("started.\n");
Console.Write("Enter database password:\n");
String password;
String username = "root";
password = Console.ReadLine();
if (password == "")
password = "aaaa";
string db;
Console.Write("Enter DB schema: ");
// To create the schema, go to the command line client and type create schema autopatcher;
// You also have to add
// max_allowed_packet=128M
// Where 128 is the maximum size file in megabytes you'll ever add
// to MySQL\MySQL Server 5.1\my.ini in the [mysqld] section
// Be sure to restart the service after doing so
db = Console.ReadLine(); ;
if (db == "")
db = "autopatcher";
for (int conIdx = 0; conIdx < sqlConnectionObjectCount; conIdx++)
{
if (!connectionObject[conIdx].Connect("localhost", username, password, db, 0, null, 0))
{
Console.Write("Database connection failed.\n");
return;
}
}
Console.Write("Database connection suceeded.\n");
Console.Write("Starting threads\n");
autopatcherServer.StartThreads(sqlConnectionObjectCount, connectionObjectAddresses);
Console.Write("System ready for connections\n");
Console.Write("(D)rop database\n(C)reate database.\n(A)dd application\n(U)pdate revision.\n(R)emove application\n(Q)uit\n");
char ch;
Packet p;
while (true)
{
p = rakPeer.Receive();
while (p != null)
{
if (p.data[0] == (byte)DefaultMessageIDTypes.ID_NEW_INCOMING_CONNECTION)
Console.Write("ID_NEW_INCOMING_CONNECTION\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_DISCONNECTION_NOTIFICATION)
Console.Write("ID_DISCONNECTION_NOTIFICATION\n");
else if (p.data[0] == (byte)DefaultMessageIDTypes.ID_CONNECTION_LOST)
Console.Write("ID_CONNECTION_LOST\n");
rakPeer.DeallocatePacket(p);
p = rakPeer.Receive();
}
if (Console.KeyAvailable)
{
ch = Console.ReadKey().KeyChar;
if (ch == 'q')
break;
else if (ch == 'c')
{
if (connectionObject[0].CreateAutopatcherTables() == false)
Console.Write("Error: %s\n", connectionObject[0].GetLastError());
else
Console.Write("Created\n");
}
else if (ch == 'd')
{
if (connectionObject[0].DestroyAutopatcherTables() == false)
Console.Write("Error: %s\n", connectionObject[0].GetLastError());
else
Console.Write("Destroyed\n");
}
else if (ch == 'a')
{
Console.Write("Enter application name to add: ");
string appName;
appName = Console.ReadLine(); ;
if (appName == "")
appName = "TestApp";
if (connectionObject[0].AddApplication(appName, username) == false)
Console.Write("Error: %s\n", connectionObject[0].GetLastError());
else
Console.Write("Done\n");
}
else if (ch == 'r')
{
Console.Write("Enter application name to remove: ");
string appName;
appName = Console.ReadLine(); ;
if (appName == "")
appName = "TestApp";
if (connectionObject[0].RemoveApplication(appName) == false)
Console.Write("Error: %s\n", connectionObject[0].GetLastError());
else
Console.Write("Done\n");
}
else if (ch == 'u')
{
Console.Write("Enter application name: ");
string appName;
appName = Console.ReadLine(); ;
if (appName == "")
appName = "TestApp";
Console.Write("Enter application directory: ");
string appDir;
appDir = Console.ReadLine(); ;
if (appDir == "")
appDir = "C:/temp";
if (connectionObject[0].UpdateApplicationFiles(appName, appDir, username, progressIndicator) == false)
{
Console.Write("Error: %s\n", connectionObject[0].GetLastError());
}
else
{
Console.Write("Update success.\n");
}
}
}
Thread.Sleep(30);
}
RakPeerInterface.DestroyInstance(rakPeer);
}
#endif
}

View File

@ -0,0 +1,3 @@
<?xml version="1.0"?>
<configuration>
<startup><supportedRuntime version="v2.0.50727" sku="Client"/></startup></configuration>

View File

@ -0,0 +1,23 @@
@echo off
REM Copyright (c) 2018, SLikeSoft UG (haftungsbeschr<68>nkt)
REM
REM This file is licensed under the MIT-style license found in the license.txt
REM file in the root directory of this source tree.
REM import mandatory parameters
set configuration=%~1
set platform=%2
REM set required variables
set targetDir=bin\x64\%configuration%
REM convert platform parameter
if "%platform%"=="x86" (
set platform=Win32
set targetDir=bin\x86\%configuration%
)
copy "..\..\..\Lib\RakNet_DLL_%configuration%_%platform%.dll" "%targetDir%\RakNet.dll"
exit %ERRORLEVEL%

View File

@ -0,0 +1,10 @@
REM This file was taken from RakNet 4.082.
REM Please see licenses/RakNet license.txt for the underlying license and related copyright.
REM
REM Modified work: Copyright (c) 2018, SLikeSoft UG (haftungsbeschr<68>nkt)
REM
REM This source code was modified by SLikeSoft. Modifications are licensed under the MIT-style
REM license found in the license.txt file in the root directory of this source tree.
cd ..
call MakeSwig.bat "..\.." "" %1

View File

@ -0,0 +1,861 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug - Unicode|Win32">
<Configuration>Debug - Unicode</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug - Unicode|x64">
<Configuration>Debug - Unicode</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release - Unicode|Win32">
<Configuration>Release - Unicode</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release - Unicode|x64">
<Configuration>Release - Unicode</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Retail - Unicode|Win32">
<Configuration>Retail - Unicode</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Retail - Unicode|x64">
<Configuration>Retail - Unicode</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Retail|Win32">
<Configuration>Retail</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Retail|x64">
<Configuration>Retail</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{C3DB448A-3AC4-42C7-B74B-2C5BE1E7951C}</ProjectGuid>
<RootNamespace>DLL_Swig</RootNamespace>
<Keyword>ManagedCProj</Keyword>
<ProjectName>DLL (CSharp bindings)</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Retail|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'">$(SolutionDir)Lib\</OutDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Retail|x64'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'">$(SolutionDir)Lib\</OutDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Retail|x64'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'">false</LinkIncremental>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Retail|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Retail|x64'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Retail|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'" />
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Retail|x64'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'">SLikeNet_DLL_$(Configuration)_$(Platform)</TargetName>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalOptions>/wd4835 /wd4793 /wd4996
%(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AssemblyDebug>true</AssemblyDebug>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalOptions>/wd4835 /wd4793 /wd4996
%(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AssemblyDebug>true</AssemblyDebug>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalOptions>/wd4835 /wd4793 /wd4996
%(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AssemblyDebug>true</AssemblyDebug>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalOptions>/wd4835 /wd4793 /wd4996
%(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AssemblyDebug>true</AssemblyDebug>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<SDLCheck>true</SDLCheck>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<SDLCheck>true</SDLCheck>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_RETAIL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<BufferSecurityCheck>false</BufferSecurityCheck>
<MinimalRebuild>true</MinimalRebuild>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_RETAIL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<BufferSecurityCheck>false</BufferSecurityCheck>
<MinimalRebuild>true</MinimalRebuild>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<SDLCheck>true</SDLCheck>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<SDLCheck>true</SDLCheck>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Retail|x64'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_RETAIL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<BufferSecurityCheck>false</BufferSecurityCheck>
<MinimalRebuild>true</MinimalRebuild>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'">
<PreBuildEvent>
<Command>PreBuild.bat</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;_RAKNET_DLL;_RETAIL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<BufferSecurityCheck>false</BufferSecurityCheck>
<MinimalRebuild>true</MinimalRebuild>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemGroup>
<Reference Include="System">
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
</Reference>
<Reference Include="System.Data">
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
</Reference>
<Reference Include="System.Xml">
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
</Reference>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\bindings\csharp\wrapper\slikenet_wrapper.cpp" />
<ClCompile Include="..\..\..\Source\src\crypto\cryptomanager.cpp" />
<ClCompile Include="..\..\..\Source\src\crypto\factory.cpp" />
<ClCompile Include="..\..\..\Source\src\crypto\fileencrypter.cpp" />
<ClCompile Include="..\..\..\Source\src\crypto\securestring.cpp" />
<ClCompile Include="..\..\..\Source\src\_FindFirst.cpp" />
<ClCompile Include="..\..\..\Source\src\Base64Encoder.cpp" />
<ClCompile Include="..\..\..\Source\src\BitStream.cpp" />
<ClCompile Include="..\..\..\Source\src\CCRakNetSlidingWindow.cpp" />
<ClCompile Include="..\..\..\Source\src\CCRakNetUDT.cpp" />
<ClCompile Include="..\..\..\Source\src\CheckSum.cpp" />
<ClCompile Include="..\..\..\Source\src\CloudClient.cpp" />
<ClCompile Include="..\..\..\Source\src\CloudCommon.cpp" />
<ClCompile Include="..\..\..\Source\src\CloudServer.cpp" />
<ClCompile Include="..\..\..\Source\src\CommandParserInterface.cpp" />
<ClCompile Include="..\..\..\Source\src\ConnectionGraph2.cpp" />
<ClCompile Include="..\..\..\Source\src\ConsoleServer.cpp" />
<ClCompile Include="..\..\..\Source\src\DataCompressor.cpp" />
<ClCompile Include="..\..\..\Source\src\DirectoryDeltaTransfer.cpp" />
<ClCompile Include="..\..\..\Source\src\DS_BytePool.cpp" />
<ClCompile Include="..\..\..\Source\src\DS_ByteQueue.cpp" />
<ClCompile Include="..\..\..\Source\src\DS_HuffmanEncodingTree.cpp" />
<ClCompile Include="..\..\..\Source\src\DS_Table.cpp" />
<ClCompile Include="..\..\..\Source\src\DynDNS.cpp" />
<ClCompile Include="..\..\..\Source\src\EmailSender.cpp" />
<ClCompile Include="..\..\..\Source\src\EpochTimeToString.cpp" />
<ClCompile Include="..\..\..\Source\src\FileList.cpp" />
<ClCompile Include="..\..\..\Source\src\FileListTransfer.cpp" />
<ClCompile Include="..\..\..\Source\src\FileOperations.cpp" />
<ClCompile Include="..\..\..\Source\src\FormatString.cpp" />
<ClCompile Include="..\..\..\Source\src\FullyConnectedMesh2.cpp" />
<ClCompile Include="..\..\..\Source\src\Getche.cpp" />
<ClCompile Include="..\..\..\Source\src\Gets.cpp" />
<ClCompile Include="..\..\..\Source\src\GetTime.cpp" />
<ClCompile Include="..\..\..\Source\src\gettimeofday.cpp" />
<ClCompile Include="..\..\..\Source\src\GridSectorizer.cpp" />
<ClCompile Include="..\..\..\Source\src\HTTPConnection.cpp" />
<ClCompile Include="..\..\..\Source\src\HTTPConnection2.cpp" />
<ClCompile Include="..\..\..\Source\src\IncrementalReadInterface.cpp" />
<ClCompile Include="..\..\..\Source\src\Itoa.cpp" />
<ClCompile Include="..\..\..\Source\src\LinuxStrings.cpp" />
<ClCompile Include="..\..\..\Source\src\LocklessTypes.cpp" />
<ClCompile Include="..\..\..\Source\src\LogCommandParser.cpp" />
<ClCompile Include="..\..\..\Source\src\MessageFilter.cpp" />
<ClCompile Include="..\..\..\Source\src\NatPunchthroughClient.cpp" />
<ClCompile Include="..\..\..\Source\src\NatPunchthroughServer.cpp" />
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionClient.cpp" />
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionCommon.cpp" />
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionServer.cpp" />
<ClCompile Include="..\..\..\Source\src\NetworkIDManager.cpp" />
<ClCompile Include="..\..\..\Source\src\NetworkIDObject.cpp" />
<ClCompile Include="..\..\..\Source\src\PacketConsoleLogger.cpp" />
<ClCompile Include="..\..\..\Source\src\PacketFileLogger.cpp" />
<ClCompile Include="..\..\..\Source\src\PacketizedTCP.cpp" />
<ClCompile Include="..\..\..\Source\src\PacketLogger.cpp" />
<ClCompile Include="..\..\..\Source\src\PacketOutputWindowLogger.cpp" />
<ClCompile Include="..\..\..\Source\src\PluginInterface2.cpp" />
<ClCompile Include="..\..\..\Source\src\Rackspace.cpp" />
<ClCompile Include="..\..\..\Source\src\RakMemoryOverride.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetCommandParser.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_360_720.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Berkley.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_NativeClient.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_PS3_PS4.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Vita.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Windows_Linux.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Windows_Linux_360.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetStatistics.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetTransport2.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetTypes.cpp" />
<ClCompile Include="..\..\..\Source\src\RakPeer.cpp" />
<ClCompile Include="..\..\..\Source\src\RakSleep.cpp" />
<ClCompile Include="..\..\..\Source\src\RakString.cpp" />
<ClCompile Include="..\..\..\Source\src\RakThread.cpp" />
<ClCompile Include="..\..\..\Source\src\RakWString.cpp" />
<ClCompile Include="..\..\..\Source\src\Rand.cpp" />
<ClCompile Include="..\..\..\Source\src\ReadyEvent.cpp" />
<ClCompile Include="..\..\..\Source\src\RelayPlugin.cpp" />
<ClCompile Include="..\..\..\Source\src\ReliabilityLayer.cpp" />
<ClCompile Include="..\..\..\Source\src\ReplicaManager3.cpp" />
<ClCompile Include="..\..\..\Source\src\Router2.cpp" />
<ClCompile Include="..\..\..\Source\src\RPC4Plugin.cpp" />
<ClCompile Include="..\..\..\Source\src\SecureHandshake.cpp" />
<ClCompile Include="..\..\..\Source\src\SendToThread.cpp" />
<ClCompile Include="..\..\..\Source\src\DR_SHA1.cpp" />
<ClCompile Include="..\..\..\Source\src\SignaledEvent.cpp" />
<ClCompile Include="..\..\..\Source\src\SimpleMutex.cpp" />
<ClCompile Include="..\..\..\Source\src\SocketLayer.cpp" />
<ClCompile Include="..\..\..\Source\src\StatisticsHistory.cpp" />
<ClCompile Include="..\..\..\Source\src\StringCompressor.cpp" />
<ClCompile Include="..\..\..\Source\src\StringTable.cpp" />
<ClCompile Include="..\..\..\Source\src\SuperFastHash.cpp" />
<ClCompile Include="..\..\..\Source\src\TableSerializer.cpp" />
<ClCompile Include="..\..\..\Source\src\TCPInterface.cpp" />
<ClCompile Include="..\..\..\Source\src\TeamBalancer.cpp" />
<ClCompile Include="..\..\..\Source\src\TeamManager.cpp" />
<ClCompile Include="..\..\..\Source\src\TelnetTransport.cpp" />
<ClCompile Include="..\..\..\Source\src\ThreadsafePacketLogger.cpp" />
<ClCompile Include="..\..\..\Source\src\TwoWayAuthentication.cpp" />
<ClCompile Include="..\..\..\Source\src\UDPForwarder.cpp" />
<ClCompile Include="..\..\..\Source\src\UDPProxyClient.cpp" />
<ClCompile Include="..\..\..\Source\src\UDPProxyCoordinator.cpp" />
<ClCompile Include="..\..\..\Source\src\UDPProxyServer.cpp" />
<ClCompile Include="..\..\..\Source\src\VariableDeltaSerializer.cpp" />
<ClCompile Include="..\..\..\Source\src\VariableListDeltaTracker.cpp" />
<ClCompile Include="..\..\..\Source\src\VariadicSQLParser.cpp" />
<ClCompile Include="..\..\..\Source\src\VitaIncludes.cpp" />
<ClCompile Include="..\..\..\Source\src\WSAStartupSingleton.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\bindings\csharp\wrapper\slikenet_wrapper.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\crypto\cryptomanager.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\crypto\factory.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\crypto\fileencrypter.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\crypto\ifileencrypter.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\crypto\securestring.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\defineoverrides.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\_FindFirst.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\AutopatcherPatchContext.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\AutopatcherRepositoryInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Base64Encoder.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\BitStream.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CCRakNetSlidingWindow.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CCRakNetUDT.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CheckSum.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CloudClient.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CloudCommon.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CloudServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CommandParserInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ConnectionGraph2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ConsoleServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DataCompressor.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DirectoryDeltaTransfer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BinarySearchTree.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BPlusTree.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BytePool.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_ByteQueue.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Hash.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Heap.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTree.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTreeFactory.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTreeNode.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_LinkedList.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_List.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Map.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_MemoryPool.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Multilist.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_OrderedChannelHeap.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_OrderedList.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Queue.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_QueueLinkedList.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_RangeList.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Table.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_ThreadsafeAllocatingQueue.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Tree.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_WeightedGraph.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DynDNS.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\EmailSender.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\EpochTimeToString.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Export.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FileList.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FileListNodeContext.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FileListTransfer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FileListTransferCBInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FileOperations.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FormatString.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FullyConnectedMesh2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Getche.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Gets.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\GetTime.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\gettimeofday.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\GridSectorizer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\HTTPConnection.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\HTTPConnection2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\IncrementalReadInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\InternalPacket.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Itoa.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Kbhit.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\LinuxStrings.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\LocklessTypes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\LogCommandParser.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\MessageFilter.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\MessageIdentifiers.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\MTUSize.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NativeFeatureIncludes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NativeFeatureIncludesOverrides.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NativeTypes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NatPunchthroughClient.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NatPunchthroughServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionClient.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionCommon.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NetworkIDManager.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NetworkIDObject.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketConsoleLogger.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketFileLogger.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketizedTCP.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketLogger.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketOutputWindowLogger.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketPool.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketPriority.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PluginInterface2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PS3Includes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Rackspace.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\alloca.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\assert.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\memoryoverride.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\commandparser.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\defines.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\smartptr.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\socket.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\socket2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\statistics.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\time.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\transport2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\types.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\version.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\peer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\peerinterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\sleep.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\string.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\thread.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\wstring.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Rand.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ReadyEvent.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\RefCountedObj.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\RelayPlugin.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ReliabilityLayer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ReplicaEnums.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ReplicaManager3.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Router2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\RPC4Plugin.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SecureHandshake.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SendToThread.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DR_SHA1.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SignaledEvent.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SimpleMutex.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SimpleTCPServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SingleProducerConsumer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SocketDefines.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SocketIncludes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SocketLayer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\StatisticsHistory.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\StringCompressor.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\StringTable.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SuperFastHash.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TableSerializer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TCPInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TeamBalancer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TeamManager.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TelnetTransport.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ThreadPool.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ThreadsafePacketLogger.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TransportInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TwoWayAuthentication.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\UDPForwarder.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyClient.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyCommon.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyCoordinator.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\VariableDeltaSerializer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\VariableListDeltaTracker.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\VariadicSQLParser.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\VitaIncludes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\WindowsIncludes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\WSAStartupSingleton.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\XBox360Includes.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,822 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\..\..\Source\src\_FindFirst.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\WSAStartupSingleton.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Base64Encoder.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\BitStream.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CCRakNetSlidingWindow.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CCRakNetUDT.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CheckSum.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CloudClient.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CloudCommon.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CloudServer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CommandParserInterface.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ConnectionGraph2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ConsoleServer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DataCompressor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DirectoryDeltaTransfer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DR_SHA1.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DS_BytePool.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DS_ByteQueue.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DS_HuffmanEncodingTree.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DS_Table.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DynDNS.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\EmailSender.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\EpochTimeToString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\FileList.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\FileListTransfer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\FileOperations.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\FormatString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\FullyConnectedMesh2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Getche.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Gets.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\GetTime.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\gettimeofday.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\GridSectorizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\HTTPConnection.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\HTTPConnection2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\IncrementalReadInterface.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Itoa.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\LinuxStrings.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\LocklessTypes.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\LogCommandParser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\MessageFilter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NatPunchthroughClient.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NatPunchthroughServer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionClient.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionCommon.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionServer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NetworkIDManager.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NetworkIDObject.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PacketConsoleLogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PacketFileLogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PacketizedTCP.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PacketLogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PacketOutputWindowLogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PluginInterface2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Rackspace.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakMemoryOverride.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetCommandParser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_360_720.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Berkley.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_NativeClient.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_PS3_PS4.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Vita.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Windows_Linux.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Windows_Linux_360.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetStatistics.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetTransport2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetTypes.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakPeer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakSleep.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakThread.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakWString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Rand.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ReadyEvent.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RelayPlugin.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ReliabilityLayer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ReplicaManager3.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Router2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RPC4Plugin.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SecureHandshake.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SendToThread.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SignaledEvent.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SimpleMutex.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SocketLayer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\StatisticsHistory.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\StringCompressor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\StringTable.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SuperFastHash.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TableSerializer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TCPInterface.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TeamBalancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TeamManager.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TelnetTransport.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ThreadsafePacketLogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TwoWayAuthentication.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\UDPForwarder.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\UDPProxyClient.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\UDPProxyCoordinator.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\UDPProxyServer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\VariableDeltaSerializer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\VariableListDeltaTracker.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\VariadicSQLParser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\VitaIncludes.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\bindings\csharp\wrapper\slikenet_wrapper.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\crypto\securestring.cpp">
<Filter>Source Files\crypto</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\crypto\factory.cpp">
<Filter>Source Files\crypto</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\crypto\fileencrypter.cpp">
<Filter>Source Files\crypto</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\crypto\cryptomanager.cpp">
<Filter>Source Files\crypto</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\Source\include\slikenet\_FindFirst.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\assert.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\alloca.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\AutopatcherPatchContext.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\AutopatcherRepositoryInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Base64Encoder.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\BitStream.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CCRakNetSlidingWindow.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CCRakNetUDT.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CheckSum.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CloudClient.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CloudCommon.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CloudServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CommandParserInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ConnectionGraph2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ConsoleServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DataCompressor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\defines.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DirectoryDeltaTransfer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DR_SHA1.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BPlusTree.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BytePool.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_ByteQueue.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Hash.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Heap.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTree.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTreeFactory.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTreeNode.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_LinkedList.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_List.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Map.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_MemoryPool.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Multilist.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_OrderedChannelHeap.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_OrderedList.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Queue.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_QueueLinkedList.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_RangeList.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Table.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_ThreadsafeAllocatingQueue.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Tree.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_WeightedGraph.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DynDNS.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\EmailSender.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\EpochTimeToString.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Export.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FileList.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FileListNodeContext.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FileListTransfer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FileListTransferCBInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FileOperations.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FormatString.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FullyConnectedMesh2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Getche.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Gets.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\GetTime.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\gettimeofday.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\GridSectorizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\HTTPConnection.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\HTTPConnection2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\IncrementalReadInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\InternalPacket.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Itoa.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Kbhit.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\LinuxStrings.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\LocklessTypes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\LogCommandParser.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\memoryoverride.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\MessageFilter.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\MessageIdentifiers.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\MTUSize.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NativeFeatureIncludes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NativeFeatureIncludesOverrides.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NativeTypes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NatPunchthroughClient.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NatPunchthroughServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionClient.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionCommon.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NetworkIDManager.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NetworkIDObject.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketConsoleLogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketFileLogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketizedTCP.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketLogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketOutputWindowLogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketPool.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketPriority.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\peer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\peerinterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PluginInterface2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PS3Includes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Rackspace.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Rand.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ReadyEvent.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\RefCountedObj.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\RelayPlugin.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ReliabilityLayer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ReplicaEnums.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ReplicaManager3.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Router2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\RPC4Plugin.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SecureHandshake.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SendToThread.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SignaledEvent.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SimpleMutex.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SimpleTCPServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SingleProducerConsumer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\sleep.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\smartptr.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\socket.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\socket2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SocketDefines.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SocketIncludes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SocketLayer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\statistics.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\StatisticsHistory.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\string.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\StringCompressor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\StringTable.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SuperFastHash.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TableSerializer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TCPInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TeamBalancer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TeamManager.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TelnetTransport.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\thread.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ThreadPool.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ThreadsafePacketLogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\time.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\transport2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TransportInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TwoWayAuthentication.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\types.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\UDPForwarder.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyClient.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyCommon.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyCoordinator.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\VariableDeltaSerializer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\VariableListDeltaTracker.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\VariadicSQLParser.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\version.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\VitaIncludes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\WindowsIncludes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\WSAStartupSingleton.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\wstring.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\XBox360Includes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\commandparser.h">
<Filter>Source Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BinarySearchTree.h">
<Filter>Source Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\defineoverrides.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\bindings\csharp\wrapper\slikenet_wrapper.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\crypto\securestring.h">
<Filter>Header Files\crypto</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\crypto\factory.h">
<Filter>Header Files\crypto</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\crypto\fileencrypter.h">
<Filter>Header Files\crypto</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\crypto\ifileencrypter.h">
<Filter>Header Files\crypto</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\crypto\cryptomanager.h">
<Filter>Header Files\crypto</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="Header Files">
<UniqueIdentifier>{b7152fd6-b3b0-4e08-9cf1-42e21ac0dbe7}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files">
<UniqueIdentifier>{88be61b6-39c1-4405-a2b0-ccf04e0917cb}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files\crypto">
<UniqueIdentifier>{238fd40d-ad94-4a7a-964c-2b4788fd2b3b}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\crypto">
<UniqueIdentifier>{24539297-9d2f-4bd0-825f-b59893184023}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>

View File

@ -0,0 +1,888 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug - Unicode|Win32">
<Configuration>Debug - Unicode</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug - Unicode|x64">
<Configuration>Debug - Unicode</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release - Unicode|Win32">
<Configuration>Release - Unicode</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release - Unicode|x64">
<Configuration>Release - Unicode</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Retail - Unicode|Win32">
<Configuration>Retail - Unicode</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Retail - Unicode|x64">
<Configuration>Retail - Unicode</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Retail|Win32">
<Configuration>Retail</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Retail|x64">
<Configuration>Retail</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{D0866C2B-11D1-400B-84BF-EA83A561B7DA}</ProjectGuid>
<RootNamespace>DLL_Swig</RootNamespace>
<Keyword>ManagedCProj</Keyword>
<ProjectName>RakNet_DLL (CSharp bindings)</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Retail|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'">$(SolutionDir)Lib\</OutDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Retail|x64'">$(SolutionDir)Lib\</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'">$(SolutionDir)Lib\</OutDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Retail|x64'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'">false</LinkIncremental>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Retail|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Retail|x64'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Retail|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'" />
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Retail|x64'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'">RakNet_DLL_$(Configuration)_$(Platform)</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">
<IntDir>RakNet_$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">
<IntDir>RakNet_$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">
<IntDir>RakNet_$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<IntDir>RakNet_$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<IntDir>RakNet_$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">
<IntDir>RakNet_$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'">
<IntDir>RakNet_$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Retail|x64'">
<IntDir>RakNet_$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'">
<IntDir>RakNet_$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<IntDir>RakNet_$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<IntDir>RakNet_$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'">
<IntDir>RakNet_$(Platform)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalOptions>/wd4835 /wd4793 /wd4996
%(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AssemblyDebug>true</AssemblyDebug>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalOptions>/wd4835 /wd4793 /wd4996
%(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AssemblyDebug>true</AssemblyDebug>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalOptions>/wd4835 /wd4793 /wd4996
%(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AssemblyDebug>true</AssemblyDebug>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug - Unicode|x64'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalOptions>/wd4835 /wd4793 /wd4996
%(AdditionalOptions)</AdditionalOptions>
<Optimization>Disabled</Optimization>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<SDLCheck>true</SDLCheck>
</ClCompile>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AssemblyDebug>true</AssemblyDebug>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<SDLCheck>true</SDLCheck>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<SDLCheck>true</SDLCheck>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Retail|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_RETAIL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<BufferSecurityCheck>false</BufferSecurityCheck>
<MinimalRebuild>true</MinimalRebuild>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|Win32'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_RETAIL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<BufferSecurityCheck>false</BufferSecurityCheck>
<MinimalRebuild>true</MinimalRebuild>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<SDLCheck>true</SDLCheck>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release - Unicode|x64'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_RELEASE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<MinimalRebuild>true</MinimalRebuild>
<SDLCheck>true</SDLCheck>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Retail|x64'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_RETAIL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<BufferSecurityCheck>false</BufferSecurityCheck>
<MinimalRebuild>true</MinimalRebuild>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Retail - Unicode|x64'">
<PreBuildEvent>
<Command>PreBuild.bat --rakNetCompatibility</Command>
</PreBuildEvent>
<ClCompile>
<AdditionalIncludeDirectories>./../../../Source/Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;RAKNET_COMPATIBILITY;_RAKNET_DLL;_RETAIL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<TreatWarningAsError>true</TreatWarningAsError>
<BufferSecurityCheck>false</BufferSecurityCheck>
<MinimalRebuild>true</MinimalRebuild>
</ClCompile>
<PreLinkEvent>
<Command>
</Command>
</PreLinkEvent>
<Link>
<AdditionalDependencies>ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<GenerateDebugInformation>true</GenerateDebugInformation>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
</Link>
<PostBuildEvent />
</ItemDefinitionGroup>
<ItemGroup>
<Reference Include="System">
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
</Reference>
<Reference Include="System.Data">
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
</Reference>
<Reference Include="System.Xml">
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
</Reference>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\wrapper\RakNet_wrap.cxx" />
<ClCompile Include="..\..\..\Source\src\_FindFirst.cpp" />
<ClCompile Include="..\..\..\Source\src\Base64Encoder.cpp" />
<ClCompile Include="..\..\..\Source\src\BitStream.cpp" />
<ClCompile Include="..\..\..\Source\src\CCRakNetSlidingWindow.cpp" />
<ClCompile Include="..\..\..\Source\src\CCRakNetUDT.cpp" />
<ClCompile Include="..\..\..\Source\src\CheckSum.cpp" />
<ClCompile Include="..\..\..\Source\src\CloudClient.cpp" />
<ClCompile Include="..\..\..\Source\src\CloudCommon.cpp" />
<ClCompile Include="..\..\..\Source\src\CloudServer.cpp" />
<ClCompile Include="..\..\..\Source\src\CommandParserInterface.cpp" />
<ClCompile Include="..\..\..\Source\src\ConnectionGraph2.cpp" />
<ClCompile Include="..\..\..\Source\src\ConsoleServer.cpp" />
<ClCompile Include="..\..\..\Source\src\DataCompressor.cpp" />
<ClCompile Include="..\..\..\Source\src\DirectoryDeltaTransfer.cpp" />
<ClCompile Include="..\..\..\Source\src\DS_BytePool.cpp" />
<ClCompile Include="..\..\..\Source\src\DS_ByteQueue.cpp" />
<ClCompile Include="..\..\..\Source\src\DS_HuffmanEncodingTree.cpp" />
<ClCompile Include="..\..\..\Source\src\DS_Table.cpp" />
<ClCompile Include="..\..\..\Source\src\DynDNS.cpp" />
<ClCompile Include="..\..\..\Source\src\EmailSender.cpp" />
<ClCompile Include="..\..\..\Source\src\EpochTimeToString.cpp" />
<ClCompile Include="..\..\..\Source\src\FileList.cpp" />
<ClCompile Include="..\..\..\Source\src\FileListTransfer.cpp" />
<ClCompile Include="..\..\..\Source\src\FileOperations.cpp" />
<ClCompile Include="..\..\..\Source\src\FormatString.cpp" />
<ClCompile Include="..\..\..\Source\src\FullyConnectedMesh2.cpp" />
<ClCompile Include="..\..\..\Source\src\Getche.cpp" />
<ClCompile Include="..\..\..\Source\src\Gets.cpp" />
<ClCompile Include="..\..\..\Source\src\GetTime.cpp" />
<ClCompile Include="..\..\..\Source\src\gettimeofday.cpp" />
<ClCompile Include="..\..\..\Source\src\GridSectorizer.cpp" />
<ClCompile Include="..\..\..\Source\src\HTTPConnection.cpp" />
<ClCompile Include="..\..\..\Source\src\HTTPConnection2.cpp" />
<ClCompile Include="..\..\..\Source\src\IncrementalReadInterface.cpp" />
<ClCompile Include="..\..\..\Source\src\Itoa.cpp" />
<ClCompile Include="..\..\..\Source\src\LinuxStrings.cpp" />
<ClCompile Include="..\..\..\Source\src\LocklessTypes.cpp" />
<ClCompile Include="..\..\..\Source\src\LogCommandParser.cpp" />
<ClCompile Include="..\..\..\Source\src\MessageFilter.cpp" />
<ClCompile Include="..\..\..\Source\src\NatPunchthroughClient.cpp" />
<ClCompile Include="..\..\..\Source\src\NatPunchthroughServer.cpp" />
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionClient.cpp" />
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionCommon.cpp" />
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionServer.cpp" />
<ClCompile Include="..\..\..\Source\src\NetworkIDManager.cpp" />
<ClCompile Include="..\..\..\Source\src\NetworkIDObject.cpp" />
<ClCompile Include="..\..\..\Source\src\PacketConsoleLogger.cpp" />
<ClCompile Include="..\..\..\Source\src\PacketFileLogger.cpp" />
<ClCompile Include="..\..\..\Source\src\PacketizedTCP.cpp" />
<ClCompile Include="..\..\..\Source\src\PacketLogger.cpp" />
<ClCompile Include="..\..\..\Source\src\PacketOutputWindowLogger.cpp" />
<ClCompile Include="..\..\..\Source\src\PluginInterface2.cpp" />
<ClCompile Include="..\..\..\Source\src\Rackspace.cpp" />
<ClCompile Include="..\..\..\Source\src\RakMemoryOverride.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetCommandParser.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_360_720.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Berkley.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_NativeClient.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_PS3_PS4.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Vita.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Windows_Linux.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Windows_Linux_360.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetStatistics.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetTransport2.cpp" />
<ClCompile Include="..\..\..\Source\src\RakNetTypes.cpp" />
<ClCompile Include="..\..\..\Source\src\RakPeer.cpp" />
<ClCompile Include="..\..\..\Source\src\RakSleep.cpp" />
<ClCompile Include="..\..\..\Source\src\RakString.cpp" />
<ClCompile Include="..\..\..\Source\src\RakThread.cpp" />
<ClCompile Include="..\..\..\Source\src\RakWString.cpp" />
<ClCompile Include="..\..\..\Source\src\Rand.cpp" />
<ClCompile Include="..\..\..\Source\src\ReadyEvent.cpp" />
<ClCompile Include="..\..\..\Source\src\RelayPlugin.cpp" />
<ClCompile Include="..\..\..\Source\src\ReliabilityLayer.cpp" />
<ClCompile Include="..\..\..\Source\src\ReplicaManager3.cpp" />
<ClCompile Include="..\..\..\Source\src\Router2.cpp" />
<ClCompile Include="..\..\..\Source\src\RPC4Plugin.cpp" />
<ClCompile Include="..\..\..\Source\src\SecureHandshake.cpp" />
<ClCompile Include="..\..\..\Source\src\SendToThread.cpp" />
<ClCompile Include="..\..\..\Source\src\DR_SHA1.cpp" />
<ClCompile Include="..\..\..\Source\src\SignaledEvent.cpp" />
<ClCompile Include="..\..\..\Source\src\SimpleMutex.cpp" />
<ClCompile Include="..\..\..\Source\src\SocketLayer.cpp" />
<ClCompile Include="..\..\..\Source\src\StatisticsHistory.cpp" />
<ClCompile Include="..\..\..\Source\src\StringCompressor.cpp" />
<ClCompile Include="..\..\..\Source\src\StringTable.cpp" />
<ClCompile Include="..\..\..\Source\src\SuperFastHash.cpp" />
<ClCompile Include="..\..\..\Source\src\TableSerializer.cpp" />
<ClCompile Include="..\..\..\Source\src\TCPInterface.cpp" />
<ClCompile Include="..\..\..\Source\src\TeamBalancer.cpp" />
<ClCompile Include="..\..\..\Source\src\TeamManager.cpp" />
<ClCompile Include="..\..\..\Source\src\TelnetTransport.cpp" />
<ClCompile Include="..\..\..\Source\src\ThreadsafePacketLogger.cpp" />
<ClCompile Include="..\..\..\Source\src\TwoWayAuthentication.cpp" />
<ClCompile Include="..\..\..\Source\src\UDPForwarder.cpp" />
<ClCompile Include="..\..\..\Source\src\UDPProxyClient.cpp" />
<ClCompile Include="..\..\..\Source\src\UDPProxyCoordinator.cpp" />
<ClCompile Include="..\..\..\Source\src\UDPProxyServer.cpp" />
<ClCompile Include="..\..\..\Source\src\VariableDeltaSerializer.cpp" />
<ClCompile Include="..\..\..\Source\src\VariableListDeltaTracker.cpp" />
<ClCompile Include="..\..\..\Source\src\VariadicSQLParser.cpp" />
<ClCompile Include="..\..\..\Source\src\VitaIncludes.cpp" />
<ClCompile Include="..\..\..\Source\src\WSAStartupSingleton.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\wrapper\RakNet_wrap.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\defineoverrides.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\_FindFirst.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\AutopatcherPatchContext.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\AutopatcherRepositoryInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Base64Encoder.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\BitStream.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CCRakNetSlidingWindow.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CCRakNetUDT.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CheckSum.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CloudClient.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CloudCommon.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CloudServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\CommandParserInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ConnectionGraph2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ConsoleServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DataCompressor.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DirectoryDeltaTransfer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BinarySearchTree.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BPlusTree.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BytePool.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_ByteQueue.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Hash.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Heap.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTree.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTreeFactory.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTreeNode.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_LinkedList.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_List.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Map.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_MemoryPool.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Multilist.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_OrderedChannelHeap.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_OrderedList.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Queue.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_QueueLinkedList.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_RangeList.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Table.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_ThreadsafeAllocatingQueue.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Tree.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DS_WeightedGraph.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DynDNS.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\EmailSender.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\EpochTimeToString.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Export.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FileList.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FileListNodeContext.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FileListTransfer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FileListTransferCBInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FileOperations.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FormatString.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\FullyConnectedMesh2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Getche.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Gets.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\GetTime.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\gettimeofday.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\GridSectorizer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\HTTPConnection.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\HTTPConnection2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\IncrementalReadInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\InternalPacket.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Itoa.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Kbhit.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\LinuxStrings.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\LocklessTypes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\LogCommandParser.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\MessageFilter.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\MessageIdentifiers.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\MTUSize.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NativeFeatureIncludes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NativeFeatureIncludesOverrides.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NativeTypes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NatPunchthroughClient.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NatPunchthroughServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionClient.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionCommon.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NetworkIDManager.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\NetworkIDObject.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketConsoleLogger.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketFileLogger.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketizedTCP.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketLogger.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketOutputWindowLogger.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketPool.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PacketPriority.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PluginInterface2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\PS3Includes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Rackspace.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\alloca.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\assert.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\memoryoverride.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\commandparser.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\defines.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\smartptr.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\socket.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\socket2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\statistics.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\time.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\transport2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\types.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\version.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\peer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\peerinterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\sleep.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\string.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\thread.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\wstring.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Rand.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ReadyEvent.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\RefCountedObj.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\RelayPlugin.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ReliabilityLayer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ReplicaEnums.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ReplicaManager3.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\Router2.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\RPC4Plugin.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SecureHandshake.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SendToThread.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\DR_SHA1.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SignaledEvent.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SimpleMutex.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SimpleTCPServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SingleProducerConsumer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SocketDefines.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SocketIncludes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SocketLayer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\StatisticsHistory.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\StringCompressor.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\StringTable.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\SuperFastHash.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TableSerializer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TCPInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TeamBalancer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TeamManager.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TelnetTransport.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ThreadPool.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\ThreadsafePacketLogger.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TransportInterface.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\TwoWayAuthentication.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\UDPForwarder.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyClient.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyCommon.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyCoordinator.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyServer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\VariableDeltaSerializer.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\VariableListDeltaTracker.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\VariadicSQLParser.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\VitaIncludes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\WindowsIncludes.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\WSAStartupSingleton.h" />
<ClInclude Include="..\..\..\Source\include\slikenet\XBox360Includes.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,789 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\..\..\Source\src\VariadicSQLParser.cpp">
<Filter>Header Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\_FindFirst.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\WSAStartupSingleton.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Base64Encoder.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\BitStream.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CCRakNetSlidingWindow.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CCRakNetUDT.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CheckSum.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CloudClient.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CloudCommon.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CloudServer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\CommandParserInterface.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ConnectionGraph2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ConsoleServer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DataCompressor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DirectoryDeltaTransfer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DR_SHA1.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DS_BytePool.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DS_ByteQueue.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DS_HuffmanEncodingTree.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DS_Table.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\DynDNS.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\EmailSender.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\EpochTimeToString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\FileList.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\FileListTransfer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\FileOperations.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\FormatString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\FullyConnectedMesh2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Getche.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Gets.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\GetTime.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\gettimeofday.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\GridSectorizer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\HTTPConnection.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\HTTPConnection2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\IncrementalReadInterface.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Itoa.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\LinuxStrings.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\LocklessTypes.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\LogCommandParser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\MessageFilter.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NatPunchthroughClient.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NatPunchthroughServer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionClient.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionCommon.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NatTypeDetectionServer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NetworkIDManager.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\NetworkIDObject.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PacketConsoleLogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PacketFileLogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PacketizedTCP.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PacketLogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PacketOutputWindowLogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\PluginInterface2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Rackspace.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakMemoryOverride.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetCommandParser.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_360_720.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Berkley.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_NativeClient.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_PS3_PS4.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Vita.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Windows_Linux.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetSocket2_Windows_Linux_360.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetStatistics.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetTransport2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakNetTypes.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakPeer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakSleep.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakThread.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RakWString.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Rand.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ReadyEvent.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RelayPlugin.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ReliabilityLayer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ReplicaManager3.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\Router2.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\RPC4Plugin.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SecureHandshake.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SendToThread.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SignaledEvent.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SimpleMutex.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SocketLayer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\StatisticsHistory.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\StringCompressor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\StringTable.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\SuperFastHash.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TableSerializer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TCPInterface.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TeamBalancer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TeamManager.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TelnetTransport.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\ThreadsafePacketLogger.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\TwoWayAuthentication.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\UDPForwarder.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\UDPProxyClient.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\UDPProxyCoordinator.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\UDPProxyServer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\VariableDeltaSerializer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\VariableListDeltaTracker.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\Source\src\VitaIncludes.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\wrapper\RakNet_wrap.cxx">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\Source\include\slikenet\_FindFirst.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\alloca.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\assert.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\AutopatcherPatchContext.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\AutopatcherRepositoryInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Base64Encoder.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\BitStream.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CCRakNetSlidingWindow.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CCRakNetUDT.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CheckSum.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CloudClient.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CloudCommon.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CloudServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\commandparser.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\CommandParserInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ConnectionGraph2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ConsoleServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DataCompressor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\defines.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DirectoryDeltaTransfer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DR_SHA1.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BinarySearchTree.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BPlusTree.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_BytePool.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_ByteQueue.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Hash.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Heap.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTree.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTreeNode.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_HuffmanEncodingTreeFactory.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_RangeList.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_LinkedList.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_List.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Map.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_MemoryPool.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Multilist.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_OrderedChannelHeap.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_OrderedList.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Queue.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_QueueLinkedList.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Table.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_ThreadsafeAllocatingQueue.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_Tree.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DS_WeightedGraph.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\DynDNS.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\EmailSender.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\EpochTimeToString.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Export.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FileList.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FileListNodeContext.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FileListTransfer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FileListTransferCBInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FileOperations.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FormatString.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\FullyConnectedMesh2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Getche.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Gets.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\GetTime.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\gettimeofday.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\GridSectorizer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\HTTPConnection.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\HTTPConnection2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\IncrementalReadInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\InternalPacket.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Itoa.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Kbhit.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\LinuxStrings.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\LocklessTypes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\LogCommandParser.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\memoryoverride.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\MessageFilter.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\MessageIdentifiers.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\MTUSize.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NativeFeatureIncludes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NativeFeatureIncludesOverrides.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NativeTypes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NatPunchthroughClient.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NatPunchthroughServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionClient.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionCommon.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NatTypeDetectionServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NetworkIDManager.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\NetworkIDObject.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketConsoleLogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketFileLogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketizedTCP.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketLogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketOutputWindowLogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketPool.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PacketPriority.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\peer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\peerinterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PluginInterface2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\PS3Includes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Rackspace.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Rand.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ReadyEvent.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\RefCountedObj.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\RelayPlugin.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ReliabilityLayer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ReplicaEnums.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ReplicaManager3.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\Router2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\RPC4Plugin.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SecureHandshake.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SendToThread.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SignaledEvent.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SimpleMutex.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SimpleTCPServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SingleProducerConsumer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\sleep.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\smartptr.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\socket.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\socket2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SocketDefines.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SocketIncludes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SocketLayer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\statistics.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\StatisticsHistory.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\string.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\StringCompressor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\StringTable.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\SuperFastHash.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TableSerializer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TCPInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TeamBalancer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TeamManager.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TelnetTransport.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\thread.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ThreadPool.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\ThreadsafePacketLogger.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\time.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\transport2.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TransportInterface.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\TwoWayAuthentication.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\types.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\UDPForwarder.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyClient.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyCommon.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyCoordinator.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\UDPProxyServer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\VariableDeltaSerializer.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\VariableListDeltaTracker.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\VariadicSQLParser.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\version.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\VitaIncludes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\WindowsIncludes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\WSAStartupSingleton.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\wstring.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\XBox360Includes.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\Source\include\slikenet\defineoverrides.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\..\bindings\raknet_backwards_compatibility\csharp\wrapper\RakNet_wrap.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{e7b91de7-0895-44bc-bca7-916b5be3b56d}</UniqueIdentifier>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{6acd2779-7a04-4b31-b2d2-64feb5615d60}</UniqueIdentifier>
</Filter>
</ItemGroup>
</Project>

View File

@ -0,0 +1,14 @@
REM This file was taken from RakNet 4.082 without any modifications.
REM Please see licenses/RakNet license.txt for the underlying license and related copyright.
IF EXIST "./InternalSwigWindowsCSharpSample\InternalSwigTestApp\bin" GOTO SKIPMAKEBIN
mkdir "./InternalSwigWindowsCSharpSample\InternalSwigTestApp\bin"
:SKIPMAKEBIN
IF EXIST "./InternalSwigWindowsCSharpSample\InternalSwigTestApp\bin\X86" GOTO SKIPMAKEX86
mkdir "./InternalSwigWindowsCSharpSample\InternalSwigTestApp\bin\X86"
:SKIPMAKEX86
IF EXIST "./InternalSwigWindowsCSharpSample\InternalSwigTestApp\bin\X86\%1" GOTO SKIPMAKEOUTDIR
mkdir "./InternalSwigWindowsCSharpSample\InternalSwigTestApp\bin\X86\%1"
:SKIPMAKEOUTDIR
copy /Y "../DLL_Swig\%1\RakNet.dll" "./InternalSwigWindowsCSharpSample\InternalSwigTestApp\bin\X86\%1\RakNet.dll"
copy /Y "../SwigOutput\SwigCSharpOutput\*.cs" "./InternalSwigWindowsCSharpSample\InternalSwigTestApp\SwigFiles\"

View File

@ -0,0 +1,29 @@
@echo off
REM This file was taken from RakNet 4.082 without any modifications.
REM Please see licenses/RakNet license.txt for the underlying license and related copyright.
if "%1"=="" goto :SKIPSETPATH
set swigPath=%1
if "%swigPath:~-1%" NEQ "\" goto :SKIPREMOVESLASH
set swigPath=%swigPath:~0,-1%
:SKIPREMOVESLASH
set PATH=%PATH%;%swigPath%
:SKIPSETPATH
if "%VS80COMNTOOLS%"=="" goto :DONTUSEVS8
set toolDir=%VS80COMNTOOLS%
goto :ENDFINDTOOLS
:DONTUSEVS8
if "%VS90COMNTOOLS%"=="" goto :DONTUSEVS9
set toolDir=%VS90COMNTOOLS%
goto :ENDFINDTOOLS
:DONTUSEVS9
:ENDFINDTOOLS
call "%toolDir%\vsvars32.bat"
"%DevEnvDir%\devenv" /rebuild Debug "../DLL_Swig/RakNet.sln" /project RakNet
call CopyFilesToInternalProject.bat Debug
"%DevEnvDir%\devenv" /rebuild Release "../DLL_Swig/RakNet.sln" /project RakNet
call CopyFilesToInternalProject.bat Release

View File

@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "InternalSwigTestApp", "InternalSwigTestApp\InternalSwigTestApp.csproj", "{D5413F9B-65A2-47AA-A0B1-E0FA9A036AC1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x86 = Debug|x86
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D5413F9B-65A2-47AA-A0B1-E0FA9A036AC1}.Debug|x86.ActiveCfg = Debug|x86
{D5413F9B-65A2-47AA-A0B1-E0FA9A036AC1}.Debug|x86.Build.0 = Debug|x86
{D5413F9B-65A2-47AA-A0B1-E0FA9A036AC1}.Release|x86.ActiveCfg = Release|x86
{D5413F9B-65A2-47AA-A0B1-E0FA9A036AC1}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,17 @@
/*
* This file was taken from RakNet 4.082 without any modifications.
* Please see licenses/RakNet license.txt for the underlying license and related copyright.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RakNet;
namespace InternalSwigTestApp
{
public class FileListTransferCB : FileListTransferCBInterface
{
}
}

View File

@ -0,0 +1,17 @@
/*
* This file was taken from RakNet 4.082 without any modifications.
* Please see licenses/RakNet license.txt for the underlying license and related copyright.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RakNet;
namespace InternalSwigTestApp
{
public class TestNetworkIDObjectSubClass : NetworkIDObject
{
}
}

View File

@ -0,0 +1,17 @@
/*
* This file was taken from RakNet 4.082 without any modifications.
* Please see licenses/RakNet license.txt for the underlying license and related copyright.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RakNet;
namespace InternalSwigTestApp
{
public class UDPProxyClientResultHandlerCB : UDPProxyClientResultHandler
{
}
}

View File

@ -0,0 +1,17 @@
/*
* This file was taken from RakNet 4.082 without any modifications.
* Please see licenses/RakNet license.txt for the underlying license and related copyright.
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RakNet;
namespace InternalSwigTestApp
{
public class UDPProxyServerResultHandlerCB : UDPProxyServerResultHandler
{
}
}

View File

@ -0,0 +1,189 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{D5413F9B-65A2-47AA-A0B1-E0FA9A036AC1}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>InternalSwigTestApp</RootNamespace>
<AssemblyName>InternalSwigTestApp</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<FileUpgradeFlags>
</FileUpgradeFlags>
<OldToolsVersion>3.5</OldToolsVersion>
<UpgradeBackupLocation />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\x86\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<OutputPath>bin\x86\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="CallBacksAndSubclasses\FileListTransferCB.cs" />
<Compile Include="CallBacksAndSubclasses\TestNetworkIDObjectSubClass.cs" />
<Compile Include="CallBacksAndSubclasses\UDPProxyClientResultHandlerCB.cs" />
<Compile Include="CallBacksAndSubclasses\UDPProxyServerResultHandlerCB.cs" />
<Compile Include="SwigFiles\AddressOrGUID.cs" />
<Compile Include="SwigFiles\BitStream.cs" />
<Compile Include="SwigFiles\ByteQueue.cs" />
<Compile Include="SwigFiles\Cell.cs" />
<Compile Include="SwigFiles\ColumnDescriptor.cs" />
<Compile Include="SwigFiles\CommandParserInterface.cs" />
<Compile Include="SwigFiles\ConnectionAttemptResult.cs" />
<Compile Include="SwigFiles\ConnectionGraph2.cs" />
<Compile Include="SwigFiles\ConnectionState.cs" />
<Compile Include="SwigFiles\DefaultMessageIDTypes.cs" />
<Compile Include="SwigFiles\DirectoryDeltaTransfer.cs" />
<Compile Include="SwigFiles\FileList.cs" />
<Compile Include="SwigFiles\FileListNode.cs" />
<Compile Include="SwigFiles\FileListNodeContext.cs" />
<Compile Include="SwigFiles\FileListProgress.cs" />
<Compile Include="SwigFiles\FileListTransfer.cs" />
<Compile Include="SwigFiles\FileListTransferCBInterface.cs" />
<Compile Include="SwigFiles\FileProgressStruct.cs" />
<Compile Include="SwigFiles\FilterQuery.cs" />
<Compile Include="SwigFiles\FLP_Printf.cs" />
<Compile Include="SwigFiles\FullyConnectedMesh2.cs" />
<Compile Include="SwigFiles\IncrementalReadInterface.cs" />
<Compile Include="SwigFiles\LogCommandParser.cs" />
<Compile Include="SwigFiles\MessageFilter.cs" />
<Compile Include="SwigFiles\MultilistType.cs" />
<Compile Include="SwigFiles\NatPunchthroughClient.cs" />
<Compile Include="SwigFiles\NatPunchthroughDebugInterface.cs" />
<Compile Include="SwigFiles\NatPunchthroughDebugInterface_PacketLogger.cs" />
<Compile Include="SwigFiles\NatPunchthroughDebugInterface_Printf.cs" />
<Compile Include="SwigFiles\NatPunchthroughServer.cs" />
<Compile Include="SwigFiles\NatPunchthroughServerDebugInterface.cs" />
<Compile Include="SwigFiles\NatPunchthroughServerDebugInterface_PacketLogger.cs" />
<Compile Include="SwigFiles\NatPunchthroughServerDebugInterface_Printf.cs" />
<Compile Include="SwigFiles\NatTypeDetectionClient.cs" />
<Compile Include="SwigFiles\NatTypeDetectionServer.cs" />
<Compile Include="SwigFiles\NetworkIDManager.cs" />
<Compile Include="SwigFiles\NetworkIDObject.cs" />
<Compile Include="SwigFiles\OnFileStruct.cs" />
<Compile Include="SwigFiles\OutOfBandIdentifiers.cs" />
<Compile Include="SwigFiles\Packet.cs" />
<Compile Include="SwigFiles\PacketConsoleLogger.cs" />
<Compile Include="SwigFiles\PacketFileLogger.cs" />
<Compile Include="SwigFiles\PacketLogger.cs" />
<Compile Include="SwigFiles\PacketPriority.cs" />
<Compile Include="SwigFiles\PacketReliability.cs" />
<Compile Include="SwigFiles\PluginInterface2.cs" />
<Compile Include="SwigFiles\PluginReceiveResult.cs" />
<Compile Include="SwigFiles\PublicKey.cs" />
<Compile Include="SwigFiles\PublicKeyMode.cs" />
<Compile Include="SwigFiles\PunchthroughConfiguration.cs" />
<Compile Include="SwigFiles\RakNet.cs" />
<Compile Include="SwigFiles\RakNetBPlusTreeRow.cs" />
<Compile Include="SwigFiles\RakNetGUID.cs" />
<Compile Include="SwigFiles\RakNetListCell.cs" />
<Compile Include="SwigFiles\RakNetListCellPointer.cs" />
<Compile Include="SwigFiles\RakNetListColumnDescriptor.cs" />
<Compile Include="SwigFiles\RakNetListFileListNode.cs" />
<Compile Include="SwigFiles\RakNetListFilterQuery.cs" />
<Compile Include="SwigFiles\RakNetListRakNetGUID.cs" />
<Compile Include="SwigFiles\RakNetListSortQuery.cs" />
<Compile Include="SwigFiles\RakNetListSystemAddress.cs" />
<Compile Include="SwigFiles\RakNetListTableRow.cs" />
<Compile Include="SwigFiles\RakNetListUnsignedInt.cs" />
<Compile Include="SwigFiles\RakNetListUnsignedShort.cs" />
<Compile Include="SwigFiles\RakNetPageRow.cs" />
<Compile Include="SwigFiles\RakNetPINVOKE.cs" />
<Compile Include="SwigFiles\RakNetSocket.cs" />
<Compile Include="SwigFiles\RakNetStatistics.cs" />
<Compile Include="SwigFiles\RakPeer.cs" />
<Compile Include="SwigFiles\RakPeerInterface.cs" />
<Compile Include="SwigFiles\RakString.cs" />
<Compile Include="SwigFiles\ReadyEvent.cs" />
<Compile Include="SwigFiles\ReadyEventSystemStatus.cs" />
<Compile Include="SwigFiles\RemoteSystemIndex.cs" />
<Compile Include="SwigFiles\RNSPerSecondMetrics.cs" />
<Compile Include="SwigFiles\Router2.cs" />
<Compile Include="SwigFiles\Router2DebugInterface.cs" />
<Compile Include="SwigFiles\Row.cs" />
<Compile Include="SwigFiles\SimpleMutex.cs" />
<Compile Include="SwigFiles\SocketDescriptor.cs" />
<Compile Include="SwigFiles\SortQuery.cs" />
<Compile Include="SwigFiles\StartupResult.cs" />
<Compile Include="SwigFiles\SWIGTYPE_p_double.cs" />
<Compile Include="SwigFiles\SWIGTYPE_p_unsigned_char.cs" />
<Compile Include="SwigFiles\SWIGTYPE_p_unsigned_int.cs" />
<Compile Include="SwigFiles\SWIGTYPE_p_unsigned_long_long.cs" />
<Compile Include="SwigFiles\SWIGTYPE_p_unsigned_short.cs" />
<Compile Include="SwigFiles\SystemAddress.cs" />
<Compile Include="SwigFiles\Table.cs" />
<Compile Include="SwigFiles\TeamBalancer.cs" />
<Compile Include="SwigFiles\ThreadsafePacketLogger.cs" />
<Compile Include="SwigFiles\TransportInterface.cs" />
<Compile Include="SwigFiles\UDPForwarder.cs" />
<Compile Include="SwigFiles\UDPForwarderResult.cs" />
<Compile Include="SwigFiles\UDPProxyClient.cs" />
<Compile Include="SwigFiles\UDPProxyClientResultHandler.cs" />
<Compile Include="SwigFiles\UDPProxyCoordinator.cs" />
<Compile Include="SwigFiles\UDPProxyServer.cs" />
<Compile Include="SwigFiles\UDPProxyServerResultHandler.cs" />
<Compile Include="SwigFiles\uint24_t.cs" />
<Compile Include="SwigFiles\UnsignedIntPointer.cs" />
<Compile Include="SwigFiles\UnsignedShortPointer.cs" />
<Compile Include="TestMain.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@ -0,0 +1,41 @@
/*
* This file was taken from RakNet 4.082 without any modifications.
* Please see licenses/RakNet license.txt for the underlying license and related copyright.
*/
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ConsoleApplication2")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ConsoleApplication2")]
[assembly: AssemblyCopyright("Copyright © 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("bfa4bffa-dd43-4e1f-ac92-e157a81e7fa1")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -0,0 +1,147 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class AddressOrGUID : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal AddressOrGUID(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(AddressOrGUID obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~AddressOrGUID() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_AddressOrGUID(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public static implicit operator AddressOrGUID(SystemAddress systemAddress)
{
return new AddressOrGUID(systemAddress);
}
public static implicit operator AddressOrGUID(RakNetGUID guid)
{
return new AddressOrGUID(guid);
}
public RakNetGUID rakNetGuid {
set {
RakNetPINVOKE.AddressOrGUID_rakNetGuid_set(swigCPtr, RakNetGUID.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.AddressOrGUID_rakNetGuid_get(swigCPtr);
RakNetGUID ret = (cPtr == IntPtr.Zero) ? null : new RakNetGUID(cPtr, false);
return ret;
}
}
public SystemAddress systemAddress {
set {
RakNetPINVOKE.AddressOrGUID_systemAddress_set(swigCPtr, SystemAddress.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.AddressOrGUID_systemAddress_get(swigCPtr);
SystemAddress ret = (cPtr == IntPtr.Zero) ? null : new SystemAddress(cPtr, false);
return ret;
}
}
public ushort GetSystemIndex() {
ushort ret = RakNetPINVOKE.AddressOrGUID_GetSystemIndex(swigCPtr);
return ret;
}
public bool IsUndefined() {
bool ret = RakNetPINVOKE.AddressOrGUID_IsUndefined(swigCPtr);
return ret;
}
public void SetUndefined() {
RakNetPINVOKE.AddressOrGUID_SetUndefined(swigCPtr);
}
public static uint ToInteger(AddressOrGUID aog) {
uint ret = RakNetPINVOKE.AddressOrGUID_ToInteger(AddressOrGUID.getCPtr(aog));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public string ToString(bool writePort) {
string ret = RakNetPINVOKE.AddressOrGUID_ToString(swigCPtr, writePort);
return ret;
}
public AddressOrGUID() : this(RakNetPINVOKE.new_AddressOrGUID__SWIG_0(), true) {
}
public AddressOrGUID(AddressOrGUID input) : this(RakNetPINVOKE.new_AddressOrGUID__SWIG_1(AddressOrGUID.getCPtr(input)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public AddressOrGUID(SystemAddress input) : this(RakNetPINVOKE.new_AddressOrGUID__SWIG_2(SystemAddress.getCPtr(input)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public AddressOrGUID(Packet packet) : this(RakNetPINVOKE.new_AddressOrGUID__SWIG_3(Packet.getCPtr(packet)), true) {
}
public AddressOrGUID(RakNetGUID input) : this(RakNetPINVOKE.new_AddressOrGUID__SWIG_4(RakNetGUID.getCPtr(input)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public AddressOrGUID CopyData(AddressOrGUID input) {
AddressOrGUID ret = new AddressOrGUID(RakNetPINVOKE.AddressOrGUID_CopyData__SWIG_0(swigCPtr, AddressOrGUID.getCPtr(input)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public AddressOrGUID CopyData(SystemAddress input) {
AddressOrGUID ret = new AddressOrGUID(RakNetPINVOKE.AddressOrGUID_CopyData__SWIG_1(swigCPtr, SystemAddress.getCPtr(input)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public AddressOrGUID CopyData(RakNetGUID input) {
AddressOrGUID ret = new AddressOrGUID(RakNetPINVOKE.AddressOrGUID_CopyData__SWIG_2(swigCPtr, RakNetGUID.getCPtr(input)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public bool Equals(AddressOrGUID right) {
bool ret = RakNetPINVOKE.AddressOrGUID_Equals(swigCPtr, AddressOrGUID.getCPtr(right));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
}
}

View File

@ -0,0 +1,98 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class ByteQueue : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal ByteQueue(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(ByteQueue obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~ByteQueue() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_ByteQueue(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public byte[] PeekContiguousBytes(out uint outLength)
{
return PeekContiguousBytesHelper(out outLength);
}
public ByteQueue() : this(RakNetPINVOKE.new_ByteQueue(), true) {
}
public uint GetBytesWritten() {
uint ret = RakNetPINVOKE.ByteQueue_GetBytesWritten(swigCPtr);
return ret;
}
public void IncrementReadOffset(uint length) {
RakNetPINVOKE.ByteQueue_IncrementReadOffset(swigCPtr, length);
}
public void DecrementReadOffset(uint length) {
RakNetPINVOKE.ByteQueue_DecrementReadOffset(swigCPtr, length);
}
public void Clear(string file, uint line) {
RakNetPINVOKE.ByteQueue_Clear(swigCPtr, file, line);
}
public void Print() {
RakNetPINVOKE.ByteQueue_Print(swigCPtr);
}
public void WriteBytes(byte[] inByteArray, uint length, string file, uint line) {
RakNetPINVOKE.ByteQueue_WriteBytes(swigCPtr, inByteArray, length, file, line);
}
public bool ReadBytes(byte[] inOutByteArray, uint maxLengthToRead, bool peek) {
bool ret = RakNetPINVOKE.ByteQueue_ReadBytes(swigCPtr, inOutByteArray, maxLengthToRead, peek);
return ret;
}
private byte[] PeekContiguousBytesHelper(out uint outLength)
{
IntPtr cPtr = RakNetPINVOKE.ByteQueue_PeekContiguousBytesHelper(swigCPtr, out outLength);
int len = (int)outLength;
if (len <= 0)
{
return null;
}
byte[] returnBytes = new byte[len];
Marshal.Copy(cPtr, returnBytes, 0, len);
return returnBytes;
}
}
}

View File

@ -0,0 +1,136 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class Cell : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal Cell(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(Cell obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~Cell() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_Cell(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public void Get(out string output)
{
string temp=new String('c', (int) this.i);
output=GetHelper(temp);
}
public Cell() : this(RakNetPINVOKE.new_Cell__SWIG_0(), true) {
}
public void Clear() {
RakNetPINVOKE.Cell_Clear(swigCPtr);
}
public void Set(int input) {
RakNetPINVOKE.Cell_Set__SWIG_0(swigCPtr, input);
}
public void Set(uint input) {
RakNetPINVOKE.Cell_Set__SWIG_1(swigCPtr, input);
}
public void Set(double input) {
RakNetPINVOKE.Cell_Set__SWIG_2(swigCPtr, input);
}
public void Set(string input) {
RakNetPINVOKE.Cell_Set__SWIG_3(swigCPtr, input);
}
public void Get(out int output) {
RakNetPINVOKE.Cell_Get__SWIG_0(swigCPtr, out output);
}
public void Get(out double output) {
RakNetPINVOKE.Cell_Get__SWIG_1(swigCPtr, out output);
}
public RakString ToString(Table.ColumnType columnType) {
RakString ret = new RakString(RakNetPINVOKE.Cell_ToString(swigCPtr, (int)columnType), true);
return ret;
}
public Cell CopyData(Cell input) {
Cell ret = new Cell(RakNetPINVOKE.Cell_CopyData(swigCPtr, Cell.getCPtr(input)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public Cell(Cell input) : this(RakNetPINVOKE.new_Cell__SWIG_1(Cell.getCPtr(input)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public Table.ColumnType EstimateColumnType() {
Table.ColumnType ret = (Table.ColumnType)RakNetPINVOKE.Cell_EstimateColumnType(swigCPtr);
return ret;
}
public bool isEmpty {
set {
RakNetPINVOKE.Cell_isEmpty_set(swigCPtr, value);
}
get {
bool ret = RakNetPINVOKE.Cell_isEmpty_get(swigCPtr);
return ret;
}
}
public double i {
set {
RakNetPINVOKE.Cell_i_set(swigCPtr, value);
}
get {
double ret = RakNetPINVOKE.Cell_i_get(swigCPtr);
return ret;
}
}
public void Set(byte[] inByteArray, int inputLength) {
RakNetPINVOKE.Cell_Set__SWIG_4(swigCPtr, inByteArray, inputLength);
}
public void Get(byte[] inOutByteArray, out int outputLength) {
RakNetPINVOKE.Cell_Get__SWIG_2(swigCPtr, inOutByteArray, out outputLength);
}
private string GetHelper(string output) {
string ret = RakNetPINVOKE.Cell_GetHelper(swigCPtr, output);
return ret;
}
}
}

View File

@ -0,0 +1,72 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class ColumnDescriptor : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal ColumnDescriptor(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(ColumnDescriptor obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~ColumnDescriptor() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_ColumnDescriptor(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public ColumnDescriptor() : this(RakNetPINVOKE.new_ColumnDescriptor__SWIG_0(), true) {
}
public ColumnDescriptor(string cn, Table.ColumnType ct) : this(RakNetPINVOKE.new_ColumnDescriptor__SWIG_1(cn, (int)ct), true) {
}
public string columnName {
set {
RakNetPINVOKE.ColumnDescriptor_columnName_set(swigCPtr, value);
}
get {
string ret = RakNetPINVOKE.ColumnDescriptor_columnName_get(swigCPtr);
return ret;
}
}
public Table.ColumnType columnType {
set {
RakNetPINVOKE.ColumnDescriptor_columnType_set(swigCPtr, (int)value);
}
get {
Table.ColumnType ret = (Table.ColumnType)RakNetPINVOKE.ColumnDescriptor_columnType_get(swigCPtr);
return ret;
}
}
}
}

View File

@ -0,0 +1,117 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class CommandParserInterface : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal CommandParserInterface(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(CommandParserInterface obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~CommandParserInterface() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_CommandParserInterface(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public virtual string GetName() {
string ret = RakNetPINVOKE.CommandParserInterface_GetName(swigCPtr);
return ret;
}
public virtual void OnNewIncomingConnection(SystemAddress systemAddress, TransportInterface transport) {
RakNetPINVOKE.CommandParserInterface_OnNewIncomingConnection(swigCPtr, SystemAddress.getCPtr(systemAddress), TransportInterface.getCPtr(transport));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void OnConnectionLost(SystemAddress systemAddress, TransportInterface transport) {
RakNetPINVOKE.CommandParserInterface_OnConnectionLost(swigCPtr, SystemAddress.getCPtr(systemAddress), TransportInterface.getCPtr(transport));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void SendHelp(TransportInterface transport, SystemAddress systemAddress) {
RakNetPINVOKE.CommandParserInterface_SendHelp(swigCPtr, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual bool OnCommand(string command, uint numParameters, string[] parameterList, TransportInterface transport, SystemAddress systemAddress, string originalString) {
bool ret = RakNetPINVOKE.CommandParserInterface_OnCommand(swigCPtr, command, numParameters, parameterList, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress), originalString);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual void OnTransportChange(TransportInterface transport) {
RakNetPINVOKE.CommandParserInterface_OnTransportChange(swigCPtr, TransportInterface.getCPtr(transport));
}
public virtual void SendCommandList(TransportInterface transport, SystemAddress systemAddress) {
RakNetPINVOKE.CommandParserInterface_SendCommandList(swigCPtr, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public static byte VARIABLE_NUMBER_OF_PARAMETERS {
get {
byte ret = RakNetPINVOKE.CommandParserInterface_VARIABLE_NUMBER_OF_PARAMETERS_get();
return ret;
}
}
public virtual void RegisterCommand(byte parameterCount, string command, string commandHelp) {
RakNetPINVOKE.CommandParserInterface_RegisterCommand(swigCPtr, parameterCount, command, commandHelp);
}
public virtual void ReturnResult(bool res, string command, TransportInterface transport, SystemAddress systemAddress) {
RakNetPINVOKE.CommandParserInterface_ReturnResult__SWIG_0(swigCPtr, res, command, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void ReturnResult(string res, string command, TransportInterface transport, SystemAddress systemAddress) {
RakNetPINVOKE.CommandParserInterface_ReturnResult__SWIG_1(swigCPtr, res, command, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void ReturnResult(SystemAddress res, string command, TransportInterface transport, SystemAddress systemAddress) {
RakNetPINVOKE.CommandParserInterface_ReturnResult__SWIG_2(swigCPtr, SystemAddress.getCPtr(res), command, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void ReturnResult(int res, string command, TransportInterface transport, SystemAddress systemAddress) {
RakNetPINVOKE.CommandParserInterface_ReturnResult__SWIG_3(swigCPtr, res, command, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void ReturnResult(string command, TransportInterface transport, SystemAddress systemAddress) {
RakNetPINVOKE.CommandParserInterface_ReturnResult__SWIG_4(swigCPtr, command, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
}
}

View File

@ -0,0 +1,20 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
public enum ConnectionAttemptResult {
CONNECTION_ATTEMPT_STARTED,
INVALID_PARAMETER,
CANNOT_RESOLVE_DOMAIN_NAME,
ALREADY_CONNECTED_TO_ENDPOINT,
CONNECTION_ATTEMPT_ALREADY_IN_PROGRESS,
SECURITY_INITIALIZATION_FAILED
}
}

View File

@ -0,0 +1,141 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class ConnectionGraph2 : PluginInterface2 {
private HandleRef swigCPtr;
internal ConnectionGraph2(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.ConnectionGraph2_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(ConnectionGraph2 obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~ConnectionGraph2() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_ConnectionGraph2(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public bool GetConnectionListForRemoteSystem(RakNetGUID remoteSystemGuid, SystemAddress[] saOut, RakNetGUID[] guidOut, ref uint inOutLength)
{
uint minLength = inOutLength;
if (guidOut.Length < minLength)
{ minLength = (uint)guidOut.Length; }
if (saOut.Length < minLength)
{ minLength = (uint)saOut.Length; }
RakNetListRakNetGUID passListGUID = new RakNetListRakNetGUID();
RakNetListSystemAddress passListSystemAddress = new RakNetListSystemAddress();
bool returnVal = GetConnectionListForRemoteSystemHelper(remoteSystemGuid, passListSystemAddress, passListGUID, ref inOutLength);
if (inOutLength< minLength)
{ minLength = (uint)inOutLength;}
for (int i = 0; i < minLength; i++)
{
guidOut[i] = passListGUID[i];
saOut[i] = passListSystemAddress[i];
}
return returnVal;
}
public void GetParticipantList(RakNetGUID[] participantList)
{
RakNetListRakNetGUID passListGUID = new RakNetListRakNetGUID();
GetParticipantListHelper(passListGUID);
for (int i = 0; i < participantList.Length && i < passListGUID.Size(); i++)
{
participantList[i] = passListGUID[i];
}
}
public static ConnectionGraph2 GetInstance() {
IntPtr cPtr = RakNetPINVOKE.ConnectionGraph2_GetInstance();
ConnectionGraph2 ret = (cPtr == IntPtr.Zero) ? null : new ConnectionGraph2(cPtr, false);
return ret;
}
public static void DestroyInstance(ConnectionGraph2 i) {
RakNetPINVOKE.ConnectionGraph2_DestroyInstance(ConnectionGraph2.getCPtr(i));
}
public ConnectionGraph2() : this(RakNetPINVOKE.new_ConnectionGraph2(), true) {
}
public bool GetConnectionListForRemoteSystem(RakNetGUID remoteSystemGuid, SystemAddress saOut, RakNetGUID guidOut, out uint outLength) {
bool ret = RakNetPINVOKE.ConnectionGraph2_GetConnectionListForRemoteSystem(swigCPtr, RakNetGUID.getCPtr(remoteSystemGuid), SystemAddress.getCPtr(saOut), RakNetGUID.getCPtr(guidOut), out outLength);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public bool ConnectionExists(RakNetGUID g1, RakNetGUID g2) {
bool ret = RakNetPINVOKE.ConnectionGraph2_ConnectionExists(swigCPtr, RakNetGUID.getCPtr(g1), RakNetGUID.getCPtr(g2));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public ushort GetPingBetweenSystems(RakNetGUID g1, RakNetGUID g2) {
ushort ret = RakNetPINVOKE.ConnectionGraph2_GetPingBetweenSystems(swigCPtr, RakNetGUID.getCPtr(g1), RakNetGUID.getCPtr(g2));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public RakNetGUID GetLowestAveragePingSystem() {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.ConnectionGraph2_GetLowestAveragePingSystem(swigCPtr), true);
return ret;
}
public void SetAutoProcessNewConnections(bool b) {
RakNetPINVOKE.ConnectionGraph2_SetAutoProcessNewConnections(swigCPtr, b);
}
public bool GetAutoProcessNewConnections() {
bool ret = RakNetPINVOKE.ConnectionGraph2_GetAutoProcessNewConnections(swigCPtr);
return ret;
}
public void AddParticipant(SystemAddress systemAddress, RakNetGUID rakNetGUID) {
RakNetPINVOKE.ConnectionGraph2_AddParticipant(swigCPtr, SystemAddress.getCPtr(systemAddress), RakNetGUID.getCPtr(rakNetGUID));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
private bool GetConnectionListForRemoteSystemHelper(RakNetGUID remoteSystemGuid, RakNetListSystemAddress saOut, RakNetListRakNetGUID guidOut, ref uint inOutLength) {
bool ret = RakNetPINVOKE.ConnectionGraph2_GetConnectionListForRemoteSystemHelper(swigCPtr, RakNetGUID.getCPtr(remoteSystemGuid), RakNetListSystemAddress.getCPtr(saOut), RakNetListRakNetGUID.getCPtr(guidOut), ref inOutLength);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private void GetParticipantListHelper(RakNetListRakNetGUID guidOut) {
RakNetPINVOKE.ConnectionGraph2_GetParticipantListHelper(swigCPtr, RakNetListRakNetGUID.getCPtr(guidOut));
}
}
}

View File

@ -0,0 +1,21 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
public enum ConnectionState {
IS_PENDING,
IS_CONNECTING,
IS_CONNECTED,
IS_DISCONNECTING,
IS_SILENTLY_DISCONNECTING,
IS_DISCONNECTED,
IS_NOT_CONNECTED
}
}

View File

@ -0,0 +1,145 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
public enum DefaultMessageIDTypes {
ID_CONNECTED_PING,
ID_UNCONNECTED_PING,
ID_UNCONNECTED_PING_OPEN_CONNECTIONS,
ID_CONNECTED_PONG,
ID_DETECT_LOST_CONNECTIONS,
ID_OPEN_CONNECTION_REQUEST_1,
ID_OPEN_CONNECTION_REPLY_1,
ID_OPEN_CONNECTION_REQUEST_2,
ID_OPEN_CONNECTION_REPLY_2,
ID_CONNECTION_REQUEST,
ID_REMOTE_SYSTEM_REQUIRES_PUBLIC_KEY,
ID_OUR_SYSTEM_REQUIRES_SECURITY,
ID_PUBLIC_KEY_MISMATCH,
ID_OUT_OF_BAND_INTERNAL,
ID_SND_RECEIPT_ACKED,
ID_SND_RECEIPT_LOSS,
ID_CONNECTION_REQUEST_ACCEPTED,
ID_CONNECTION_ATTEMPT_FAILED,
ID_ALREADY_CONNECTED,
ID_NEW_INCOMING_CONNECTION,
ID_NO_FREE_INCOMING_CONNECTIONS,
ID_DISCONNECTION_NOTIFICATION,
ID_CONNECTION_LOST,
ID_CONNECTION_BANNED,
ID_INVALID_PASSWORD,
ID_INCOMPATIBLE_PROTOCOL_VERSION,
ID_IP_RECENTLY_CONNECTED,
ID_TIMESTAMP,
ID_UNCONNECTED_PONG,
ID_ADVERTISE_SYSTEM,
ID_DOWNLOAD_PROGRESS,
ID_REMOTE_DISCONNECTION_NOTIFICATION,
ID_REMOTE_CONNECTION_LOST,
ID_REMOTE_NEW_INCOMING_CONNECTION,
ID_FILE_LIST_TRANSFER_HEADER,
ID_FILE_LIST_TRANSFER_FILE,
ID_FILE_LIST_REFERENCE_PUSH_ACK,
ID_DDT_DOWNLOAD_REQUEST,
ID_TRANSPORT_STRING,
ID_REPLICA_MANAGER_CONSTRUCTION,
ID_REPLICA_MANAGER_SCOPE_CHANGE,
ID_REPLICA_MANAGER_SERIALIZE,
ID_REPLICA_MANAGER_DOWNLOAD_STARTED,
ID_REPLICA_MANAGER_DOWNLOAD_COMPLETE,
ID_RAKVOICE_OPEN_CHANNEL_REQUEST,
ID_RAKVOICE_OPEN_CHANNEL_REPLY,
ID_RAKVOICE_CLOSE_CHANNEL,
ID_RAKVOICE_DATA,
ID_AUTOPATCHER_GET_CHANGELIST_SINCE_DATE,
ID_AUTOPATCHER_CREATION_LIST,
ID_AUTOPATCHER_DELETION_LIST,
ID_AUTOPATCHER_GET_PATCH,
ID_AUTOPATCHER_PATCH_LIST,
ID_AUTOPATCHER_REPOSITORY_FATAL_ERROR,
ID_AUTOPATCHER_FINISHED_INTERNAL,
ID_AUTOPATCHER_FINISHED,
ID_AUTOPATCHER_RESTART_APPLICATION,
ID_NAT_PUNCHTHROUGH_REQUEST,
ID_NAT_GROUP_PUNCHTHROUGH_REQUEST,
ID_NAT_GROUP_PUNCHTHROUGH_REPLY,
ID_NAT_CONNECT_AT_TIME,
ID_NAT_GET_MOST_RECENT_PORT,
ID_NAT_CLIENT_READY,
ID_NAT_GROUP_PUNCHTHROUGH_FAILURE_NOTIFICATION,
ID_NAT_TARGET_NOT_CONNECTED,
ID_NAT_TARGET_UNRESPONSIVE,
ID_NAT_CONNECTION_TO_TARGET_LOST,
ID_NAT_ALREADY_IN_PROGRESS,
ID_NAT_PUNCHTHROUGH_FAILED,
ID_NAT_PUNCHTHROUGH_SUCCEEDED,
ID_NAT_GROUP_PUNCH_FAILED,
ID_NAT_GROUP_PUNCH_SUCCEEDED,
ID_READY_EVENT_SET,
ID_READY_EVENT_UNSET,
ID_READY_EVENT_ALL_SET,
ID_READY_EVENT_QUERY,
ID_LOBBY_GENERAL,
ID_RPC_REMOTE_ERROR,
ID_RPC_PLUGIN,
ID_FILE_LIST_REFERENCE_PUSH,
ID_READY_EVENT_FORCE_ALL_SET,
ID_ROOMS_EXECUTE_FUNC,
ID_ROOMS_LOGON_STATUS,
ID_ROOMS_HANDLE_CHANGE,
ID_LOBBY2_SEND_MESSAGE,
ID_LOBBY2_SERVER_ERROR,
ID_FCM2_NEW_HOST,
ID_FCM2_REQUEST_FCMGUID,
ID_FCM2_RESPOND_CONNECTION_COUNT,
ID_FCM2_INFORM_FCMGUID,
ID_FCM2_UPDATE_MIN_TOTAL_CONNECTION_COUNT,
ID_UDP_PROXY_GENERAL,
ID_SQLite3_EXEC,
ID_SQLite3_UNKNOWN_DB,
ID_SQLLITE_LOGGER,
ID_NAT_TYPE_DETECTION_REQUEST,
ID_NAT_TYPE_DETECTION_RESULT,
ID_ROUTER_2_INTERNAL,
ID_ROUTER_2_FORWARDING_NO_PATH,
ID_ROUTER_2_FORWARDING_ESTABLISHED,
ID_ROUTER_2_REROUTED,
ID_TEAM_BALANCER_INTERNAL,
ID_TEAM_BALANCER_REQUESTED_TEAM_FULL,
ID_TEAM_BALANCER_REQUESTED_TEAM_LOCKED,
ID_TEAM_BALANCER_TEAM_REQUESTED_CANCELLED,
ID_TEAM_BALANCER_TEAM_ASSIGNED,
ID_LIGHTSPEED_INTEGRATION,
ID_XBOX_LOBBY,
ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_SUCCESS,
ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_SUCCESS,
ID_TWO_WAY_AUTHENTICATION_INCOMING_CHALLENGE_FAILURE,
ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_FAILURE,
ID_TWO_WAY_AUTHENTICATION_OUTGOING_CHALLENGE_TIMEOUT,
ID_TWO_WAY_AUTHENTICATION_NEGOTIATION,
ID_CLOUD_POST_REQUEST,
ID_CLOUD_RELEASE_REQUEST,
ID_CLOUD_GET_REQUEST,
ID_CLOUD_GET_RESPONSE,
ID_CLOUD_UNSUBSCRIBE_REQUEST,
ID_CLOUD_SERVER_TO_SERVER_COMMAND,
ID_CLOUD_SUBSCRIPTION_NOTIFICATION,
ID_RESERVED_1,
ID_RESERVED_2,
ID_RESERVED_3,
ID_RESERVED_4,
ID_RESERVED_5,
ID_RESERVED_6,
ID_RESERVED_7,
ID_RESERVED_8,
ID_RESERVED_9,
ID_USER_PACKET_ENUM
}
}

View File

@ -0,0 +1,104 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class DirectoryDeltaTransfer : PluginInterface2 {
private HandleRef swigCPtr;
internal DirectoryDeltaTransfer(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.DirectoryDeltaTransfer_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(DirectoryDeltaTransfer obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~DirectoryDeltaTransfer() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_DirectoryDeltaTransfer(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public static DirectoryDeltaTransfer GetInstance() {
IntPtr cPtr = RakNetPINVOKE.DirectoryDeltaTransfer_GetInstance();
DirectoryDeltaTransfer ret = (cPtr == IntPtr.Zero) ? null : new DirectoryDeltaTransfer(cPtr, false);
return ret;
}
public static void DestroyInstance(DirectoryDeltaTransfer i) {
RakNetPINVOKE.DirectoryDeltaTransfer_DestroyInstance(DirectoryDeltaTransfer.getCPtr(i));
}
public DirectoryDeltaTransfer() : this(RakNetPINVOKE.new_DirectoryDeltaTransfer(), true) {
}
public void SetFileListTransferPlugin(FileListTransfer flt) {
RakNetPINVOKE.DirectoryDeltaTransfer_SetFileListTransferPlugin(swigCPtr, FileListTransfer.getCPtr(flt));
}
public void SetApplicationDirectory(string pathToApplication) {
RakNetPINVOKE.DirectoryDeltaTransfer_SetApplicationDirectory(swigCPtr, pathToApplication);
}
public void SetUploadSendParameters(PacketPriority _priority, char _orderingChannel) {
RakNetPINVOKE.DirectoryDeltaTransfer_SetUploadSendParameters(swigCPtr, (int)_priority, _orderingChannel);
}
public void AddUploadsFromSubdirectory(string subdir) {
RakNetPINVOKE.DirectoryDeltaTransfer_AddUploadsFromSubdirectory(swigCPtr, subdir);
}
public ushort DownloadFromSubdirectory(string subdir, string outputSubdir, bool prependAppDirToOutputSubdir, SystemAddress host, FileListTransferCBInterface onFileCallback, PacketPriority _priority, char _orderingChannel, FileListProgress cb) {
ushort ret = RakNetPINVOKE.DirectoryDeltaTransfer_DownloadFromSubdirectory__SWIG_0(swigCPtr, subdir, outputSubdir, prependAppDirToOutputSubdir, SystemAddress.getCPtr(host), FileListTransferCBInterface.getCPtr(onFileCallback), (int)_priority, _orderingChannel, FileListProgress.getCPtr(cb));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public ushort DownloadFromSubdirectory(FileList localFiles, string subdir, string outputSubdir, bool prependAppDirToOutputSubdir, SystemAddress host, FileListTransferCBInterface onFileCallback, PacketPriority _priority, char _orderingChannel, FileListProgress cb) {
ushort ret = RakNetPINVOKE.DirectoryDeltaTransfer_DownloadFromSubdirectory__SWIG_1(swigCPtr, FileList.getCPtr(localFiles), subdir, outputSubdir, prependAppDirToOutputSubdir, SystemAddress.getCPtr(host), FileListTransferCBInterface.getCPtr(onFileCallback), (int)_priority, _orderingChannel, FileListProgress.getCPtr(cb));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void GenerateHashes(FileList localFiles, string outputSubdir, bool prependAppDirToOutputSubdir) {
RakNetPINVOKE.DirectoryDeltaTransfer_GenerateHashes(swigCPtr, FileList.getCPtr(localFiles), outputSubdir, prependAppDirToOutputSubdir);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void ClearUploads() {
RakNetPINVOKE.DirectoryDeltaTransfer_ClearUploads(swigCPtr);
}
public uint GetNumberOfFilesForUpload() {
uint ret = RakNetPINVOKE.DirectoryDeltaTransfer_GetNumberOfFilesForUpload(swigCPtr);
return ret;
}
public void SetDownloadRequestIncrementalReadInterface(IncrementalReadInterface _incrementalReadInterface, uint _chunkSize) {
RakNetPINVOKE.DirectoryDeltaTransfer_SetDownloadRequestIncrementalReadInterface(swigCPtr, IncrementalReadInterface.getCPtr(_incrementalReadInterface), _chunkSize);
}
}
}

View File

@ -0,0 +1,101 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class DownloadCompleteStruct : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal DownloadCompleteStruct(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(DownloadCompleteStruct obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~DownloadCompleteStruct() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_DownloadCompleteStruct(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public ushort setID {
set {
RakNetPINVOKE.DownloadCompleteStruct_setID_set(swigCPtr, value);
}
get {
ushort ret = RakNetPINVOKE.DownloadCompleteStruct_setID_get(swigCPtr);
return ret;
}
}
public uint numberOfFilesInThisSet {
set {
RakNetPINVOKE.DownloadCompleteStruct_numberOfFilesInThisSet_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.DownloadCompleteStruct_numberOfFilesInThisSet_get(swigCPtr);
return ret;
}
}
public uint byteLengthOfThisSet {
set {
RakNetPINVOKE.DownloadCompleteStruct_byteLengthOfThisSet_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.DownloadCompleteStruct_byteLengthOfThisSet_get(swigCPtr);
return ret;
}
}
public SystemAddress senderSystemAddress {
set {
RakNetPINVOKE.DownloadCompleteStruct_senderSystemAddress_set(swigCPtr, SystemAddress.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.DownloadCompleteStruct_senderSystemAddress_get(swigCPtr);
SystemAddress ret = (cPtr == IntPtr.Zero) ? null : new SystemAddress(cPtr, false);
return ret;
}
}
public RakNetGUID senderGuid {
set {
RakNetPINVOKE.DownloadCompleteStruct_senderGuid_set(swigCPtr, RakNetGUID.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.DownloadCompleteStruct_senderGuid_get(swigCPtr);
RakNetGUID ret = (cPtr == IntPtr.Zero) ? null : new RakNetGUID(cPtr, false);
return ret;
}
}
public DownloadCompleteStruct() : this(RakNetPINVOKE.new_DownloadCompleteStruct(), true) {
}
}
}

View File

@ -0,0 +1,76 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class FLP_Printf : FileListProgress {
private HandleRef swigCPtr;
internal FLP_Printf(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.FLP_Printf_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(FLP_Printf obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~FLP_Printf() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_FLP_Printf(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public new static FLP_Printf GetInstance() {
IntPtr cPtr = RakNetPINVOKE.FLP_Printf_GetInstance();
FLP_Printf ret = (cPtr == IntPtr.Zero) ? null : new FLP_Printf(cPtr, false);
return ret;
}
public static void DestroyInstance(FLP_Printf i) {
RakNetPINVOKE.FLP_Printf_DestroyInstance(FLP_Printf.getCPtr(i));
}
public FLP_Printf() : this(RakNetPINVOKE.new_FLP_Printf(), true) {
}
public override void OnAddFilesFromDirectoryStarted(FileList fileList, string dir) {
RakNetPINVOKE.FLP_Printf_OnAddFilesFromDirectoryStarted(swigCPtr, FileList.getCPtr(fileList), dir);
}
public override void OnDirectory(FileList fileList, string dir, uint directoriesRemaining) {
RakNetPINVOKE.FLP_Printf_OnDirectory(swigCPtr, FileList.getCPtr(fileList), dir, directoriesRemaining);
}
public override void OnFilePushesComplete(SystemAddress systemAddress, ushort setID) {
RakNetPINVOKE.FLP_Printf_OnFilePushesComplete(swigCPtr, SystemAddress.getCPtr(systemAddress), setID);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public override void OnSendAborted(SystemAddress systemAddress) {
RakNetPINVOKE.FLP_Printf_OnSendAborted(swigCPtr, SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
}
}

View File

@ -0,0 +1,144 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class FileList : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FileList(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(FileList obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~FileList() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_FileList(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public static FileList GetInstance() {
IntPtr cPtr = RakNetPINVOKE.FileList_GetInstance();
FileList ret = (cPtr == IntPtr.Zero) ? null : new FileList(cPtr, false);
return ret;
}
public static void DestroyInstance(FileList i) {
RakNetPINVOKE.FileList_DestroyInstance(FileList.getCPtr(i));
}
public FileList() : this(RakNetPINVOKE.new_FileList(), true) {
}
public void AddFilesFromDirectory(string applicationDirectory, string subDirectory, bool writeHash, bool writeData, bool recursive, FileListNodeContext context) {
RakNetPINVOKE.FileList_AddFilesFromDirectory(swigCPtr, applicationDirectory, subDirectory, writeHash, writeData, recursive, FileListNodeContext.getCPtr(context));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Clear() {
RakNetPINVOKE.FileList_Clear(swigCPtr);
}
public void Serialize(BitStream outBitStream) {
RakNetPINVOKE.FileList_Serialize(swigCPtr, BitStream.getCPtr(outBitStream));
}
public bool Deserialize(BitStream inBitStream) {
bool ret = RakNetPINVOKE.FileList_Deserialize(swigCPtr, BitStream.getCPtr(inBitStream));
return ret;
}
public void ListMissingOrChangedFiles(string applicationDirectory, FileList missingOrChangedFiles, bool alwaysWriteHash, bool neverWriteHash) {
RakNetPINVOKE.FileList_ListMissingOrChangedFiles(swigCPtr, applicationDirectory, FileList.getCPtr(missingOrChangedFiles), alwaysWriteHash, neverWriteHash);
}
public void GetDeltaToCurrent(FileList input, FileList output, string dirSubset, string remoteSubdir) {
RakNetPINVOKE.FileList_GetDeltaToCurrent(swigCPtr, FileList.getCPtr(input), FileList.getCPtr(output), dirSubset, remoteSubdir);
}
public void PopulateDataFromDisk(string applicationDirectory, bool writeFileData, bool writeFileHash, bool removeUnknownFiles) {
RakNetPINVOKE.FileList_PopulateDataFromDisk(swigCPtr, applicationDirectory, writeFileData, writeFileHash, removeUnknownFiles);
}
public void FlagFilesAsReferences() {
RakNetPINVOKE.FileList_FlagFilesAsReferences(swigCPtr);
}
public void WriteDataToDisk(string applicationDirectory) {
RakNetPINVOKE.FileList_WriteDataToDisk(swigCPtr, applicationDirectory);
}
public void AddFile(string filepath, string filename, FileListNodeContext context) {
RakNetPINVOKE.FileList_AddFile__SWIG_0(swigCPtr, filepath, filename, FileListNodeContext.getCPtr(context));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void DeleteFiles(string applicationDirectory) {
RakNetPINVOKE.FileList_DeleteFiles(swigCPtr, applicationDirectory);
}
public void AddCallback(FileListProgress cb) {
RakNetPINVOKE.FileList_AddCallback(swigCPtr, FileListProgress.getCPtr(cb));
}
public void RemoveCallback(FileListProgress cb) {
RakNetPINVOKE.FileList_RemoveCallback(swigCPtr, FileListProgress.getCPtr(cb));
}
public void ClearCallbacks() {
RakNetPINVOKE.FileList_ClearCallbacks(swigCPtr);
}
public RakNetListFileListNode fileList {
set {
RakNetPINVOKE.FileList_fileList_set(swigCPtr, RakNetListFileListNode.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.FileList_fileList_get(swigCPtr);
RakNetListFileListNode ret = (cPtr == IntPtr.Zero) ? null : new RakNetListFileListNode(cPtr, false);
return ret;
}
}
public static bool FixEndingSlash(string str) {
bool ret = RakNetPINVOKE.FileList_FixEndingSlash(str);
return ret;
}
public void AddFile(string filename, string fullPathToFile, byte[] inByteArray, uint dataLength, uint fileLength, FileListNodeContext context, bool isAReference) {
RakNetPINVOKE.FileList_AddFile__SWIG_1(swigCPtr, filename, fullPathToFile, inByteArray, dataLength, fileLength, FileListNodeContext.getCPtr(context), isAReference);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void AddFile(string filename, string fullPathToFile, byte[] inByteArray, uint dataLength, uint fileLength, FileListNodeContext context) {
RakNetPINVOKE.FileList_AddFile__SWIG_2(swigCPtr, filename, fullPathToFile, inByteArray, dataLength, fileLength, FileListNodeContext.getCPtr(context));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
}
}

View File

@ -0,0 +1,154 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class FileListNode : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FileListNode(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(FileListNode obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~FileListNode() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_FileListNode(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
private bool dataIsCached = false;
private byte[] dataCache;
public RakString filename {
set {
RakNetPINVOKE.FileListNode_filename_set(swigCPtr, RakString.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.FileListNode_filename_get(swigCPtr);
RakString ret = (cPtr == IntPtr.Zero) ? null : new RakString(cPtr, false);
return ret;
}
}
public RakString fullPathToFile {
set {
RakNetPINVOKE.FileListNode_fullPathToFile_set(swigCPtr, RakString.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.FileListNode_fullPathToFile_get(swigCPtr);
RakString ret = (cPtr == IntPtr.Zero) ? null : new RakString(cPtr, false);
return ret;
}
}
public byte[] data {
set
{
dataCache=value;
dataIsCached = true;
SetData (value, value.Length);
}
get
{
byte[] returnArray;
if (!dataIsCached)
{
IntPtr cPtr = RakNetPINVOKE.FileListNode_data_get (swigCPtr);
int len = (int) dataLengthBytes;
if (len<=0)
{
return null;
}
returnArray = new byte[len];
byte[] marshalArray = new byte[len];
Marshal.Copy(cPtr, marshalArray, 0, len);
marshalArray.CopyTo(returnArray, 0);
dataCache = returnArray;
dataIsCached = true;
}
else
{
returnArray = dataCache;
}
return returnArray;
}
}
public uint dataLengthBytes {
set {
RakNetPINVOKE.FileListNode_dataLengthBytes_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.FileListNode_dataLengthBytes_get(swigCPtr);
return ret;
}
}
public uint fileLengthBytes {
set {
RakNetPINVOKE.FileListNode_fileLengthBytes_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.FileListNode_fileLengthBytes_get(swigCPtr);
return ret;
}
}
public FileListNodeContext context {
set {
RakNetPINVOKE.FileListNode_context_set(swigCPtr, FileListNodeContext.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.FileListNode_context_get(swigCPtr);
FileListNodeContext ret = (cPtr == IntPtr.Zero) ? null : new FileListNodeContext(cPtr, false);
return ret;
}
}
public bool isAReference {
set {
RakNetPINVOKE.FileListNode_isAReference_set(swigCPtr, value);
}
get {
bool ret = RakNetPINVOKE.FileListNode_isAReference_get(swigCPtr);
return ret;
}
}
public FileListNode() : this(RakNetPINVOKE.new_FileListNode(), true) {
}
public void SetData(byte[] inByteArray, int numBytes) {
RakNetPINVOKE.FileListNode_SetData(swigCPtr, inByteArray, numBytes);
}
}
}

View File

@ -0,0 +1,93 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class FileListNodeContext : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FileListNodeContext(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(FileListNodeContext obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~FileListNodeContext() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_FileListNodeContext(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public FileListNodeContext() : this(RakNetPINVOKE.new_FileListNodeContext__SWIG_0(), true) {
}
public FileListNodeContext(byte o, uint f) : this(RakNetPINVOKE.new_FileListNodeContext__SWIG_1(o, f), true) {
}
public byte op {
set {
RakNetPINVOKE.FileListNodeContext_op_set(swigCPtr, value);
}
get {
byte ret = RakNetPINVOKE.FileListNodeContext_op_get(swigCPtr);
return ret;
}
}
public uint fileId {
set {
RakNetPINVOKE.FileListNodeContext_fileId_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.FileListNodeContext_fileId_get(swigCPtr);
return ret;
}
}
public SWIGTYPE_p_void dataPtr {
set {
RakNetPINVOKE.FileListNodeContext_dataPtr_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.FileListNodeContext_dataPtr_get(swigCPtr);
SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
return ret;
}
}
public uint dataLength {
set {
RakNetPINVOKE.FileListNodeContext_dataLength_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.FileListNodeContext_dataLength_get(swigCPtr);
return ret;
}
}
}
}

View File

@ -0,0 +1,86 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class FileListProgress : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FileListProgress(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(FileListProgress obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~FileListProgress() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_FileListProgress(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public static FileListProgress GetInstance() {
IntPtr cPtr = RakNetPINVOKE.FileListProgress_GetInstance();
FileListProgress ret = (cPtr == IntPtr.Zero) ? null : new FileListProgress(cPtr, false);
return ret;
}
public static void DestroyInstance(FileListProgress i) {
RakNetPINVOKE.FileListProgress_DestroyInstance(FileListProgress.getCPtr(i));
}
public FileListProgress() : this(RakNetPINVOKE.new_FileListProgress(), true) {
}
public virtual void OnAddFilesFromDirectoryStarted(FileList fileList, string dir) {
RakNetPINVOKE.FileListProgress_OnAddFilesFromDirectoryStarted(swigCPtr, FileList.getCPtr(fileList), dir);
}
public virtual void OnDirectory(FileList fileList, string dir, uint directoriesRemaining) {
RakNetPINVOKE.FileListProgress_OnDirectory(swigCPtr, FileList.getCPtr(fileList), dir, directoriesRemaining);
}
public virtual void OnFile(FileList fileList, string dir, string fileName, uint fileSize) {
RakNetPINVOKE.FileListProgress_OnFile(swigCPtr, FileList.getCPtr(fileList), dir, fileName, fileSize);
}
public virtual void OnFilePush(string fileName, uint fileLengthBytes, uint offset, uint bytesBeingSent, bool done, SystemAddress targetSystem, ushort setId) {
RakNetPINVOKE.FileListProgress_OnFilePush(swigCPtr, fileName, fileLengthBytes, offset, bytesBeingSent, done, SystemAddress.getCPtr(targetSystem), setId);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void OnFilePushesComplete(SystemAddress systemAddress, ushort setId) {
RakNetPINVOKE.FileListProgress_OnFilePushesComplete(swigCPtr, SystemAddress.getCPtr(systemAddress), setId);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void OnSendAborted(SystemAddress systemAddress) {
RakNetPINVOKE.FileListProgress_OnSendAborted(swigCPtr, SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
}
}

View File

@ -0,0 +1,119 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class FileListTransfer : PluginInterface2 {
private HandleRef swigCPtr;
internal FileListTransfer(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.FileListTransfer_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(FileListTransfer obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~FileListTransfer() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_FileListTransfer(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public static FileListTransfer GetInstance() {
IntPtr cPtr = RakNetPINVOKE.FileListTransfer_GetInstance();
FileListTransfer ret = (cPtr == IntPtr.Zero) ? null : new FileListTransfer(cPtr, false);
return ret;
}
public static void DestroyInstance(FileListTransfer i) {
RakNetPINVOKE.FileListTransfer_DestroyInstance(FileListTransfer.getCPtr(i));
}
public FileListTransfer() : this(RakNetPINVOKE.new_FileListTransfer(), true) {
}
public void StartIncrementalReadThreads(int numThreads, int threadPriority) {
RakNetPINVOKE.FileListTransfer_StartIncrementalReadThreads__SWIG_0(swigCPtr, numThreads, threadPriority);
}
public void StartIncrementalReadThreads(int numThreads) {
RakNetPINVOKE.FileListTransfer_StartIncrementalReadThreads__SWIG_1(swigCPtr, numThreads);
}
public ushort SetupReceive(FileListTransferCBInterface handler, bool deleteHandler, SystemAddress allowedSender) {
ushort ret = RakNetPINVOKE.FileListTransfer_SetupReceive(swigCPtr, FileListTransferCBInterface.getCPtr(handler), deleteHandler, SystemAddress.getCPtr(allowedSender));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void Send(FileList fileList, RakPeerInterface rakPeer, SystemAddress recipient, ushort setID, PacketPriority priority, char orderingChannel, IncrementalReadInterface _incrementalReadInterface, uint _chunkSize) {
RakNetPINVOKE.FileListTransfer_Send__SWIG_0(swigCPtr, FileList.getCPtr(fileList), RakPeerInterface.getCPtr(rakPeer), SystemAddress.getCPtr(recipient), setID, (int)priority, orderingChannel, IncrementalReadInterface.getCPtr(_incrementalReadInterface), _chunkSize);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Send(FileList fileList, RakPeerInterface rakPeer, SystemAddress recipient, ushort setID, PacketPriority priority, char orderingChannel, IncrementalReadInterface _incrementalReadInterface) {
RakNetPINVOKE.FileListTransfer_Send__SWIG_1(swigCPtr, FileList.getCPtr(fileList), RakPeerInterface.getCPtr(rakPeer), SystemAddress.getCPtr(recipient), setID, (int)priority, orderingChannel, IncrementalReadInterface.getCPtr(_incrementalReadInterface));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Send(FileList fileList, RakPeerInterface rakPeer, SystemAddress recipient, ushort setID, PacketPriority priority, char orderingChannel) {
RakNetPINVOKE.FileListTransfer_Send__SWIG_2(swigCPtr, FileList.getCPtr(fileList), RakPeerInterface.getCPtr(rakPeer), SystemAddress.getCPtr(recipient), setID, (int)priority, orderingChannel);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public uint GetPendingFilesToAddress(SystemAddress recipient) {
uint ret = RakNetPINVOKE.FileListTransfer_GetPendingFilesToAddress(swigCPtr, SystemAddress.getCPtr(recipient));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void CancelReceive(ushort setId) {
RakNetPINVOKE.FileListTransfer_CancelReceive(swigCPtr, setId);
}
public void RemoveReceiver(SystemAddress systemAddress) {
RakNetPINVOKE.FileListTransfer_RemoveReceiver(swigCPtr, SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public bool IsHandlerActive(ushort setId) {
bool ret = RakNetPINVOKE.FileListTransfer_IsHandlerActive(swigCPtr, setId);
return ret;
}
public void AddCallback(FileListProgress cb) {
RakNetPINVOKE.FileListTransfer_AddCallback(swigCPtr, FileListProgress.getCPtr(cb));
}
public void RemoveCallback(FileListProgress cb) {
RakNetPINVOKE.FileListTransfer_RemoveCallback(swigCPtr, FileListProgress.getCPtr(cb));
}
public void ClearCallbacks() {
RakNetPINVOKE.FileListTransfer_ClearCallbacks(swigCPtr);
}
}
}

View File

@ -0,0 +1,130 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class FileListTransferCBInterface : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FileListTransferCBInterface(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(FileListTransferCBInterface obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~FileListTransferCBInterface() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_FileListTransferCBInterface(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public FileListTransferCBInterface() : this(RakNetPINVOKE.new_FileListTransferCBInterface(), true) {
SwigDirectorConnect();
}
public virtual bool OnFile(OnFileStruct onFileStruct) {
bool ret = RakNetPINVOKE.FileListTransferCBInterface_OnFile(swigCPtr, OnFileStruct.getCPtr(onFileStruct));
return ret;
}
public virtual void OnFileProgress(FileProgressStruct fps) {
RakNetPINVOKE.FileListTransferCBInterface_OnFileProgress(swigCPtr, FileProgressStruct.getCPtr(fps));
}
public virtual bool Update() {
bool ret = ((this.GetType() == typeof(FileListTransferCBInterface)) ? RakNetPINVOKE.FileListTransferCBInterface_Update(swigCPtr) : RakNetPINVOKE.FileListTransferCBInterface_UpdateSwigExplicitFileListTransferCBInterface(swigCPtr));
return ret;
}
public virtual bool OnDownloadComplete(DownloadCompleteStruct dcs) {
bool ret = ((this.GetType() == typeof(FileListTransferCBInterface)) ? RakNetPINVOKE.FileListTransferCBInterface_OnDownloadComplete(swigCPtr, DownloadCompleteStruct.getCPtr(dcs)) : RakNetPINVOKE.FileListTransferCBInterface_OnDownloadCompleteSwigExplicitFileListTransferCBInterface(swigCPtr, DownloadCompleteStruct.getCPtr(dcs)));
return ret;
}
public virtual void OnDereference() {
if (this.GetType() == typeof(FileListTransferCBInterface)) RakNetPINVOKE.FileListTransferCBInterface_OnDereference(swigCPtr); else RakNetPINVOKE.FileListTransferCBInterface_OnDereferenceSwigExplicitFileListTransferCBInterface(swigCPtr);
}
private void SwigDirectorConnect() {
if (SwigDerivedClassHasMethod("OnFile", swigMethodTypes0))
swigDelegate0 = new SwigDelegateFileListTransferCBInterface_0(SwigDirectorOnFile);
if (SwigDerivedClassHasMethod("OnFileProgress", swigMethodTypes1))
swigDelegate1 = new SwigDelegateFileListTransferCBInterface_1(SwigDirectorOnFileProgress);
if (SwigDerivedClassHasMethod("Update", swigMethodTypes2))
swigDelegate2 = new SwigDelegateFileListTransferCBInterface_2(SwigDirectorUpdate);
if (SwigDerivedClassHasMethod("OnDownloadComplete", swigMethodTypes3))
swigDelegate3 = new SwigDelegateFileListTransferCBInterface_3(SwigDirectorOnDownloadComplete);
if (SwigDerivedClassHasMethod("OnDereference", swigMethodTypes4))
swigDelegate4 = new SwigDelegateFileListTransferCBInterface_4(SwigDirectorOnDereference);
RakNetPINVOKE.FileListTransferCBInterface_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3, swigDelegate4);
}
private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(FileListTransferCBInterface));
return hasDerivedMethod;
}
private bool SwigDirectorOnFile(IntPtr onFileStruct) {
return OnFile((onFileStruct == IntPtr.Zero) ? null : new OnFileStruct(onFileStruct, false));
}
private void SwigDirectorOnFileProgress(IntPtr fps) {
OnFileProgress((fps == IntPtr.Zero) ? null : new FileProgressStruct(fps, false));
}
private bool SwigDirectorUpdate() {
return Update();
}
private bool SwigDirectorOnDownloadComplete(IntPtr dcs) {
return OnDownloadComplete((dcs == IntPtr.Zero) ? null : new DownloadCompleteStruct(dcs, false));
}
private void SwigDirectorOnDereference() {
OnDereference();
}
public delegate bool SwigDelegateFileListTransferCBInterface_0(IntPtr onFileStruct);
public delegate void SwigDelegateFileListTransferCBInterface_1(IntPtr fps);
public delegate bool SwigDelegateFileListTransferCBInterface_2();
public delegate bool SwigDelegateFileListTransferCBInterface_3(IntPtr dcs);
public delegate void SwigDelegateFileListTransferCBInterface_4();
private SwigDelegateFileListTransferCBInterface_0 swigDelegate0;
private SwigDelegateFileListTransferCBInterface_1 swigDelegate1;
private SwigDelegateFileListTransferCBInterface_2 swigDelegate2;
private SwigDelegateFileListTransferCBInterface_3 swigDelegate3;
private SwigDelegateFileListTransferCBInterface_4 swigDelegate4;
private static Type[] swigMethodTypes0 = new Type[] { typeof(OnFileStruct) };
private static Type[] swigMethodTypes1 = new Type[] { typeof(FileProgressStruct) };
private static Type[] swigMethodTypes2 = new Type[] { };
private static Type[] swigMethodTypes3 = new Type[] { typeof(DownloadCompleteStruct) };
private static Type[] swigMethodTypes4 = new Type[] { };
}
}

View File

@ -0,0 +1,230 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class FileProgressStruct : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FileProgressStruct(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(FileProgressStruct obj) {
if (obj != null)
{
if (obj.firstDataChunkIsCached)
{
obj.SetFirstDataChunk(obj.firstDataChunk, obj.firstDataChunk.Length);
}
if (obj.iriDataChunkIsCached)
{
obj.SetIriDataChunk(obj.iriDataChunk, obj.iriDataChunk.Length);
}
obj.firstDataChunkIsCached=false;
obj.iriDataChunkIsCached=false;
}
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~FileProgressStruct() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_FileProgressStruct(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
private bool firstDataChunkIsCached = false;
private byte[] firstDataChunkCache;
private bool iriDataChunkIsCached = false;
private byte[] iriDataChunkCache;
public OnFileStruct onFileStruct {
set {
RakNetPINVOKE.FileProgressStruct_onFileStruct_set(swigCPtr, OnFileStruct.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.FileProgressStruct_onFileStruct_get(swigCPtr);
OnFileStruct ret = (cPtr == IntPtr.Zero) ? null : new OnFileStruct(cPtr, false);
return ret;
}
}
public uint partCount {
set {
RakNetPINVOKE.FileProgressStruct_partCount_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.FileProgressStruct_partCount_get(swigCPtr);
return ret;
}
}
public uint partTotal {
set {
RakNetPINVOKE.FileProgressStruct_partTotal_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.FileProgressStruct_partTotal_get(swigCPtr);
return ret;
}
}
public uint dataChunkLength {
set {
RakNetPINVOKE.FileProgressStruct_dataChunkLength_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.FileProgressStruct_dataChunkLength_get(swigCPtr);
return ret;
}
}
public byte[] firstDataChunk {
set
{
firstDataChunkCache=value;
firstDataChunkIsCached = true;
SetFirstDataChunk (value, value.Length);
}
get
{
byte[] returnArray;
if (!firstDataChunkIsCached)
{
IntPtr cPtr = RakNetPINVOKE.FileProgressStruct_firstDataChunk_get (swigCPtr);
int len = (int) dataChunkLength;
if (len<=0)
{
return null;
}
returnArray = new byte[len];
byte[] marshalArray = new byte[len];
Marshal.Copy(cPtr, marshalArray, 0, len);
marshalArray.CopyTo(returnArray, 0);
firstDataChunkCache = returnArray;
firstDataChunkIsCached = true;
}
else
{
returnArray = firstDataChunkCache;
}
return returnArray;
}
}
public byte[] iriDataChunk {
set
{
iriDataChunkCache=value;
iriDataChunkIsCached = true;
SetIriDataChunk (value, value.Length);
}
get
{
byte[] returnArray;
if (!iriDataChunkIsCached)
{
IntPtr cPtr = RakNetPINVOKE.FileProgressStruct_iriDataChunk_get (swigCPtr);
int len = (int) dataChunkLength;
if (len<=0)
{
return null;
}
returnArray = new byte[len];
byte[] marshalArray = new byte[len];
Marshal.Copy(cPtr, marshalArray, 0, len);
marshalArray.CopyTo(returnArray, 0);
iriDataChunkCache = returnArray;
iriDataChunkIsCached = true;
}
else
{
returnArray = iriDataChunkCache;
}
return returnArray;
}
}
public uint iriWriteOffset {
set {
RakNetPINVOKE.FileProgressStruct_iriWriteOffset_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.FileProgressStruct_iriWriteOffset_get(swigCPtr);
return ret;
}
}
public SystemAddress senderSystemAddress {
set {
RakNetPINVOKE.FileProgressStruct_senderSystemAddress_set(swigCPtr, SystemAddress.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.FileProgressStruct_senderSystemAddress_get(swigCPtr);
SystemAddress ret = (cPtr == IntPtr.Zero) ? null : new SystemAddress(cPtr, false);
return ret;
}
}
public RakNetGUID senderGuid {
set {
RakNetPINVOKE.FileProgressStruct_senderGuid_set(swigCPtr, RakNetGUID.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.FileProgressStruct_senderGuid_get(swigCPtr);
RakNetGUID ret = (cPtr == IntPtr.Zero) ? null : new RakNetGUID(cPtr, false);
return ret;
}
}
public bool allocateIrIDataChunkAutomatically {
set {
RakNetPINVOKE.FileProgressStruct_allocateIrIDataChunkAutomatically_set(swigCPtr, value);
}
get {
bool ret = RakNetPINVOKE.FileProgressStruct_allocateIrIDataChunkAutomatically_get(swigCPtr);
return ret;
}
}
public FileProgressStruct() : this(RakNetPINVOKE.new_FileProgressStruct(), true) {
}
private void SetFirstDataChunk(byte[] inByteArray, int numBytes) {
RakNetPINVOKE.FileProgressStruct_SetFirstDataChunk(swigCPtr, inByteArray, numBytes);
}
private void SetIriDataChunk(byte[] inByteArray, int numBytes) {
RakNetPINVOKE.FileProgressStruct_SetIriDataChunk(swigCPtr, inByteArray, numBytes);
}
}
}

View File

@ -0,0 +1,93 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class FilterQuery : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal FilterQuery(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(FilterQuery obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~FilterQuery() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_FilterQuery(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public FilterQuery() : this(RakNetPINVOKE.new_FilterQuery__SWIG_0(), true) {
}
public FilterQuery(uint column, Cell cell, Table.FilterQueryType op) : this(RakNetPINVOKE.new_FilterQuery__SWIG_1(column, Cell.getCPtr(cell), (int)op), true) {
}
public string columnName {
set {
RakNetPINVOKE.FilterQuery_columnName_set(swigCPtr, value);
}
get {
string ret = RakNetPINVOKE.FilterQuery_columnName_get(swigCPtr);
return ret;
}
}
public uint columnIndex {
set {
RakNetPINVOKE.FilterQuery_columnIndex_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.FilterQuery_columnIndex_get(swigCPtr);
return ret;
}
}
public Cell cellValue {
set {
RakNetPINVOKE.FilterQuery_cellValue_set(swigCPtr, Cell.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.FilterQuery_cellValue_get(swigCPtr);
Cell ret = (cPtr == IntPtr.Zero) ? null : new Cell(cPtr, false);
return ret;
}
}
public Table.FilterQueryType operation {
set {
RakNetPINVOKE.FilterQuery_operation_set(swigCPtr, (int)value);
}
get {
Table.FilterQueryType ret = (Table.FilterQueryType)RakNetPINVOKE.FilterQuery_operation_get(swigCPtr);
return ret;
}
}
}
}

View File

@ -0,0 +1,133 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class FullyConnectedMesh2 : PluginInterface2 {
private HandleRef swigCPtr;
internal FullyConnectedMesh2(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.FullyConnectedMesh2_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(FullyConnectedMesh2 obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~FullyConnectedMesh2() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_FullyConnectedMesh2(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public static FullyConnectedMesh2 GetInstance() {
IntPtr cPtr = RakNetPINVOKE.FullyConnectedMesh2_GetInstance();
FullyConnectedMesh2 ret = (cPtr == IntPtr.Zero) ? null : new FullyConnectedMesh2(cPtr, false);
return ret;
}
public static void DestroyInstance(FullyConnectedMesh2 i) {
RakNetPINVOKE.FullyConnectedMesh2_DestroyInstance(FullyConnectedMesh2.getCPtr(i));
}
public FullyConnectedMesh2() : this(RakNetPINVOKE.new_FullyConnectedMesh2(), true) {
}
public void SetConnectOnNewRemoteConnection(bool attemptConnection, RakString pw) {
RakNetPINVOKE.FullyConnectedMesh2_SetConnectOnNewRemoteConnection(swigCPtr, attemptConnection, RakString.getCPtr(pw));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetGUID GetConnectedHost() {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.FullyConnectedMesh2_GetConnectedHost(swigCPtr), true);
return ret;
}
public SystemAddress GetConnectedHostAddr() {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.FullyConnectedMesh2_GetConnectedHostAddr(swigCPtr), true);
return ret;
}
public RakNetGUID GetHostSystem() {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.FullyConnectedMesh2_GetHostSystem(swigCPtr), true);
return ret;
}
public bool IsHostSystem() {
bool ret = RakNetPINVOKE.FullyConnectedMesh2_IsHostSystem(swigCPtr);
return ret;
}
public void GetHostOrder(RakNetListRakNetGUID hostList) {
RakNetPINVOKE.FullyConnectedMesh2_GetHostOrder(swigCPtr, RakNetListRakNetGUID.getCPtr(hostList));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public bool IsConnectedHost() {
bool ret = RakNetPINVOKE.FullyConnectedMesh2_IsConnectedHost(swigCPtr);
return ret;
}
public void SetAutoparticipateConnections(bool b) {
RakNetPINVOKE.FullyConnectedMesh2_SetAutoparticipateConnections(swigCPtr, b);
}
public void ResetHostCalculation() {
RakNetPINVOKE.FullyConnectedMesh2_ResetHostCalculation(swigCPtr);
}
public void AddParticipant(RakNetGUID rakNetGuid) {
RakNetPINVOKE.FullyConnectedMesh2_AddParticipant(swigCPtr, RakNetGUID.getCPtr(rakNetGuid));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void GetParticipantList(RakNetListRakNetGUID participantList) {
RakNetPINVOKE.FullyConnectedMesh2_GetParticipantList(swigCPtr, RakNetListRakNetGUID.getCPtr(participantList));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void ConnectToRemoteNewIncomingConnections(Packet packet) {
RakNetPINVOKE.FullyConnectedMesh2_ConnectToRemoteNewIncomingConnections(swigCPtr, Packet.getCPtr(packet));
}
public void Clear() {
RakNetPINVOKE.FullyConnectedMesh2_Clear(swigCPtr);
}
public uint GetParticipantCount() {
uint ret = RakNetPINVOKE.FullyConnectedMesh2_GetParticipantCount__SWIG_0(swigCPtr);
return ret;
}
public void GetParticipantCount(SWIGTYPE_p_unsigned_int participantListSize) {
RakNetPINVOKE.FullyConnectedMesh2_GetParticipantCount__SWIG_1(swigCPtr, SWIGTYPE_p_unsigned_int.getCPtr(participantListSize));
}
public uint GetTotalConnectionCount() {
uint ret = RakNetPINVOKE.FullyConnectedMesh2_GetTotalConnectionCount(swigCPtr);
return ret;
}
}
}

View File

@ -0,0 +1,55 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class IncrementalReadInterface : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal IncrementalReadInterface(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(IncrementalReadInterface obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~IncrementalReadInterface() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_IncrementalReadInterface(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public IncrementalReadInterface() : this(RakNetPINVOKE.new_IncrementalReadInterface(), true) {
}
public uint GetFilePart(string filename, uint startReadBytes, uint numBytesToRead, byte[] inOutByteArray, FileListNodeContext context) {
uint ret = RakNetPINVOKE.IncrementalReadInterface_GetFilePart(swigCPtr, filename, startReadBytes, numBytesToRead, inOutByteArray, FileListNodeContext.getCPtr(context));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
}
}

View File

@ -0,0 +1,17 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
public enum JoinTeamType {
JOIN_ANY_AVAILABLE_TEAM,
JOIN_SPECIFIC_TEAM,
JOIN_NO_TEAM
}
}

View File

@ -0,0 +1,96 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class LogCommandParser : CommandParserInterface {
private HandleRef swigCPtr;
internal LogCommandParser(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.LogCommandParser_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(LogCommandParser obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~LogCommandParser() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_LogCommandParser(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public static LogCommandParser GetInstance() {
IntPtr cPtr = RakNetPINVOKE.LogCommandParser_GetInstance();
LogCommandParser ret = (cPtr == IntPtr.Zero) ? null : new LogCommandParser(cPtr, false);
return ret;
}
public static void DestroyInstance(LogCommandParser i) {
RakNetPINVOKE.LogCommandParser_DestroyInstance(LogCommandParser.getCPtr(i));
}
public LogCommandParser() : this(RakNetPINVOKE.new_LogCommandParser(), true) {
}
public override bool OnCommand(string command, uint numParameters, string[] parameterList, TransportInterface transport, SystemAddress systemAddress, string originalString) {
bool ret = RakNetPINVOKE.LogCommandParser_OnCommand(swigCPtr, command, numParameters, parameterList, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress), originalString);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override string GetName() {
string ret = RakNetPINVOKE.LogCommandParser_GetName(swigCPtr);
return ret;
}
public override void SendHelp(TransportInterface transport, SystemAddress systemAddress) {
RakNetPINVOKE.LogCommandParser_SendHelp(swigCPtr, TransportInterface.getCPtr(transport), SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void AddChannel(string channelName) {
RakNetPINVOKE.LogCommandParser_AddChannel(swigCPtr, channelName);
}
public void WriteLog(string channelName, string format) {
RakNetPINVOKE.LogCommandParser_WriteLog(swigCPtr, channelName, format);
}
public override void OnNewIncomingConnection(SystemAddress systemAddress, TransportInterface transport) {
RakNetPINVOKE.LogCommandParser_OnNewIncomingConnection(swigCPtr, SystemAddress.getCPtr(systemAddress), TransportInterface.getCPtr(transport));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public override void OnConnectionLost(SystemAddress systemAddress, TransportInterface transport) {
RakNetPINVOKE.LogCommandParser_OnConnectionLost(swigCPtr, SystemAddress.getCPtr(systemAddress), TransportInterface.getCPtr(transport));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public override void OnTransportChange(TransportInterface transport) {
RakNetPINVOKE.LogCommandParser_OnTransportChange(swigCPtr, TransportInterface.getCPtr(transport));
}
}
}

View File

@ -0,0 +1,108 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class MessageFilter : PluginInterface2 {
private HandleRef swigCPtr;
internal MessageFilter(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.MessageFilter_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(MessageFilter obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~MessageFilter() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_MessageFilter(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public static MessageFilter GetInstance() {
IntPtr cPtr = RakNetPINVOKE.MessageFilter_GetInstance();
MessageFilter ret = (cPtr == IntPtr.Zero) ? null : new MessageFilter(cPtr, false);
return ret;
}
public static void DestroyInstance(MessageFilter i) {
RakNetPINVOKE.MessageFilter_DestroyInstance(MessageFilter.getCPtr(i));
}
public MessageFilter() : this(RakNetPINVOKE.new_MessageFilter(), true) {
}
public void SetAutoAddNewConnectionsToFilter(int filterSetID) {
RakNetPINVOKE.MessageFilter_SetAutoAddNewConnectionsToFilter(swigCPtr, filterSetID);
}
public void SetAllowMessageID(bool allow, int messageIDStart, int messageIDEnd, int filterSetID) {
RakNetPINVOKE.MessageFilter_SetAllowMessageID(swigCPtr, allow, messageIDStart, messageIDEnd, filterSetID);
}
public void SetAllowRPC4(bool allow, string uniqueID, int filterSetID) {
RakNetPINVOKE.MessageFilter_SetAllowRPC4(swigCPtr, allow, uniqueID, filterSetID);
}
public void SetActionOnDisallowedMessage(bool kickOnDisallowed, bool banOnDisallowed, uint banTimeMS, int filterSetID) {
RakNetPINVOKE.MessageFilter_SetActionOnDisallowedMessage(swigCPtr, kickOnDisallowed, banOnDisallowed, banTimeMS, filterSetID);
}
public void SetFilterMaxTime(int allowedTimeMS, bool banOnExceed, uint banTimeMS, int filterSetID) {
RakNetPINVOKE.MessageFilter_SetFilterMaxTime(swigCPtr, allowedTimeMS, banOnExceed, banTimeMS, filterSetID);
}
public int GetSystemFilterSet(AddressOrGUID addressOrGUID) {
int ret = RakNetPINVOKE.MessageFilter_GetSystemFilterSet(swigCPtr, AddressOrGUID.getCPtr(addressOrGUID));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void SetSystemFilterSet(AddressOrGUID addressOrGUID, int filterSetID) {
RakNetPINVOKE.MessageFilter_SetSystemFilterSet(swigCPtr, AddressOrGUID.getCPtr(addressOrGUID), filterSetID);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public uint GetSystemCount(int filterSetID) {
uint ret = RakNetPINVOKE.MessageFilter_GetSystemCount(swigCPtr, filterSetID);
return ret;
}
public uint GetFilterSetCount() {
uint ret = RakNetPINVOKE.MessageFilter_GetFilterSetCount(swigCPtr);
return ret;
}
public int GetFilterSetIDByIndex(uint index) {
int ret = RakNetPINVOKE.MessageFilter_GetFilterSetIDByIndex(swigCPtr, index);
return ret;
}
public void DeleteFilterSet(int filterSetID) {
RakNetPINVOKE.MessageFilter_DeleteFilterSet(swigCPtr, filterSetID);
}
}
}

View File

@ -0,0 +1,19 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
public enum MultilistType {
ML_UNORDERED_LIST,
ML_STACK,
ML_QUEUE,
ML_ORDERED_LIST,
ML_VARIABLE_DURING_RUNTIME
}
}

View File

@ -0,0 +1,89 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class NatPunchthroughClient : PluginInterface2 {
private HandleRef swigCPtr;
internal NatPunchthroughClient(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.NatPunchthroughClient_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NatPunchthroughClient obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NatPunchthroughClient() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NatPunchthroughClient(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public static NatPunchthroughClient GetInstance() {
IntPtr cPtr = RakNetPINVOKE.NatPunchthroughClient_GetInstance();
NatPunchthroughClient ret = (cPtr == IntPtr.Zero) ? null : new NatPunchthroughClient(cPtr, false);
return ret;
}
public static void DestroyInstance(NatPunchthroughClient i) {
RakNetPINVOKE.NatPunchthroughClient_DestroyInstance(NatPunchthroughClient.getCPtr(i));
}
public NatPunchthroughClient() : this(RakNetPINVOKE.new_NatPunchthroughClient(), true) {
}
public bool OpenNAT(RakNetGUID destination, SystemAddress facilitator) {
bool ret = RakNetPINVOKE.NatPunchthroughClient_OpenNAT(swigCPtr, RakNetGUID.getCPtr(destination), SystemAddress.getCPtr(facilitator));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public bool OpenNATGroup(RakNetListRakNetGUID destinationSystems, SystemAddress facilitator) {
bool ret = RakNetPINVOKE.NatPunchthroughClient_OpenNATGroup(swigCPtr, RakNetListRakNetGUID.getCPtr(destinationSystems), SystemAddress.getCPtr(facilitator));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public PunchthroughConfiguration GetPunchthroughConfiguration() {
IntPtr cPtr = RakNetPINVOKE.NatPunchthroughClient_GetPunchthroughConfiguration(swigCPtr);
PunchthroughConfiguration ret = (cPtr == IntPtr.Zero) ? null : new PunchthroughConfiguration(cPtr, false);
return ret;
}
public void SetDebugInterface(NatPunchthroughDebugInterface i) {
RakNetPINVOKE.NatPunchthroughClient_SetDebugInterface(swigCPtr, NatPunchthroughDebugInterface.getCPtr(i));
}
public void GetUPNPPortMappings(string externalPort, string internalPort, SystemAddress natPunchthroughServerAddress) {
RakNetPINVOKE.NatPunchthroughClient_GetUPNPPortMappings(swigCPtr, externalPort, internalPort, SystemAddress.getCPtr(natPunchthroughServerAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Clear() {
RakNetPINVOKE.NatPunchthroughClient_Clear(swigCPtr);
}
}
}

View File

@ -0,0 +1,75 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class NatPunchthroughDebugInterface : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal NatPunchthroughDebugInterface(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NatPunchthroughDebugInterface obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NatPunchthroughDebugInterface() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NatPunchthroughDebugInterface(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public NatPunchthroughDebugInterface() : this(RakNetPINVOKE.new_NatPunchthroughDebugInterface(), true) {
SwigDirectorConnect();
}
public virtual void OnClientMessage(string msg) {
RakNetPINVOKE.NatPunchthroughDebugInterface_OnClientMessage(swigCPtr, msg);
}
private void SwigDirectorConnect() {
if (SwigDerivedClassHasMethod("OnClientMessage", swigMethodTypes0))
swigDelegate0 = new SwigDelegateNatPunchthroughDebugInterface_0(SwigDirectorOnClientMessage);
RakNetPINVOKE.NatPunchthroughDebugInterface_director_connect(swigCPtr, swigDelegate0);
}
private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(NatPunchthroughDebugInterface));
return hasDerivedMethod;
}
private void SwigDirectorOnClientMessage(string msg) {
OnClientMessage(msg);
}
public delegate void SwigDelegateNatPunchthroughDebugInterface_0(string msg);
private SwigDelegateNatPunchthroughDebugInterface_0 swigDelegate0;
private static Type[] swigMethodTypes0 = new Type[] { typeof(string) };
}
}

View File

@ -0,0 +1,63 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class NatPunchthroughDebugInterface_PacketLogger : NatPunchthroughDebugInterface {
private HandleRef swigCPtr;
internal NatPunchthroughDebugInterface_PacketLogger(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.NatPunchthroughDebugInterface_PacketLogger_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NatPunchthroughDebugInterface_PacketLogger obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NatPunchthroughDebugInterface_PacketLogger() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NatPunchthroughDebugInterface_PacketLogger(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public PacketLogger pl {
set {
RakNetPINVOKE.NatPunchthroughDebugInterface_PacketLogger_pl_set(swigCPtr, PacketLogger.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.NatPunchthroughDebugInterface_PacketLogger_pl_get(swigCPtr);
PacketLogger ret = (cPtr == IntPtr.Zero) ? null : new PacketLogger(cPtr, false);
return ret;
}
}
public NatPunchthroughDebugInterface_PacketLogger() : this(RakNetPINVOKE.new_NatPunchthroughDebugInterface_PacketLogger(), true) {
}
public override void OnClientMessage(string msg) {
RakNetPINVOKE.NatPunchthroughDebugInterface_PacketLogger_OnClientMessage(swigCPtr, msg);
}
}
}

View File

@ -0,0 +1,52 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class NatPunchthroughDebugInterface_Printf : NatPunchthroughDebugInterface {
private HandleRef swigCPtr;
internal NatPunchthroughDebugInterface_Printf(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.NatPunchthroughDebugInterface_Printf_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NatPunchthroughDebugInterface_Printf obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NatPunchthroughDebugInterface_Printf() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NatPunchthroughDebugInterface_Printf(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public override void OnClientMessage(string msg) {
RakNetPINVOKE.NatPunchthroughDebugInterface_Printf_OnClientMessage(swigCPtr, msg);
}
public NatPunchthroughDebugInterface_Printf() : this(RakNetPINVOKE.new_NatPunchthroughDebugInterface_Printf(), true) {
}
}
}

View File

@ -0,0 +1,72 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class NatPunchthroughServer : PluginInterface2 {
private HandleRef swigCPtr;
internal NatPunchthroughServer(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.NatPunchthroughServer_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NatPunchthroughServer obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NatPunchthroughServer() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NatPunchthroughServer(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public static NatPunchthroughServer GetInstance() {
IntPtr cPtr = RakNetPINVOKE.NatPunchthroughServer_GetInstance();
NatPunchthroughServer ret = (cPtr == IntPtr.Zero) ? null : new NatPunchthroughServer(cPtr, false);
return ret;
}
public static void DestroyInstance(NatPunchthroughServer i) {
RakNetPINVOKE.NatPunchthroughServer_DestroyInstance(NatPunchthroughServer.getCPtr(i));
}
public NatPunchthroughServer() : this(RakNetPINVOKE.new_NatPunchthroughServer(), true) {
}
public void SetDebugInterface(NatPunchthroughServerDebugInterface i) {
RakNetPINVOKE.NatPunchthroughServer_SetDebugInterface(swigCPtr, NatPunchthroughServerDebugInterface.getCPtr(i));
}
public ulong lastUpdate {
set {
RakNetPINVOKE.NatPunchthroughServer_lastUpdate_set(swigCPtr, value);
}
get {
ulong ret = RakNetPINVOKE.NatPunchthroughServer_lastUpdate_get(swigCPtr);
return ret;
}
}
}
}

View File

@ -0,0 +1,50 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class NatPunchthroughServerDebugInterface : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal NatPunchthroughServerDebugInterface(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NatPunchthroughServerDebugInterface obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NatPunchthroughServerDebugInterface() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NatPunchthroughServerDebugInterface(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public virtual void OnServerMessage(string msg) {
RakNetPINVOKE.NatPunchthroughServerDebugInterface_OnServerMessage(swigCPtr, msg);
}
}
}

View File

@ -0,0 +1,63 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class NatPunchthroughServerDebugInterface_PacketLogger : NatPunchthroughServerDebugInterface {
private HandleRef swigCPtr;
internal NatPunchthroughServerDebugInterface_PacketLogger(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.NatPunchthroughServerDebugInterface_PacketLogger_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NatPunchthroughServerDebugInterface_PacketLogger obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NatPunchthroughServerDebugInterface_PacketLogger() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NatPunchthroughServerDebugInterface_PacketLogger(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public PacketLogger pl {
set {
RakNetPINVOKE.NatPunchthroughServerDebugInterface_PacketLogger_pl_set(swigCPtr, PacketLogger.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.NatPunchthroughServerDebugInterface_PacketLogger_pl_get(swigCPtr);
PacketLogger ret = (cPtr == IntPtr.Zero) ? null : new PacketLogger(cPtr, false);
return ret;
}
}
public NatPunchthroughServerDebugInterface_PacketLogger() : this(RakNetPINVOKE.new_NatPunchthroughServerDebugInterface_PacketLogger(), true) {
}
public override void OnServerMessage(string msg) {
RakNetPINVOKE.NatPunchthroughServerDebugInterface_PacketLogger_OnServerMessage(swigCPtr, msg);
}
}
}

View File

@ -0,0 +1,52 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class NatPunchthroughServerDebugInterface_Printf : NatPunchthroughServerDebugInterface {
private HandleRef swigCPtr;
internal NatPunchthroughServerDebugInterface_Printf(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.NatPunchthroughServerDebugInterface_Printf_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NatPunchthroughServerDebugInterface_Printf obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NatPunchthroughServerDebugInterface_Printf() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NatPunchthroughServerDebugInterface_Printf(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public override void OnServerMessage(string msg) {
RakNetPINVOKE.NatPunchthroughServerDebugInterface_Printf_OnServerMessage(swigCPtr, msg);
}
public NatPunchthroughServerDebugInterface_Printf() : this(RakNetPINVOKE.new_NatPunchthroughServerDebugInterface_Printf(), true) {
}
}
}

View File

@ -0,0 +1,63 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class NatTypeDetectionClient : PluginInterface2 {
private HandleRef swigCPtr;
internal NatTypeDetectionClient(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.NatTypeDetectionClient_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NatTypeDetectionClient obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NatTypeDetectionClient() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NatTypeDetectionClient(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public static NatTypeDetectionClient GetInstance() {
IntPtr cPtr = RakNetPINVOKE.NatTypeDetectionClient_GetInstance();
NatTypeDetectionClient ret = (cPtr == IntPtr.Zero) ? null : new NatTypeDetectionClient(cPtr, false);
return ret;
}
public static void DestroyInstance(NatTypeDetectionClient i) {
RakNetPINVOKE.NatTypeDetectionClient_DestroyInstance(NatTypeDetectionClient.getCPtr(i));
}
public NatTypeDetectionClient() : this(RakNetPINVOKE.new_NatTypeDetectionClient(), true) {
}
public void DetectNATType(SystemAddress _serverAddress) {
RakNetPINVOKE.NatTypeDetectionClient_DetectNATType(swigCPtr, SystemAddress.getCPtr(_serverAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
}
}

View File

@ -0,0 +1,79 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class NatTypeDetectionServer : PluginInterface2 {
private HandleRef swigCPtr;
internal NatTypeDetectionServer(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.NatTypeDetectionServer_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NatTypeDetectionServer obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NatTypeDetectionServer() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NatTypeDetectionServer(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public static NatTypeDetectionServer GetInstance() {
IntPtr cPtr = RakNetPINVOKE.NatTypeDetectionServer_GetInstance();
NatTypeDetectionServer ret = (cPtr == IntPtr.Zero) ? null : new NatTypeDetectionServer(cPtr, false);
return ret;
}
public static void DestroyInstance(NatTypeDetectionServer i) {
RakNetPINVOKE.NatTypeDetectionServer_DestroyInstance(NatTypeDetectionServer.getCPtr(i));
}
public NatTypeDetectionServer() : this(RakNetPINVOKE.new_NatTypeDetectionServer(), true) {
}
public void Startup(string nonRakNetIP2, string nonRakNetIP3, string nonRakNetIP4) {
RakNetPINVOKE.NatTypeDetectionServer_Startup(swigCPtr, nonRakNetIP2, nonRakNetIP3, nonRakNetIP4);
}
public void Shutdown() {
RakNetPINVOKE.NatTypeDetectionServer_Shutdown(swigCPtr);
}
public enum NATDetectionState {
STATE_NONE,
STATE_TESTING_NONE_1,
STATE_TESTING_NONE_2,
STATE_TESTING_FULL_CONE_1,
STATE_TESTING_FULL_CONE_2,
STATE_TESTING_ADDRESS_RESTRICTED_1,
STATE_TESTING_ADDRESS_RESTRICTED_2,
STATE_TESTING_PORT_RESTRICTED_1,
STATE_TESTING_PORT_RESTRICTED_2,
STATE_DONE
}
}
}

View File

@ -0,0 +1,74 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
public class NetworkIDManager : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal NetworkIDManager(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NetworkIDManager obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NetworkIDManager() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NetworkIDManager(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public Dictionary<IntPtr, NetworkIDObject> pointerDictionary = new Dictionary<IntPtr, NetworkIDObject>();
public NetworkIDObject GET_BASE_OBJECT_FROM_ID(ulong x)
{
return pointerDictionary[GET_BASE_OBJECT_FROM_IDORIG(x).GetIntPtr()];
}
public static NetworkIDManager GetInstance() {
IntPtr cPtr = RakNetPINVOKE.NetworkIDManager_GetInstance();
NetworkIDManager ret = (cPtr == IntPtr.Zero) ? null : new NetworkIDManager(cPtr, false);
return ret;
}
public static void DestroyInstance(NetworkIDManager i) {
RakNetPINVOKE.NetworkIDManager_DestroyInstance(NetworkIDManager.getCPtr(i));
}
public NetworkIDManager() : this(RakNetPINVOKE.new_NetworkIDManager(), true) {
}
protected NetworkIDObject GET_BASE_OBJECT_FROM_IDORIG(ulong x) {
IntPtr cPtr = RakNetPINVOKE.NetworkIDManager_GET_BASE_OBJECT_FROM_IDORIG(swigCPtr, x);
NetworkIDObject ret = (cPtr == IntPtr.Zero) ? null : new NetworkIDObject(cPtr, false);
return ret;
}
}
}

View File

@ -0,0 +1,137 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class NetworkIDObject : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal NetworkIDObject(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(NetworkIDObject obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~NetworkIDObject() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_NetworkIDObject(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
NetworkIDManager oldManager;
public virtual void SetNetworkIDManager(NetworkIDManager manager)
{
if (oldManager != null)
{
oldManager.pointerDictionary.Remove(GetIntPtr());
}
if (manager != null)
{
manager.pointerDictionary.Add(GetIntPtr(), this);
oldManager = manager;
}
SetNetworkIDManagerOrig(manager);
}
public IntPtr GetIntPtr()
{
return swigCPtr.Handle;
}
public NetworkIDObject() : this(RakNetPINVOKE.new_NetworkIDObject(), true) {
SwigDirectorConnect();
}
protected void SetNetworkIDManagerOrig(NetworkIDManager manager) {
if (this.GetType() == typeof(NetworkIDObject)) RakNetPINVOKE.NetworkIDObject_SetNetworkIDManagerOrig(swigCPtr, NetworkIDManager.getCPtr(manager)); else RakNetPINVOKE.NetworkIDObject_SetNetworkIDManagerOrigSwigExplicitNetworkIDObject(swigCPtr, NetworkIDManager.getCPtr(manager));
}
public virtual NetworkIDManager GetNetworkIDManager() {
IntPtr cPtr = ((this.GetType() == typeof(NetworkIDObject)) ? RakNetPINVOKE.NetworkIDObject_GetNetworkIDManager(swigCPtr) : RakNetPINVOKE.NetworkIDObject_GetNetworkIDManagerSwigExplicitNetworkIDObject(swigCPtr));
NetworkIDManager ret = (cPtr == IntPtr.Zero) ? null : new NetworkIDManager(cPtr, false);
return ret;
}
public virtual ulong GetNetworkID() {
ulong ret = ((this.GetType() == typeof(NetworkIDObject)) ? RakNetPINVOKE.NetworkIDObject_GetNetworkID(swigCPtr) : RakNetPINVOKE.NetworkIDObject_GetNetworkIDSwigExplicitNetworkIDObject(swigCPtr));
return ret;
}
public virtual void SetNetworkID(ulong id) {
if (this.GetType() == typeof(NetworkIDObject)) RakNetPINVOKE.NetworkIDObject_SetNetworkID(swigCPtr, id); else RakNetPINVOKE.NetworkIDObject_SetNetworkIDSwigExplicitNetworkIDObject(swigCPtr, id);
}
private void SwigDirectorConnect() {
if (SwigDerivedClassHasMethod("SetNetworkIDManagerOrig", swigMethodTypes0))
swigDelegate0 = new SwigDelegateNetworkIDObject_0(SwigDirectorSetNetworkIDManagerOrig);
if (SwigDerivedClassHasMethod("GetNetworkIDManager", swigMethodTypes1))
swigDelegate1 = new SwigDelegateNetworkIDObject_1(SwigDirectorGetNetworkIDManager);
if (SwigDerivedClassHasMethod("GetNetworkID", swigMethodTypes2))
swigDelegate2 = new SwigDelegateNetworkIDObject_2(SwigDirectorGetNetworkID);
if (SwigDerivedClassHasMethod("SetNetworkID", swigMethodTypes3))
swigDelegate3 = new SwigDelegateNetworkIDObject_3(SwigDirectorSetNetworkID);
RakNetPINVOKE.NetworkIDObject_director_connect(swigCPtr, swigDelegate0, swigDelegate1, swigDelegate2, swigDelegate3);
}
private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes) {
System.Reflection.MethodInfo methodInfo = this.GetType().GetMethod(methodName, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance, null, methodTypes, null);
bool hasDerivedMethod = methodInfo.DeclaringType.IsSubclassOf(typeof(NetworkIDObject));
return hasDerivedMethod;
}
private void SwigDirectorSetNetworkIDManagerOrig(IntPtr manager) {
SetNetworkIDManagerOrig((manager == IntPtr.Zero) ? null : new NetworkIDManager(manager, false));
}
private IntPtr SwigDirectorGetNetworkIDManager() {
return NetworkIDManager.getCPtr(GetNetworkIDManager()).Handle;
}
private ulong SwigDirectorGetNetworkID() {
return GetNetworkID();
}
private void SwigDirectorSetNetworkID(ulong id) {
SetNetworkID(id);
}
public delegate void SwigDelegateNetworkIDObject_0(IntPtr manager);
public delegate IntPtr SwigDelegateNetworkIDObject_1();
public delegate ulong SwigDelegateNetworkIDObject_2();
public delegate void SwigDelegateNetworkIDObject_3(ulong id);
private SwigDelegateNetworkIDObject_0 swigDelegate0;
private SwigDelegateNetworkIDObject_1 swigDelegate1;
private SwigDelegateNetworkIDObject_2 swigDelegate2;
private SwigDelegateNetworkIDObject_3 swigDelegate3;
private static Type[] swigMethodTypes0 = new Type[] { typeof(NetworkIDManager) };
private static Type[] swigMethodTypes1 = new Type[] { };
private static Type[] swigMethodTypes2 = new Type[] { };
private static Type[] swigMethodTypes3 = new Type[] { typeof(ulong) };
}
}

View File

@ -0,0 +1,204 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class OnFileStruct : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal OnFileStruct(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(OnFileStruct obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~OnFileStruct() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_OnFileStruct(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
private bool fileDataIsCached = false;
private byte[] fileDataCache;
public uint fileIndex {
set {
RakNetPINVOKE.OnFileStruct_fileIndex_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.OnFileStruct_fileIndex_get(swigCPtr);
return ret;
}
}
public string fileName {
set {
RakNetPINVOKE.OnFileStruct_fileName_set(swigCPtr, value);
}
get {
string ret = RakNetPINVOKE.OnFileStruct_fileName_get(swigCPtr);
return ret;
}
}
public byte[] fileData {
set
{
fileDataCache=value;
fileDataIsCached = true;
SetFileData (value, value.Length);
}
get
{
byte[] returnArray;
if (!fileDataIsCached)
{
IntPtr cPtr = RakNetPINVOKE.OnFileStruct_fileData_get (swigCPtr);
int len = (int) byteLengthOfThisFile;
if (len<=0)
{
return null;
}
returnArray = new byte[len];
byte[] marshalArray = new byte[len];
Marshal.Copy(cPtr, marshalArray, 0, len);
marshalArray.CopyTo(returnArray, 0);
fileDataCache = returnArray;
fileDataIsCached = true;
}
else
{
returnArray = fileDataCache;
}
return returnArray;
}
}
public uint byteLengthOfThisFile {
set {
RakNetPINVOKE.OnFileStruct_byteLengthOfThisFile_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.OnFileStruct_byteLengthOfThisFile_get(swigCPtr);
return ret;
}
}
public uint bytesDownloadedForThisFile {
set {
RakNetPINVOKE.OnFileStruct_bytesDownloadedForThisFile_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.OnFileStruct_bytesDownloadedForThisFile_get(swigCPtr);
return ret;
}
}
public ushort setID {
set {
RakNetPINVOKE.OnFileStruct_setID_set(swigCPtr, value);
}
get {
ushort ret = RakNetPINVOKE.OnFileStruct_setID_get(swigCPtr);
return ret;
}
}
public uint numberOfFilesInThisSet {
set {
RakNetPINVOKE.OnFileStruct_numberOfFilesInThisSet_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.OnFileStruct_numberOfFilesInThisSet_get(swigCPtr);
return ret;
}
}
public uint byteLengthOfThisSet {
set {
RakNetPINVOKE.OnFileStruct_byteLengthOfThisSet_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.OnFileStruct_byteLengthOfThisSet_get(swigCPtr);
return ret;
}
}
public uint bytesDownloadedForThisSet {
set {
RakNetPINVOKE.OnFileStruct_bytesDownloadedForThisSet_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.OnFileStruct_bytesDownloadedForThisSet_get(swigCPtr);
return ret;
}
}
public FileListNodeContext context {
set {
RakNetPINVOKE.OnFileStruct_context_set(swigCPtr, FileListNodeContext.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.OnFileStruct_context_get(swigCPtr);
FileListNodeContext ret = (cPtr == IntPtr.Zero) ? null : new FileListNodeContext(cPtr, false);
return ret;
}
}
public SystemAddress senderSystemAddress {
set {
RakNetPINVOKE.OnFileStruct_senderSystemAddress_set(swigCPtr, SystemAddress.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.OnFileStruct_senderSystemAddress_get(swigCPtr);
SystemAddress ret = (cPtr == IntPtr.Zero) ? null : new SystemAddress(cPtr, false);
return ret;
}
}
public RakNetGUID senderGuid {
set {
RakNetPINVOKE.OnFileStruct_senderGuid_set(swigCPtr, RakNetGUID.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.OnFileStruct_senderGuid_get(swigCPtr);
RakNetGUID ret = (cPtr == IntPtr.Zero) ? null : new RakNetGUID(cPtr, false);
return ret;
}
}
public OnFileStruct() : this(RakNetPINVOKE.new_OnFileStruct(), true) {
}
private void SetFileData(byte[] inByteArray, int numBytes) {
RakNetPINVOKE.OnFileStruct_SetFileData(swigCPtr, inByteArray, numBytes);
}
}
}

View File

@ -0,0 +1,24 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
public enum OutOfBandIdentifiers {
ID_NAT_ESTABLISH_UNIDIRECTIONAL,
ID_NAT_ESTABLISH_BIDIRECTIONAL,
ID_NAT_TYPE_DETECT,
ID_ROUTER_2_REPLY_TO_SENDER_PORT,
ID_ROUTER_2_REPLY_TO_SPECIFIED_PORT,
ID_ROUTER_2_MINI_PUNCH_REPLY,
ID_ROUTER_2_MINI_PUNCH_REPLY_BOUNCE,
ID_XBOX_360_VOICE,
ID_XBOX_360_GET_NETWORK_ROOM,
ID_XBOX_360_RETURN_NETWORK_ROOM
}
}

View File

@ -0,0 +1,163 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class Packet : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal Packet(IntPtr cPtr, bool cMemoryOwn)
{
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(Packet obj)
{
if (obj != null)
{
if (obj.dataIsCached)
{
obj.SetPacketData(obj.data, obj.data.Length); //If an individual index was modified we need to copy the data before passing to C++
}
obj.dataIsCached=false;
}
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~Packet() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_Packet(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
private bool dataIsCached = false;
private byte[] dataCache;
public SystemAddress systemAddress {
set {
RakNetPINVOKE.Packet_systemAddress_set(swigCPtr, SystemAddress.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.Packet_systemAddress_get(swigCPtr);
SystemAddress ret = (cPtr == IntPtr.Zero) ? null : new SystemAddress(cPtr, false);
return ret;
}
}
public RakNetGUID guid {
set {
RakNetPINVOKE.Packet_guid_set(swigCPtr, RakNetGUID.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.Packet_guid_get(swigCPtr);
RakNetGUID ret = (cPtr == IntPtr.Zero) ? null : new RakNetGUID(cPtr, false);
return ret;
}
}
public uint length {
set {
RakNetPINVOKE.Packet_length_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.Packet_length_get(swigCPtr);
return ret;
}
}
public uint bitSize {
set {
RakNetPINVOKE.Packet_bitSize_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.Packet_bitSize_get(swigCPtr);
return ret;
}
}
public byte[] data {
set
{
dataCache=value;
dataIsCached = true;
SetPacketData (value, value.Length);
}
get
{
byte[] returnBytes;
if (!dataIsCached)
{
IntPtr cPtr = RakNetPINVOKE.Packet_data_get (swigCPtr);
int len = (int)((Packet)swigCPtr.Wrapper).length;
if (len<=0)
{
return null;
}
returnBytes = new byte[len];
Marshal.Copy(cPtr, returnBytes, 0, len);
dataCache = returnBytes;
dataIsCached = true;
}
else
{
returnBytes = dataCache;
}
return returnBytes;
}
}
public bool deleteData {
set {
RakNetPINVOKE.Packet_deleteData_set(swigCPtr, value);
}
get {
bool ret = RakNetPINVOKE.Packet_deleteData_get(swigCPtr);
return ret;
}
}
public bool wasGeneratedLocally {
set {
RakNetPINVOKE.Packet_wasGeneratedLocally_set(swigCPtr, value);
}
get {
bool ret = RakNetPINVOKE.Packet_wasGeneratedLocally_get(swigCPtr);
return ret;
}
}
public Packet() : this(RakNetPINVOKE.new_Packet(), true) {
}
public void SetPacketData(byte[] inByteArray, int numBytes) {
RakNetPINVOKE.Packet_SetPacketData(swigCPtr, inByteArray, numBytes);
}
}
}

View File

@ -0,0 +1,56 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class PacketConsoleLogger : PacketLogger {
private HandleRef swigCPtr;
internal PacketConsoleLogger(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.PacketConsoleLogger_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(PacketConsoleLogger obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~PacketConsoleLogger() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_PacketConsoleLogger(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public PacketConsoleLogger() : this(RakNetPINVOKE.new_PacketConsoleLogger(), true) {
}
public virtual void SetLogCommandParser(LogCommandParser lcp) {
RakNetPINVOKE.PacketConsoleLogger_SetLogCommandParser(swigCPtr, LogCommandParser.getCPtr(lcp));
}
public override void WriteLog(string str) {
RakNetPINVOKE.PacketConsoleLogger_WriteLog(swigCPtr, str);
}
}
}

View File

@ -0,0 +1,56 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class PacketFileLogger : PacketLogger {
private HandleRef swigCPtr;
internal PacketFileLogger(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.PacketFileLogger_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(PacketFileLogger obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~PacketFileLogger() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_PacketFileLogger(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public PacketFileLogger() : this(RakNetPINVOKE.new_PacketFileLogger(), true) {
}
public void StartLog(string filenamePrefix) {
RakNetPINVOKE.PacketFileLogger_StartLog(swigCPtr, filenamePrefix);
}
public override void WriteLog(string str) {
RakNetPINVOKE.PacketFileLogger_WriteLog(swigCPtr, str);
}
}
}

View File

@ -0,0 +1,115 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class PacketLogger : PluginInterface2 {
private HandleRef swigCPtr;
internal PacketLogger(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.PacketLogger_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(PacketLogger obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~PacketLogger() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_PacketLogger(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public virtual void FormatLine(ref string preInitializedStringBigEnoughToFitResult, string dir, string type, uint packet, uint frame, byte messageIdentifier, uint bitLen, ulong time, SystemAddress local, SystemAddress remote, uint splitPacketId, uint splitPacketIndex, uint splitPacketCount, uint orderingIndex) {
preInitializedStringBigEnoughToFitResult=FormatLineHelper( preInitializedStringBigEnoughToFitResult, dir, type, packet, frame, messageIdentifier, bitLen, time, local, remote, splitPacketId, splitPacketIndex, splitPacketCount, orderingIndex);
}
public virtual void FormatLine(ref string preInitializedStringBigEnoughToFitResult, string dir, string type, uint packet, uint frame, string idToPrint, uint bitLen, ulong time, SystemAddress local, SystemAddress remote, uint splitPacketId, uint splitPacketIndex, uint splitPacketCount, uint orderingIndex) {
preInitializedStringBigEnoughToFitResult=FormatLineHelper( preInitializedStringBigEnoughToFitResult, dir, type, packet, frame, idToPrint, bitLen, time, local, remote, splitPacketId, splitPacketIndex, splitPacketCount, orderingIndex);
}
public static PacketLogger GetInstance() {
IntPtr cPtr = RakNetPINVOKE.PacketLogger_GetInstance();
PacketLogger ret = (cPtr == IntPtr.Zero) ? null : new PacketLogger(cPtr, false);
return ret;
}
public static void DestroyInstance(PacketLogger i) {
RakNetPINVOKE.PacketLogger_DestroyInstance(PacketLogger.getCPtr(i));
}
public PacketLogger() : this(RakNetPINVOKE.new_PacketLogger(), true) {
}
public virtual void LogHeader() {
RakNetPINVOKE.PacketLogger_LogHeader(swigCPtr);
}
public virtual void WriteLog(string str) {
RakNetPINVOKE.PacketLogger_WriteLog(swigCPtr, str);
}
public virtual void WriteMiscellaneous(string type, string msg) {
RakNetPINVOKE.PacketLogger_WriteMiscellaneous(swigCPtr, type, msg);
}
public virtual void SetPrintID(bool print) {
RakNetPINVOKE.PacketLogger_SetPrintID(swigCPtr, print);
}
public virtual void SetPrintAcks(bool print) {
RakNetPINVOKE.PacketLogger_SetPrintAcks(swigCPtr, print);
}
public virtual void SetPrefix(string _prefix) {
RakNetPINVOKE.PacketLogger_SetPrefix(swigCPtr, _prefix);
}
public virtual void SetSuffix(string _suffix) {
RakNetPINVOKE.PacketLogger_SetSuffix(swigCPtr, _suffix);
}
public static string BaseIDTOString(byte Id) {
string ret = RakNetPINVOKE.PacketLogger_BaseIDTOString(Id);
return ret;
}
public void SetLogDirectMessages(bool send) {
RakNetPINVOKE.PacketLogger_SetLogDirectMessages(swigCPtr, send);
}
private string FormatLineHelper(string into, string dir, string type, uint packet, uint frame, byte messageIdentifier, uint bitLen, ulong time, SystemAddress local, SystemAddress remote, uint splitPacketId, uint splitPacketIndex, uint splitPacketCount, uint orderingIndex) {
string ret = RakNetPINVOKE.PacketLogger_FormatLineHelper__SWIG_0(swigCPtr, into, dir, type, packet, frame, messageIdentifier, bitLen, time, SystemAddress.getCPtr(local), SystemAddress.getCPtr(remote), splitPacketId, splitPacketIndex, splitPacketCount, orderingIndex);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private string FormatLineHelper(string into, string dir, string type, uint packet, uint frame, string idToPrint, uint bitLen, ulong time, SystemAddress local, SystemAddress remote, uint splitPacketId, uint splitPacketIndex, uint splitPacketCount, uint orderingIndex) {
string ret = RakNetPINVOKE.PacketLogger_FormatLineHelper__SWIG_1(swigCPtr, into, dir, type, packet, frame, idToPrint, bitLen, time, SystemAddress.getCPtr(local), SystemAddress.getCPtr(remote), splitPacketId, splitPacketIndex, splitPacketCount, orderingIndex);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
}
}

View File

@ -0,0 +1,19 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
public enum PacketPriority {
IMMEDIATE_PRIORITY,
HIGH_PRIORITY,
MEDIUM_PRIORITY,
LOW_PRIORITY,
NUMBER_OF_PRIORITIES
}
}

View File

@ -0,0 +1,23 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
public enum PacketReliability {
UNRELIABLE,
UNRELIABLE_SEQUENCED,
RELIABLE,
RELIABLE_ORDERED,
RELIABLE_SEQUENCED,
UNRELIABLE_WITH_ACK_RECEIPT,
RELIABLE_WITH_ACK_RECEIPT,
RELIABLE_ORDERED_WITH_ACK_RECEIPT,
NUMBER_OF_RELIABILITIES
}
}

View File

@ -0,0 +1,60 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class PluginInterface2 : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal PluginInterface2(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(PluginInterface2 obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~PluginInterface2() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_PluginInterface2(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public PluginInterface2() : this(RakNetPINVOKE.new_PluginInterface2(), true) {
}
public virtual bool UsesReliabilityLayer() {
bool ret = RakNetPINVOKE.PluginInterface2_UsesReliabilityLayer(swigCPtr);
return ret;
}
public RakPeerInterface GetRakPeerInterface() {
IntPtr cPtr = RakNetPINVOKE.PluginInterface2_GetRakPeerInterface(swigCPtr);
RakPeerInterface ret = (cPtr == IntPtr.Zero) ? null : new RakPeerInterface(cPtr, false);
return ret;
}
}
}

View File

@ -0,0 +1,17 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
public enum PluginReceiveResult {
RR_STOP_PROCESSING_AND_DEALLOCATE = 0,
RR_CONTINUE_PROCESSING,
RR_STOP_PROCESSING
}
}

View File

@ -0,0 +1,89 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class PublicKey : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal PublicKey(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(PublicKey obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~PublicKey() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_PublicKey(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public PublicKeyMode publicKeyMode {
set {
RakNetPINVOKE.PublicKey_publicKeyMode_set(swigCPtr, (int)value);
}
get {
PublicKeyMode ret = (PublicKeyMode)RakNetPINVOKE.PublicKey_publicKeyMode_get(swigCPtr);
return ret;
}
}
public string remoteServerPublicKey {
set {
RakNetPINVOKE.PublicKey_remoteServerPublicKey_set(swigCPtr, value);
}
get {
string ret = RakNetPINVOKE.PublicKey_remoteServerPublicKey_get(swigCPtr);
return ret;
}
}
public string myPublicKey {
set {
RakNetPINVOKE.PublicKey_myPublicKey_set(swigCPtr, value);
}
get {
string ret = RakNetPINVOKE.PublicKey_myPublicKey_get(swigCPtr);
return ret;
}
}
public string myPrivateKey {
set {
RakNetPINVOKE.PublicKey_myPrivateKey_set(swigCPtr, value);
}
get {
string ret = RakNetPINVOKE.PublicKey_myPrivateKey_get(swigCPtr);
return ret;
}
}
public PublicKey() : this(RakNetPINVOKE.new_PublicKey(), true) {
}
}
}

View File

@ -0,0 +1,18 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
public enum PublicKeyMode {
PKM_INSECURE_CONNECTION,
PKM_ACCEPT_ANY_PUBLIC_KEY,
PKM_USE_KNOWN_PUBLIC_KEY,
PKM_USE_TWO_WAY_AUTHENTICATION
}
}

View File

@ -0,0 +1,149 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class PunchthroughConfiguration : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal PunchthroughConfiguration(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(PunchthroughConfiguration obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~PunchthroughConfiguration() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_PunchthroughConfiguration(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public PunchthroughConfiguration() : this(RakNetPINVOKE.new_PunchthroughConfiguration(), true) {
}
public ulong TIME_BETWEEN_PUNCH_ATTEMPTS_INTERNAL {
set {
RakNetPINVOKE.PunchthroughConfiguration_TIME_BETWEEN_PUNCH_ATTEMPTS_INTERNAL_set(swigCPtr, value);
}
get {
ulong ret = RakNetPINVOKE.PunchthroughConfiguration_TIME_BETWEEN_PUNCH_ATTEMPTS_INTERNAL_get(swigCPtr);
return ret;
}
}
public ulong TIME_BETWEEN_PUNCH_ATTEMPTS_EXTERNAL {
set {
RakNetPINVOKE.PunchthroughConfiguration_TIME_BETWEEN_PUNCH_ATTEMPTS_EXTERNAL_set(swigCPtr, value);
}
get {
ulong ret = RakNetPINVOKE.PunchthroughConfiguration_TIME_BETWEEN_PUNCH_ATTEMPTS_EXTERNAL_get(swigCPtr);
return ret;
}
}
public int UDP_SENDS_PER_PORT_INTERNAL {
set {
RakNetPINVOKE.PunchthroughConfiguration_UDP_SENDS_PER_PORT_INTERNAL_set(swigCPtr, value);
}
get {
int ret = RakNetPINVOKE.PunchthroughConfiguration_UDP_SENDS_PER_PORT_INTERNAL_get(swigCPtr);
return ret;
}
}
public int UDP_SENDS_PER_PORT_EXTERNAL {
set {
RakNetPINVOKE.PunchthroughConfiguration_UDP_SENDS_PER_PORT_EXTERNAL_set(swigCPtr, value);
}
get {
int ret = RakNetPINVOKE.PunchthroughConfiguration_UDP_SENDS_PER_PORT_EXTERNAL_get(swigCPtr);
return ret;
}
}
public int INTERNAL_IP_WAIT_AFTER_ATTEMPTS {
set {
RakNetPINVOKE.PunchthroughConfiguration_INTERNAL_IP_WAIT_AFTER_ATTEMPTS_set(swigCPtr, value);
}
get {
int ret = RakNetPINVOKE.PunchthroughConfiguration_INTERNAL_IP_WAIT_AFTER_ATTEMPTS_get(swigCPtr);
return ret;
}
}
public int MAX_PREDICTIVE_PORT_RANGE {
set {
RakNetPINVOKE.PunchthroughConfiguration_MAX_PREDICTIVE_PORT_RANGE_set(swigCPtr, value);
}
get {
int ret = RakNetPINVOKE.PunchthroughConfiguration_MAX_PREDICTIVE_PORT_RANGE_get(swigCPtr);
return ret;
}
}
public int EXTERNAL_IP_WAIT_BETWEEN_PORTS {
set {
RakNetPINVOKE.PunchthroughConfiguration_EXTERNAL_IP_WAIT_BETWEEN_PORTS_set(swigCPtr, value);
}
get {
int ret = RakNetPINVOKE.PunchthroughConfiguration_EXTERNAL_IP_WAIT_BETWEEN_PORTS_get(swigCPtr);
return ret;
}
}
public int EXTERNAL_IP_WAIT_AFTER_ALL_ATTEMPTS {
set {
RakNetPINVOKE.PunchthroughConfiguration_EXTERNAL_IP_WAIT_AFTER_ALL_ATTEMPTS_set(swigCPtr, value);
}
get {
int ret = RakNetPINVOKE.PunchthroughConfiguration_EXTERNAL_IP_WAIT_AFTER_ALL_ATTEMPTS_get(swigCPtr);
return ret;
}
}
public int MAXIMUM_NUMBER_OF_INTERNAL_IDS_TO_CHECK {
set {
RakNetPINVOKE.PunchthroughConfiguration_MAXIMUM_NUMBER_OF_INTERNAL_IDS_TO_CHECK_set(swigCPtr, value);
}
get {
int ret = RakNetPINVOKE.PunchthroughConfiguration_MAXIMUM_NUMBER_OF_INTERNAL_IDS_TO_CHECK_get(swigCPtr);
return ret;
}
}
public bool retryOnFailure {
set {
RakNetPINVOKE.PunchthroughConfiguration_retryOnFailure_set(swigCPtr, value);
}
get {
bool ret = RakNetPINVOKE.PunchthroughConfiguration_retryOnFailure_get(swigCPtr);
return ret;
}
}
}
}

View File

@ -0,0 +1,22 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
public enum RNSPerSecondMetrics {
USER_MESSAGE_BYTES_PUSHED,
USER_MESSAGE_BYTES_SENT,
USER_MESSAGE_BYTES_RESENT,
USER_MESSAGE_BYTES_RECEIVED_PROCESSED,
USER_MESSAGE_BYTES_RECEIVED_IGNORED,
ACTUAL_BYTES_SENT,
ACTUAL_BYTES_RECEIVED,
RNS_PER_SECOND_METRICS_COUNT
}
}

View File

@ -0,0 +1,177 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNet {
public static readonly SystemAddress UNASSIGNED_SYSTEM_ADDRESS = new SystemAddress();
public static readonly RakNetGUID UNASSIGNED_RAKNET_GUID = new RakNetGUID(ulong.MaxValue);
public static void StatisticsToString(RakNetStatistics s, out string buffer, int verbosityLevel)
{
String tmp = new String('c', 9999);
buffer=StatisticsToStringHelper(s,tmp,verbosityLevel);
}
public static string StatisticsToStringHelper(RakNetStatistics s, string buffer, int verbosityLevel) {
string ret = RakNetPINVOKE.StatisticsToStringHelper(RakNetStatistics.getCPtr(s), buffer, verbosityLevel);
return ret;
}
public static int MAX_RPC_MAP_SIZE {
get {
int ret = RakNetPINVOKE.MAX_RPC_MAP_SIZE_get();
return ret;
}
}
public static int UNDEFINED_RPC_INDEX {
get {
int ret = RakNetPINVOKE.UNDEFINED_RPC_INDEX_get();
return ret;
}
}
public static bool NonNumericHostString(string host) {
bool ret = RakNetPINVOKE.NonNumericHostString(host);
return ret;
}
public static ushort UNASSIGNED_PLAYER_INDEX {
get {
ushort ret = RakNetPINVOKE.UNASSIGNED_PLAYER_INDEX_get();
return ret;
}
}
public static ulong UNASSIGNED_NETWORK_ID {
get {
ulong ret = RakNetPINVOKE.UNASSIGNED_NETWORK_ID_get();
return ret;
}
}
public static int PING_TIMES_ARRAY_SIZE {
get {
int ret = RakNetPINVOKE.PING_TIMES_ARRAY_SIZE_get();
return ret;
}
}
public static RakString OpPlus(RakString lhs, RakString rhs) {
RakString ret = new RakString(RakNetPINVOKE.OpPlus(RakString.getCPtr(lhs), RakString.getCPtr(rhs)), true);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public static uint MAX_UNSIGNED_LONG {
get {
uint ret = RakNetPINVOKE.MAX_UNSIGNED_LONG_get();
return ret;
}
}
public static ulong GetTime() {
ulong ret = RakNetPINVOKE.GetTime();
return ret;
}
public static uint GetTimeMS() {
uint ret = RakNetPINVOKE.GetTimeMS();
return ret;
}
public static ulong GetTimeUS() {
ulong ret = RakNetPINVOKE.GetTimeUS();
return ret;
}
public static bool GreaterThan(ulong a, ulong b) {
bool ret = RakNetPINVOKE.GreaterThan(a, b);
return ret;
}
public static bool LessThan(ulong a, ulong b) {
bool ret = RakNetPINVOKE.LessThan(a, b);
return ret;
}
public static readonly int SWIG_CSHARP_NO_IMCLASS_STATIC_CONSTRUCTOR = RakNetPINVOKE.SWIG_CSHARP_NO_IMCLASS_STATIC_CONSTRUCTOR_get();
public static readonly int __GET_TIME_64BIT = RakNetPINVOKE.__GET_TIME_64BIT_get();
public static readonly int MAX_ALLOCA_STACK_ALLOCATION = RakNetPINVOKE.MAX_ALLOCA_STACK_ALLOCATION_get();
public static readonly int _USE_RAK_MEMORY_OVERRIDE = RakNetPINVOKE._USE_RAK_MEMORY_OVERRIDE_get();
public static readonly int OPEN_SSL_CLIENT_SUPPORT = RakNetPINVOKE.OPEN_SSL_CLIENT_SUPPORT_get();
public static readonly int BITSTREAM_STACK_ALLOCATION_SIZE = RakNetPINVOKE.BITSTREAM_STACK_ALLOCATION_SIZE_get();
public static readonly int MAXIMUM_NUMBER_OF_INTERNAL_IDS = RakNetPINVOKE.MAXIMUM_NUMBER_OF_INTERNAL_IDS_get();
public static readonly int DATAGRAM_MESSAGE_ID_ARRAY_LENGTH = RakNetPINVOKE.DATAGRAM_MESSAGE_ID_ARRAY_LENGTH_get();
public static readonly int RESEND_BUFFER_ARRAY_LENGTH = RakNetPINVOKE.RESEND_BUFFER_ARRAY_LENGTH_get();
public static readonly int RESEND_BUFFER_ARRAY_MASK = RakNetPINVOKE.RESEND_BUFFER_ARRAY_MASK_get();
public static readonly int GET_TIME_SPIKE_LIMIT = RakNetPINVOKE.GET_TIME_SPIKE_LIMIT_get();
public static readonly int USE_SLIDING_WINDOW_CONGESTION_CONTROL = RakNetPINVOKE.USE_SLIDING_WINDOW_CONGESTION_CONTROL_get();
public static readonly int PREALLOCATE_LARGE_MESSAGES = RakNetPINVOKE.PREALLOCATE_LARGE_MESSAGES_get();
public static readonly int RAKNET_SUPPORT_IPV6 = RakNetPINVOKE.RAKNET_SUPPORT_IPV6_get();
public static readonly int RAKSTRING_TYPE_IS_UNICODE = RakNetPINVOKE.RAKSTRING_TYPE_IS_UNICODE_get();
public static readonly int RPC4_GLOBAL_REGISTRATION_MAX_FUNCTIONS = RakNetPINVOKE.RPC4_GLOBAL_REGISTRATION_MAX_FUNCTIONS_get();
public static readonly int RPC4_GLOBAL_REGISTRATION_MAX_FUNCTION_NAME_LENGTH = RakNetPINVOKE.RPC4_GLOBAL_REGISTRATION_MAX_FUNCTION_NAME_LENGTH_get();
public static readonly int XBOX_BYPASS_SECURITY = RakNetPINVOKE.XBOX_BYPASS_SECURITY_get();
public static readonly int BUFFERED_PACKETS_PAGE_SIZE = RakNetPINVOKE.BUFFERED_PACKETS_PAGE_SIZE_get();
public static readonly int INTERNAL_PACKET_PAGE_SIZE = RakNetPINVOKE.INTERNAL_PACKET_PAGE_SIZE_get();
public static readonly int LIBCAT_SECURITY = RakNetPINVOKE.LIBCAT_SECURITY_get();
public static readonly int _RAKNET_SUPPORT_ConnectionGraph2 = RakNetPINVOKE._RAKNET_SUPPORT_ConnectionGraph2_get();
public static readonly int _RAKNET_SUPPORT_DirectoryDeltaTransfer = RakNetPINVOKE._RAKNET_SUPPORT_DirectoryDeltaTransfer_get();
public static readonly int _RAKNET_SUPPORT_FileListTransfer = RakNetPINVOKE._RAKNET_SUPPORT_FileListTransfer_get();
public static readonly int _RAKNET_SUPPORT_FullyConnectedMesh = RakNetPINVOKE._RAKNET_SUPPORT_FullyConnectedMesh_get();
public static readonly int _RAKNET_SUPPORT_FullyConnectedMesh2 = RakNetPINVOKE._RAKNET_SUPPORT_FullyConnectedMesh2_get();
public static readonly int _RAKNET_SUPPORT_MessageFilter = RakNetPINVOKE._RAKNET_SUPPORT_MessageFilter_get();
public static readonly int _RAKNET_SUPPORT_NatPunchthroughClient = RakNetPINVOKE._RAKNET_SUPPORT_NatPunchthroughClient_get();
public static readonly int _RAKNET_SUPPORT_NatPunchthroughServer = RakNetPINVOKE._RAKNET_SUPPORT_NatPunchthroughServer_get();
public static readonly int _RAKNET_SUPPORT_NatTypeDetectionClient = RakNetPINVOKE._RAKNET_SUPPORT_NatTypeDetectionClient_get();
public static readonly int _RAKNET_SUPPORT_NatTypeDetectionServer = RakNetPINVOKE._RAKNET_SUPPORT_NatTypeDetectionServer_get();
public static readonly int _RAKNET_SUPPORT_PacketLogger = RakNetPINVOKE._RAKNET_SUPPORT_PacketLogger_get();
public static readonly int _RAKNET_SUPPORT_ReadyEvent = RakNetPINVOKE._RAKNET_SUPPORT_ReadyEvent_get();
public static readonly int _RAKNET_SUPPORT_ReplicaManager3 = RakNetPINVOKE._RAKNET_SUPPORT_ReplicaManager3_get();
public static readonly int _RAKNET_SUPPORT_Router2 = RakNetPINVOKE._RAKNET_SUPPORT_Router2_get();
public static readonly int _RAKNET_SUPPORT_RPC4Plugin = RakNetPINVOKE._RAKNET_SUPPORT_RPC4Plugin_get();
public static readonly int _RAKNET_SUPPORT_TeamBalancer = RakNetPINVOKE._RAKNET_SUPPORT_TeamBalancer_get();
public static readonly int _RAKNET_SUPPORT_TeamManager = RakNetPINVOKE._RAKNET_SUPPORT_TeamManager_get();
public static readonly int _RAKNET_SUPPORT_UDPProxyClient = RakNetPINVOKE._RAKNET_SUPPORT_UDPProxyClient_get();
public static readonly int _RAKNET_SUPPORT_UDPProxyCoordinator = RakNetPINVOKE._RAKNET_SUPPORT_UDPProxyCoordinator_get();
public static readonly int _RAKNET_SUPPORT_UDPProxyServer = RakNetPINVOKE._RAKNET_SUPPORT_UDPProxyServer_get();
public static readonly int _RAKNET_SUPPORT_ConsoleServer = RakNetPINVOKE._RAKNET_SUPPORT_ConsoleServer_get();
public static readonly int _RAKNET_SUPPORT_RakNetTransport = RakNetPINVOKE._RAKNET_SUPPORT_RakNetTransport_get();
public static readonly int _RAKNET_SUPPORT_TelnetTransport = RakNetPINVOKE._RAKNET_SUPPORT_TelnetTransport_get();
public static readonly int _RAKNET_SUPPORT_TCPInterface = RakNetPINVOKE._RAKNET_SUPPORT_TCPInterface_get();
public static readonly int _RAKNET_SUPPORT_LogCommandParser = RakNetPINVOKE._RAKNET_SUPPORT_LogCommandParser_get();
public static readonly int _RAKNET_SUPPORT_RakNetCommandParser = RakNetPINVOKE._RAKNET_SUPPORT_RakNetCommandParser_get();
public static readonly int _RAKNET_SUPPORT_EmailSender = RakNetPINVOKE._RAKNET_SUPPORT_EmailSender_get();
public static readonly int _RAKNET_SUPPORT_HTTPConnection = RakNetPINVOKE._RAKNET_SUPPORT_HTTPConnection_get();
public static readonly int _RAKNET_SUPPORT_PacketizedTCP = RakNetPINVOKE._RAKNET_SUPPORT_PacketizedTCP_get();
public static readonly int _RAKNET_SUPPORT_TwoWayAuthentication = RakNetPINVOKE._RAKNET_SUPPORT_TwoWayAuthentication_get();
public static readonly int _RAKNET_SUPPORT_CloudClient = RakNetPINVOKE._RAKNET_SUPPORT_CloudClient_get();
public static readonly int _RAKNET_SUPPORT_CloudServer = RakNetPINVOKE._RAKNET_SUPPORT_CloudServer_get();
public static readonly int _RAKNET_SUPPORT_DynDNS = RakNetPINVOKE._RAKNET_SUPPORT_DynDNS_get();
public static readonly int _RAKNET_SUPPORT_Rackspace = RakNetPINVOKE._RAKNET_SUPPORT_Rackspace_get();
public static readonly int _RAKNET_SUPPORT_FileOperations = RakNetPINVOKE._RAKNET_SUPPORT_FileOperations_get();
public static readonly int _RAKNET_SUPPORT_UDPForwarder = RakNetPINVOKE._RAKNET_SUPPORT_UDPForwarder_get();
public static readonly int INVALID_SOCKET = RakNetPINVOKE.INVALID_SOCKET_get();
public static readonly string PRINTF_64_BIT_MODIFIER = RakNetPINVOKE.PRINTF_64_BIT_MODIFIER_get();
public static readonly int NETWORK_ID_MANAGER_HASH_LENGTH = RakNetPINVOKE.NETWORK_ID_MANAGER_HASH_LENGTH_get();
public static readonly int ALLOW_JOIN_ANY_AVAILABLE_TEAM = RakNetPINVOKE.ALLOW_JOIN_ANY_AVAILABLE_TEAM_get();
public static readonly int ALLOW_JOIN_SPECIFIC_TEAM = RakNetPINVOKE.ALLOW_JOIN_SPECIFIC_TEAM_get();
public static readonly int ALLOW_JOIN_REBALANCING = RakNetPINVOKE.ALLOW_JOIN_REBALANCING_get();
public static readonly int _TABLE_BPLUS_TREE_ORDER = RakNetPINVOKE._TABLE_BPLUS_TREE_ORDER_get();
public static readonly int _TABLE_MAX_COLUMN_NAME_LENGTH = RakNetPINVOKE._TABLE_MAX_COLUMN_NAME_LENGTH_get();
public static readonly int REMOTE_MAX_TEXT_INPUT = RakNetPINVOKE.REMOTE_MAX_TEXT_INPUT_get();
public static readonly int MESSAGE_FILTER_MAX_MESSAGE_ID = RakNetPINVOKE.MESSAGE_FILTER_MAX_MESSAGE_ID_get();
}
}

View File

@ -0,0 +1,92 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetBPlusTreeRow : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetBPlusTreeRow(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetBPlusTreeRow obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetBPlusTreeRow() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetBPlusTreeRow(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public RakNetBPlusTreeRow() : this(RakNetPINVOKE.new_RakNetBPlusTreeRow(), true) {
}
public void SetPoolPageSize(int size) {
RakNetPINVOKE.RakNetBPlusTreeRow_SetPoolPageSize(swigCPtr, size);
}
public bool Insert(uint key, Row data) {
bool ret = RakNetPINVOKE.RakNetBPlusTreeRow_Insert(swigCPtr, key, Row.getCPtr(data));
return ret;
}
public void Clear() {
RakNetPINVOKE.RakNetBPlusTreeRow_Clear(swigCPtr);
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetBPlusTreeRow_Size(swigCPtr);
return ret;
}
public bool IsEmpty() {
bool ret = RakNetPINVOKE.RakNetBPlusTreeRow_IsEmpty(swigCPtr);
return ret;
}
public RakNetPageRow GetListHead() {
IntPtr cPtr = RakNetPINVOKE.RakNetBPlusTreeRow_GetListHead(swigCPtr);
RakNetPageRow ret = (cPtr == IntPtr.Zero) ? null : new RakNetPageRow(cPtr, false);
return ret;
}
public Row GetDataHead() {
IntPtr cPtr = RakNetPINVOKE.RakNetBPlusTreeRow_GetDataHead(swigCPtr);
Row ret = (cPtr == IntPtr.Zero) ? null : new Row(cPtr, false);
return ret;
}
public void PrintLeaves() {
RakNetPINVOKE.RakNetBPlusTreeRow_PrintLeaves(swigCPtr);
}
public void PrintGraph() {
RakNetPINVOKE.RakNetBPlusTreeRow_PrintGraph(swigCPtr);
}
}
}

View File

@ -0,0 +1,178 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
#pragma warning disable 0660
public class RakNetGUID : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetGUID(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetGUID obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetGUID() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetGUID(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public override int GetHashCode()
{
// return (int)(this.g%int.MaxValue);
return (int) ToUint32(this);
}
public static bool operator ==(RakNetGUID a, RakNetGUID b)
{
// If both are null, or both are same instance, return true.
if (System.Object.ReferenceEquals(a, b))
{
return true;
}
// If one is null, but not both, return false.
if (((object)a == null) || ((object)b == null))
{
return false;
}
return a.Equals(b);//Equals should be overloaded as well
}
public static bool operator !=(RakNetGUID a, RakNetGUID b)
{
return a.OpNotEqual(b);
}
public static bool operator < (RakNetGUID a, RakNetGUID b)
{
return a.OpLess(b);
}
public static bool operator >(RakNetGUID a, RakNetGUID b)
{
return a.OpGreater(b);
}
public static bool operator <=(RakNetGUID a, RakNetGUID b)
{
return (a.OpLess(b) || a==b);
}
public static bool operator >=(RakNetGUID a, RakNetGUID b)
{
return (a.OpGreater(b) || a==b);
}
public void ToString(out string dest)
{
dest = ToString();
}
public RakNetGUID() : this(RakNetPINVOKE.new_RakNetGUID__SWIG_0(), true) {
}
public RakNetGUID(ulong _g) : this(RakNetPINVOKE.new_RakNetGUID__SWIG_1(_g), true) {
}
public ulong g {
set {
RakNetPINVOKE.RakNetGUID_g_set(swigCPtr, value);
}
get {
ulong ret = RakNetPINVOKE.RakNetGUID_g_get(swigCPtr);
return ret;
}
}
public override string ToString() {
string ret = RakNetPINVOKE.RakNetGUID_ToString(swigCPtr);
return ret;
}
public bool FromString(string source) {
bool ret = RakNetPINVOKE.RakNetGUID_FromString(swigCPtr, source);
return ret;
}
public static uint ToUint32(RakNetGUID g) {
uint ret = RakNetPINVOKE.RakNetGUID_ToUint32(RakNetGUID.getCPtr(g));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public RakNetGUID CopyData(RakNetGUID input) {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.RakNetGUID_CopyData(swigCPtr, RakNetGUID.getCPtr(input)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public ushort systemIndex {
set {
RakNetPINVOKE.RakNetGUID_systemIndex_set(swigCPtr, value);
}
get {
ushort ret = RakNetPINVOKE.RakNetGUID_systemIndex_get(swigCPtr);
return ret;
}
}
public static int size() {
int ret = RakNetPINVOKE.RakNetGUID_size();
return ret;
}
public bool Equals(RakNetGUID right) {
bool ret = RakNetPINVOKE.RakNetGUID_Equals(swigCPtr, RakNetGUID.getCPtr(right));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private bool OpNotEqual(RakNetGUID right) {
bool ret = RakNetPINVOKE.RakNetGUID_OpNotEqual(swigCPtr, RakNetGUID.getCPtr(right));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private bool OpGreater(RakNetGUID right) {
bool ret = RakNetPINVOKE.RakNetGUID_OpGreater(swigCPtr, RakNetGUID.getCPtr(right));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private bool OpLess(RakNetGUID right) {
bool ret = RakNetPINVOKE.RakNetGUID_OpLess(swigCPtr, RakNetGUID.getCPtr(right));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
}
}

View File

@ -0,0 +1,139 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListCell : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListCell(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListCell obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListCell() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListCell(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public Cell this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public RakNetListCell() : this(RakNetPINVOKE.new_RakNetListCell__SWIG_0(), true) {
}
public RakNetListCell(RakNetListCell original_copy) : this(RakNetPINVOKE.new_RakNetListCell__SWIG_1(RakNetListCell.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListCell CopyData(RakNetListCell original_copy) {
RakNetListCell ret = new RakNetListCell(RakNetPINVOKE.RakNetListCell_CopyData(swigCPtr, RakNetListCell.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public Cell Get(uint position) {
Cell ret = new Cell(RakNetPINVOKE.RakNetListCell_Get(swigCPtr, position), false);
return ret;
}
public void Push(Cell input, string file, uint line) {
RakNetPINVOKE.RakNetListCell_Push(swigCPtr, Cell.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public Cell Pop() {
Cell ret = new Cell(RakNetPINVOKE.RakNetListCell_Pop(swigCPtr), false);
return ret;
}
public void Insert(Cell input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListCell_Insert__SWIG_0(swigCPtr, Cell.getCPtr(input), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Insert(Cell input, string file, uint line) {
RakNetPINVOKE.RakNetListCell_Insert__SWIG_1(swigCPtr, Cell.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(Cell input, Cell filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListCell_Replace__SWIG_0(swigCPtr, Cell.getCPtr(input), Cell.getCPtr(filler), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(Cell input) {
RakNetPINVOKE.RakNetListCell_Replace__SWIG_1(swigCPtr, Cell.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListCell_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListCell_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListCell_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListCell_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListCell_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListCell_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListCell_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListCell_Compress(swigCPtr, file, line);
}
}
}

View File

@ -0,0 +1,153 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListCellPointer : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListCellPointer(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListCellPointer obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListCellPointer() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListCellPointer(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public Cell this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public Cell Get(uint position)
{
return GetHelper(position);
}
public Cell Pop()
{
return PopHelper();
}
public RakNetListCellPointer() : this(RakNetPINVOKE.new_RakNetListCellPointer__SWIG_0(), true) {
}
public RakNetListCellPointer(RakNetListCellPointer original_copy) : this(RakNetPINVOKE.new_RakNetListCellPointer__SWIG_1(RakNetListCellPointer.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListCellPointer CopyData(RakNetListCellPointer original_copy) {
RakNetListCellPointer ret = new RakNetListCellPointer(RakNetPINVOKE.RakNetListCellPointer_CopyData(swigCPtr, RakNetListCellPointer.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void Push(Cell input, string file, uint line) {
RakNetPINVOKE.RakNetListCellPointer_Push(swigCPtr, Cell.getCPtr(input), file, line);
}
public void Insert(Cell input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListCellPointer_Insert__SWIG_0(swigCPtr, Cell.getCPtr(input), position, file, line);
}
public void Insert(Cell input, string file, uint line) {
RakNetPINVOKE.RakNetListCellPointer_Insert__SWIG_1(swigCPtr, Cell.getCPtr(input), file, line);
}
public void Replace(Cell input, Cell filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListCellPointer_Replace__SWIG_0(swigCPtr, Cell.getCPtr(input), Cell.getCPtr(filler), position, file, line);
}
public void Replace(Cell input) {
RakNetPINVOKE.RakNetListCellPointer_Replace__SWIG_1(swigCPtr, Cell.getCPtr(input));
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListCellPointer_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListCellPointer_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListCellPointer_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListCellPointer_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint GetIndexOf(Cell input) {
uint ret = RakNetPINVOKE.RakNetListCellPointer_GetIndexOf(swigCPtr, Cell.getCPtr(input));
return ret;
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListCellPointer_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListCellPointer_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListCellPointer_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListCellPointer_Compress(swigCPtr, file, line);
}
public Cell GetHelper(uint position) {
IntPtr cPtr = RakNetPINVOKE.RakNetListCellPointer_GetHelper(swigCPtr, position);
Cell ret = (cPtr == IntPtr.Zero) ? null : new Cell(cPtr, false);
return ret;
}
public Cell PopHelper() {
IntPtr cPtr = RakNetPINVOKE.RakNetListCellPointer_PopHelper(swigCPtr);
Cell ret = (cPtr == IntPtr.Zero) ? null : new Cell(cPtr, false);
return ret;
}
}
}

View File

@ -0,0 +1,139 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListColumnDescriptor : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListColumnDescriptor(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListColumnDescriptor obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListColumnDescriptor() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListColumnDescriptor(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public ColumnDescriptor this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public RakNetListColumnDescriptor() : this(RakNetPINVOKE.new_RakNetListColumnDescriptor__SWIG_0(), true) {
}
public RakNetListColumnDescriptor(RakNetListColumnDescriptor original_copy) : this(RakNetPINVOKE.new_RakNetListColumnDescriptor__SWIG_1(RakNetListColumnDescriptor.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListColumnDescriptor CopyData(RakNetListColumnDescriptor original_copy) {
RakNetListColumnDescriptor ret = new RakNetListColumnDescriptor(RakNetPINVOKE.RakNetListColumnDescriptor_CopyData(swigCPtr, RakNetListColumnDescriptor.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public ColumnDescriptor Get(uint position) {
ColumnDescriptor ret = new ColumnDescriptor(RakNetPINVOKE.RakNetListColumnDescriptor_Get(swigCPtr, position), false);
return ret;
}
public void Push(ColumnDescriptor input, string file, uint line) {
RakNetPINVOKE.RakNetListColumnDescriptor_Push(swigCPtr, ColumnDescriptor.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public ColumnDescriptor Pop() {
ColumnDescriptor ret = new ColumnDescriptor(RakNetPINVOKE.RakNetListColumnDescriptor_Pop(swigCPtr), false);
return ret;
}
public void Insert(ColumnDescriptor input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListColumnDescriptor_Insert__SWIG_0(swigCPtr, ColumnDescriptor.getCPtr(input), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Insert(ColumnDescriptor input, string file, uint line) {
RakNetPINVOKE.RakNetListColumnDescriptor_Insert__SWIG_1(swigCPtr, ColumnDescriptor.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(ColumnDescriptor input, ColumnDescriptor filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListColumnDescriptor_Replace__SWIG_0(swigCPtr, ColumnDescriptor.getCPtr(input), ColumnDescriptor.getCPtr(filler), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(ColumnDescriptor input) {
RakNetPINVOKE.RakNetListColumnDescriptor_Replace__SWIG_1(swigCPtr, ColumnDescriptor.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListColumnDescriptor_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListColumnDescriptor_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListColumnDescriptor_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListColumnDescriptor_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListColumnDescriptor_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListColumnDescriptor_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListColumnDescriptor_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListColumnDescriptor_Compress(swigCPtr, file, line);
}
}
}

View File

@ -0,0 +1,139 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListFileListNode : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListFileListNode(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListFileListNode obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListFileListNode() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListFileListNode(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public FileListNode this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public RakNetListFileListNode() : this(RakNetPINVOKE.new_RakNetListFileListNode__SWIG_0(), true) {
}
public RakNetListFileListNode(RakNetListFileListNode original_copy) : this(RakNetPINVOKE.new_RakNetListFileListNode__SWIG_1(RakNetListFileListNode.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListFileListNode CopyData(RakNetListFileListNode original_copy) {
RakNetListFileListNode ret = new RakNetListFileListNode(RakNetPINVOKE.RakNetListFileListNode_CopyData(swigCPtr, RakNetListFileListNode.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public FileListNode Get(uint position) {
FileListNode ret = new FileListNode(RakNetPINVOKE.RakNetListFileListNode_Get(swigCPtr, position), false);
return ret;
}
public void Push(FileListNode input, string file, uint line) {
RakNetPINVOKE.RakNetListFileListNode_Push(swigCPtr, FileListNode.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public FileListNode Pop() {
FileListNode ret = new FileListNode(RakNetPINVOKE.RakNetListFileListNode_Pop(swigCPtr), false);
return ret;
}
public void Insert(FileListNode input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListFileListNode_Insert__SWIG_0(swigCPtr, FileListNode.getCPtr(input), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Insert(FileListNode input, string file, uint line) {
RakNetPINVOKE.RakNetListFileListNode_Insert__SWIG_1(swigCPtr, FileListNode.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(FileListNode input, FileListNode filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListFileListNode_Replace__SWIG_0(swigCPtr, FileListNode.getCPtr(input), FileListNode.getCPtr(filler), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(FileListNode input) {
RakNetPINVOKE.RakNetListFileListNode_Replace__SWIG_1(swigCPtr, FileListNode.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListFileListNode_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListFileListNode_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListFileListNode_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListFileListNode_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListFileListNode_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListFileListNode_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListFileListNode_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListFileListNode_Compress(swigCPtr, file, line);
}
}
}

View File

@ -0,0 +1,139 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListFilterQuery : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListFilterQuery(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListFilterQuery obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListFilterQuery() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListFilterQuery(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public FilterQuery this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public RakNetListFilterQuery() : this(RakNetPINVOKE.new_RakNetListFilterQuery__SWIG_0(), true) {
}
public RakNetListFilterQuery(RakNetListFilterQuery original_copy) : this(RakNetPINVOKE.new_RakNetListFilterQuery__SWIG_1(RakNetListFilterQuery.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListFilterQuery CopyData(RakNetListFilterQuery original_copy) {
RakNetListFilterQuery ret = new RakNetListFilterQuery(RakNetPINVOKE.RakNetListFilterQuery_CopyData(swigCPtr, RakNetListFilterQuery.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public FilterQuery Get(uint position) {
FilterQuery ret = new FilterQuery(RakNetPINVOKE.RakNetListFilterQuery_Get(swigCPtr, position), false);
return ret;
}
public void Push(FilterQuery input, string file, uint line) {
RakNetPINVOKE.RakNetListFilterQuery_Push(swigCPtr, FilterQuery.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public FilterQuery Pop() {
FilterQuery ret = new FilterQuery(RakNetPINVOKE.RakNetListFilterQuery_Pop(swigCPtr), false);
return ret;
}
public void Insert(FilterQuery input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListFilterQuery_Insert__SWIG_0(swigCPtr, FilterQuery.getCPtr(input), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Insert(FilterQuery input, string file, uint line) {
RakNetPINVOKE.RakNetListFilterQuery_Insert__SWIG_1(swigCPtr, FilterQuery.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(FilterQuery input, FilterQuery filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListFilterQuery_Replace__SWIG_0(swigCPtr, FilterQuery.getCPtr(input), FilterQuery.getCPtr(filler), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(FilterQuery input) {
RakNetPINVOKE.RakNetListFilterQuery_Replace__SWIG_1(swigCPtr, FilterQuery.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListFilterQuery_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListFilterQuery_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListFilterQuery_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListFilterQuery_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListFilterQuery_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListFilterQuery_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListFilterQuery_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListFilterQuery_Compress(swigCPtr, file, line);
}
}
}

View File

@ -0,0 +1,145 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListRakNetGUID : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListRakNetGUID(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListRakNetGUID obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListRakNetGUID() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListRakNetGUID(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public RakNetGUID this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public RakNetListRakNetGUID() : this(RakNetPINVOKE.new_RakNetListRakNetGUID__SWIG_0(), true) {
}
public RakNetListRakNetGUID(RakNetListRakNetGUID original_copy) : this(RakNetPINVOKE.new_RakNetListRakNetGUID__SWIG_1(RakNetListRakNetGUID.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListRakNetGUID CopyData(RakNetListRakNetGUID original_copy) {
RakNetListRakNetGUID ret = new RakNetListRakNetGUID(RakNetPINVOKE.RakNetListRakNetGUID_CopyData(swigCPtr, RakNetListRakNetGUID.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public RakNetGUID Get(uint position) {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.RakNetListRakNetGUID_Get(swigCPtr, position), false);
return ret;
}
public void Push(RakNetGUID input, string file, uint line) {
RakNetPINVOKE.RakNetListRakNetGUID_Push(swigCPtr, RakNetGUID.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetGUID Pop() {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.RakNetListRakNetGUID_Pop(swigCPtr), false);
return ret;
}
public void Insert(RakNetGUID input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListRakNetGUID_Insert__SWIG_0(swigCPtr, RakNetGUID.getCPtr(input), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Insert(RakNetGUID input, string file, uint line) {
RakNetPINVOKE.RakNetListRakNetGUID_Insert__SWIG_1(swigCPtr, RakNetGUID.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(RakNetGUID input, RakNetGUID filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListRakNetGUID_Replace__SWIG_0(swigCPtr, RakNetGUID.getCPtr(input), RakNetGUID.getCPtr(filler), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(RakNetGUID input) {
RakNetPINVOKE.RakNetListRakNetGUID_Replace__SWIG_1(swigCPtr, RakNetGUID.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListRakNetGUID_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListRakNetGUID_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListRakNetGUID_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListRakNetGUID_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint GetIndexOf(RakNetGUID input) {
uint ret = RakNetPINVOKE.RakNetListRakNetGUID_GetIndexOf(swigCPtr, RakNetGUID.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListRakNetGUID_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListRakNetGUID_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListRakNetGUID_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListRakNetGUID_Compress(swigCPtr, file, line);
}
}
}

View File

@ -0,0 +1,145 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListRakString : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListRakString(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListRakString obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListRakString() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListRakString(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public RakString this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public RakNetListRakString() : this(RakNetPINVOKE.new_RakNetListRakString__SWIG_0(), true) {
}
public RakNetListRakString(RakNetListRakString original_copy) : this(RakNetPINVOKE.new_RakNetListRakString__SWIG_1(RakNetListRakString.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListRakString CopyData(RakNetListRakString original_copy) {
RakNetListRakString ret = new RakNetListRakString(RakNetPINVOKE.RakNetListRakString_CopyData(swigCPtr, RakNetListRakString.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public RakString Get(uint position) {
RakString ret = new RakString(RakNetPINVOKE.RakNetListRakString_Get(swigCPtr, position), false);
return ret;
}
public void Push(RakString input, string file, uint line) {
RakNetPINVOKE.RakNetListRakString_Push(swigCPtr, RakString.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakString Pop() {
RakString ret = new RakString(RakNetPINVOKE.RakNetListRakString_Pop(swigCPtr), false);
return ret;
}
public void Insert(RakString input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListRakString_Insert__SWIG_0(swigCPtr, RakString.getCPtr(input), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Insert(RakString input, string file, uint line) {
RakNetPINVOKE.RakNetListRakString_Insert__SWIG_1(swigCPtr, RakString.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(RakString input, RakString filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListRakString_Replace__SWIG_0(swigCPtr, RakString.getCPtr(input), RakString.getCPtr(filler), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(RakString input) {
RakNetPINVOKE.RakNetListRakString_Replace__SWIG_1(swigCPtr, RakString.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListRakString_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListRakString_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListRakString_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListRakString_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint GetIndexOf(RakString input) {
uint ret = RakNetPINVOKE.RakNetListRakString_GetIndexOf(swigCPtr, RakString.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListRakString_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListRakString_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListRakString_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListRakString_Compress(swigCPtr, file, line);
}
}
}

View File

@ -0,0 +1,139 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListSortQuery : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListSortQuery(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListSortQuery obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListSortQuery() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListSortQuery(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public SortQuery this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public RakNetListSortQuery() : this(RakNetPINVOKE.new_RakNetListSortQuery__SWIG_0(), true) {
}
public RakNetListSortQuery(RakNetListSortQuery original_copy) : this(RakNetPINVOKE.new_RakNetListSortQuery__SWIG_1(RakNetListSortQuery.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListSortQuery CopyData(RakNetListSortQuery original_copy) {
RakNetListSortQuery ret = new RakNetListSortQuery(RakNetPINVOKE.RakNetListSortQuery_CopyData(swigCPtr, RakNetListSortQuery.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public SortQuery Get(uint position) {
SortQuery ret = new SortQuery(RakNetPINVOKE.RakNetListSortQuery_Get(swigCPtr, position), false);
return ret;
}
public void Push(SortQuery input, string file, uint line) {
RakNetPINVOKE.RakNetListSortQuery_Push(swigCPtr, SortQuery.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public SortQuery Pop() {
SortQuery ret = new SortQuery(RakNetPINVOKE.RakNetListSortQuery_Pop(swigCPtr), false);
return ret;
}
public void Insert(SortQuery input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListSortQuery_Insert__SWIG_0(swigCPtr, SortQuery.getCPtr(input), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Insert(SortQuery input, string file, uint line) {
RakNetPINVOKE.RakNetListSortQuery_Insert__SWIG_1(swigCPtr, SortQuery.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(SortQuery input, SortQuery filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListSortQuery_Replace__SWIG_0(swigCPtr, SortQuery.getCPtr(input), SortQuery.getCPtr(filler), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(SortQuery input) {
RakNetPINVOKE.RakNetListSortQuery_Replace__SWIG_1(swigCPtr, SortQuery.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListSortQuery_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListSortQuery_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListSortQuery_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListSortQuery_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListSortQuery_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListSortQuery_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListSortQuery_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListSortQuery_Compress(swigCPtr, file, line);
}
}
}

View File

@ -0,0 +1,145 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListSystemAddress : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListSystemAddress(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListSystemAddress obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListSystemAddress() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListSystemAddress(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public SystemAddress this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public RakNetListSystemAddress() : this(RakNetPINVOKE.new_RakNetListSystemAddress__SWIG_0(), true) {
}
public RakNetListSystemAddress(RakNetListSystemAddress original_copy) : this(RakNetPINVOKE.new_RakNetListSystemAddress__SWIG_1(RakNetListSystemAddress.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListSystemAddress CopyData(RakNetListSystemAddress original_copy) {
RakNetListSystemAddress ret = new RakNetListSystemAddress(RakNetPINVOKE.RakNetListSystemAddress_CopyData(swigCPtr, RakNetListSystemAddress.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public SystemAddress Get(uint position) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakNetListSystemAddress_Get(swigCPtr, position), false);
return ret;
}
public void Push(SystemAddress input, string file, uint line) {
RakNetPINVOKE.RakNetListSystemAddress_Push(swigCPtr, SystemAddress.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public SystemAddress Pop() {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakNetListSystemAddress_Pop(swigCPtr), false);
return ret;
}
public void Insert(SystemAddress input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListSystemAddress_Insert__SWIG_0(swigCPtr, SystemAddress.getCPtr(input), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Insert(SystemAddress input, string file, uint line) {
RakNetPINVOKE.RakNetListSystemAddress_Insert__SWIG_1(swigCPtr, SystemAddress.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(SystemAddress input, SystemAddress filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListSystemAddress_Replace__SWIG_0(swigCPtr, SystemAddress.getCPtr(input), SystemAddress.getCPtr(filler), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(SystemAddress input) {
RakNetPINVOKE.RakNetListSystemAddress_Replace__SWIG_1(swigCPtr, SystemAddress.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListSystemAddress_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListSystemAddress_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListSystemAddress_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListSystemAddress_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint GetIndexOf(SystemAddress input) {
uint ret = RakNetPINVOKE.RakNetListSystemAddress_GetIndexOf(swigCPtr, SystemAddress.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListSystemAddress_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListSystemAddress_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListSystemAddress_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListSystemAddress_Compress(swigCPtr, file, line);
}
}
}

View File

@ -0,0 +1,139 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListTableRow : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListTableRow(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListTableRow obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListTableRow() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListTableRow(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public Row this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public RakNetListTableRow() : this(RakNetPINVOKE.new_RakNetListTableRow__SWIG_0(), true) {
}
public RakNetListTableRow(RakNetListTableRow original_copy) : this(RakNetPINVOKE.new_RakNetListTableRow__SWIG_1(RakNetListTableRow.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListTableRow CopyData(RakNetListTableRow original_copy) {
RakNetListTableRow ret = new RakNetListTableRow(RakNetPINVOKE.RakNetListTableRow_CopyData(swigCPtr, RakNetListTableRow.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public Row Get(uint position) {
Row ret = new Row(RakNetPINVOKE.RakNetListTableRow_Get(swigCPtr, position), false);
return ret;
}
public void Push(Row input, string file, uint line) {
RakNetPINVOKE.RakNetListTableRow_Push(swigCPtr, Row.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public Row Pop() {
Row ret = new Row(RakNetPINVOKE.RakNetListTableRow_Pop(swigCPtr), false);
return ret;
}
public void Insert(Row input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListTableRow_Insert__SWIG_0(swigCPtr, Row.getCPtr(input), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Insert(Row input, string file, uint line) {
RakNetPINVOKE.RakNetListTableRow_Insert__SWIG_1(swigCPtr, Row.getCPtr(input), file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(Row input, Row filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListTableRow_Replace__SWIG_0(swigCPtr, Row.getCPtr(input), Row.getCPtr(filler), position, file, line);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Replace(Row input) {
RakNetPINVOKE.RakNetListTableRow_Replace__SWIG_1(swigCPtr, Row.getCPtr(input));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListTableRow_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListTableRow_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListTableRow_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListTableRow_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListTableRow_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListTableRow_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListTableRow_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListTableRow_Compress(swigCPtr, file, line);
}
}
}

View File

@ -0,0 +1,148 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListUnsignedInt : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListUnsignedInt(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListUnsignedInt obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListUnsignedInt() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListUnsignedInt(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public uint Get(uint position) {
SWIGTYPE_p_unsigned_int ret = GetHelper(position);
return UnsignedIntPointer.frompointer(ret).value();
}
public uint Pop() {
SWIGTYPE_p_unsigned_int ret = PopHelper();
return UnsignedIntPointer.frompointer(ret).value();
}
public uint this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public RakNetListUnsignedInt() : this(RakNetPINVOKE.new_RakNetListUnsignedInt__SWIG_0(), true) {
}
public RakNetListUnsignedInt(RakNetListUnsignedInt original_copy) : this(RakNetPINVOKE.new_RakNetListUnsignedInt__SWIG_1(RakNetListUnsignedInt.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListUnsignedInt CopyData(RakNetListUnsignedInt original_copy) {
RakNetListUnsignedInt ret = new RakNetListUnsignedInt(RakNetPINVOKE.RakNetListUnsignedInt_CopyData(swigCPtr, RakNetListUnsignedInt.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private SWIGTYPE_p_unsigned_int GetHelper(uint position) {
SWIGTYPE_p_unsigned_int ret = new SWIGTYPE_p_unsigned_int(RakNetPINVOKE.RakNetListUnsignedInt_GetHelper(swigCPtr, position), false);
return ret;
}
public void Push(uint input, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedInt_Push(swigCPtr, input, file, line);
}
private SWIGTYPE_p_unsigned_int PopHelper() {
SWIGTYPE_p_unsigned_int ret = new SWIGTYPE_p_unsigned_int(RakNetPINVOKE.RakNetListUnsignedInt_PopHelper(swigCPtr), false);
return ret;
}
public void Insert(uint input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedInt_Insert__SWIG_0(swigCPtr, input, position, file, line);
}
public void Insert(uint input, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedInt_Insert__SWIG_1(swigCPtr, input, file, line);
}
public void Replace(uint input, uint filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedInt_Replace__SWIG_0(swigCPtr, input, filler, position, file, line);
}
public void Replace(uint input) {
RakNetPINVOKE.RakNetListUnsignedInt_Replace__SWIG_1(swigCPtr, input);
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListUnsignedInt_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListUnsignedInt_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListUnsignedInt_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListUnsignedInt_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint GetIndexOf(uint input) {
uint ret = RakNetPINVOKE.RakNetListUnsignedInt_GetIndexOf(swigCPtr, input);
return ret;
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListUnsignedInt_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedInt_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedInt_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedInt_Compress(swigCPtr, file, line);
}
}
}

View File

@ -0,0 +1,148 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetListUnsignedShort : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetListUnsignedShort(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetListUnsignedShort obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetListUnsignedShort() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetListUnsignedShort(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public ushort Get(uint position) {
SWIGTYPE_p_unsigned_short ret = GetHelper(position);
return UnsignedShortPointer.frompointer(ret).value();
}
public ushort Pop() {
SWIGTYPE_p_unsigned_short ret = PopHelper();
return UnsignedShortPointer.frompointer(ret).value();
}
public ushort this[int index]
{
get
{
return Get((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace(value, value, (uint)index, "Not used", 0);// use index and value to set the value somewhere.
}
}
public RakNetListUnsignedShort() : this(RakNetPINVOKE.new_RakNetListUnsignedShort__SWIG_0(), true) {
}
public RakNetListUnsignedShort(RakNetListUnsignedShort original_copy) : this(RakNetPINVOKE.new_RakNetListUnsignedShort__SWIG_1(RakNetListUnsignedShort.getCPtr(original_copy)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakNetListUnsignedShort CopyData(RakNetListUnsignedShort original_copy) {
RakNetListUnsignedShort ret = new RakNetListUnsignedShort(RakNetPINVOKE.RakNetListUnsignedShort_CopyData(swigCPtr, RakNetListUnsignedShort.getCPtr(original_copy)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private SWIGTYPE_p_unsigned_short GetHelper(uint position) {
SWIGTYPE_p_unsigned_short ret = new SWIGTYPE_p_unsigned_short(RakNetPINVOKE.RakNetListUnsignedShort_GetHelper(swigCPtr, position), false);
return ret;
}
public void Push(ushort input, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedShort_Push(swigCPtr, input, file, line);
}
private SWIGTYPE_p_unsigned_short PopHelper() {
SWIGTYPE_p_unsigned_short ret = new SWIGTYPE_p_unsigned_short(RakNetPINVOKE.RakNetListUnsignedShort_PopHelper(swigCPtr), false);
return ret;
}
public void Insert(ushort input, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedShort_Insert__SWIG_0(swigCPtr, input, position, file, line);
}
public void Insert(ushort input, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedShort_Insert__SWIG_1(swigCPtr, input, file, line);
}
public void Replace(ushort input, ushort filler, uint position, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedShort_Replace__SWIG_0(swigCPtr, input, filler, position, file, line);
}
public void Replace(ushort input) {
RakNetPINVOKE.RakNetListUnsignedShort_Replace__SWIG_1(swigCPtr, input);
}
public void RemoveAtIndex(uint position) {
RakNetPINVOKE.RakNetListUnsignedShort_RemoveAtIndex(swigCPtr, position);
}
public void RemoveAtIndexFast(uint position) {
RakNetPINVOKE.RakNetListUnsignedShort_RemoveAtIndexFast(swigCPtr, position);
}
public void RemoveFromEnd(uint num) {
RakNetPINVOKE.RakNetListUnsignedShort_RemoveFromEnd__SWIG_0(swigCPtr, num);
}
public void RemoveFromEnd() {
RakNetPINVOKE.RakNetListUnsignedShort_RemoveFromEnd__SWIG_1(swigCPtr);
}
public uint GetIndexOf(ushort input) {
uint ret = RakNetPINVOKE.RakNetListUnsignedShort_GetIndexOf(swigCPtr, input);
return ret;
}
public uint Size() {
uint ret = RakNetPINVOKE.RakNetListUnsignedShort_Size(swigCPtr);
return ret;
}
public void Clear(bool doNotDeallocateSmallBlocks, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedShort_Clear(swigCPtr, doNotDeallocateSmallBlocks, file, line);
}
public void Preallocate(uint countNeeded, string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedShort_Preallocate(swigCPtr, countNeeded, file, line);
}
public void Compress(string file, uint line) {
RakNetPINVOKE.RakNetListUnsignedShort_Compress(swigCPtr, file, line);
}
}
}

View File

@ -0,0 +1,91 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetPageRow : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetPageRow(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetPageRow obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetPageRow() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetPageRow(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public bool isLeaf {
set {
RakNetPINVOKE.RakNetPageRow_isLeaf_set(swigCPtr, value);
}
get {
bool ret = RakNetPINVOKE.RakNetPageRow_isLeaf_get(swigCPtr);
return ret;
}
}
public int size {
set {
RakNetPINVOKE.RakNetPageRow_size_set(swigCPtr, value);
}
get {
int ret = RakNetPINVOKE.RakNetPageRow_size_get(swigCPtr);
return ret;
}
}
public RakNetPageRow next {
set {
RakNetPINVOKE.RakNetPageRow_next_set(swigCPtr, RakNetPageRow.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.RakNetPageRow_next_get(swigCPtr);
RakNetPageRow ret = (cPtr == IntPtr.Zero) ? null : new RakNetPageRow(cPtr, false);
return ret;
}
}
public RakNetPageRow previous {
set {
RakNetPINVOKE.RakNetPageRow_previous_set(swigCPtr, RakNetPageRow.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.RakNetPageRow_previous_get(swigCPtr);
RakNetPageRow ret = (cPtr == IntPtr.Zero) ? null : new RakNetPageRow(cPtr, false);
return ret;
}
}
public RakNetPageRow() : this(RakNetPINVOKE.new_RakNetPageRow(), true) {
}
}
}

View File

@ -0,0 +1,110 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetSocket : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetSocket(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetSocket obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetSocket() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetSocket(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public RakNetSocket() : this(RakNetPINVOKE.new_RakNetSocket(), true) {
}
public uint s {
set {
RakNetPINVOKE.RakNetSocket_s_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.RakNetSocket_s_get(swigCPtr);
return ret;
}
}
public uint userConnectionSocketIndex {
set {
RakNetPINVOKE.RakNetSocket_userConnectionSocketIndex_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.RakNetSocket_userConnectionSocketIndex_get(swigCPtr);
return ret;
}
}
public SystemAddress boundAddress {
set {
RakNetPINVOKE.RakNetSocket_boundAddress_set(swigCPtr, SystemAddress.getCPtr(value));
}
get {
IntPtr cPtr = RakNetPINVOKE.RakNetSocket_boundAddress_get(swigCPtr);
SystemAddress ret = (cPtr == IntPtr.Zero) ? null : new SystemAddress(cPtr, false);
return ret;
}
}
public ushort socketFamily {
set {
RakNetPINVOKE.RakNetSocket_socketFamily_set(swigCPtr, value);
}
get {
ushort ret = RakNetPINVOKE.RakNetSocket_socketFamily_get(swigCPtr);
return ret;
}
}
public ushort remotePortRakNetWasStartedOn_PS3_PSP2 {
set {
RakNetPINVOKE.RakNetSocket_remotePortRakNetWasStartedOn_PS3_PSP2_set(swigCPtr, value);
}
get {
ushort ret = RakNetPINVOKE.RakNetSocket_remotePortRakNetWasStartedOn_PS3_PSP2_get(swigCPtr);
return ret;
}
}
public uint extraSocketOptions {
set {
RakNetPINVOKE.RakNetSocket_extraSocketOptions_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.RakNetSocket_extraSocketOptions_get(swigCPtr);
return ret;
}
}
}
}

View File

@ -0,0 +1,342 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakNetStatistics : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakNetStatistics(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakNetStatistics obj) {
if (obj != null)
{
if (obj.bytesInSendBufferIsCached)
{
obj.SetBytesInSendBuffer(obj.bytesInSendBuffer, obj.bytesInSendBuffer.Length);
}
if (obj.messageInSendBufferIsCached)
{
obj.SetMessageInSendBuffer(obj.messageInSendBuffer, obj.messageInSendBuffer.Length);
}
if (obj.runningTotalIsCached)
{
obj.SetRunningTotal(obj.runningTotal, obj.runningTotal.Length);
}
if (obj.valueOverLastSecondIsCached)
{
obj.SetValueOverLastSecond(obj.valueOverLastSecond, obj.valueOverLastSecond.Length);
}
obj.bytesInSendBufferIsCached=false;
obj.messageInSendBufferIsCached=false;
obj.runningTotalIsCached=false;
obj.valueOverLastSecondIsCached=false;
}
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakNetStatistics() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakNetStatistics(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
private bool bytesInSendBufferIsCached = false;
private bool messageInSendBufferIsCached = false;
private bool runningTotalIsCached = false;
private bool valueOverLastSecondIsCached = false;
private double[] bytesInSendBufferCache;
private uint[] messageInSendBufferCache;
private ulong[] runningTotalCache;
private ulong[] valueOverLastSecondCache;
public ulong[] valueOverLastSecond {
set
{
valueOverLastSecondCache=value;
valueOverLastSecondIsCached = true;
SetValueOverLastSecond (value, value.Length);
}
get
{
ulong[] returnArray;
if (!valueOverLastSecondIsCached)
{
IntPtr cPtr = RakNetPINVOKE.RakNetStatistics_valueOverLastSecond_get (swigCPtr);
int len = (int) RNSPerSecondMetrics.RNS_PER_SECOND_METRICS_COUNT;
if (len<=0)
{
return null;
}
returnArray = new ulong[len];
long[] marshalArray = new long[len];
Marshal.Copy(cPtr, marshalArray, 0, len);
for (int i=0;i<len;i++)
{
returnArray[i]= (ulong) ( marshalArray[i] );
}
valueOverLastSecondCache = returnArray;
valueOverLastSecondIsCached = true;
}
else
{
returnArray = valueOverLastSecondCache;
}
return returnArray;
}
}
public ulong[] runningTotal {
set
{
runningTotalCache=value;
runningTotalIsCached = true;
SetRunningTotal (value, value.Length);
}
get
{
ulong[] returnArray;
if (!runningTotalIsCached)
{
IntPtr cPtr = RakNetPINVOKE.RakNetStatistics_runningTotal_get (swigCPtr);
int len = (int) RNSPerSecondMetrics.RNS_PER_SECOND_METRICS_COUNT;
if (len<=0)
{
return null;
}
returnArray = new ulong[len];
long[] marshalArray = new long[len];
Marshal.Copy(cPtr, marshalArray, 0, len);
for (int i=0;i<len;i++)
{
returnArray[i]= (ulong) ( marshalArray[i] );
}
runningTotalCache = returnArray;
runningTotalIsCached = true;
}
else
{
returnArray = runningTotalCache;
}
return returnArray;
}
}
public ulong connectionStartTime {
set {
RakNetPINVOKE.RakNetStatistics_connectionStartTime_set(swigCPtr, value);
}
get {
ulong ret = RakNetPINVOKE.RakNetStatistics_connectionStartTime_get(swigCPtr);
return ret;
}
}
public bool isLimitedByCongestionControl {
set {
RakNetPINVOKE.RakNetStatistics_isLimitedByCongestionControl_set(swigCPtr, value);
}
get {
bool ret = RakNetPINVOKE.RakNetStatistics_isLimitedByCongestionControl_get(swigCPtr);
return ret;
}
}
public ulong BPSLimitByCongestionControl {
set {
RakNetPINVOKE.RakNetStatistics_BPSLimitByCongestionControl_set(swigCPtr, value);
}
get {
ulong ret = RakNetPINVOKE.RakNetStatistics_BPSLimitByCongestionControl_get(swigCPtr);
return ret;
}
}
public bool isLimitedByOutgoingBandwidthLimit {
set {
RakNetPINVOKE.RakNetStatistics_isLimitedByOutgoingBandwidthLimit_set(swigCPtr, value);
}
get {
bool ret = RakNetPINVOKE.RakNetStatistics_isLimitedByOutgoingBandwidthLimit_get(swigCPtr);
return ret;
}
}
public ulong BPSLimitByOutgoingBandwidthLimit {
set {
RakNetPINVOKE.RakNetStatistics_BPSLimitByOutgoingBandwidthLimit_set(swigCPtr, value);
}
get {
ulong ret = RakNetPINVOKE.RakNetStatistics_BPSLimitByOutgoingBandwidthLimit_get(swigCPtr);
return ret;
}
}
public uint[] messageInSendBuffer {
set
{
messageInSendBufferCache=value;
messageInSendBufferIsCached = true;
SetMessageInSendBuffer (value, value.Length);
}
get
{
uint[] returnArray;
if (!messageInSendBufferIsCached)
{
IntPtr cPtr = RakNetPINVOKE.RakNetStatistics_messageInSendBuffer_get (swigCPtr);
int len = (int) PacketPriority.NUMBER_OF_PRIORITIES;
if (len<=0)
{
return null;
}
returnArray = new uint[len];
int[] marshalArray = new int[len];
Marshal.Copy(cPtr, marshalArray, 0, len);
for (int i=0;i<len;i++)
{
returnArray[i]= (uint) ( marshalArray[i] );
}
messageInSendBufferCache = returnArray;
messageInSendBufferIsCached = true;
}
else
{
returnArray = messageInSendBufferCache;
}
return returnArray;
}
}
public double[] bytesInSendBuffer {
set
{
bytesInSendBufferCache=value;
bytesInSendBufferIsCached = true;
SetBytesInSendBuffer (value, value.Length);
}
get
{
double[] returnArray;
if (!bytesInSendBufferIsCached)
{
IntPtr cPtr = RakNetPINVOKE.RakNetStatistics_bytesInSendBuffer_get (swigCPtr);
int len = (int) PacketPriority.NUMBER_OF_PRIORITIES;
if (len<=0)
{
return null;
}
returnArray = new double[len];
double[] marshalArray = new double[len];
Marshal.Copy(cPtr, marshalArray, 0, len);
for (int i=0;i<len;i++)
{
returnArray[i]= (double) ( marshalArray[i] );
}
bytesInSendBufferCache = returnArray;
bytesInSendBufferIsCached = true;
}
else
{
returnArray = bytesInSendBufferCache;
}
return returnArray;
}
}
public uint messagesInResendBuffer {
set {
RakNetPINVOKE.RakNetStatistics_messagesInResendBuffer_set(swigCPtr, value);
}
get {
uint ret = RakNetPINVOKE.RakNetStatistics_messagesInResendBuffer_get(swigCPtr);
return ret;
}
}
public ulong bytesInResendBuffer {
set {
RakNetPINVOKE.RakNetStatistics_bytesInResendBuffer_set(swigCPtr, value);
}
get {
ulong ret = RakNetPINVOKE.RakNetStatistics_bytesInResendBuffer_get(swigCPtr);
return ret;
}
}
public float packetlossLastSecond {
set {
RakNetPINVOKE.RakNetStatistics_packetlossLastSecond_set(swigCPtr, value);
}
get {
float ret = RakNetPINVOKE.RakNetStatistics_packetlossLastSecond_get(swigCPtr);
return ret;
}
}
public float packetlossTotal {
set {
RakNetPINVOKE.RakNetStatistics_packetlossTotal_set(swigCPtr, value);
}
get {
float ret = RakNetPINVOKE.RakNetStatistics_packetlossTotal_get(swigCPtr);
return ret;
}
}
public void SetBytesInSendBuffer(double[] inDoubleArray, int numDoubles) {
RakNetPINVOKE.RakNetStatistics_SetBytesInSendBuffer(swigCPtr, inDoubleArray, numDoubles);
}
public void SetMessageInSendBuffer(uint[] inUnsignedIntArray, int numInts) {
RakNetPINVOKE.RakNetStatistics_SetMessageInSendBuffer(swigCPtr, inUnsignedIntArray, numInts);
}
public void SetRunningTotal(ulong[] inUint64Array, int numUint64) {
RakNetPINVOKE.RakNetStatistics_SetRunningTotal(swigCPtr, inUint64Array, numUint64);
}
public void SetValueOverLastSecond(ulong[] inUint64Array, int numUint64) {
RakNetPINVOKE.RakNetStatistics_SetValueOverLastSecond(swigCPtr, inUint64Array, numUint64);
}
public RakNetStatistics() : this(RakNetPINVOKE.new_RakNetStatistics(), true) {
}
}
}

View File

@ -0,0 +1,583 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakPeer : RakPeerInterface {
private HandleRef swigCPtr;
internal RakPeer(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.RakPeer_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakPeer obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakPeer() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakPeer(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public override void GetIncomingPassword(ref string passwordData, ref int passwordDataLength )
{
passwordData=CSharpGetIncomingPasswordHelper(passwordData,ref passwordDataLength);
}
public override void GetOfflinePingResponse( byte[] inOutByteArray, out uint length )
{
CSharpGetOfflinePingResponseHelper(inOutByteArray,out length);
}
public override bool GetConnectionList(out SystemAddress[] remoteSystems, ref ushort numberOfSystems)
{
RakNetListSystemAddress passVal= new RakNetListSystemAddress();
bool returnVal = GetConnectionList(passVal,ref numberOfSystems);
SystemAddress[] outVal = new SystemAddress[numberOfSystems];
for (int i=0; i<numberOfSystems;i++)
{
outVal[i]=passVal[i];
}
remoteSystems=outVal;
return returnVal;
}
public RakPeer() : this(RakNetPINVOKE.new_RakPeer(), true) {
}
public override StartupResult Startup(ushort maxConnections, SocketDescriptor socketDescriptors, uint socketDescriptorCount, int threadPriority) {
StartupResult ret = (StartupResult)RakNetPINVOKE.RakPeer_Startup__SWIG_0(swigCPtr, maxConnections, SocketDescriptor.getCPtr(socketDescriptors), socketDescriptorCount, threadPriority);
return ret;
}
public override StartupResult Startup(ushort maxConnections, SocketDescriptor socketDescriptors, uint socketDescriptorCount) {
StartupResult ret = (StartupResult)RakNetPINVOKE.RakPeer_Startup__SWIG_1(swigCPtr, maxConnections, SocketDescriptor.getCPtr(socketDescriptors), socketDescriptorCount);
return ret;
}
public override bool InitializeSecurity(string publicKey, string privateKey, bool bRequireClientKey) {
bool ret = RakNetPINVOKE.RakPeer_InitializeSecurity__SWIG_0(swigCPtr, publicKey, privateKey, bRequireClientKey);
return ret;
}
public override bool InitializeSecurity(string publicKey, string privateKey) {
bool ret = RakNetPINVOKE.RakPeer_InitializeSecurity__SWIG_1(swigCPtr, publicKey, privateKey);
return ret;
}
public override void DisableSecurity() {
RakNetPINVOKE.RakPeer_DisableSecurity(swigCPtr);
}
public override void AddToSecurityExceptionList(string ip) {
RakNetPINVOKE.RakPeer_AddToSecurityExceptionList(swigCPtr, ip);
}
public override void RemoveFromSecurityExceptionList(string ip) {
RakNetPINVOKE.RakPeer_RemoveFromSecurityExceptionList(swigCPtr, ip);
}
public override bool IsInSecurityExceptionList(string ip) {
bool ret = RakNetPINVOKE.RakPeer_IsInSecurityExceptionList(swigCPtr, ip);
return ret;
}
public override void SetMaximumIncomingConnections(ushort numberAllowed) {
RakNetPINVOKE.RakPeer_SetMaximumIncomingConnections(swigCPtr, numberAllowed);
}
public override ushort GetMaximumIncomingConnections() {
ushort ret = RakNetPINVOKE.RakPeer_GetMaximumIncomingConnections(swigCPtr);
return ret;
}
public override ushort NumberOfConnections() {
ushort ret = RakNetPINVOKE.RakPeer_NumberOfConnections(swigCPtr);
return ret;
}
public override void SetIncomingPassword(string passwordData, int passwordDataLength) {
RakNetPINVOKE.RakPeer_SetIncomingPassword__SWIG_0(swigCPtr, passwordData, passwordDataLength);
}
public override ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex, uint sendConnectionAttemptCount, uint timeBetweenSendConnectionAttemptsMS, uint timeoutTime) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeer_Connect__SWIG_0(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey), connectionSocketIndex, sendConnectionAttemptCount, timeBetweenSendConnectionAttemptsMS, timeoutTime);
return ret;
}
public override ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex, uint sendConnectionAttemptCount, uint timeBetweenSendConnectionAttemptsMS) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeer_Connect__SWIG_1(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey), connectionSocketIndex, sendConnectionAttemptCount, timeBetweenSendConnectionAttemptsMS);
return ret;
}
public override ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex, uint sendConnectionAttemptCount) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeer_Connect__SWIG_2(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey), connectionSocketIndex, sendConnectionAttemptCount);
return ret;
}
public override ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeer_Connect__SWIG_3(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey), connectionSocketIndex);
return ret;
}
public override ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeer_Connect__SWIG_4(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey));
return ret;
}
public override ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeer_Connect__SWIG_5(swigCPtr, host, remotePort, passwordData, passwordDataLength);
return ret;
}
public override void Shutdown(uint blockDuration, byte orderingChannel, PacketPriority disconnectionNotificationPriority) {
RakNetPINVOKE.RakPeer_Shutdown__SWIG_0(swigCPtr, blockDuration, orderingChannel, (int)disconnectionNotificationPriority);
}
public override void Shutdown(uint blockDuration, byte orderingChannel) {
RakNetPINVOKE.RakPeer_Shutdown__SWIG_1(swigCPtr, blockDuration, orderingChannel);
}
public override void Shutdown(uint blockDuration) {
RakNetPINVOKE.RakPeer_Shutdown__SWIG_2(swigCPtr, blockDuration);
}
public override bool IsActive() {
bool ret = RakNetPINVOKE.RakPeer_IsActive(swigCPtr);
return ret;
}
public override uint GetNextSendReceipt() {
uint ret = RakNetPINVOKE.RakPeer_GetNextSendReceipt(swigCPtr);
return ret;
}
public override uint IncrementNextSendReceipt() {
uint ret = RakNetPINVOKE.RakPeer_IncrementNextSendReceipt(swigCPtr);
return ret;
}
public override uint Send(string data, int length, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast, uint forceReceiptNumber) {
uint ret = RakNetPINVOKE.RakPeer_Send__SWIG_0(swigCPtr, data, length, (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier), broadcast, forceReceiptNumber);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override uint Send(string data, int length, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast) {
uint ret = RakNetPINVOKE.RakPeer_Send__SWIG_1(swigCPtr, data, length, (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier), broadcast);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override void SendLoopback(string data, int length) {
RakNetPINVOKE.RakPeer_SendLoopback__SWIG_0(swigCPtr, data, length);
}
public override uint Send(BitStream bitStream, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast, uint forceReceiptNumber) {
uint ret = RakNetPINVOKE.RakPeer_Send__SWIG_2(swigCPtr, BitStream.getCPtr(bitStream), (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier), broadcast, forceReceiptNumber);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override uint Send(BitStream bitStream, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast) {
uint ret = RakNetPINVOKE.RakPeer_Send__SWIG_3(swigCPtr, BitStream.getCPtr(bitStream), (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier), broadcast);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override Packet Receive() {
IntPtr cPtr = RakNetPINVOKE.RakPeer_Receive(swigCPtr);
Packet ret = (cPtr == IntPtr.Zero) ? null : new Packet(cPtr, false);
return ret;
}
public override void DeallocatePacket(Packet packet) {
RakNetPINVOKE.RakPeer_DeallocatePacket(swigCPtr, Packet.getCPtr(packet));
}
public override ushort GetMaximumNumberOfPeers() {
ushort ret = RakNetPINVOKE.RakPeer_GetMaximumNumberOfPeers(swigCPtr);
return ret;
}
public override void CloseConnection(AddressOrGUID target, bool sendDisconnectionNotification, byte orderingChannel, PacketPriority disconnectionNotificationPriority) {
RakNetPINVOKE.RakPeer_CloseConnection__SWIG_0(swigCPtr, AddressOrGUID.getCPtr(target), sendDisconnectionNotification, orderingChannel, (int)disconnectionNotificationPriority);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public override void CloseConnection(AddressOrGUID target, bool sendDisconnectionNotification, byte orderingChannel) {
RakNetPINVOKE.RakPeer_CloseConnection__SWIG_1(swigCPtr, AddressOrGUID.getCPtr(target), sendDisconnectionNotification, orderingChannel);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public override void CloseConnection(AddressOrGUID target, bool sendDisconnectionNotification) {
RakNetPINVOKE.RakPeer_CloseConnection__SWIG_2(swigCPtr, AddressOrGUID.getCPtr(target), sendDisconnectionNotification);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public override void CancelConnectionAttempt(SystemAddress target) {
RakNetPINVOKE.RakPeer_CancelConnectionAttempt(swigCPtr, SystemAddress.getCPtr(target));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public override ConnectionState GetConnectionState(AddressOrGUID systemIdentifier) {
ConnectionState ret = (ConnectionState)RakNetPINVOKE.RakPeer_GetConnectionState(swigCPtr, AddressOrGUID.getCPtr(systemIdentifier));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override int GetIndexFromSystemAddress(SystemAddress systemAddress) {
int ret = RakNetPINVOKE.RakPeer_GetIndexFromSystemAddress(swigCPtr, SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override SystemAddress GetSystemAddressFromIndex(int index) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeer_GetSystemAddressFromIndex(swigCPtr, index), true);
return ret;
}
public override RakNetGUID GetGUIDFromIndex(int index) {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.RakPeer_GetGUIDFromIndex(swigCPtr, index), true);
return ret;
}
public override void GetSystemList(RakNetListSystemAddress addresses, RakNetListRakNetGUID guids) {
RakNetPINVOKE.RakPeer_GetSystemList(swigCPtr, RakNetListSystemAddress.getCPtr(addresses), RakNetListRakNetGUID.getCPtr(guids));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public override void AddToBanList(string IP, uint milliseconds) {
RakNetPINVOKE.RakPeer_AddToBanList__SWIG_0(swigCPtr, IP, milliseconds);
}
public override void AddToBanList(string IP) {
RakNetPINVOKE.RakPeer_AddToBanList__SWIG_1(swigCPtr, IP);
}
public override void RemoveFromBanList(string IP) {
RakNetPINVOKE.RakPeer_RemoveFromBanList(swigCPtr, IP);
}
public override void ClearBanList() {
RakNetPINVOKE.RakPeer_ClearBanList(swigCPtr);
}
public override bool IsBanned(string IP) {
bool ret = RakNetPINVOKE.RakPeer_IsBanned(swigCPtr, IP);
return ret;
}
public override void SetLimitIPConnectionFrequency(bool b) {
RakNetPINVOKE.RakPeer_SetLimitIPConnectionFrequency(swigCPtr, b);
}
public override void Ping(SystemAddress target) {
RakNetPINVOKE.RakPeer_Ping__SWIG_0(swigCPtr, SystemAddress.getCPtr(target));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public override bool Ping(string host, ushort remotePort, bool onlyReplyOnAcceptingConnections, uint connectionSocketIndex) {
bool ret = RakNetPINVOKE.RakPeer_Ping__SWIG_1(swigCPtr, host, remotePort, onlyReplyOnAcceptingConnections, connectionSocketIndex);
return ret;
}
public override bool Ping(string host, ushort remotePort, bool onlyReplyOnAcceptingConnections) {
bool ret = RakNetPINVOKE.RakPeer_Ping__SWIG_2(swigCPtr, host, remotePort, onlyReplyOnAcceptingConnections);
return ret;
}
public override int GetAveragePing(AddressOrGUID systemIdentifier) {
int ret = RakNetPINVOKE.RakPeer_GetAveragePing(swigCPtr, AddressOrGUID.getCPtr(systemIdentifier));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override int GetLastPing(AddressOrGUID systemIdentifier) {
int ret = RakNetPINVOKE.RakPeer_GetLastPing(swigCPtr, AddressOrGUID.getCPtr(systemIdentifier));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override int GetLowestPing(AddressOrGUID systemIdentifier) {
int ret = RakNetPINVOKE.RakPeer_GetLowestPing(swigCPtr, AddressOrGUID.getCPtr(systemIdentifier));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override void SetOccasionalPing(bool doPing) {
RakNetPINVOKE.RakPeer_SetOccasionalPing(swigCPtr, doPing);
}
public override void SetOfflinePingResponse(string data, uint length) {
RakNetPINVOKE.RakPeer_SetOfflinePingResponse__SWIG_0(swigCPtr, data, length);
}
public override SystemAddress GetInternalID(SystemAddress systemAddress, int index) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeer_GetInternalID__SWIG_0(swigCPtr, SystemAddress.getCPtr(systemAddress), index), true);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override SystemAddress GetInternalID(SystemAddress systemAddress) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeer_GetInternalID__SWIG_1(swigCPtr, SystemAddress.getCPtr(systemAddress)), true);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override SystemAddress GetInternalID() {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeer_GetInternalID__SWIG_2(swigCPtr), true);
return ret;
}
public override SystemAddress GetExternalID(SystemAddress target) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeer_GetExternalID(swigCPtr, SystemAddress.getCPtr(target)), true);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override RakNetGUID GetMyGUID() {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.RakPeer_GetMyGUID(swigCPtr), true);
return ret;
}
public override SystemAddress GetMyBoundAddress(int socketIndex) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeer_GetMyBoundAddress__SWIG_0(swigCPtr, socketIndex), true);
return ret;
}
public override SystemAddress GetMyBoundAddress() {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeer_GetMyBoundAddress__SWIG_1(swigCPtr), true);
return ret;
}
public override RakNetGUID GetGuidFromSystemAddress(SystemAddress input) {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.RakPeer_GetGuidFromSystemAddress(swigCPtr, SystemAddress.getCPtr(input)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override SystemAddress GetSystemAddressFromGuid(RakNetGUID input) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeer_GetSystemAddressFromGuid(swigCPtr, RakNetGUID.getCPtr(input)), true);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override bool GetClientPublicKeyFromSystemAddress(SystemAddress input, string client_public_key) {
bool ret = RakNetPINVOKE.RakPeer_GetClientPublicKeyFromSystemAddress(swigCPtr, SystemAddress.getCPtr(input), client_public_key);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override void SetTimeoutTime(uint timeMS, SystemAddress target) {
RakNetPINVOKE.RakPeer_SetTimeoutTime(swigCPtr, timeMS, SystemAddress.getCPtr(target));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public override uint GetTimeoutTime(SystemAddress target) {
uint ret = RakNetPINVOKE.RakPeer_GetTimeoutTime(swigCPtr, SystemAddress.getCPtr(target));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override int GetMTUSize(SystemAddress target) {
int ret = RakNetPINVOKE.RakPeer_GetMTUSize(swigCPtr, SystemAddress.getCPtr(target));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override uint GetNumberOfAddresses() {
uint ret = RakNetPINVOKE.RakPeer_GetNumberOfAddresses(swigCPtr);
return ret;
}
public override string GetLocalIP(uint index) {
string ret = RakNetPINVOKE.RakPeer_GetLocalIP(swigCPtr, index);
return ret;
}
public override bool IsLocalIP(string ip) {
bool ret = RakNetPINVOKE.RakPeer_IsLocalIP(swigCPtr, ip);
return ret;
}
public override void AllowConnectionResponseIPMigration(bool allow) {
RakNetPINVOKE.RakPeer_AllowConnectionResponseIPMigration(swigCPtr, allow);
}
public override bool AdvertiseSystem(string host, ushort remotePort, string data, int dataLength, uint connectionSocketIndex) {
bool ret = RakNetPINVOKE.RakPeer_AdvertiseSystem__SWIG_0(swigCPtr, host, remotePort, data, dataLength, connectionSocketIndex);
return ret;
}
public override bool AdvertiseSystem(string host, ushort remotePort, string data, int dataLength) {
bool ret = RakNetPINVOKE.RakPeer_AdvertiseSystem__SWIG_1(swigCPtr, host, remotePort, data, dataLength);
return ret;
}
public override void SetSplitMessageProgressInterval(int interval) {
RakNetPINVOKE.RakPeer_SetSplitMessageProgressInterval(swigCPtr, interval);
}
public override int GetSplitMessageProgressInterval() {
int ret = RakNetPINVOKE.RakPeer_GetSplitMessageProgressInterval(swigCPtr);
return ret;
}
public override void SetUnreliableTimeout(uint timeoutMS) {
RakNetPINVOKE.RakPeer_SetUnreliableTimeout(swigCPtr, timeoutMS);
}
public override void SendTTL(string host, ushort remotePort, int ttl, uint connectionSocketIndex) {
RakNetPINVOKE.RakPeer_SendTTL__SWIG_0(swigCPtr, host, remotePort, ttl, connectionSocketIndex);
}
public override void SendTTL(string host, ushort remotePort, int ttl) {
RakNetPINVOKE.RakPeer_SendTTL__SWIG_1(swigCPtr, host, remotePort, ttl);
}
public override void AttachPlugin(PluginInterface2 plugin) {
RakNetPINVOKE.RakPeer_AttachPlugin(swigCPtr, PluginInterface2.getCPtr(plugin));
}
public override void DetachPlugin(PluginInterface2 messageHandler) {
RakNetPINVOKE.RakPeer_DetachPlugin(swigCPtr, PluginInterface2.getCPtr(messageHandler));
}
public override void PushBackPacket(Packet packet, bool pushAtHead) {
RakNetPINVOKE.RakPeer_PushBackPacket(swigCPtr, Packet.getCPtr(packet), pushAtHead);
}
public override void ChangeSystemAddress(RakNetGUID guid, SystemAddress systemAddress) {
RakNetPINVOKE.RakPeer_ChangeSystemAddress(swigCPtr, RakNetGUID.getCPtr(guid), SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public override Packet AllocatePacket(uint dataSize) {
IntPtr cPtr = RakNetPINVOKE.RakPeer_AllocatePacket(swigCPtr, dataSize);
Packet ret = (cPtr == IntPtr.Zero) ? null : new Packet(cPtr, false);
return ret;
}
public override void WriteOutOfBandHeader(BitStream bitStream) {
RakNetPINVOKE.RakPeer_WriteOutOfBandHeader(swigCPtr, BitStream.getCPtr(bitStream));
}
public override void ApplyNetworkSimulator(float packetloss, ushort minExtraPing, ushort extraPingVariance) {
RakNetPINVOKE.RakPeer_ApplyNetworkSimulator(swigCPtr, packetloss, minExtraPing, extraPingVariance);
}
public override void SetPerConnectionOutgoingBandwidthLimit(uint maxBitsPerSecond) {
RakNetPINVOKE.RakPeer_SetPerConnectionOutgoingBandwidthLimit(swigCPtr, maxBitsPerSecond);
}
public override bool IsNetworkSimulatorActive() {
bool ret = RakNetPINVOKE.RakPeer_IsNetworkSimulatorActive(swigCPtr);
return ret;
}
public override RakNetStatistics GetStatistics(SystemAddress systemAddress, RakNetStatistics rns) {
IntPtr cPtr = RakNetPINVOKE.RakPeer_GetStatistics__SWIG_0(swigCPtr, SystemAddress.getCPtr(systemAddress), RakNetStatistics.getCPtr(rns));
RakNetStatistics ret = (cPtr == IntPtr.Zero) ? null : new RakNetStatistics(cPtr, false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override RakNetStatistics GetStatistics(SystemAddress systemAddress) {
IntPtr cPtr = RakNetPINVOKE.RakPeer_GetStatistics__SWIG_1(swigCPtr, SystemAddress.getCPtr(systemAddress));
RakNetStatistics ret = (cPtr == IntPtr.Zero) ? null : new RakNetStatistics(cPtr, false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public override bool GetStatistics(int index, RakNetStatistics rns) {
bool ret = RakNetPINVOKE.RakPeer_GetStatistics__SWIG_2(swigCPtr, index, RakNetStatistics.getCPtr(rns));
return ret;
}
public override uint GetReceiveBufferSize() {
uint ret = RakNetPINVOKE.RakPeer_GetReceiveBufferSize(swigCPtr);
return ret;
}
public override bool SendOutOfBand(string host, ushort remotePort, string data, uint dataLength, uint connectionSocketIndex) {
bool ret = RakNetPINVOKE.RakPeer_SendOutOfBand__SWIG_0(swigCPtr, host, remotePort, data, dataLength, connectionSocketIndex);
return ret;
}
public override bool SendOutOfBand(string host, ushort remotePort, string data, uint dataLength) {
bool ret = RakNetPINVOKE.RakPeer_SendOutOfBand__SWIG_1(swigCPtr, host, remotePort, data, dataLength);
return ret;
}
public new uint Send(byte[] inByteArray, int length, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast) {
uint ret = RakNetPINVOKE.RakPeer_Send__SWIG_4(swigCPtr, inByteArray, length, (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier), broadcast);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public new void SendLoopback(byte[] inByteArray, int length) {
RakNetPINVOKE.RakPeer_SendLoopback__SWIG_1(swigCPtr, inByteArray, length);
}
public new void SetOfflinePingResponse(byte[] inByteArray, uint length) {
RakNetPINVOKE.RakPeer_SetOfflinePingResponse__SWIG_1(swigCPtr, inByteArray, length);
}
public new bool AdvertiseSystem(string host, ushort remotePort, byte[] inByteArray, int dataLength, uint connectionSocketIndex) {
bool ret = RakNetPINVOKE.RakPeer_AdvertiseSystem__SWIG_2(swigCPtr, host, remotePort, inByteArray, dataLength, connectionSocketIndex);
return ret;
}
public new bool AdvertiseSystem(string host, ushort remotePort, byte[] inByteArray, int dataLength) {
bool ret = RakNetPINVOKE.RakPeer_AdvertiseSystem__SWIG_3(swigCPtr, host, remotePort, inByteArray, dataLength);
return ret;
}
private string CSharpGetIncomingPasswordHelper(string passwordData, ref int passwordDataLength) {
string ret = RakNetPINVOKE.RakPeer_CSharpGetIncomingPasswordHelper(swigCPtr, passwordData, ref passwordDataLength);
return ret;
}
public new void SetIncomingPassword(byte[] passwordDataByteArray, int passwordDataLength) {
RakNetPINVOKE.RakPeer_SetIncomingPassword__SWIG_1(swigCPtr, passwordDataByteArray, passwordDataLength);
}
public new void GetIncomingPassword(byte[] passwordDataByteArray, ref int passwordDataLength) {
RakNetPINVOKE.RakPeer_GetIncomingPassword(swigCPtr, passwordDataByteArray, ref passwordDataLength);
}
private void CSharpGetOfflinePingResponseHelper(byte[] inOutByteArray, out uint outLength) {
RakNetPINVOKE.RakPeer_CSharpGetOfflinePingResponseHelper(swigCPtr, inOutByteArray, out outLength);
}
public new bool GetConnectionList(RakNetListSystemAddress remoteSystems, ref ushort numberOfSystems) {
bool ret = RakNetPINVOKE.RakPeer_GetConnectionList(swigCPtr, RakNetListSystemAddress.getCPtr(remoteSystems), ref numberOfSystems);
return ret;
}
}
}

View File

@ -0,0 +1,596 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class RakPeerInterface : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakPeerInterface(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakPeerInterface obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakPeerInterface() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakPeerInterface(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public virtual void GetIncomingPassword(ref string passwordData, ref int passwordDataLength )
{
passwordData=CSharpGetIncomingPasswordHelper(passwordData,ref passwordDataLength);
}
public virtual void GetOfflinePingResponse( byte[] inOutByteArray, out uint length )
{
CSharpGetOfflinePingResponseHelper(inOutByteArray,out length);
}
public virtual bool GetConnectionList(out SystemAddress[] remoteSystems, ref ushort numberOfSystems)
{
RakNetListSystemAddress passVal= new RakNetListSystemAddress();
bool returnVal = GetConnectionList(passVal,ref numberOfSystems);
SystemAddress[] outVal = new SystemAddress[numberOfSystems];
for (int i=0; i<numberOfSystems;i++)
{
outVal[i]=passVal[i];
}
remoteSystems=outVal;
return returnVal;
}
public static RakPeerInterface GetInstance() {
IntPtr cPtr = RakNetPINVOKE.RakPeerInterface_GetInstance();
RakPeerInterface ret = (cPtr == IntPtr.Zero) ? null : new RakPeerInterface(cPtr, false);
return ret;
}
public static void DestroyInstance(RakPeerInterface i) {
RakNetPINVOKE.RakPeerInterface_DestroyInstance(RakPeerInterface.getCPtr(i));
}
public virtual StartupResult Startup(ushort maxConnections, SocketDescriptor socketDescriptors, uint socketDescriptorCount, int threadPriority) {
StartupResult ret = (StartupResult)RakNetPINVOKE.RakPeerInterface_Startup__SWIG_0(swigCPtr, maxConnections, SocketDescriptor.getCPtr(socketDescriptors), socketDescriptorCount, threadPriority);
return ret;
}
public virtual StartupResult Startup(ushort maxConnections, SocketDescriptor socketDescriptors, uint socketDescriptorCount) {
StartupResult ret = (StartupResult)RakNetPINVOKE.RakPeerInterface_Startup__SWIG_1(swigCPtr, maxConnections, SocketDescriptor.getCPtr(socketDescriptors), socketDescriptorCount);
return ret;
}
public virtual bool InitializeSecurity(string publicKey, string privateKey, bool bRequireClientKey) {
bool ret = RakNetPINVOKE.RakPeerInterface_InitializeSecurity__SWIG_0(swigCPtr, publicKey, privateKey, bRequireClientKey);
return ret;
}
public virtual bool InitializeSecurity(string publicKey, string privateKey) {
bool ret = RakNetPINVOKE.RakPeerInterface_InitializeSecurity__SWIG_1(swigCPtr, publicKey, privateKey);
return ret;
}
public virtual void DisableSecurity() {
RakNetPINVOKE.RakPeerInterface_DisableSecurity(swigCPtr);
}
public virtual void AddToSecurityExceptionList(string ip) {
RakNetPINVOKE.RakPeerInterface_AddToSecurityExceptionList(swigCPtr, ip);
}
public virtual void RemoveFromSecurityExceptionList(string ip) {
RakNetPINVOKE.RakPeerInterface_RemoveFromSecurityExceptionList(swigCPtr, ip);
}
public virtual bool IsInSecurityExceptionList(string ip) {
bool ret = RakNetPINVOKE.RakPeerInterface_IsInSecurityExceptionList(swigCPtr, ip);
return ret;
}
public virtual void SetMaximumIncomingConnections(ushort numberAllowed) {
RakNetPINVOKE.RakPeerInterface_SetMaximumIncomingConnections(swigCPtr, numberAllowed);
}
public virtual ushort GetMaximumIncomingConnections() {
ushort ret = RakNetPINVOKE.RakPeerInterface_GetMaximumIncomingConnections(swigCPtr);
return ret;
}
public virtual ushort NumberOfConnections() {
ushort ret = RakNetPINVOKE.RakPeerInterface_NumberOfConnections(swigCPtr);
return ret;
}
public virtual void SetIncomingPassword(string passwordData, int passwordDataLength) {
RakNetPINVOKE.RakPeerInterface_SetIncomingPassword__SWIG_0(swigCPtr, passwordData, passwordDataLength);
}
public virtual ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex, uint sendConnectionAttemptCount, uint timeBetweenSendConnectionAttemptsMS, uint timeoutTime) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeerInterface_Connect__SWIG_0(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey), connectionSocketIndex, sendConnectionAttemptCount, timeBetweenSendConnectionAttemptsMS, timeoutTime);
return ret;
}
public virtual ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex, uint sendConnectionAttemptCount, uint timeBetweenSendConnectionAttemptsMS) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeerInterface_Connect__SWIG_1(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey), connectionSocketIndex, sendConnectionAttemptCount, timeBetweenSendConnectionAttemptsMS);
return ret;
}
public virtual ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex, uint sendConnectionAttemptCount) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeerInterface_Connect__SWIG_2(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey), connectionSocketIndex, sendConnectionAttemptCount);
return ret;
}
public virtual ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey, uint connectionSocketIndex) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeerInterface_Connect__SWIG_3(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey), connectionSocketIndex);
return ret;
}
public virtual ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength, PublicKey publicKey) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeerInterface_Connect__SWIG_4(swigCPtr, host, remotePort, passwordData, passwordDataLength, PublicKey.getCPtr(publicKey));
return ret;
}
public virtual ConnectionAttemptResult Connect(string host, ushort remotePort, string passwordData, int passwordDataLength) {
ConnectionAttemptResult ret = (ConnectionAttemptResult)RakNetPINVOKE.RakPeerInterface_Connect__SWIG_5(swigCPtr, host, remotePort, passwordData, passwordDataLength);
return ret;
}
public virtual void Shutdown(uint blockDuration, byte orderingChannel, PacketPriority disconnectionNotificationPriority) {
RakNetPINVOKE.RakPeerInterface_Shutdown__SWIG_0(swigCPtr, blockDuration, orderingChannel, (int)disconnectionNotificationPriority);
}
public virtual void Shutdown(uint blockDuration, byte orderingChannel) {
RakNetPINVOKE.RakPeerInterface_Shutdown__SWIG_1(swigCPtr, blockDuration, orderingChannel);
}
public virtual void Shutdown(uint blockDuration) {
RakNetPINVOKE.RakPeerInterface_Shutdown__SWIG_2(swigCPtr, blockDuration);
}
public virtual bool IsActive() {
bool ret = RakNetPINVOKE.RakPeerInterface_IsActive(swigCPtr);
return ret;
}
public virtual uint GetNextSendReceipt() {
uint ret = RakNetPINVOKE.RakPeerInterface_GetNextSendReceipt(swigCPtr);
return ret;
}
public virtual uint IncrementNextSendReceipt() {
uint ret = RakNetPINVOKE.RakPeerInterface_IncrementNextSendReceipt(swigCPtr);
return ret;
}
public virtual uint Send(string data, int length, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast, uint forceReceiptNumber) {
uint ret = RakNetPINVOKE.RakPeerInterface_Send__SWIG_0(swigCPtr, data, length, (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier), broadcast, forceReceiptNumber);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual uint Send(string data, int length, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast) {
uint ret = RakNetPINVOKE.RakPeerInterface_Send__SWIG_1(swigCPtr, data, length, (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier), broadcast);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual void SendLoopback(string data, int length) {
RakNetPINVOKE.RakPeerInterface_SendLoopback__SWIG_0(swigCPtr, data, length);
}
public virtual uint Send(BitStream bitStream, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast, uint forceReceiptNumber) {
uint ret = RakNetPINVOKE.RakPeerInterface_Send__SWIG_2(swigCPtr, BitStream.getCPtr(bitStream), (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier), broadcast, forceReceiptNumber);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual uint Send(BitStream bitStream, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast) {
uint ret = RakNetPINVOKE.RakPeerInterface_Send__SWIG_3(swigCPtr, BitStream.getCPtr(bitStream), (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier), broadcast);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual Packet Receive() {
IntPtr cPtr = RakNetPINVOKE.RakPeerInterface_Receive(swigCPtr);
Packet ret = (cPtr == IntPtr.Zero) ? null : new Packet(cPtr, false);
return ret;
}
public virtual void DeallocatePacket(Packet packet) {
RakNetPINVOKE.RakPeerInterface_DeallocatePacket(swigCPtr, Packet.getCPtr(packet));
}
public virtual ushort GetMaximumNumberOfPeers() {
ushort ret = RakNetPINVOKE.RakPeerInterface_GetMaximumNumberOfPeers(swigCPtr);
return ret;
}
public virtual void CloseConnection(AddressOrGUID target, bool sendDisconnectionNotification, byte orderingChannel, PacketPriority disconnectionNotificationPriority) {
RakNetPINVOKE.RakPeerInterface_CloseConnection__SWIG_0(swigCPtr, AddressOrGUID.getCPtr(target), sendDisconnectionNotification, orderingChannel, (int)disconnectionNotificationPriority);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void CloseConnection(AddressOrGUID target, bool sendDisconnectionNotification, byte orderingChannel) {
RakNetPINVOKE.RakPeerInterface_CloseConnection__SWIG_1(swigCPtr, AddressOrGUID.getCPtr(target), sendDisconnectionNotification, orderingChannel);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void CloseConnection(AddressOrGUID target, bool sendDisconnectionNotification) {
RakNetPINVOKE.RakPeerInterface_CloseConnection__SWIG_2(swigCPtr, AddressOrGUID.getCPtr(target), sendDisconnectionNotification);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual ConnectionState GetConnectionState(AddressOrGUID systemIdentifier) {
ConnectionState ret = (ConnectionState)RakNetPINVOKE.RakPeerInterface_GetConnectionState(swigCPtr, AddressOrGUID.getCPtr(systemIdentifier));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual void CancelConnectionAttempt(SystemAddress target) {
RakNetPINVOKE.RakPeerInterface_CancelConnectionAttempt(swigCPtr, SystemAddress.getCPtr(target));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual int GetIndexFromSystemAddress(SystemAddress systemAddress) {
int ret = RakNetPINVOKE.RakPeerInterface_GetIndexFromSystemAddress(swigCPtr, SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual SystemAddress GetSystemAddressFromIndex(int index) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeerInterface_GetSystemAddressFromIndex(swigCPtr, index), true);
return ret;
}
public virtual RakNetGUID GetGUIDFromIndex(int index) {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.RakPeerInterface_GetGUIDFromIndex(swigCPtr, index), true);
return ret;
}
public virtual void GetSystemList(RakNetListSystemAddress addresses, RakNetListRakNetGUID guids) {
RakNetPINVOKE.RakPeerInterface_GetSystemList(swigCPtr, RakNetListSystemAddress.getCPtr(addresses), RakNetListRakNetGUID.getCPtr(guids));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void AddToBanList(string IP, uint milliseconds) {
RakNetPINVOKE.RakPeerInterface_AddToBanList__SWIG_0(swigCPtr, IP, milliseconds);
}
public virtual void AddToBanList(string IP) {
RakNetPINVOKE.RakPeerInterface_AddToBanList__SWIG_1(swigCPtr, IP);
}
public virtual void RemoveFromBanList(string IP) {
RakNetPINVOKE.RakPeerInterface_RemoveFromBanList(swigCPtr, IP);
}
public virtual void ClearBanList() {
RakNetPINVOKE.RakPeerInterface_ClearBanList(swigCPtr);
}
public virtual bool IsBanned(string IP) {
bool ret = RakNetPINVOKE.RakPeerInterface_IsBanned(swigCPtr, IP);
return ret;
}
public virtual void SetLimitIPConnectionFrequency(bool b) {
RakNetPINVOKE.RakPeerInterface_SetLimitIPConnectionFrequency(swigCPtr, b);
}
public virtual void Ping(SystemAddress target) {
RakNetPINVOKE.RakPeerInterface_Ping__SWIG_0(swigCPtr, SystemAddress.getCPtr(target));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual bool Ping(string host, ushort remotePort, bool onlyReplyOnAcceptingConnections, uint connectionSocketIndex) {
bool ret = RakNetPINVOKE.RakPeerInterface_Ping__SWIG_1(swigCPtr, host, remotePort, onlyReplyOnAcceptingConnections, connectionSocketIndex);
return ret;
}
public virtual bool Ping(string host, ushort remotePort, bool onlyReplyOnAcceptingConnections) {
bool ret = RakNetPINVOKE.RakPeerInterface_Ping__SWIG_2(swigCPtr, host, remotePort, onlyReplyOnAcceptingConnections);
return ret;
}
public virtual int GetAveragePing(AddressOrGUID systemIdentifier) {
int ret = RakNetPINVOKE.RakPeerInterface_GetAveragePing(swigCPtr, AddressOrGUID.getCPtr(systemIdentifier));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual int GetLastPing(AddressOrGUID systemIdentifier) {
int ret = RakNetPINVOKE.RakPeerInterface_GetLastPing(swigCPtr, AddressOrGUID.getCPtr(systemIdentifier));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual int GetLowestPing(AddressOrGUID systemIdentifier) {
int ret = RakNetPINVOKE.RakPeerInterface_GetLowestPing(swigCPtr, AddressOrGUID.getCPtr(systemIdentifier));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual void SetOccasionalPing(bool doPing) {
RakNetPINVOKE.RakPeerInterface_SetOccasionalPing(swigCPtr, doPing);
}
public virtual void SetOfflinePingResponse(string data, uint length) {
RakNetPINVOKE.RakPeerInterface_SetOfflinePingResponse__SWIG_0(swigCPtr, data, length);
}
public virtual SystemAddress GetInternalID(SystemAddress systemAddress, int index) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeerInterface_GetInternalID__SWIG_0(swigCPtr, SystemAddress.getCPtr(systemAddress), index), true);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual SystemAddress GetInternalID(SystemAddress systemAddress) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeerInterface_GetInternalID__SWIG_1(swigCPtr, SystemAddress.getCPtr(systemAddress)), true);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual SystemAddress GetInternalID() {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeerInterface_GetInternalID__SWIG_2(swigCPtr), true);
return ret;
}
public virtual SystemAddress GetExternalID(SystemAddress target) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeerInterface_GetExternalID(swigCPtr, SystemAddress.getCPtr(target)), true);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual RakNetGUID GetMyGUID() {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.RakPeerInterface_GetMyGUID(swigCPtr), true);
return ret;
}
public virtual SystemAddress GetMyBoundAddress(int socketIndex) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeerInterface_GetMyBoundAddress__SWIG_0(swigCPtr, socketIndex), true);
return ret;
}
public virtual SystemAddress GetMyBoundAddress() {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeerInterface_GetMyBoundAddress__SWIG_1(swigCPtr), true);
return ret;
}
public static ulong Get64BitUniqueRandomNumber() {
ulong ret = RakNetPINVOKE.RakPeerInterface_Get64BitUniqueRandomNumber();
return ret;
}
public virtual RakNetGUID GetGuidFromSystemAddress(SystemAddress input) {
RakNetGUID ret = new RakNetGUID(RakNetPINVOKE.RakPeerInterface_GetGuidFromSystemAddress(swigCPtr, SystemAddress.getCPtr(input)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual SystemAddress GetSystemAddressFromGuid(RakNetGUID input) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.RakPeerInterface_GetSystemAddressFromGuid(swigCPtr, RakNetGUID.getCPtr(input)), true);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool GetClientPublicKeyFromSystemAddress(SystemAddress input, string client_public_key) {
bool ret = RakNetPINVOKE.RakPeerInterface_GetClientPublicKeyFromSystemAddress(swigCPtr, SystemAddress.getCPtr(input), client_public_key);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual void SetTimeoutTime(uint timeMS, SystemAddress target) {
RakNetPINVOKE.RakPeerInterface_SetTimeoutTime(swigCPtr, timeMS, SystemAddress.getCPtr(target));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual uint GetTimeoutTime(SystemAddress target) {
uint ret = RakNetPINVOKE.RakPeerInterface_GetTimeoutTime(swigCPtr, SystemAddress.getCPtr(target));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual int GetMTUSize(SystemAddress target) {
int ret = RakNetPINVOKE.RakPeerInterface_GetMTUSize(swigCPtr, SystemAddress.getCPtr(target));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual uint GetNumberOfAddresses() {
uint ret = RakNetPINVOKE.RakPeerInterface_GetNumberOfAddresses(swigCPtr);
return ret;
}
public virtual string GetLocalIP(uint index) {
string ret = RakNetPINVOKE.RakPeerInterface_GetLocalIP(swigCPtr, index);
return ret;
}
public virtual bool IsLocalIP(string ip) {
bool ret = RakNetPINVOKE.RakPeerInterface_IsLocalIP(swigCPtr, ip);
return ret;
}
public virtual void AllowConnectionResponseIPMigration(bool allow) {
RakNetPINVOKE.RakPeerInterface_AllowConnectionResponseIPMigration(swigCPtr, allow);
}
public virtual bool AdvertiseSystem(string host, ushort remotePort, string data, int dataLength, uint connectionSocketIndex) {
bool ret = RakNetPINVOKE.RakPeerInterface_AdvertiseSystem__SWIG_0(swigCPtr, host, remotePort, data, dataLength, connectionSocketIndex);
return ret;
}
public virtual bool AdvertiseSystem(string host, ushort remotePort, string data, int dataLength) {
bool ret = RakNetPINVOKE.RakPeerInterface_AdvertiseSystem__SWIG_1(swigCPtr, host, remotePort, data, dataLength);
return ret;
}
public virtual void SetSplitMessageProgressInterval(int interval) {
RakNetPINVOKE.RakPeerInterface_SetSplitMessageProgressInterval(swigCPtr, interval);
}
public virtual int GetSplitMessageProgressInterval() {
int ret = RakNetPINVOKE.RakPeerInterface_GetSplitMessageProgressInterval(swigCPtr);
return ret;
}
public virtual void SetUnreliableTimeout(uint timeoutMS) {
RakNetPINVOKE.RakPeerInterface_SetUnreliableTimeout(swigCPtr, timeoutMS);
}
public virtual void SendTTL(string host, ushort remotePort, int ttl, uint connectionSocketIndex) {
RakNetPINVOKE.RakPeerInterface_SendTTL__SWIG_0(swigCPtr, host, remotePort, ttl, connectionSocketIndex);
}
public virtual void SendTTL(string host, ushort remotePort, int ttl) {
RakNetPINVOKE.RakPeerInterface_SendTTL__SWIG_1(swigCPtr, host, remotePort, ttl);
}
public virtual void AttachPlugin(PluginInterface2 plugin) {
RakNetPINVOKE.RakPeerInterface_AttachPlugin(swigCPtr, PluginInterface2.getCPtr(plugin));
}
public virtual void DetachPlugin(PluginInterface2 messageHandler) {
RakNetPINVOKE.RakPeerInterface_DetachPlugin(swigCPtr, PluginInterface2.getCPtr(messageHandler));
}
public virtual void PushBackPacket(Packet packet, bool pushAtHead) {
RakNetPINVOKE.RakPeerInterface_PushBackPacket(swigCPtr, Packet.getCPtr(packet), pushAtHead);
}
public virtual void ChangeSystemAddress(RakNetGUID guid, SystemAddress systemAddress) {
RakNetPINVOKE.RakPeerInterface_ChangeSystemAddress(swigCPtr, RakNetGUID.getCPtr(guid), SystemAddress.getCPtr(systemAddress));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public virtual Packet AllocatePacket(uint dataSize) {
IntPtr cPtr = RakNetPINVOKE.RakPeerInterface_AllocatePacket(swigCPtr, dataSize);
Packet ret = (cPtr == IntPtr.Zero) ? null : new Packet(cPtr, false);
return ret;
}
public virtual void WriteOutOfBandHeader(BitStream bitStream) {
RakNetPINVOKE.RakPeerInterface_WriteOutOfBandHeader(swigCPtr, BitStream.getCPtr(bitStream));
}
public virtual void ApplyNetworkSimulator(float packetloss, ushort minExtraPing, ushort extraPingVariance) {
RakNetPINVOKE.RakPeerInterface_ApplyNetworkSimulator(swigCPtr, packetloss, minExtraPing, extraPingVariance);
}
public virtual void SetPerConnectionOutgoingBandwidthLimit(uint maxBitsPerSecond) {
RakNetPINVOKE.RakPeerInterface_SetPerConnectionOutgoingBandwidthLimit(swigCPtr, maxBitsPerSecond);
}
public virtual bool IsNetworkSimulatorActive() {
bool ret = RakNetPINVOKE.RakPeerInterface_IsNetworkSimulatorActive(swigCPtr);
return ret;
}
public virtual RakNetStatistics GetStatistics(SystemAddress systemAddress, RakNetStatistics rns) {
IntPtr cPtr = RakNetPINVOKE.RakPeerInterface_GetStatistics__SWIG_0(swigCPtr, SystemAddress.getCPtr(systemAddress), RakNetStatistics.getCPtr(rns));
RakNetStatistics ret = (cPtr == IntPtr.Zero) ? null : new RakNetStatistics(cPtr, false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual RakNetStatistics GetStatistics(SystemAddress systemAddress) {
IntPtr cPtr = RakNetPINVOKE.RakPeerInterface_GetStatistics__SWIG_1(swigCPtr, SystemAddress.getCPtr(systemAddress));
RakNetStatistics ret = (cPtr == IntPtr.Zero) ? null : new RakNetStatistics(cPtr, false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool GetStatistics(int index, RakNetStatistics rns) {
bool ret = RakNetPINVOKE.RakPeerInterface_GetStatistics__SWIG_2(swigCPtr, index, RakNetStatistics.getCPtr(rns));
return ret;
}
public virtual uint GetReceiveBufferSize() {
uint ret = RakNetPINVOKE.RakPeerInterface_GetReceiveBufferSize(swigCPtr);
return ret;
}
public virtual bool SendOutOfBand(string host, ushort remotePort, string data, uint dataLength, uint connectionSocketIndex) {
bool ret = RakNetPINVOKE.RakPeerInterface_SendOutOfBand__SWIG_0(swigCPtr, host, remotePort, data, dataLength, connectionSocketIndex);
return ret;
}
public virtual bool SendOutOfBand(string host, ushort remotePort, string data, uint dataLength) {
bool ret = RakNetPINVOKE.RakPeerInterface_SendOutOfBand__SWIG_1(swigCPtr, host, remotePort, data, dataLength);
return ret;
}
public uint Send(byte[] inByteArray, int length, PacketPriority priority, PacketReliability reliability, char orderingChannel, AddressOrGUID systemIdentifier, bool broadcast) {
uint ret = RakNetPINVOKE.RakPeerInterface_Send__SWIG_4(swigCPtr, inByteArray, length, (int)priority, (int)reliability, orderingChannel, AddressOrGUID.getCPtr(systemIdentifier), broadcast);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void SendLoopback(byte[] inByteArray, int length) {
RakNetPINVOKE.RakPeerInterface_SendLoopback__SWIG_1(swigCPtr, inByteArray, length);
}
public void SetOfflinePingResponse(byte[] inByteArray, uint length) {
RakNetPINVOKE.RakPeerInterface_SetOfflinePingResponse__SWIG_1(swigCPtr, inByteArray, length);
}
public bool AdvertiseSystem(string host, ushort remotePort, byte[] inByteArray, int dataLength, uint connectionSocketIndex) {
bool ret = RakNetPINVOKE.RakPeerInterface_AdvertiseSystem__SWIG_2(swigCPtr, host, remotePort, inByteArray, dataLength, connectionSocketIndex);
return ret;
}
public bool AdvertiseSystem(string host, ushort remotePort, byte[] inByteArray, int dataLength) {
bool ret = RakNetPINVOKE.RakPeerInterface_AdvertiseSystem__SWIG_3(swigCPtr, host, remotePort, inByteArray, dataLength);
return ret;
}
private string CSharpGetIncomingPasswordHelper(string passwordData, ref int passwordDataLength) {
string ret = RakNetPINVOKE.RakPeerInterface_CSharpGetIncomingPasswordHelper(swigCPtr, passwordData, ref passwordDataLength);
return ret;
}
public void SetIncomingPassword(byte[] passwordDataByteArray, int passwordDataLength) {
RakNetPINVOKE.RakPeerInterface_SetIncomingPassword__SWIG_1(swigCPtr, passwordDataByteArray, passwordDataLength);
}
public void GetIncomingPassword(byte[] passwordDataByteArray, ref int passwordDataLength) {
RakNetPINVOKE.RakPeerInterface_GetIncomingPassword(swigCPtr, passwordDataByteArray, ref passwordDataLength);
}
private void CSharpGetOfflinePingResponseHelper(byte[] inOutByteArray, out uint outLength) {
RakNetPINVOKE.RakPeerInterface_CSharpGetOfflinePingResponseHelper(swigCPtr, inOutByteArray, out outLength);
}
public bool GetConnectionList(RakNetListSystemAddress remoteSystems, ref ushort numberOfSystems) {
bool ret = RakNetPINVOKE.RakPeerInterface_GetConnectionList(swigCPtr, RakNetListSystemAddress.getCPtr(remoteSystems), ref numberOfSystems);
return ret;
}
}
}

View File

@ -0,0 +1,549 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
#pragma warning disable 0660
public class RakString : IDisposable {
private HandleRef swigCPtr;
protected bool swigCMemOwn;
internal RakString(IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(RakString obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~RakString() {
Dispose();
}
public virtual void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_RakString(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
}
}
public override int GetHashCode()
{
return this.C_String().GetHashCode();
}
public static bool operator ==(RakString a, RakString b)
{
// If both are null, or both are same instance, return true.
if (System.Object.ReferenceEquals(a, b))
{
return true;
}
// If one is null, but not both, return false.
if (((object)a == null) || ((object)b == null))
{
return false;
}
return a.Equals(b);//Equals should be overloaded as well
}
public static bool operator ==(RakString a, string b)
{
// If both are null, or both are same instance, return true.
if (System.Object.ReferenceEquals(a, b))
{
return true;
}
// If one is null, but not both, return false.
if (((object)a == null) || ((object)b == null))
{
return false;
}
return a.Equals(b);//Equals should be overloaded as well
}
public static bool operator ==(RakString a, char b)
{
// If both are null, or both are same instance, return true.
if (System.Object.ReferenceEquals(a, b))
{
return true;
}
// If one is null, but not both, return false.
if (((object)a == null) || ((object)b == null))
{
return false;
}
return a.Equals(b);//Equals should be overloaded as well
}
public static bool operator !=(RakString a, char b)
{
return !(a==b);
}
public static bool operator !=(RakString a, RakString b)
{
return a.OpNotEqual(b);
}
public static bool operator !=(RakString a, string b)
{
return a.OpNotEqual(b);
}
public static bool operator < (RakString a, RakString b)
{
return a.OpLess(b);
}
public static bool operator >(RakString a, RakString b)
{
return a.OpGreater(b);
}
public static bool operator <=(RakString a, RakString b)
{
return a.OpLessEquals(b);
}
public static bool operator >=(RakString a, RakString b)
{
return a.OpGreaterEquals(b);
}
public char this[int index]
{
get
{
return (char)OpArray((uint)index); // use indexto retrieve and return another value.
}
set
{
Replace((uint)index,1,(byte)value);// use index and value to set the value somewhere.
}
}
public static RakString operator +(RakString a, RakString b)
{
return RakNet.OpPlus(a,b);
}
public static implicit operator RakString(String s)
{
return new RakString(s);
}
public static implicit operator RakString(char c)
{
return new RakString(c);
}
public static implicit operator RakString(byte c)
{
return new RakString(c);
}
public override string ToString()
{
return C_String();
}
public void SetChar(uint index, char inChar)
{
SetChar(index,(byte)inChar);
}
public void Replace(uint index, uint count, char inChar)
{
Replace(index,count,(byte)inChar);
}
public RakString() : this(RakNetPINVOKE.new_RakString__SWIG_0(), true) {
}
public RakString(char input) : this(RakNetPINVOKE.new_RakString__SWIG_1(input), true) {
}
public RakString(byte input) : this(RakNetPINVOKE.new_RakString__SWIG_2(input), true) {
}
public RakString(string format) : this(RakNetPINVOKE.new_RakString__SWIG_3(format), true) {
}
public RakString(RakString rhs) : this(RakNetPINVOKE.new_RakString__SWIG_4(RakString.getCPtr(rhs)), true) {
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public string C_String() {
string ret = RakNetPINVOKE.RakString_C_String(swigCPtr);
return ret;
}
public string C_StringUnsafe() {
string ret = RakNetPINVOKE.RakString_C_StringUnsafe(swigCPtr);
return ret;
}
public RakString CopyData(RakString rhs) {
RakString ret = new RakString(RakNetPINVOKE.RakString_CopyData__SWIG_0(swigCPtr, RakString.getCPtr(rhs)), false);
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public RakString CopyData(string str) {
RakString ret = new RakString(RakNetPINVOKE.RakString_CopyData__SWIG_1(swigCPtr, str), false);
return ret;
}
public RakString CopyData(SWIGTYPE_p_unsigned_char str) {
RakString ret = new RakString(RakNetPINVOKE.RakString_CopyData__SWIG_2(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(str)), false);
return ret;
}
public RakString CopyData(char c) {
RakString ret = new RakString(RakNetPINVOKE.RakString_CopyData__SWIG_4(swigCPtr, c), false);
return ret;
}
private byte OpArray(uint position) {
byte ret = RakNetPINVOKE.RakString_OpArray(swigCPtr, position);
return ret;
}
public uint Find(string stringToFind, uint pos) {
uint ret = RakNetPINVOKE.RakString_Find__SWIG_0(swigCPtr, stringToFind, pos);
return ret;
}
public uint Find(string stringToFind) {
uint ret = RakNetPINVOKE.RakString_Find__SWIG_1(swigCPtr, stringToFind);
return ret;
}
public bool Equals(RakString rhs) {
bool ret = RakNetPINVOKE.RakString_Equals__SWIG_0(swigCPtr, RakString.getCPtr(rhs));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public bool Equals(string str) {
bool ret = RakNetPINVOKE.RakString_Equals__SWIG_1(swigCPtr, str);
return ret;
}
private bool OpLess(RakString right) {
bool ret = RakNetPINVOKE.RakString_OpLess(swigCPtr, RakString.getCPtr(right));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private bool OpLessEquals(RakString right) {
bool ret = RakNetPINVOKE.RakString_OpLessEquals(swigCPtr, RakString.getCPtr(right));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private bool OpGreater(RakString right) {
bool ret = RakNetPINVOKE.RakString_OpGreater(swigCPtr, RakString.getCPtr(right));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private bool OpGreaterEquals(RakString right) {
bool ret = RakNetPINVOKE.RakString_OpGreaterEquals(swigCPtr, RakString.getCPtr(right));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private bool OpNotEqual(RakString rhs) {
bool ret = RakNetPINVOKE.RakString_OpNotEqual__SWIG_0(swigCPtr, RakString.getCPtr(rhs));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
private bool OpNotEqual(string str) {
bool ret = RakNetPINVOKE.RakString_OpNotEqual__SWIG_1(swigCPtr, str);
return ret;
}
public string ToLower() {
string ret = RakNetPINVOKE.RakString_ToLower(swigCPtr);
return ret;
}
public string ToUpper() {
string ret = RakNetPINVOKE.RakString_ToUpper(swigCPtr);
return ret;
}
public void Set(string format) {
RakNetPINVOKE.RakString_Set(swigCPtr, format);
}
public RakString Assign(string str, uint pos, uint n) {
RakString ret = new RakString(RakNetPINVOKE.RakString_Assign(swigCPtr, str, pos, n), true);
return ret;
}
public bool IsEmpty() {
bool ret = RakNetPINVOKE.RakString_IsEmpty(swigCPtr);
return ret;
}
public uint GetLength() {
uint ret = RakNetPINVOKE.RakString_GetLength(swigCPtr);
return ret;
}
public uint GetLengthUTF8() {
uint ret = RakNetPINVOKE.RakString_GetLengthUTF8(swigCPtr);
return ret;
}
public void Replace(uint index, uint count, byte c) {
RakNetPINVOKE.RakString_Replace(swigCPtr, index, count, c);
}
public void SetChar(uint index, byte c) {
RakNetPINVOKE.RakString_SetChar__SWIG_0(swigCPtr, index, c);
}
public void SetChar(uint index, RakString s) {
RakNetPINVOKE.RakString_SetChar__SWIG_1(swigCPtr, index, RakString.getCPtr(s));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public void Truncate(uint length) {
RakNetPINVOKE.RakString_Truncate(swigCPtr, length);
}
public void TruncateUTF8(uint length) {
RakNetPINVOKE.RakString_TruncateUTF8(swigCPtr, length);
}
public RakString SubStr(uint index, uint count) {
RakString ret = new RakString(RakNetPINVOKE.RakString_SubStr(swigCPtr, index, count), true);
return ret;
}
public void Erase(uint index, uint count) {
RakNetPINVOKE.RakString_Erase(swigCPtr, index, count);
}
public void TerminateAtFirstCharacter(char c) {
RakNetPINVOKE.RakString_TerminateAtFirstCharacter(swigCPtr, c);
}
public void TerminateAtLastCharacter(char c) {
RakNetPINVOKE.RakString_TerminateAtLastCharacter(swigCPtr, c);
}
public void RemoveCharacter(char c) {
RakNetPINVOKE.RakString_RemoveCharacter(swigCPtr, c);
}
public static RakString NonVariadic(string str) {
RakString ret = new RakString(RakNetPINVOKE.RakString_NonVariadic(str), true);
return ret;
}
public static uint ToInteger(string str) {
uint ret = RakNetPINVOKE.RakString_ToInteger__SWIG_0(str);
return ret;
}
public static uint ToInteger(RakString rs) {
uint ret = RakNetPINVOKE.RakString_ToInteger__SWIG_1(RakString.getCPtr(rs));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public int StrCmp(RakString rhs) {
int ret = RakNetPINVOKE.RakString_StrCmp(swigCPtr, RakString.getCPtr(rhs));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public int StrICmp(RakString rhs) {
int ret = RakNetPINVOKE.RakString_StrICmp(swigCPtr, RakString.getCPtr(rhs));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void Clear() {
RakNetPINVOKE.RakString_Clear(swigCPtr);
}
public void Printf() {
RakNetPINVOKE.RakString_Printf(swigCPtr);
}
public bool IPAddressMatch(string IP) {
bool ret = RakNetPINVOKE.RakString_IPAddressMatch(swigCPtr, IP);
return ret;
}
public bool ContainsNonprintableExceptSpaces() {
bool ret = RakNetPINVOKE.RakString_ContainsNonprintableExceptSpaces(swigCPtr);
return ret;
}
public bool IsEmailAddress() {
bool ret = RakNetPINVOKE.RakString_IsEmailAddress(swigCPtr);
return ret;
}
public RakString URLEncode() {
RakString ret = new RakString(RakNetPINVOKE.RakString_URLEncode(swigCPtr), false);
return ret;
}
public RakString URLDecode() {
RakString ret = new RakString(RakNetPINVOKE.RakString_URLDecode(swigCPtr), false);
return ret;
}
public void SplitURI(RakString header, RakString domain, RakString path) {
RakNetPINVOKE.RakString_SplitURI(swigCPtr, RakString.getCPtr(header), RakString.getCPtr(domain), RakString.getCPtr(path));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
}
public RakString SQLEscape() {
RakString ret = new RakString(RakNetPINVOKE.RakString_SQLEscape(swigCPtr), false);
return ret;
}
public RakString MakeFilePath() {
RakString ret = new RakString(RakNetPINVOKE.RakString_MakeFilePath(swigCPtr), false);
return ret;
}
public static void FreeMemory() {
RakNetPINVOKE.RakString_FreeMemory();
}
public static void FreeMemoryNoMutex() {
RakNetPINVOKE.RakString_FreeMemoryNoMutex();
}
public void Serialize(BitStream bs) {
RakNetPINVOKE.RakString_Serialize__SWIG_0(swigCPtr, BitStream.getCPtr(bs));
}
public static void Serialize(string str, BitStream bs) {
RakNetPINVOKE.RakString_Serialize__SWIG_1(str, BitStream.getCPtr(bs));
}
public void SerializeCompressed(BitStream bs, byte languageId, bool writeLanguageId) {
RakNetPINVOKE.RakString_SerializeCompressed__SWIG_0(swigCPtr, BitStream.getCPtr(bs), languageId, writeLanguageId);
}
public void SerializeCompressed(BitStream bs, byte languageId) {
RakNetPINVOKE.RakString_SerializeCompressed__SWIG_1(swigCPtr, BitStream.getCPtr(bs), languageId);
}
public void SerializeCompressed(BitStream bs) {
RakNetPINVOKE.RakString_SerializeCompressed__SWIG_2(swigCPtr, BitStream.getCPtr(bs));
}
public static void SerializeCompressed(string str, BitStream bs, byte languageId, bool writeLanguageId) {
RakNetPINVOKE.RakString_SerializeCompressed__SWIG_3(str, BitStream.getCPtr(bs), languageId, writeLanguageId);
}
public static void SerializeCompressed(string str, BitStream bs, byte languageId) {
RakNetPINVOKE.RakString_SerializeCompressed__SWIG_4(str, BitStream.getCPtr(bs), languageId);
}
public static void SerializeCompressed(string str, BitStream bs) {
RakNetPINVOKE.RakString_SerializeCompressed__SWIG_5(str, BitStream.getCPtr(bs));
}
public bool Deserialize(BitStream bs) {
bool ret = RakNetPINVOKE.RakString_Deserialize__SWIG_0(swigCPtr, BitStream.getCPtr(bs));
return ret;
}
public static bool Deserialize(string str, BitStream bs) {
bool ret = RakNetPINVOKE.RakString_Deserialize__SWIG_1(str, BitStream.getCPtr(bs));
return ret;
}
public bool DeserializeCompressed(BitStream bs, bool readLanguageId) {
bool ret = RakNetPINVOKE.RakString_DeserializeCompressed__SWIG_0(swigCPtr, BitStream.getCPtr(bs), readLanguageId);
return ret;
}
public bool DeserializeCompressed(BitStream bs) {
bool ret = RakNetPINVOKE.RakString_DeserializeCompressed__SWIG_1(swigCPtr, BitStream.getCPtr(bs));
return ret;
}
public static bool DeserializeCompressed(string str, BitStream bs, bool readLanguageId) {
bool ret = RakNetPINVOKE.RakString_DeserializeCompressed__SWIG_2(str, BitStream.getCPtr(bs), readLanguageId);
return ret;
}
public static bool DeserializeCompressed(string str, BitStream bs) {
bool ret = RakNetPINVOKE.RakString_DeserializeCompressed__SWIG_3(str, BitStream.getCPtr(bs));
return ret;
}
public static string ToString(long i) {
string ret = RakNetPINVOKE.RakString_ToString__SWIG_0(i);
return ret;
}
public static string ToString(ulong i) {
string ret = RakNetPINVOKE.RakString_ToString__SWIG_1(i);
return ret;
}
public static uint GetSizeToAllocate(uint bytes) {
uint ret = RakNetPINVOKE.RakString_GetSizeToAllocate(bytes);
return ret;
}
public static int RakStringComp(RakString key, RakString data) {
int ret = RakNetPINVOKE.RakString_RakStringComp(RakString.getCPtr(key), RakString.getCPtr(data));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public static void LockMutex() {
RakNetPINVOKE.RakString_LockMutex();
}
public static void UnlockMutex() {
RakNetPINVOKE.RakString_UnlockMutex();
}
public void AppendBytes(byte[] inByteArray, uint count) {
RakNetPINVOKE.RakString_AppendBytes(swigCPtr, inByteArray, count);
}
}
}

View File

@ -0,0 +1,141 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.1
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
namespace RakNet {
using System;
using System.Runtime.InteropServices;
public class ReadyEvent : PluginInterface2 {
private HandleRef swigCPtr;
internal ReadyEvent(IntPtr cPtr, bool cMemoryOwn) : base(RakNetPINVOKE.ReadyEvent_SWIGUpcast(cPtr), cMemoryOwn) {
swigCPtr = new HandleRef(this, cPtr);
}
internal static HandleRef getCPtr(ReadyEvent obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
~ReadyEvent() {
Dispose();
}
public override void Dispose() {
lock(this) {
if (swigCPtr.Handle != IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
RakNetPINVOKE.delete_ReadyEvent(swigCPtr);
}
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
GC.SuppressFinalize(this);
base.Dispose();
}
}
public static ReadyEvent GetInstance() {
IntPtr cPtr = RakNetPINVOKE.ReadyEvent_GetInstance();
ReadyEvent ret = (cPtr == IntPtr.Zero) ? null : new ReadyEvent(cPtr, false);
return ret;
}
public static void DestroyInstance(ReadyEvent i) {
RakNetPINVOKE.ReadyEvent_DestroyInstance(ReadyEvent.getCPtr(i));
}
public ReadyEvent() : this(RakNetPINVOKE.new_ReadyEvent(), true) {
}
public bool SetEvent(int eventId, bool isReady) {
bool ret = RakNetPINVOKE.ReadyEvent_SetEvent(swigCPtr, eventId, isReady);
return ret;
}
public bool ForceCompletion(int eventId) {
bool ret = RakNetPINVOKE.ReadyEvent_ForceCompletion(swigCPtr, eventId);
return ret;
}
public bool DeleteEvent(int eventId) {
bool ret = RakNetPINVOKE.ReadyEvent_DeleteEvent(swigCPtr, eventId);
return ret;
}
public bool IsEventSet(int eventId) {
bool ret = RakNetPINVOKE.ReadyEvent_IsEventSet(swigCPtr, eventId);
return ret;
}
public bool IsEventCompletionProcessing(int eventId) {
bool ret = RakNetPINVOKE.ReadyEvent_IsEventCompletionProcessing(swigCPtr, eventId);
return ret;
}
public bool IsEventCompleted(int eventId) {
bool ret = RakNetPINVOKE.ReadyEvent_IsEventCompleted(swigCPtr, eventId);
return ret;
}
public bool HasEvent(int eventId) {
bool ret = RakNetPINVOKE.ReadyEvent_HasEvent(swigCPtr, eventId);
return ret;
}
public uint GetEventListSize() {
uint ret = RakNetPINVOKE.ReadyEvent_GetEventListSize(swigCPtr);
return ret;
}
public int GetEventAtIndex(uint index) {
int ret = RakNetPINVOKE.ReadyEvent_GetEventAtIndex(swigCPtr, index);
return ret;
}
public bool AddToWaitList(int eventId, SystemAddress address) {
bool ret = RakNetPINVOKE.ReadyEvent_AddToWaitList(swigCPtr, eventId, SystemAddress.getCPtr(address));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public bool RemoveFromWaitList(int eventId, SystemAddress address) {
bool ret = RakNetPINVOKE.ReadyEvent_RemoveFromWaitList(swigCPtr, eventId, SystemAddress.getCPtr(address));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public bool IsInWaitList(int eventId, SystemAddress address) {
bool ret = RakNetPINVOKE.ReadyEvent_IsInWaitList(swigCPtr, eventId, SystemAddress.getCPtr(address));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public uint GetRemoteWaitListSize(int eventId) {
uint ret = RakNetPINVOKE.ReadyEvent_GetRemoteWaitListSize(swigCPtr, eventId);
return ret;
}
public SystemAddress GetFromWaitListAtIndex(int eventId, uint index) {
SystemAddress ret = new SystemAddress(RakNetPINVOKE.ReadyEvent_GetFromWaitListAtIndex(swigCPtr, eventId, index), true);
return ret;
}
public ReadyEventSystemStatus GetReadyStatus(int eventId, SystemAddress address) {
ReadyEventSystemStatus ret = (ReadyEventSystemStatus)RakNetPINVOKE.ReadyEvent_GetReadyStatus(swigCPtr, eventId, SystemAddress.getCPtr(address));
if (RakNetPINVOKE.SWIGPendingException.Pending) throw RakNetPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void SetSendChannel(byte newChannel) {
RakNetPINVOKE.ReadyEvent_SetSendChannel(swigCPtr, newChannel);
}
}
}

Some files were not shown because too many files have changed in this diff Show More