Table of Contents

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

opCode byte
sizing PacketSizing

Properties

Description

public string? Description { get; init; }

Property Value

string

Length

public int Length { get; init; }

Property Value

int

OpCode

public byte OpCode { get; }

Property Value

byte

Sizing

public PacketSizing Sizing { get; }

Property Value

PacketSizing