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
$byteSize
private
int
$byteSize
= 0
$destinationCoords
private
Coords
$destinationCoords
$destinationMap
private
int
$destinationMap
$door
private
int
$door
$levelRequired
private
int
$levelRequired
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
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.
getDestinationCoords()
public
getDestinationCoords() : Coords
Return values
CoordsgetDestinationMap()
public
getDestinationMap() : int
Return values
intgetDoor()
public
getDoor() : int
Return values
intgetLevelRequired()
public
getLevelRequired() : int
Return values
intserialize()
Serializes an instance of `MapWarp` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, MapWarp $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.
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