Table of Contents

Class GenericGumpPacket

Namespace
Moongate.Network.Packets.Outgoing.UI
Assembly
Moongate.Network.Packets.dll

Sends a generic (uncompressed) gump layout and string table.

[PacketHandler(176, PacketSizing.Variable, Description = "Send Gump Menu Dialog")]
public sealed class GenericGumpPacket : BaseGameNetworkPacket, IGameNetworkPacket
Inheritance
GenericGumpPacket
Implements
Inherited Members

Constructors

GenericGumpPacket()

public GenericGumpPacket()

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.