using System.IO;
namespace TShockAPI.Handlers.NetModules
{
///
/// Rejects client->server bestiary net modules as the client should never send this to the server
///
public class BestiaryHandler : INetModuleHandler
{
///
/// No deserialization needed. This should never be received by the server
///
///
public void Deserialize(MemoryStream data)
{
}
///
/// This should never be received by the server
///
///
///
public void HandlePacket(TSPlayer player, out bool rejectPacket)
{
rejectPacket = true;
}
}
}