Table of Contents

Class PingSequenceStart

Namespace
Moffat.EndlessOnline.SDK.Packet
Assembly
Moffat.EndlessOnline.SDK.dll

A class representing the sequence start value sent with the CONNECTION_PLAYER server packet.

public class PingSequenceStart : ISequenceStart
Inheritance
PingSequenceStart
Implements
Inherited Members

Properties

Seq1

Gets the seq1 byte value sent with the CONNECTION_PLAYER server packet. See Seq1.

public int Seq1 { get; }

Property Value

int

Seq2

Gets the seq2 byte value sent with the CONNECTION_PLAYER server packet. See Seq2.

public int Seq2 { get; }

Property Value

int

Value

Gets the sequence start value

public int Value { get; }

Property Value

int

Methods

FromPingValues(int, int)

Creates an instance of PingSequenceStart from the values sent with the CONNECTION_PLAYER server packet.

public static PingSequenceStart FromPingValues(int seq1, int seq2)

Parameters

seq1 int

The seq1 byte value sent with the CONNECTION_PLAYER server packet

seq2 int

The seq2 byte value sent with the CONNECTION_PLAYER server packet

Returns

PingSequenceStart

An instance of PingSequenceStart

Remarks

See Seq1. See also Seq2.

Generate(Random)

Generates an instance of PingSequenceStart with a random value in the range 0-1757.

public static PingSequenceStart Generate(Random random)

Parameters

random Random

The random number generator to use

Returns

PingSequenceStart

An instance of PingSequenceStart