CharacterElementalStats
in package
Table of Contents
Properties
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : CharacterElementalStats
- Deserializes an instance of `CharacterElementalStats` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getDark() : int
- getEarth() : int
- getFire() : int
- getLight() : int
- getWater() : int
- getWind() : int
- serialize() : void
- Serializes an instance of `CharacterElementalStats` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setDark() : void
- setEarth() : void
- setFire() : void
- setLight() : void
- setWater() : void
- setWind() : void
Properties
$byteSize
private
int
$byteSize
= 0
$dark
private
int
$dark
$earth
private
int
$earth
$fire
private
int
$fire
$light
private
int
$light
$water
private
int
$water
$wind
private
int
$wind
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `CharacterElementalStats` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : CharacterElementalStats
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
CharacterElementalStats —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.
getDark()
public
getDark() : int
Return values
intgetEarth()
public
getEarth() : int
Return values
intgetFire()
public
getFire() : int
Return values
intgetLight()
public
getLight() : int
Return values
intgetWater()
public
getWater() : int
Return values
intgetWind()
public
getWind() : int
Return values
intserialize()
Serializes an instance of `CharacterElementalStats` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, CharacterElementalStats $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : CharacterElementalStats
-
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.
setDark()
public
setDark(int $dark) : void
Parameters
- $dark : int
setEarth()
public
setEarth(int $earth) : void
Parameters
- $earth : int
setFire()
public
setFire(int $fire) : void
Parameters
- $fire : int
setLight()
public
setLight(int $light) : void
Parameters
- $light : int
setWater()
public
setWater(int $water) : void
Parameters
- $water : int
setWind()
public
setWind(int $wind) : void
Parameters
- $wind : int