Documentation

NearbyInfo
in package

Table of Contents

Properties

$characters  : array<string|int, CharacterMapInfo>
$items  : array<string|int, ItemMapInfo>
$npcs  : array<string|int, NpcMapInfo>
$byteSize  : int
$charactersCount  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : NearbyInfo
Deserializes an instance of `NearbyInfo` from the provided `EoReader`.
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getCharacters()  : array<string|int, CharacterMapInfo>
getCharactersCount()  : int
getItems()  : array<string|int, ItemMapInfo>
getNpcs()  : array<string|int, NpcMapInfo>
serialize()  : void
Serializes an instance of `NearbyInfo` to the provided `EoWriter`.
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setCharacters()  : void
setCharactersCount()  : void
setItems()  : void
setNpcs()  : void

Properties

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

deserialize()

Deserializes an instance of `NearbyInfo` from the provided `EoReader`.

public static deserialize(EoReader $reader) : NearbyInfo
Parameters
$reader : EoReader

The reader that the data will be deserialized from.

Return values
NearbyInfo

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.

getCharactersCount()

public getCharactersCount() : int
Return values
int

serialize()

Serializes an instance of `NearbyInfo` to the provided `EoWriter`.

public static serialize(EoWriter $writer, NearbyInfo $data) : void
Parameters
$writer : EoWriter

The writer that the data will be serialized to.

$data : NearbyInfo

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.

setCharactersCount()

public setCharactersCount(int $charactersCount) : void
Parameters
$charactersCount : int

        
On this page

Search results