Package com.avrix.events
Class OnTradingUIAddItemEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnTradingUIAddItemEvent
Triggered when a player adds an item to a trade.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(zombie.characters.IsoPlayer player, zombie.inventory.InventoryItem inventoryItem) Called Event Handling Method
-
Constructor Details
-
OnTradingUIAddItemEvent
public OnTradingUIAddItemEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- Returns:
- name of the event being implemented
-
handleEvent
public abstract void handleEvent(zombie.characters.IsoPlayer player, zombie.inventory.InventoryItem inventoryItem) Called Event Handling Method- Parameters:
player
- The player who's adding an item to the trade.inventoryItem
- The item which the player is adding to the trade.
-