Documentation

NpcKilledData
in package

Table of Contents

Properties

$byteSize  : int
$damage  : int
$dropAmount  : int
$dropCoords  : Coords
$dropId  : int
$dropIndex  : int
$killerDirection  : int
$killerId  : int
$npcIndex  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : NpcKilledData
Deserializes an instance of `NpcKilledData` from the provided `EoReader`.
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getDamage()  : int
getDropAmount()  : int
getDropCoords()  : Coords
getDropId()  : int
getDropIndex()  : int
getKillerDirection()  : int
getKillerId()  : int
getNpcIndex()  : int
serialize()  : void
Serializes an instance of `NpcKilledData` to the provided `EoWriter`.
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setDamage()  : void
setDropAmount()  : void
setDropCoords()  : void
setDropId()  : void
setDropIndex()  : void
setKillerDirection()  : void
setKillerId()  : void
setNpcIndex()  : void

Properties

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

deserialize()

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

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

The reader that the data will be deserialized from.

Return values
NpcKilledData

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.

getDropAmount()

public getDropAmount() : int
Return values
int

getDropIndex()

public getDropIndex() : int
Return values
int

getKillerDirection()

public getKillerDirection() : int
Return values
int

serialize()

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

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

The writer that the data will be serialized to.

$data : NpcKilledData

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.

setDamage()

public setDamage(int $damage) : void
Parameters
$damage : int

setDropAmount()

public setDropAmount(int $dropAmount) : void
Parameters
$dropAmount : int

setDropId()

public setDropId(int $dropId) : void
Parameters
$dropId : int

setDropIndex()

public setDropIndex(int $dropIndex) : void
Parameters
$dropIndex : int

setKillerDirection()

public setKillerDirection(int $killerDirection) : void
Parameters
$killerDirection : int

setKillerId()

public setKillerId(int $killerId) : void
Parameters
$killerId : int

setNpcIndex()

public setNpcIndex(int $npcIndex) : void
Parameters
$npcIndex : int

        
On this page

Search results