namespace Server.Packets; [AttributeUsage(AttributeTargets.Class, AllowMultiple = false)] [JetBrains.Annotations.BaseTypeRequiredAttribute(typeof(IPacket))] public class PacketIdAttribute : Attribute { public PacketIdAttribute(PacketId packetId) { PacketId = packetId; } public PacketId PacketId { get; private set; } }