continuity/Wonderking/Packets/PacketIdAttribute.cs

9 lines
247 B
C#
Raw Normal View History

2023-11-06 10:11:36 +01:00
namespace Wonderking.Packets;
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class PacketIdAttribute : Attribute
{
public PacketIdAttribute(OperationCode code) => this.Code = code;
public OperationCode Code { get; }
}