// Copyright (c) 2023 Timothy Schenk. Subject to the GNU AGPL Version 3 License.

namespace Wonderking.Packets;

[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class PacketIdAttribute : Attribute
{
    public PacketIdAttribute(OperationCode code)
    {
        Code = code;
    }

    public OperationCode Code { get; }
}