Table of Contents

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

int

Seq2

Gets the seq2 byte value sent with the INIT_INIT 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

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

seq1 int

The seq1 byte value sent with the INIT_INIT server packet

seq2 int

The seq2 byte value sent with the INIT_INIT server packet

Returns

InitSequenceStart

An instance of InitSequenceStart

Remarks

See Seq1. See also Seq2.

Generate(Random)

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

public static InitSequenceStart Generate(Random random)

Parameters

random Random

The random number generator to use

Returns

InitSequenceStart

An instance of InitSequenceStart