Class RestockMeta
java.lang.Object
org.rspeer.game.config.item.restock.RestockMeta
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionRestockMeta
(int purchaseAmount, int pricePerItem) RestockMeta
(int itemId, int purchaseAmount, int pricePerItem) RestockMeta
(int itemId, int purchaseAmount, int pricePerItem, int threshold) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
-
Constructor Details
-
RestockMeta
public RestockMeta(int itemId, int purchaseAmount, int pricePerItem, int threshold) - Parameters:
itemId
- The id of the item to purchasepurchaseAmount
- The quantity to purchasepricePerItem
- A negative value indicates that it should use the +5% increase button n times. For example, -3 will click the increase price by 5% button 3 times
-
RestockMeta
public RestockMeta(int itemId, int purchaseAmount, int pricePerItem) -
RestockMeta
public RestockMeta(int purchaseAmount, int pricePerItem) - Parameters:
purchaseAmount
- The quantity to purchasepricePerItem
- A negative value indicates that it should use the +5% increase button n times. For example, -3 will click the increase price by 5% button 3 times
-
-
Method Details
-
getPurchaseAmount
public int getPurchaseAmount()- Returns:
- The quantity to purchase
-
getPricePerItem
public int getPricePerItem()- Returns:
- The price at which each item should be purchased A negative value indicates that it should use the +5% increase button n times. For example, -3 will click the increase price by 5% button 3 times
-
getItemId
public int getItemId() -
getThreshold
public int getThreshold()
-