Package nl.minetopiasdb.api.events.bank
Class BankAccountWithdrawEvent
java.lang.Object
org.bukkit.event.Event
nl.minetopiasdb.api.events.bank.BankAccountWithdrawEvent
public class BankAccountWithdrawEvent
extends org.bukkit.event.Event
This event is thrown when someone withdraws money from their bank account.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionBankAccountWithdrawEvent
(org.bukkit.entity.Player player, BankAccountType type, int account, double amount) -
Method Summary
Modifier and TypeMethodDescriptionint
double
static org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
org.bukkit.entity.Player
getType()
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
BankAccountWithdrawEvent
public BankAccountWithdrawEvent(org.bukkit.entity.Player player, BankAccountType type, int account, double amount)
-
-
Method Details
-
getPlayer
public org.bukkit.entity.Player getPlayer() -
getType
-
getAmount
public double getAmount() -
getAccountId
public int getAccountId() -
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-