remaining
remaining: (BuyLimits, number) -> number?How many more of an item can be bought before its buy limit.
itemId- The item.
- Returns
nilwhen the item's limit is not in the item table, or the count bought in its window is not known.
grandExchange:buyLimits()| Method | Returns | Description |
|---|---|---|
GrandExchange.buyLimits | BuyLimits | The buy limits the client tracks for this account. |
remainingremaining: (BuyLimits, number) -> number?How many more of an item can be bought before its buy limit.
itemIdnil when the item's limit is not in the item table, or the count bought in its window is not known.resetsAtresetsAt: (BuyLimits, number) -> number?When the item's current 4-hour window ends, Unix milliseconds.
itemIdnil when no window is open.