CharacterStatsEquipmentChange
in package
Table of Contents
Properties
- $baseStats : CharacterBaseStats
- $byteSize : int
- $maxHp : int
- $maxTp : int
- $secondaryStats : CharacterSecondaryStats
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : CharacterStatsEquipmentChange
- Deserializes an instance of `CharacterStatsEquipmentChange` from the provided `EoReader`.
- getBaseStats() : CharacterBaseStats
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getMaxHp() : int
- getMaxTp() : int
- getSecondaryStats() : CharacterSecondaryStats
- serialize() : void
- Serializes an instance of `CharacterStatsEquipmentChange` to the provided `EoWriter`.
- setBaseStats() : void
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setMaxHp() : void
- setMaxTp() : void
- setSecondaryStats() : void
Properties
$baseStats
private
CharacterBaseStats
$baseStats
$byteSize
private
int
$byteSize
= 0
$maxHp
private
int
$maxHp
$maxTp
private
int
$maxTp
$secondaryStats
private
CharacterSecondaryStats
$secondaryStats
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `CharacterStatsEquipmentChange` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : CharacterStatsEquipmentChange
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
CharacterStatsEquipmentChange —The deserialized data.
getBaseStats()
public
getBaseStats() : CharacterBaseStats
Return values
CharacterBaseStatsgetByteSize()
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.
getMaxHp()
public
getMaxHp() : int
Return values
intgetMaxTp()
public
getMaxTp() : int
Return values
intgetSecondaryStats()
public
getSecondaryStats() : CharacterSecondaryStats
Return values
CharacterSecondaryStatsserialize()
Serializes an instance of `CharacterStatsEquipmentChange` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, CharacterStatsEquipmentChange $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : CharacterStatsEquipmentChange
-
The data to serialize.
setBaseStats()
public
setBaseStats(CharacterBaseStats $baseStats) : void
Parameters
- $baseStats : CharacterBaseStats
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.
setMaxHp()
public
setMaxHp(int $maxHp) : void
Parameters
- $maxHp : int
setMaxTp()
public
setMaxTp(int $maxTp) : void
Parameters
- $maxTp : int
setSecondaryStats()
public
setSecondaryStats(CharacterSecondaryStats $secondaryStats) : void
Parameters
- $secondaryStats : CharacterSecondaryStats