Documentation

MapWarp
in package

Table of Contents

Properties

$byteSize  : int
$destinationCoords  : Coords
$destinationMap  : int
$door  : int
$levelRequired  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : MapWarp
Deserializes an instance of `MapWarp` from the provided `EoReader`.
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getDestinationCoords()  : Coords
getDestinationMap()  : int
getDoor()  : int
getLevelRequired()  : int
serialize()  : void
Serializes an instance of `MapWarp` to the provided `EoWriter`.
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setDestinationCoords()  : void
setDestinationMap()  : void
setDoor()  : void
setLevelRequired()  : void

Properties

$destinationMap

private int $destinationMap

$levelRequired

private int $levelRequired

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

deserialize()

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

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

The reader that the data will be deserialized from.

Return values
MapWarp

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.

getDestinationMap()

public getDestinationMap() : int
Return values
int

getDoor()

public getDoor() : int
Return values
int

getLevelRequired()

public getLevelRequired() : int
Return values
int

serialize()

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

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

The writer that the data will be serialized to.

$data : MapWarp

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.

setDestinationCoords()

public setDestinationCoords(Coords $destinationCoords) : void
Parameters
$destinationCoords : Coords

setDestinationMap()

public setDestinationMap(int $destinationMap) : void
Parameters
$destinationMap : int

setDoor()

public setDoor(int $door) : void
Parameters
$door : int

setLevelRequired()

public setLevelRequired(int $levelRequired) : void
Parameters
$levelRequired : int

        
On this page

Search results