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
$byteSize
private
int
$byteSize
= 0
$level
private
int
$level
$maxHp
private
int
$maxHp
$maxSp
private
int
$maxSp
$maxTp
private
int
$maxTp
$skillPoints
private
int
$skillPoints
$statPoints
private
int
$statPoints
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
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.
getLevel()
public
getLevel() : int
Return values
intgetMaxHp()
public
getMaxHp() : int
Return values
intgetMaxSp()
public
getMaxSp() : int
Return values
intgetMaxTp()
public
getMaxTp() : int
Return values
intgetSkillPoints()
public
getSkillPoints() : int
Return values
intgetStatPoints()
public
getStatPoints() : int
Return values
intserialize()
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