Removed MagicOnion Added LiteNetLib Created client and server abstractions Fixed serialization bugs
33 lines
No EOL
752 B
C#
33 lines
No EOL
752 B
C#
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)
|
|
{
|
|
}
|
|
}
|
|
} |