Skip to content

Commit bf6e5f8

Browse files
committed
Removed LiteNetLib as a builtin transport
1 parent 141dea0 commit bf6e5f8

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

MLAPI/Data/Transports/DefaultTransport.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ public enum DefaultTransport
1212
/// <summary>
1313
/// LiteNetLib transport
1414
/// </summary>
15-
LiteNetLib,
16-
/// <summary>
17-
/// A custom transport
18-
/// </summary>
1915
Custom
2016
}
2117
}

MLAPI/MLAPI.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@
8181
<Compile Include="Data\FixedQueue.cs" />
8282
<Compile Include="Data\Transports\DefaultTransport.cs" />
8383
<Compile Include="Data\Transports\IUDPTransport.cs" />
84-
<Compile Include="Data\Transports\LiteNetLib\LiteNetLibTransport.cs" />
8584
<Compile Include="Data\Transports\NetEventType.cs" />
8685
<Compile Include="Data\NetworkConfig.cs" />
8786
<Compile Include="Data\NetworkedPrefab.cs" />

MLAPI/MonoBehaviours/Core/NetworkingManager.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
using MLAPI.NetworkingManagerComponents.Binary;
1212
using MLAPI.Data.Transports;
1313
using MLAPI.Data.Transports.UNET;
14-
using MLAPI.Data.Transports.LiteNetLib;
1514

1615
namespace MLAPI.MonoBehaviours.Core
1716
{
@@ -245,8 +244,6 @@ private object Init(bool server)
245244

246245
if (NetworkConfig.Transport == DefaultTransport.UNET)
247246
NetworkConfig.NetworkTransport = new UnetTransport();
248-
else if (NetworkConfig.Transport == DefaultTransport.LiteNetLib)
249-
NetworkConfig.NetworkTransport = new LiteNetLibTransport();
250247
else if (NetworkConfig.Transport == DefaultTransport.Custom && NetworkConfig.NetworkTransport == null)
251248
throw new NullReferenceException("The current NetworkTransport is null");
252249

0 commit comments

Comments
 (0)