Documentation

NpcUpdateAttack
in package

Table of Contents

Properties

$byteSize  : int
$damage  : int
$direction  : int
$hpPercentage  : int
$killed  : int
$npcIndex  : int
$playerId  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : NpcUpdateAttack
Deserializes an instance of `NpcUpdateAttack` from the provided `EoReader`.
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getDamage()  : int
getDirection()  : int
getHpPercentage()  : int
getKilled()  : int
getNpcIndex()  : int
getPlayerId()  : int
serialize()  : void
Serializes an instance of `NpcUpdateAttack` to the provided `EoWriter`.
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setDamage()  : void
setDirection()  : void
setHpPercentage()  : void
setKilled()  : void
setNpcIndex()  : void
setPlayerId()  : void

Properties

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

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.

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

setDirection()

public setDirection(int $direction) : void
Parameters
$direction : int

setHpPercentage()

public setHpPercentage(int $hpPercentage) : void
Parameters
$hpPercentage : int

setKilled()

public setKilled(int $killed) : void
Parameters
$killed : int

setNpcIndex()

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

setPlayerId()

public setPlayerId(int $playerId) : void
Parameters
$playerId : int

        
On this page

Search results