Package | Description |
---|---|
simple.hooks.filters |
Modifier and Type | Method and Description |
---|---|
static SimpleShop.Amount |
SimpleShop.Amount.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleShop.Amount[] |
SimpleShop.Amount.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleShop.buy(int id,
SimpleShop.Amount amount)
returns if the specified item by name={name} has been purchased in amount={Amount}
|
boolean |
SimpleShop.buy(java.lang.String name,
SimpleShop.Amount amount)
returns if the specified item by name={name} has been purchased in amount={Amount}
|
boolean |
SimpleShop.sell(int id,
SimpleShop.Amount amount)
returns if the specified item by id={id} has been sold in amount={Amount}
|
boolean |
SimpleShop.sell(java.lang.String name,
SimpleShop.Amount amount)
returns if the specified item by name={name} has been sold in amount={Amount}
|