CharacterStatsWelcome
in package
Table of Contents
Properties
- $base : CharacterBaseStatsWelcome
- $byteSize : int
- $hp : int
- $karma : int
- $maxHp : int
- $maxSp : int
- $maxTp : int
- $secondary : CharacterSecondaryStats
- $skillPoints : int
- $statPoints : int
- $tp : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : CharacterStatsWelcome
- Deserializes an instance of `CharacterStatsWelcome` from the provided `EoReader`.
- getBase() : CharacterBaseStatsWelcome
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getHp() : int
- getKarma() : int
- getMaxHp() : int
- getMaxSp() : int
- getMaxTp() : int
- getSecondary() : CharacterSecondaryStats
- getSkillPoints() : int
- getStatPoints() : int
- getTp() : int
- serialize() : void
- Serializes an instance of `CharacterStatsWelcome` to the provided `EoWriter`.
- setBase() : void
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setHp() : void
- setKarma() : void
- setMaxHp() : void
- setMaxSp() : void
- setMaxTp() : void
- setSecondary() : void
- setSkillPoints() : void
- setStatPoints() : void
- setTp() : void
Properties
$base
private
CharacterBaseStatsWelcome
$base
$byteSize
private
int
$byteSize
= 0
$hp
private
int
$hp
$karma
private
int
$karma
$maxHp
private
int
$maxHp
$maxSp
private
int
$maxSp
$maxTp
private
int
$maxTp
$secondary
private
CharacterSecondaryStats
$secondary
$skillPoints
private
int
$skillPoints
$statPoints
private
int
$statPoints
$tp
private
int
$tp
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `CharacterStatsWelcome` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : CharacterStatsWelcome
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
CharacterStatsWelcome —The deserialized data.
getBase()
public
getBase() : CharacterBaseStatsWelcome
Return values
CharacterBaseStatsWelcomegetByteSize()
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.
getHp()
public
getHp() : int
Return values
intgetKarma()
public
getKarma() : int
Return values
intgetMaxHp()
public
getMaxHp() : int
Return values
intgetMaxSp()
public
getMaxSp() : int
Return values
intgetMaxTp()
public
getMaxTp() : int
Return values
intgetSecondary()
public
getSecondary() : CharacterSecondaryStats
Return values
CharacterSecondaryStatsgetSkillPoints()
public
getSkillPoints() : int
Return values
intgetStatPoints()
public
getStatPoints() : int
Return values
intgetTp()
public
getTp() : int
Return values
intserialize()
Serializes an instance of `CharacterStatsWelcome` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, CharacterStatsWelcome $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : CharacterStatsWelcome
-
The data to serialize.
setBase()
public
setBase(CharacterBaseStatsWelcome $base) : void
Parameters
- $base : CharacterBaseStatsWelcome
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.
setHp()
public
setHp(int $hp) : void
Parameters
- $hp : int
setKarma()
public
setKarma(int $karma) : void
Parameters
- $karma : 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
setSecondary()
public
setSecondary(CharacterSecondaryStats $secondary) : void
Parameters
- $secondary : CharacterSecondaryStats
setSkillPoints()
public
setSkillPoints(int $skillPoints) : void
Parameters
- $skillPoints : int
setStatPoints()
public
setStatPoints(int $statPoints) : void
Parameters
- $statPoints : int
setTp()
public
setTp(int $tp) : void
Parameters
- $tp : int