Documentation

ShopTradeItem
in package

Table of Contents

Properties

$buyPrice  : int
$byteSize  : int
$itemId  : int
$maxBuyAmount  : int
$sellPrice  : int

Methods

__toString()  : string
Returns a string representation of the object.
deserialize()  : ShopTradeItem
Deserializes an instance of `ShopTradeItem` from the provided `EoReader`.
getBuyPrice()  : int
getByteSize()  : int
Returns the size of the data that this was deserialized from.
getItemId()  : int
getMaxBuyAmount()  : int
getSellPrice()  : int
serialize()  : void
Serializes an instance of `ShopTradeItem` to the provided `EoWriter`.
setBuyPrice()  : void
setByteSize()  : void
Sets the size of the data that this was deserialized from.
setItemId()  : void
setMaxBuyAmount()  : void
setSellPrice()  : void

Properties

Methods

__toString()

Returns a string representation of the object.

public __toString() : string
Return values
string

deserialize()

Deserializes an instance of `ShopTradeItem` from the provided `EoReader`.

public static deserialize(EoReader $reader) : ShopTradeItem
Parameters
$reader : EoReader

The reader that the data will be deserialized from.

Return values
ShopTradeItem

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.

getMaxBuyAmount()

public getMaxBuyAmount() : int
Return values
int

getSellPrice()

public getSellPrice() : int
Return values
int

serialize()

Serializes an instance of `ShopTradeItem` to the provided `EoWriter`.

public static serialize(EoWriter $writer, ShopTradeItem $data) : void
Parameters
$writer : EoWriter

The writer that the data will be serialized to.

$data : ShopTradeItem

The data to serialize.

setBuyPrice()

public setBuyPrice(int $buyPrice) : void
Parameters
$buyPrice : 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.

setItemId()

public setItemId(int $itemId) : void
Parameters
$itemId : int

setMaxBuyAmount()

public setMaxBuyAmount(int $maxBuyAmount) : void
Parameters
$maxBuyAmount : int

setSellPrice()

public setSellPrice(int $sellPrice) : void
Parameters
$sellPrice : int

        
On this page

Search results