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
$buyPrice
    private
        int
    $buyPrice
    
    
    
    
$byteSize
    private
        int
    $byteSize
     = 0
    
    
    
$itemId
    private
        int
    $itemId
    
    
    
    
$maxBuyAmount
    private
        int
    $maxBuyAmount
    
    
    
    
$sellPrice
    private
        int
    $sellPrice
    
    
    
    
Methods
__toString()
Returns a string representation of the object.
    public
                    __toString() : string
    Return values
stringdeserialize()
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.
getBuyPrice()
    public
                    getBuyPrice() : 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.
getItemId()
    public
                    getItemId() : int
    Return values
intgetMaxBuyAmount()
    public
                    getMaxBuyAmount() : int
    Return values
intgetSellPrice()
    public
                    getSellPrice() : int
    Return values
intserialize()
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