DropRecord
in package
Table of Contents
Properties
- $byteSize : int
- $itemId : int
- $maxAmount : int
- $minAmount : int
- $rate : int
Methods
- __toString() : string
- Returns a string representation of the object.
- deserialize() : DropRecord
- Deserializes an instance of `DropRecord` from the provided `EoReader`.
- getByteSize() : int
- Returns the size of the data that this was deserialized from.
- getItemId() : int
- getMaxAmount() : int
- getMinAmount() : int
- getRate() : int
- serialize() : void
- Serializes an instance of `DropRecord` to the provided `EoWriter`.
- setByteSize() : void
- Sets the size of the data that this was deserialized from.
- setItemId() : void
- setMaxAmount() : void
- setMinAmount() : void
- setRate() : void
Properties
$byteSize
private
int
$byteSize
= 0
$itemId
private
int
$itemId
$maxAmount
private
int
$maxAmount
$minAmount
private
int
$minAmount
$rate
private
int
$rate
Methods
__toString()
Returns a string representation of the object.
public
__toString() : string
Return values
stringdeserialize()
Deserializes an instance of `DropRecord` from the provided `EoReader`.
public
static deserialize(EoReader $reader) : DropRecord
Parameters
- $reader : EoReader
-
The reader that the data will be deserialized from.
Return values
DropRecord —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.
getItemId()
public
getItemId() : int
Return values
intgetMaxAmount()
public
getMaxAmount() : int
Return values
intgetMinAmount()
public
getMinAmount() : int
Return values
intgetRate()
public
getRate() : int
Return values
intserialize()
Serializes an instance of `DropRecord` to the provided `EoWriter`.
public
static serialize(EoWriter $writer, DropRecord $data) : void
Parameters
- $writer : EoWriter
-
The writer that the data will be serialized to.
- $data : DropRecord
-
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.
setItemId()
public
setItemId(int $itemId) : void
Parameters
- $itemId : int
setMaxAmount()
public
setMaxAmount(int $maxAmount) : void
Parameters
- $maxAmount : int
setMinAmount()
public
setMinAmount(int $minAmount) : void
Parameters
- $minAmount : int
setRate()
public
setRate(int $rate) : void
Parameters
- $rate : int