Class PacketHandlerAttribute
- Namespace
- Moongate.Network.Packets.Attributes
- Assembly
- Moongate.Network.Packets.dll
[AttributeUsage(AttributeTargets.Class, Inherited = false)]
public sealed class PacketHandlerAttribute : Attribute
- Inheritance
-
PacketHandlerAttribute
- Inherited Members
Constructors
PacketHandlerAttribute(byte, PacketSizing)
public PacketHandlerAttribute(byte opCode, PacketSizing sizing)
Parameters
opCodebytesizingPacketSizing
Properties
Description
public string? Description { get; init; }
Property Value
Length
public int Length { get; init; }
Property Value
OpCode
public byte OpCode { get; }
Property Value
Sizing
public PacketSizing Sizing { get; }