QuestProgressEntry
in package
Table of Contents
Properties
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : QuestProgressEntry
- Deserializes an instance of `QuestProgressEntry` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getDescription() : string
- getIcon() : int
- getName() : string
- getProgress() : int
- getTarget() : int
- serialize() : void
- Serializes an instance of `QuestProgressEntry` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setDescription() : void
- setIcon() : void
- setName() : void
- setProgress() : void
- setTarget() : void
Properties
$byteSize
private
int
$byteSize
= 0
$description
private
string
$description
= ""
$icon
private
int
$icon
$name
private
string
$name
= ""
$progress
private
int
$progress
$target
private
int
$target
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `QuestProgressEntry` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : QuestProgressEntry
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
QuestProgressEntry —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.
getDescription()
public
getDescription() : string
Return values
stringgetIcon()
public
getIcon() : int
Return values
intgetName()
public
getName() : string
Return values
stringgetProgress()
public
getProgress() : int
Return values
intgetTarget()
public
getTarget() : int
Return values
intserialize()
Serializes an instance of `QuestProgressEntry` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, QuestProgressEntry $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : QuestProgressEntry
-
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.
setDescription()
public
setDescription(string $description) : void
Parameters
- $description : string
setIcon()
public
setIcon(int $icon) : void
Parameters
- $icon : int
setName()
public
setName(string $name) : void
Parameters
- $name : string
setProgress()
public
setProgress(int $progress) : void
Parameters
- $progress : int
setTarget()
public
setTarget(int $target) : void
Parameters
- $target : int