using System.IO; namespace TShockAPI.Handlers.NetModules { /// /// Handles the NetLiquidModule. Rejects all incoming net liquid requests, as clients should never send them /// public class LiquidHandler : INetModuleHandler { /// /// Does nothing. We should not deserialize this data /// /// public void Deserialize(MemoryStream data) { // No need to deserialize } /// /// Rejects the packet. Clients should not send this to us /// /// /// public void HandlePacket(TSPlayer player, out bool rejectPacket) { rejectPacket = true; } } }