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
Seq2
Gets the seq2 byte value sent with the CONNECTION_PLAYER server packet. See Seq2.
public int Seq2 { get; }
Property Value
Value
Gets the sequence start value
public int Value { get; }
Property Value
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
seq1intThe seq1 byte value sent with the CONNECTION_PLAYER server packet
seq2intThe seq2 byte value sent with the CONNECTION_PLAYER server packet
Returns
- PingSequenceStart
An instance of PingSequenceStart
Remarks
Generate(Random)
Generates an instance of PingSequenceStart with a random value in the range 0-1757.
public static PingSequenceStart Generate(Random random)
Parameters
randomRandomThe random number generator to use
Returns
- PingSequenceStart
An instance of PingSequenceStart