ItemPrice

Methods
4
Fields
None

Methods

MethodReturnsDescription
getId()numberThe item id.
getName()stringThe item's name, as the price list has it.
getPrice()numberThe Grand Exchange guide price (a 64-bit integer).
getWikiPrice()numberThe wiki's real-time price (a 64-bit integer), 0 when it has none.

Returned by

MethodReturnsDescription
ItemManager.search{ItemPrice}The price list's rows whose name contains itemName, ignoring case, in the list's order.

Method details

getPrice

getPrice: (ItemPrice) -> number

The Grand Exchange guide price (a 64-bit integer).

getWikiPrice

getWikiPrice: (ItemPrice) -> number

The wiki's real-time price (a 64-bit integer), 0 when it has none.