Documentation

LevelUpStats
in package

Table of Contents

Properties

$byteSize  : int
$level  : int
$maxHp  : int
$maxSp  : int
$maxTp  : int
$skillPoints  : int
$statPoints  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : LevelUpStats
Deserializes an instance of `LevelUpStats` from the provided `EoReader`.
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getLevel()  : int
getMaxHp()  : int
getMaxSp()  : int
getMaxTp()  : int
getSkillPoints()  : int
getStatPoints()  : int
serialize()  : void
Serializes an instance of `LevelUpStats` to the provided `EoWriter`.
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setLevel()  : void
setMaxHp()  : void
setMaxSp()  : void
setMaxTp()  : void
setSkillPoints()  : void
setStatPoints()  : void

Properties

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

deserialize()

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

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

The reader that the data will be deserialized from.

Return values
LevelUpStats

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.

getSkillPoints()

public getSkillPoints() : int
Return values
int

getStatPoints()

public getStatPoints() : int
Return values
int

serialize()

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

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

The writer that the data will be serialized to.

$data : LevelUpStats

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.

setLevel()

public setLevel(int $level) : void
Parameters
$level : int

setMaxHp()

public setMaxHp(int $maxHp) : void
Parameters
$maxHp : int

setMaxSp()

public setMaxSp(int $maxSp) : void
Parameters
$maxSp : int

setMaxTp()

public setMaxTp(int $maxTp) : void
Parameters
$maxTp : int

setSkillPoints()

public setSkillPoints(int $skillPoints) : void
Parameters
$skillPoints : int

setStatPoints()

public setStatPoints(int $statPoints) : void
Parameters
$statPoints : int

        
On this page

Search results