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
$byteSize
private
int
$byteSize
= 0
$coords
private
Coords
$coords
$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
stringdeserialize()
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.
getCoords()
public
getCoords() : Coords
Return values
CoordsgetStringData()
public
getStringData() : string
Return values
stringgetStringDataLength()
public
getStringDataLength() : int
Return values
intgetTitleLength()
public
getTitleLength() : int
Return values
intserialize()
Serializes an instance of `MapSign` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, MapSign $data) : void
Parameters
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.
setCoords()
public
setCoords(Coords $coords) : void
Parameters
- $coords : Coords
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