Documentation

MapDamageTypeDataSpikes
in package
implements MapDamageTypeData

Data associated with mapDamageType value MapDamageType::SPIKES

Table of Contents

Interfaces

MapDamageTypeData
Data associated with different values of the `mapDamageType` field.

Properties

$byteSize  : int
$hp  : int
$hpDamage  : int
$maxHp  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : MapDamageTypeDataSpikes
Deserializes an instance of `MapDamageTypeDataSpikes` from the provided `EoReader`.
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getHp()  : int
getHpDamage()  : int
getMaxHp()  : int
serialize()  : void
Serializes an instance of `MapDamageTypeDataSpikes` to the provided `EoWriter`.
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setHp()  : void
setHpDamage()  : void
setMaxHp()  : 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.


        
On this page

Search results