Esf
in package
Table of Contents
Properties
- $rid : array<string|int, int>
- $skills : array<string|int, EsfRecord>
- $byteSize : int
- $totalSkillsCount : int
- $version : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : Esf
- Deserializes an instance of `Esf` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getRid() : array<string|int, int>
- getSkills() : array<string|int, EsfRecord>
- getTotalSkillsCount() : int
- getVersion() : int
- serialize() : void
- Serializes an instance of `Esf` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setRid() : void
- setSkills() : void
- setTotalSkillsCount() : void
- setVersion() : void
Properties
$rid
public
array<string|int, int>
$rid
= []
$skills
public
array<string|int, EsfRecord>
$skills
= []
$byteSize
private
int
$byteSize
= 0
$totalSkillsCount
private
int
$totalSkillsCount
$version
private
int
$version
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `Esf` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : Esf
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
Esf —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.
getRid()
public
getRid() : array<string|int, int>
Return values
array<string|int, int>getSkills()
public
getSkills() : array<string|int, EsfRecord>
Return values
array<string|int, EsfRecord>getTotalSkillsCount()
public
getTotalSkillsCount() : int
Return values
intgetVersion()
public
getVersion() : int
Return values
intserialize()
Serializes an instance of `Esf` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, Esf $data) : void
Parameters
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.
setRid()
public
setRid(array<string|int, int> $rid) : void
Parameters
- $rid : array<string|int, int>
setSkills()
public
setSkills(array<string|int, EsfRecord> $skills) : void
Parameters
- $skills : array<string|int, EsfRecord>
setTotalSkillsCount()
public
setTotalSkillsCount(int $totalSkillsCount) : void
Parameters
- $totalSkillsCount : int
setVersion()
public
setVersion(int $version) : void
Parameters
- $version : int