Class BankAccountDeleteEvent

java.lang.Object
org.bukkit.event.Event
nl.minetopiasdb.api.events.bank.BankAccountDeleteEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class BankAccountDeleteEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
Event thrown when someone deletes a bankaccount with /bankaccount delete
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    BankAccountDeleteEvent​(org.bukkit.command.CommandSender player, int bankId)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the account associated with this action
    Get the type of bankaccount
    static org.bukkit.event.HandlerList
     
    org.bukkit.event.HandlerList
     
    org.bukkit.command.CommandSender
    See who added the player
    boolean
     
    void
    setCancelled​(boolean cancelled)
     

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BankAccountDeleteEvent

      public BankAccountDeleteEvent(org.bukkit.command.CommandSender player, int bankId)
  • Method Details

    • getPlayer

      public org.bukkit.command.CommandSender getPlayer()
      See who added the player
      Returns:
      Player who executed /bankaccount delete
    • getAccountId

      public int getAccountId()
      Get the account associated with this action
      Returns:
      account assosiated with this event
    • getBankAccountType

      public BankAccountType getBankAccountType()
      Get the type of bankaccount
      Returns:
      Type of bankaccount
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable