Table of Contents

Class TimeSyncResponsePacket

Namespace
Moongate.Network.Packets.Outgoing.Movement
Assembly
Moongate.Network.Packets.dll
[PacketHandler(242, PacketSizing.Fixed, Length = 13, Description = "Time Sync Response")]
public class TimeSyncResponsePacket : BaseGameNetworkPacket, IGameNetworkPacket
Inheritance
TimeSyncResponsePacket
Implements
Inherited Members

Constructors

TimeSyncResponsePacket()

public TimeSyncResponsePacket()

TimeSyncResponsePacket(int, int, int)

public TimeSyncResponsePacket(int tick1, int tick2, int tick3)

Parameters

tick1 int
tick2 int
tick3 int

Properties

Tick1

public int Tick1 { get; set; }

Property Value

int

Tick2

public int Tick2 { get; set; }

Property Value

int

Tick3

public int Tick3 { get; set; }

Property Value

int

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.