Documentation

AccountReplySequenceStart extends SimpleSequenceStart
in package

Represents a sequence start value specifically for account reply packets, with potential additional functionality.

Table of Contents

Properties

$value  : int

Methods

__construct()  : mixed
Constructs an AccountReplySequenceStart with a specified integer value.
fromValue()  : AccountReplySequenceStart
Creates an instance from a given integer value, facilitating easy instantiation.
generate()  : AccountReplySequenceStart
Generates a new AccountReplySequenceStart with a randomly determined integer value.
getValue()  : int
A value sent by the server to update the client's sequence start, also known as the 'starting counter ID'.
zero()  : SequenceStart
Returns an instance of SequenceStart with a value of 0.

Properties

Methods

__construct()

Constructs an AccountReplySequenceStart with a specified integer value.

public __construct(int $value) : mixed
Parameters
$value : int

The integer value for this sequence start.

fromValue()

Creates an instance from a given integer value, facilitating easy instantiation.

public static fromValue(int $value) : AccountReplySequenceStart
Parameters
$value : int

The value to use for the new sequence start.

Return values
AccountReplySequenceStart

Returns a new instance with the specified value.

getValue()

A value sent by the server to update the client's sequence start, also known as the 'starting counter ID'.

public abstract getValue() : int
Return values
int

Returns the sequence start value.


        
On this page

Search results