Package net.runelite.api
Interface GrandExchangeOffer
-
public interface GrandExchangeOfferRepresents an offer in a grand exchange slot.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetItemId()Gets the ID of the item being bought or sold.intgetPrice()Gets the offer or sell price per item.intgetQuantitySold()Gets the quantity of bought or sold items.intgetSpent()Gets the total amount of money spent so far.GrandExchangeOfferStategetState()Gets the current state of the offer.intgetTotalQuantity()Gets the total quantity being bought or sold.
-
-
-
Method Detail
-
getQuantitySold
int getQuantitySold()
Gets the quantity of bought or sold items.- Returns:
- the quantity bought or sold
-
getItemId
int getItemId()
Gets the ID of the item being bought or sold.- Returns:
- item ID
- See Also:
ItemID
-
getTotalQuantity
int getTotalQuantity()
Gets the total quantity being bought or sold.- Returns:
- the total quantity
-
getPrice
int getPrice()
Gets the offer or sell price per item.- Returns:
- the offer price
-
getSpent
int getSpent()
Gets the total amount of money spent so far.- Returns:
- the amount spent
-
getState
GrandExchangeOfferState getState()
Gets the current state of the offer.- Returns:
- the offers state
-
-