GroupHealTargetPlayer
in package
Table of Contents
Properties
- $byteSize : int
- $hp : int
- $hpPercentage : int
- $playerId : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : GroupHealTargetPlayer
- Deserializes an instance of `GroupHealTargetPlayer` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getHp() : int
- getHpPercentage() : int
- getPlayerId() : int
- serialize() : void
- Serializes an instance of `GroupHealTargetPlayer` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setHp() : void
- setHpPercentage() : void
- setPlayerId() : void
Properties
$byteSize
private
int
$byteSize
= 0
$hp
private
int
$hp
$hpPercentage
private
int
$hpPercentage
$playerId
private
int
$playerId
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `GroupHealTargetPlayer` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : GroupHealTargetPlayer
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
GroupHealTargetPlayer —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.
getHp()
public
getHp() : int
Return values
intgetHpPercentage()
public
getHpPercentage() : int
Return values
intgetPlayerId()
public
getPlayerId() : int
Return values
intserialize()
Serializes an instance of `GroupHealTargetPlayer` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, GroupHealTargetPlayer $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : GroupHealTargetPlayer
-
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.
setHp()
public
setHp(int $hp) : void
Parameters
- $hp : int
setHpPercentage()
public
setHpPercentage(int $hpPercentage) : void
Parameters
- $hpPercentage : int
setPlayerId()
public
setPlayerId(int $playerId) : void
Parameters
- $playerId : int