Emf
in package
Table of Contents
Properties
- $graphicLayers : array<string|int, MapGraphicLayer>
- $items : array<string|int, MapItem>
- $legacyDoorKeys : array<string|int, MapLegacyDoorKey>
- $npcs : array<string|int, MapNpc>
- $rid : array<string|int, int>
- $signs : array<string|int, MapSign>
- $tileSpecRows : array<string|int, MapTileSpecRow>
- $warpRows : array<string|int, MapWarpRow>
- $ambientSoundId : int
- $byteSize : int
- $canScroll : bool
- $fillTile : int
- $height : int
- $itemsCount : int
- $legacyDoorKeysCount : int
- $mapAvailable : bool
- $musicControl : int
- $musicId : int
- $name : string
- $npcsCount : int
- $relogX : int
- $relogY : int
- $signsCount : int
- $tileSpecRowsCount : int
- $timedEffect : int
- $type : int
- $warpRowsCount : int
- $width : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : Emf
- Deserializes an instance of `Emf` from the provided `EoReader`.
- getAmbientSoundId() : int
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getCanScroll() : bool
- getFillTile() : int
- getGraphicLayers() : array<string|int, MapGraphicLayer>
- getHeight() : int
- getItems() : array<string|int, MapItem>
- getItemsCount() : int
- getLegacyDoorKeys() : array<string|int, MapLegacyDoorKey>
- getLegacyDoorKeysCount() : int
- getMapAvailable() : bool
- getMusicControl() : int
- getMusicId() : int
- getName() : string
- getNpcs() : array<string|int, MapNpc>
- getNpcsCount() : int
- getRelogX() : int
- getRelogY() : int
- getRid() : array<string|int, int>
- getSigns() : array<string|int, MapSign>
- getSignsCount() : int
- getTileSpecRows() : array<string|int, MapTileSpecRow>
- getTileSpecRowsCount() : int
- getTimedEffect() : int
- getType() : int
- getWarpRows() : array<string|int, MapWarpRow>
- getWarpRowsCount() : int
- getWidth() : int
- serialize() : void
- Serializes an instance of `Emf` to the provided `EoWriter`.
- setAmbientSoundId() : void
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setCanScroll() : void
- setFillTile() : void
- setGraphicLayers() : void
- setHeight() : void
- setItems() : void
- setItemsCount() : void
- setLegacyDoorKeys() : void
- setLegacyDoorKeysCount() : void
- setMapAvailable() : void
- setMusicControl() : void
- setMusicId() : void
- setName() : void
- setNpcs() : void
- setNpcsCount() : void
- setRelogX() : void
- setRelogY() : void
- setRid() : void
- setSigns() : void
- setSignsCount() : void
- setTileSpecRows() : void
- setTileSpecRowsCount() : void
- setTimedEffect() : void
- setType() : void
- setWarpRows() : void
- setWarpRowsCount() : void
- setWidth() : void
Properties
$graphicLayers
public
array<string|int, MapGraphicLayer>
$graphicLayers
= []
$items
public
array<string|int, MapItem>
$items
= []
$legacyDoorKeys
public
array<string|int, MapLegacyDoorKey>
$legacyDoorKeys
= []
$npcs
public
array<string|int, MapNpc>
$npcs
= []
$rid
public
array<string|int, int>
$rid
= []
$signs
public
array<string|int, MapSign>
$signs
= []
$tileSpecRows
public
array<string|int, MapTileSpecRow>
$tileSpecRows
= []
$warpRows
public
array<string|int, MapWarpRow>
$warpRows
= []
$ambientSoundId
private
int
$ambientSoundId
$byteSize
private
int
$byteSize
= 0
$canScroll
private
bool
$canScroll
$fillTile
private
int
$fillTile
$height
private
int
$height
$itemsCount
private
int
$itemsCount
$legacyDoorKeysCount
private
int
$legacyDoorKeysCount
$mapAvailable
private
bool
$mapAvailable
$musicControl
private
int
$musicControl
$musicId
private
int
$musicId
$name
private
string
$name
= ""
$npcsCount
private
int
$npcsCount
$relogX
private
int
$relogX
$relogY
private
int
$relogY
$signsCount
private
int
$signsCount
$tileSpecRowsCount
private
int
$tileSpecRowsCount
$timedEffect
private
int
$timedEffect
$type
private
int
$type
$warpRowsCount
private
int
$warpRowsCount
$width
private
int
$width
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `Emf` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : Emf
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
Emf —The deserialized data.
getAmbientSoundId()
public
getAmbientSoundId() : int
Return values
intgetByteSize()
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.
getCanScroll()
public
getCanScroll() : bool
Return values
boolgetFillTile()
public
getFillTile() : int
Return values
intgetGraphicLayers()
public
getGraphicLayers() : array<string|int, MapGraphicLayer>
Return values
array<string|int, MapGraphicLayer>getHeight()
public
getHeight() : int
Return values
intgetItems()
public
getItems() : array<string|int, MapItem>
Return values
array<string|int, MapItem>getItemsCount()
public
getItemsCount() : int
Return values
intgetLegacyDoorKeys()
public
getLegacyDoorKeys() : array<string|int, MapLegacyDoorKey>
Return values
array<string|int, MapLegacyDoorKey>getLegacyDoorKeysCount()
public
getLegacyDoorKeysCount() : int
Return values
intgetMapAvailable()
public
getMapAvailable() : bool
Return values
boolgetMusicControl()
public
getMusicControl() : int
Return values
intgetMusicId()
public
getMusicId() : int
Return values
intgetName()
public
getName() : string
Return values
stringgetNpcs()
public
getNpcs() : array<string|int, MapNpc>
Return values
array<string|int, MapNpc>getNpcsCount()
public
getNpcsCount() : int
Return values
intgetRelogX()
public
getRelogX() : int
Return values
intgetRelogY()
public
getRelogY() : int
Return values
intgetRid()
public
getRid() : array<string|int, int>
Return values
array<string|int, int>getSigns()
public
getSigns() : array<string|int, MapSign>
Return values
array<string|int, MapSign>getSignsCount()
public
getSignsCount() : int
Return values
intgetTileSpecRows()
public
getTileSpecRows() : array<string|int, MapTileSpecRow>
Return values
array<string|int, MapTileSpecRow>getTileSpecRowsCount()
public
getTileSpecRowsCount() : int
Return values
intgetTimedEffect()
public
getTimedEffect() : int
Return values
intgetType()
public
getType() : int
Return values
intgetWarpRows()
public
getWarpRows() : array<string|int, MapWarpRow>
Return values
array<string|int, MapWarpRow>getWarpRowsCount()
public
getWarpRowsCount() : int
Return values
intgetWidth()
public
getWidth() : int
Return values
intserialize()
Serializes an instance of `Emf` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, Emf $data) : void
Parameters
setAmbientSoundId()
public
setAmbientSoundId(int $ambientSoundId) : void
Parameters
- $ambientSoundId : int
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.
setCanScroll()
public
setCanScroll(bool $canScroll) : void
Parameters
- $canScroll : bool
setFillTile()
public
setFillTile(int $fillTile) : void
Parameters
- $fillTile : int
setGraphicLayers()
public
setGraphicLayers(array<string|int, MapGraphicLayer> $graphicLayers) : void
Parameters
- $graphicLayers : array<string|int, MapGraphicLayer>
setHeight()
public
setHeight(int $height) : void
Parameters
- $height : int
setItems()
public
setItems(array<string|int, MapItem> $items) : void
Parameters
- $items : array<string|int, MapItem>
setItemsCount()
public
setItemsCount(int $itemsCount) : void
Parameters
- $itemsCount : int
setLegacyDoorKeys()
public
setLegacyDoorKeys(array<string|int, MapLegacyDoorKey> $legacyDoorKeys) : void
Parameters
- $legacyDoorKeys : array<string|int, MapLegacyDoorKey>
setLegacyDoorKeysCount()
public
setLegacyDoorKeysCount(int $legacyDoorKeysCount) : void
Parameters
- $legacyDoorKeysCount : int
setMapAvailable()
public
setMapAvailable(bool $mapAvailable) : void
Parameters
- $mapAvailable : bool
setMusicControl()
public
setMusicControl(int $musicControl) : void
Parameters
- $musicControl : int
setMusicId()
public
setMusicId(int $musicId) : void
Parameters
- $musicId : int
setName()
public
setName(string $name) : void
Parameters
- $name : string
setNpcs()
public
setNpcs(array<string|int, MapNpc> $npcs) : void
Parameters
- $npcs : array<string|int, MapNpc>
setNpcsCount()
public
setNpcsCount(int $npcsCount) : void
Parameters
- $npcsCount : int
setRelogX()
public
setRelogX(int $relogX) : void
Parameters
- $relogX : int
setRelogY()
public
setRelogY(int $relogY) : void
Parameters
- $relogY : int
setRid()
public
setRid(array<string|int, int> $rid) : void
Parameters
- $rid : array<string|int, int>
setSigns()
public
setSigns(array<string|int, MapSign> $signs) : void
Parameters
- $signs : array<string|int, MapSign>
setSignsCount()
public
setSignsCount(int $signsCount) : void
Parameters
- $signsCount : int
setTileSpecRows()
public
setTileSpecRows(array<string|int, MapTileSpecRow> $tileSpecRows) : void
Parameters
- $tileSpecRows : array<string|int, MapTileSpecRow>
setTileSpecRowsCount()
public
setTileSpecRowsCount(int $tileSpecRowsCount) : void
Parameters
- $tileSpecRowsCount : int
setTimedEffect()
public
setTimedEffect(int $timedEffect) : void
Parameters
- $timedEffect : int
setType()
public
setType(int $type) : void
Parameters
- $type : int
setWarpRows()
public
setWarpRows(array<string|int, MapWarpRow> $warpRows) : void
Parameters
- $warpRows : array<string|int, MapWarpRow>
setWarpRowsCount()
public
setWarpRowsCount(int $warpRowsCount) : void
Parameters
- $warpRowsCount : int
setWidth()
public
setWidth(int $width) : void
Parameters
- $width : int