Documentation

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

$rid

public array<string|int, int> $rid = []

$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
string

deserialize()

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
int

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.

getCanScroll()

public getCanScroll() : bool
Return values
bool

getFillTile()

public getFillTile() : int
Return values
int

getHeight()

public getHeight() : int
Return values
int

getItems()

public getItems() : array<string|int, MapItem>
Return values
array<string|int, MapItem>

getItemsCount()

public getItemsCount() : int
Return values
int

getLegacyDoorKeysCount()

public getLegacyDoorKeysCount() : int
Return values
int

getMapAvailable()

public getMapAvailable() : bool
Return values
bool

getMusicControl()

public getMusicControl() : int
Return values
int

getMusicId()

public getMusicId() : int
Return values
int

getName()

public getName() : string
Return values
string

getNpcs()

public getNpcs() : array<string|int, MapNpc>
Return values
array<string|int, MapNpc>

getNpcsCount()

public getNpcsCount() : int
Return values
int

getRelogX()

public getRelogX() : int
Return values
int

getRelogY()

public getRelogY() : int
Return values
int

getRid()

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
int

getTileSpecRowsCount()

public getTileSpecRowsCount() : int
Return values
int

getTimedEffect()

public getTimedEffect() : int
Return values
int

getType()

public getType() : int
Return values
int

getWarpRowsCount()

public getWarpRowsCount() : int
Return values
int

getWidth()

public getWidth() : int
Return values
int

serialize()

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

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

The writer that the data will be serialized to.

$data : Emf

The data to serialize.

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

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

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

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

        
On this page

Search results