Out with MagicOnion, in with LiteNetLib
Removed MagicOnion Added LiteNetLib Created client and server abstractions Fixed serialization bugs
This commit is contained in:
parent
433a7b4ae4
commit
e96146b7bb
869 changed files with 59401 additions and 16812 deletions
33
Assets/Scripts/ServerShared/NIH/LiteNetLib/NetExceptions.cs
Normal file
33
Assets/Scripts/ServerShared/NIH/LiteNetLib/NetExceptions.cs
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
using System;
|
||||
namespace LiteNetLib
|
||||
{
|
||||
public class InvalidPacketException: ArgumentException
|
||||
{
|
||||
public InvalidPacketException()
|
||||
{
|
||||
}
|
||||
|
||||
public InvalidPacketException(string message): base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public InvalidPacketException(string message, Exception innerException): base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public class TooBigPacketException : InvalidPacketException
|
||||
{
|
||||
public TooBigPacketException()
|
||||
{
|
||||
}
|
||||
|
||||
public TooBigPacketException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public TooBigPacketException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue