Class PingMessagePacket
[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
sequencebyte
Properties
Sequence
public byte Sequence { get; set; }
Property Value
Methods
ParsePayload(ref SpanReader)
Parses packet-specific payload after opcode validation.
protected override bool ParsePayload(ref SpanReader reader)
Parameters
readerSpanReaderPacket span reader positioned after opcode.
Returns
- bool
truewhen payload parsing succeeds; otherwisefalse.
Write(ref SpanWriter)
Writes packet content to the target span writer.
public override void Write(ref SpanWriter writer)
Parameters
writerSpanWriterDestination writer.