Class RestockMeta
- java.lang.Object
-
- org.rspeer.game.config.item.restock.RestockMeta
-
- All Implemented Interfaces:
Serializable
public class RestockMeta extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestockMeta(int purchaseAmount, int pricePerItem)
RestockMeta(int itemId, int purchaseAmount, int pricePerItem)
RestockMeta(int itemId, int purchaseAmount, int pricePerItem, int threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getItemId()
int
getPricePerItem()
int
getPurchaseAmount()
int
getThreshold()
-
-
-
Constructor Detail
-
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 Detail
-
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()
-
-