Class BancoInventoryBukkit
java.lang.Object
ovh.mythmc.banco.api.bukkit.inventories.BancoInventoryBukkit
- All Implemented Interfaces:
BancoInventory<org.bukkit.inventory.Inventory>
,BancoStorage
public abstract class BancoInventoryBukkit
extends Object
implements BancoInventory<org.bukkit.inventory.Inventory>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull BigDecimal
add
(UUID uuid, BigDecimal amount) @NotNull BigDecimal
remove
(UUID uuid, BigDecimal amount) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ovh.mythmc.banco.api.storage.BancoInventory
get
-
Constructor Details
-
BancoInventoryBukkit
public BancoInventoryBukkit()
-
-
Method Details
-
add
- Specified by:
add
in interfaceBancoStorage
- Parameters:
uuid
- UUID of the account where items will be addedamount
- amount of money to add to this BancoStorage- Returns:
- Total amount of money that has been added
-
remove
- Specified by:
remove
in interfaceBancoStorage
- Parameters:
uuid
- UUID of the account where items will be removedamount
- amount of money to remove from this BancoStorage- Returns:
- Amount of money that has not been removed
-