using Lidgren.Network; using SRMultiplayer.Networking; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SRMultiplayer.Packets { public interface IPacket { PacketType GetPacketType(); /// /// Searilizes the given packet item /// /// Outgoing Message that the packet should be added to void Serialize(NetOutgoingMessage om); /// /// Deserializes the given packet item /// /// Incoming Message that the packet should be deserialized from void Deserialize(NetIncomingMessage im); } }