Class OnTradingUIRemoveItemEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnTradingUIRemoveItemEvent

public abstract class OnTradingUIRemoveItemEvent extends Event
Triggered when a player removes an item from a trade.
  • Constructor Details

    • OnTradingUIRemoveItemEvent

      public OnTradingUIRemoveItemEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(zombie.characters.IsoPlayer player, Integer itemIndex)
      Called Event Handling Method
      Parameters:
      player - The player who's removing an item from the trade.
      itemIndex - The index of the item that the player is removing from the trade.