Table of Contents

Class PingMessagePacket

Namespace
Moongate.Network.Packets.Incoming.Player
Assembly
Moongate.Network.Packets.dll
[PacketHandler(115, PacketSizing.Fixed, Length = 2, Description = "Ping Message")]
public class PingMessagePacket : BaseGameNetworkPacket, IGameNetworkPacket
Inheritance
PingMessagePacket
Implements
Inherited Members

Constructors

PingMessagePacket()

public PingMessagePacket()

PingMessagePacket(byte)

public PingMessagePacket(byte sequence)

Parameters

sequence byte

Properties

Sequence

public byte Sequence { get; set; }

Property Value

byte

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.