RestockConfig
What to buy when a loadout item runs low, and for what price.
ClassRLPlugins API
public class RestockConfigMembers
Constructors
- newRestockConfig(int, int, PriceSetupType, int)
Creates a RestockConfig.
Methods
- intgetItemAmount()
The item amount.
- intgetItemId()
The item id.
- intgetPrice()
The price.
- PriceSetupTypegetPriceSetupType()
The price setup type.
RestockConfig(int, int, PriceSetupType, int)
public RestockConfig(int itemId, int itemAmount, PriceSetupType priceSetupType, int price)Creates a RestockConfig.
Parameters
itemId- The ID of the item to restock. See
net.runelite.api.gameval.ItemID. itemAmount- The amount of the item to restock.
priceSetupType- The price type, this can be a static price or how many times to use +5%. See
PriceSetupType. price- The price to pay per item as per the defined
PriceSetupTypeparameter.
getItemAmount()
public int getItemAmount()The item amount.
getItemId()
public int getItemId()The item id.
getPrice()
public int getPrice()The price.
getPriceSetupType()
public PriceSetupType getPriceSetupType()The price setup type.
Also allowed
Every class has these, as in plain Java.
equals, toString