Documentation

MapSign
in package

Table of Contents

Properties

$byteSize  : int
$coords  : Coords
$stringData  : string
$stringDataLength  : int
$titleLength  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : MapSign
Deserializes an instance of `MapSign` from the provided `EoReader`.
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getCoords()  : Coords
getStringData()  : string
getStringDataLength()  : int
getTitleLength()  : int
serialize()  : void
Serializes an instance of `MapSign` to the provided `EoWriter`.
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setCoords()  : void
setStringData()  : void
setStringDataLength()  : void
setTitleLength()  : void

Properties

$stringData

private string $stringData = ""

$stringDataLength

private int $stringDataLength

$titleLength

private int $titleLength

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

deserialize()

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

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

The reader that the data will be deserialized from.

Return values
MapSign

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.

getStringData()

public getStringData() : string
Return values
string

getStringDataLength()

public getStringDataLength() : int
Return values
int

getTitleLength()

public getTitleLength() : int
Return values
int

serialize()

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

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

The writer that the data will be serialized to.

$data : MapSign

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.

setStringData()

public setStringData(string $stringData) : void
Parameters
$stringData : string

setStringDataLength()

public setStringDataLength(int $stringDataLength) : void
Parameters
$stringDataLength : int

setTitleLength()

public setTitleLength(int $titleLength) : void
Parameters
$titleLength : int

        
On this page

Search results