Table of Contents

Class CompressedGumpPacket

Namespace
Moongate.Network.Packets.Outgoing.UI
Assembly
Moongate.Network.Packets.dll
[PacketHandler(221, PacketSizing.Variable, Description = "Compressed Gump")]
public sealed class CompressedGumpPacket : BaseGameNetworkPacket, IGameNetworkPacket
Inheritance
CompressedGumpPacket
Implements
Inherited Members

Constructors

CompressedGumpPacket()

public CompressedGumpPacket()

Properties

GumpId

public uint GumpId { get; set; }

Property Value

uint

Layout

public string Layout { get; set; }

Property Value

string

SenderSerial

public uint SenderSerial { get; set; }

Property Value

uint

TextLines

public List<string> TextLines { get; }

Property Value

List<string>

X

public uint X { get; set; }

Property Value

uint

Y

public uint Y { get; set; }

Property Value

uint

Methods

ParsePayload(ref SpanReader)

Parses packet-specific payload after opcode validation.

protected override bool ParsePayload(ref SpanReader reader)

Parameters

reader SpanReader

Packet span reader positioned after opcode.

Returns

bool

true when payload parsing succeeds; otherwise false.

Write(ref SpanWriter)

Writes packet content to the target span writer.

public override void Write(ref SpanWriter writer)

Parameters

writer SpanWriter

Destination writer.