using Lidgren.Network; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SRMultiplayer.Packets { [Packet(PacketType.PlayerAnimation)] public class PacketPlayerAnimation : Packet { public enum AnimationType : int { Layer, Speed, Parameters } public byte ID; public byte Type; public NetBuffer internalData; /// /// mark construction inheritance incase we need it /// public PacketPlayerAnimation():base() { } /// /// mark construction inheritance so the deserialization automatically happens for is /// since the base decalres this /// public PacketPlayerAnimation(NetIncomingMessage im):base(im) { } } }