EquipmentMapInfo
in package
Table of Contents
Properties
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : EquipmentMapInfo
- Deserializes an instance of `EquipmentMapInfo` from the provided `EoReader`.
- getArmor() : int
- getBoots() : int
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getHat() : int
- getShield() : int
- getWeapon() : int
- serialize() : void
- Serializes an instance of `EquipmentMapInfo` to the provided `EoWriter`.
- setArmor() : void
- setBoots() : void
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setHat() : void
- setShield() : void
- setWeapon() : void
Properties
$armor
private
int
$armor
$boots
private
int
$boots
$byteSize
private
int
$byteSize
= 0
$hat
private
int
$hat
$shield
private
int
$shield
$weapon
private
int
$weapon
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `EquipmentMapInfo` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : EquipmentMapInfo
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
EquipmentMapInfo —The deserialized data.
getArmor()
public
getArmor() : int
Return values
intgetBoots()
public
getBoots() : int
Return values
intgetByteSize()
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.
getHat()
public
getHat() : int
Return values
intgetShield()
public
getShield() : int
Return values
intgetWeapon()
public
getWeapon() : int
Return values
intserialize()
Serializes an instance of `EquipmentMapInfo` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, EquipmentMapInfo $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : EquipmentMapInfo
-
The data to serialize.
setArmor()
public
setArmor(int $armor) : void
Parameters
- $armor : int
setBoots()
public
setBoots(int $boots) : void
Parameters
- $boots : int
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.
setHat()
public
setHat(int $hat) : void
Parameters
- $hat : int
setShield()
public
setShield(int $shield) : void
Parameters
- $shield : int
setWeapon()
public
setWeapon(int $weapon) : void
Parameters
- $weapon : int