Class InitSequenceStart
- Namespace
- Moffat.EndlessOnline.SDK.Packet
- Assembly
- Moffat.EndlessOnline.SDK.dll
A class representing the sequence start value sent with the INIT_INIT server packet.
public sealed class InitSequenceStart : ISequenceStart
- Inheritance
-
InitSequenceStart
- Implements
- Inherited Members
Properties
Seq1
Gets the seq1 byte value sent with the INIT_INIT server packet. See Seq1.
public int Seq1 { get; }
Property Value
Seq2
Gets the seq2 byte value sent with the INIT_INIT server packet. See Seq2.
public int Seq2 { get; }
Property Value
Value
Gets the sequence start value
public int Value { get; }
Property Value
Methods
FromInitValues(int, int)
Creates an instance of InitSequenceStart from the values sent with the INIT_INIT server packet.
public static InitSequenceStart FromInitValues(int seq1, int seq2)
Parameters
seq1intThe seq1 byte value sent with the INIT_INIT server packet
seq2intThe seq2 byte value sent with the INIT_INIT server packet
Returns
- InitSequenceStart
An instance of InitSequenceStart
Remarks
Generate(Random)
Generates an instance of InitSequenceStart with a random value in the range 0-1757.
public static InitSequenceStart Generate(Random random)
Parameters
randomRandomThe random number generator to use
Returns
- InitSequenceStart
An instance of InitSequenceStart