EquipmentPaperdoll
in package
Table of Contents
Properties
- $armlet : array<string|int, int>
- $bracer : array<string|int, int>
- $ring : array<string|int, int>
- $accessory : int
- $armor : int
- $belt : int
- $boots : int
- $byteSize : int
- $gloves : int
- $hat : int
- $necklace : int
- $shield : int
- $weapon : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : EquipmentPaperdoll
- Deserializes an instance of `EquipmentPaperdoll` from the provided `EoReader`.
- getAccessory() : int
- getArmlet() : array<string|int, int>
- getArmor() : int
- getBelt() : int
- getBoots() : int
- getBracer() : array<string|int, int>
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getGloves() : int
- getHat() : int
- getNecklace() : int
- getRing() : array<string|int, int>
- getShield() : int
- getWeapon() : int
- serialize() : void
- Serializes an instance of `EquipmentPaperdoll` to the provided `EoWriter`.
- setAccessory() : void
- setArmlet() : void
- setArmor() : void
- setBelt() : void
- setBoots() : void
- setBracer() : void
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setGloves() : void
- setHat() : void
- setNecklace() : void
- setRing() : void
- setShield() : void
- setWeapon() : void
Properties
$armlet
public
array<string|int, int>
$armlet
= []
$bracer
public
array<string|int, int>
$bracer
= []
$ring
public
array<string|int, int>
$ring
= []
$accessory
private
int
$accessory
$armor
private
int
$armor
$belt
private
int
$belt
$boots
private
int
$boots
$byteSize
private
int
$byteSize
= 0
$gloves
private
int
$gloves
$hat
private
int
$hat
$necklace
private
int
$necklace
$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 `EquipmentPaperdoll` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : EquipmentPaperdoll
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
EquipmentPaperdoll —The deserialized data.
getAccessory()
public
getAccessory() : int
Return values
intgetArmlet()
public
getArmlet() : array<string|int, int>
Return values
array<string|int, int>getArmor()
public
getArmor() : int
Return values
intgetBelt()
public
getBelt() : int
Return values
intgetBoots()
public
getBoots() : int
Return values
intgetBracer()
public
getBracer() : array<string|int, int>
Return values
array<string|int, int>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.
getGloves()
public
getGloves() : int
Return values
intgetHat()
public
getHat() : int
Return values
intgetNecklace()
public
getNecklace() : int
Return values
intgetRing()
public
getRing() : array<string|int, int>
Return values
array<string|int, int>getShield()
public
getShield() : int
Return values
intgetWeapon()
public
getWeapon() : int
Return values
intserialize()
Serializes an instance of `EquipmentPaperdoll` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, EquipmentPaperdoll $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : EquipmentPaperdoll
-
The data to serialize.
setAccessory()
public
setAccessory(int $accessory) : void
Parameters
- $accessory : int
setArmlet()
public
setArmlet(array<string|int, int> $armlet) : void
Parameters
- $armlet : array<string|int, int>
setArmor()
public
setArmor(int $armor) : void
Parameters
- $armor : int
setBelt()
public
setBelt(int $belt) : void
Parameters
- $belt : int
setBoots()
public
setBoots(int $boots) : void
Parameters
- $boots : int
setBracer()
public
setBracer(array<string|int, int> $bracer) : void
Parameters
- $bracer : array<string|int, 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.
setGloves()
public
setGloves(int $gloves) : void
Parameters
- $gloves : int
setHat()
public
setHat(int $hat) : void
Parameters
- $hat : int
setNecklace()
public
setNecklace(int $necklace) : void
Parameters
- $necklace : int
setRing()
public
setRing(array<string|int, int> $ring) : void
Parameters
- $ring : array<string|int, int>
setShield()
public
setShield(int $shield) : void
Parameters
- $shield : int
setWeapon()
public
setWeapon(int $weapon) : void
Parameters
- $weapon : int