mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
TransportLayers renamed to Transport and Transport.cs moved into it
This commit is contained in:
parent
150d4d5aac
commit
aa2c004615
@ -65,24 +65,24 @@
|
||||
<Compile Include="..\Runtime\NetworkManagerHUD.cs" />
|
||||
<Compile Include="..\Runtime\NetworkBehaviour.cs" />
|
||||
<Compile Include="..\Runtime\NetworkIdentity.cs" />
|
||||
<Compile Include="..\Runtime\Transport.cs" />
|
||||
<Compile Include="..\Runtime\UNetwork.cs" />
|
||||
<Compile Include="..\Runtime\NetworkReader.cs" />
|
||||
<Compile Include="..\Runtime\NetworkServer.cs" />
|
||||
<Compile Include="..\Runtime\SyncList.cs" />
|
||||
<Compile Include="..\Runtime\NetworkWriter.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/LLAPITransport.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/TelepathyTransport.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/Telepathy/Client.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/Telepathy/Common.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/Telepathy/EventType.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/Telepathy/Logger.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/Telepathy/Message.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/Telepathy/NetworkStreamExtensions.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/Telepathy/SafeCounter.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/Telepathy/SafeDictionary.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/Telepathy/SafeQueue.cs" />
|
||||
<Compile Include="..\Runtime\TransportLayers/Telepathy/Server.cs" />
|
||||
<Compile Include="..\Runtime\Transport\Transport.cs" />
|
||||
<Compile Include="..\Runtime\Transport\LLAPITransport.cs" />
|
||||
<Compile Include="..\Runtime\Transport\TelepathyTransport.cs" />
|
||||
<Compile Include="..\Runtime\Transport\Telepathy\Client.cs" />
|
||||
<Compile Include="..\Runtime\Transport\Telepathy\Common.cs" />
|
||||
<Compile Include="..\Runtime\Transport\Telepathy\EventType.cs" />
|
||||
<Compile Include="..\Runtime\Transport\Telepathy\Logger.cs" />
|
||||
<Compile Include="..\Runtime\Transport\Telepathy\Message.cs" />
|
||||
<Compile Include="..\Runtime\Transport\Telepathy\NetworkStreamExtensions.cs" />
|
||||
<Compile Include="..\Runtime\Transport\Telepathy\SafeCounter.cs" />
|
||||
<Compile Include="..\Runtime\Transport\Telepathy\SafeDictionary.cs" />
|
||||
<Compile Include="..\Runtime\Transport\Telepathy\SafeQueue.cs" />
|
||||
<Compile Include="..\Runtime\Transport\Telepathy\Server.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Target Name="AfterBuild">
|
||||
|
@ -164,10 +164,9 @@ public void ServerStart(string address, int port, int maxConnections)
|
||||
|
||||
public void ServerStartWebsockets(string address, int port, int maxConnections)
|
||||
{
|
||||
/*hostTopology = new HostTopology(connectionConfig, maxConnections);
|
||||
NetworkTransport.Init(globalConfig);
|
||||
serverHostId = NetworkTransport.AddWebsocketHost(hostTopology, port, address);
|
||||
Debug.Log("LLAPITransport.ServerStartWebsockets addr=" + address + "port=" + port + " max=" + maxConnections + " hostid=" + serverHostId);*/
|
||||
HostTopology topology = new HostTopology(connectionConfig, maxConnections);
|
||||
serverHostId = NetworkTransport.AddWebsocketHost(topology, port);
|
||||
Debug.Log("LLAPITransport.ServerStartWebsockets addr=" + address + "port=" + port + " max=" + maxConnections + " hostid=" + serverHostId);
|
||||
}
|
||||
|
||||
public bool ServerSend(int connectionId, byte[] data)
|
@ -64,19 +64,19 @@
|
||||
<Compile Include="NetworkManagerHUD.cs" />
|
||||
<Compile Include="NetworkBehaviour.cs" />
|
||||
<Compile Include="NetworkIdentity.cs" />
|
||||
<Compile Include="Transport.cs" />
|
||||
<Compile Include="TransportLayers\LLAPITransport.cs" />
|
||||
<Compile Include="TransportLayers\TelepathyTransport.cs" />
|
||||
<Compile Include="TransportLayers\Telepathy\Client.cs" />
|
||||
<Compile Include="TransportLayers\Telepathy\Common.cs" />
|
||||
<Compile Include="TransportLayers\Telepathy\EventType.cs" />
|
||||
<Compile Include="TransportLayers\Telepathy\Logger.cs" />
|
||||
<Compile Include="TransportLayers\Telepathy\Message.cs" />
|
||||
<Compile Include="TransportLayers\Telepathy\NetworkStreamExtensions.cs" />
|
||||
<Compile Include="TransportLayers\Telepathy\SafeCounter.cs" />
|
||||
<Compile Include="TransportLayers\Telepathy\SafeDictionary.cs" />
|
||||
<Compile Include="TransportLayers\Telepathy\SafeQueue.cs" />
|
||||
<Compile Include="TransportLayers\Telepathy\Server.cs" />
|
||||
<Compile Include="Transport\LLAPITransport.cs" />
|
||||
<Compile Include="Transport\TelepathyTransport.cs" />
|
||||
<Compile Include="Transport\Telepathy\Client.cs" />
|
||||
<Compile Include="Transport\Telepathy\Common.cs" />
|
||||
<Compile Include="Transport\Telepathy\EventType.cs" />
|
||||
<Compile Include="Transport\Telepathy\Logger.cs" />
|
||||
<Compile Include="Transport\Telepathy\Message.cs" />
|
||||
<Compile Include="Transport\Telepathy\NetworkStreamExtensions.cs" />
|
||||
<Compile Include="Transport\Telepathy\SafeCounter.cs" />
|
||||
<Compile Include="Transport\Telepathy\SafeDictionary.cs" />
|
||||
<Compile Include="Transport\Telepathy\SafeQueue.cs" />
|
||||
<Compile Include="Transport\Telepathy\Server.cs" />
|
||||
<Compile Include="Transport\Transport.cs" />
|
||||
<Compile Include="UNetwork.cs" />
|
||||
<Compile Include="NetworkReader.cs" />
|
||||
<Compile Include="NetworkServer.cs" />
|
||||
@ -84,8 +84,8 @@
|
||||
<Compile Include="NetworkWriter.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="TransportLayers\Telepathy\LICENSE" />
|
||||
<Content Include="TransportLayers\Telepathy\README.md" />
|
||||
<Content Include="Transport\Telepathy\LICENSE" />
|
||||
<Content Include="Transport\Telepathy\README.md" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Target Name="AfterBuild">
|
||||
|
Loading…
Reference in New Issue
Block a user