Restore the stable legacy Unity project
This commit is contained in:
parent
56a156ee87
commit
7006a6b0dd
2070 changed files with 180490 additions and 169303 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