ReplyCodeDataOk
in package
implements
ReplyCodeData
Data associated with replyCode value LoginReply::OK
Table of Contents
Interfaces
- ReplyCodeData
- Data associated with different values of the `replyCode` field.
Properties
- $characters : array<string|int, CharacterSelectionListEntry>
- $byteSize : int
- $charactersCount : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : ReplyCodeDataOk
- Deserializes an instance of `ReplyCodeDataOk` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getCharacters() : array<string|int, CharacterSelectionListEntry>
- getCharactersCount() : int
- serialize() : void
- Serializes an instance of `ReplyCodeDataOk` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setCharacters() : void
- setCharactersCount() : void
Properties
$characters
public
array<string|int, CharacterSelectionListEntry>
$characters
= []
$byteSize
private
int
$byteSize
= 0
$charactersCount
private
int
$charactersCount
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `ReplyCodeDataOk` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : ReplyCodeDataOk
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
ReplyCodeDataOk —The deserialized data.
getByteSize()
Returns the size of the data that this was deserialized from.
public
getByteSize() : int
Return values
int —The size of the data that this was deserialized from.
getCharacters()
public
getCharacters() : array<string|int, CharacterSelectionListEntry>
Return values
array<string|int, CharacterSelectionListEntry>getCharactersCount()
public
getCharactersCount() : int
Return values
intserialize()
Serializes an instance of `ReplyCodeDataOk` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, ReplyCodeDataOk $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : ReplyCodeDataOk
-
The data to serialize.
setByteSize()
Sets the size of the data that this was deserialized from.
public
setByteSize(int $byteSize) : void
Parameters
- $byteSize : int
-
The size of the data that this was deserialized from.
setCharacters()
public
setCharacters(array<string|int, CharacterSelectionListEntry> $characters) : void
Parameters
- $characters : array<string|int, CharacterSelectionListEntry>
setCharactersCount()
public
setCharactersCount(int $charactersCount) : void
Parameters
- $charactersCount : int