GrandExchangeItem

class GrandExchangeItem(id: Int, name: String?, dailyVolume: Int, guidePrice: Int, isMembers: Boolean, buyLimit: Int, high: Int, highTime: Long, low: Int, lowTime: Long) : Nillable<GrandExchangeItem>

Types

Companion
Link copied to clipboard
object Companion

Functions

initLivePrices
Link copied to clipboard
fun initLivePrices(): Boolean

uses wiki's api to get high/low price and the time of high/low prices in unix timestamp SECONDS for more info see: https://oldschool.runescape.wiki/w/RuneScape:Real-time_Prices

nil
Link copied to clipboard
open override fun nil(): GrandExchangeItem

A "null" instance. An object with no function. All methods will not evaluate to anything.

Properties

buyLimit
Link copied to clipboard
var buyLimit: Int
dailyVolume
Link copied to clipboard
var dailyVolume: Int
guidePrice
Link copied to clipboard
var guidePrice: Int
high
Link copied to clipboard
var high: Int
highTime
Link copied to clipboard
var highTime: Long
id
Link copied to clipboard
var id: Int
isMembers
Link copied to clipboard
var isMembers: Boolean = false
low
Link copied to clipboard
var low: Int
lowTime
Link copied to clipboard
var lowTime: Long
name
Link copied to clipboard
var name: String?