server-master/srcs/WingsAPI.Packets/PacketHeaderAttribute.cs
2026-02-10 18:21:30 +01:00

24 lines
No EOL
595 B
C#

// WingsEmu
//
// Developed by NosWings Team
using System;
namespace WingsEmu.Packets
{
public class PacketHeaderAttribute : Attribute
{
public PacketHeaderAttribute(string identification) => Identification = identification;
/// <summary>
/// Unique identification of the Packet
/// </summary>
public string Identification { get; set; }
/// <summary>
/// Pass the packet to handler method even if the serialization has failed.
/// </summary>
public bool PassNonParseablePacket { get; set; }
}
}