Class OnReceiveItemListNetEvent

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

public abstract class OnReceiveItemListNetEvent extends Event
Triggered when a player is receiving a list of items from another player.
  • Constructor Details

    • OnReceiveItemListNetEvent

      public OnReceiveItemListNetEvent()
  • 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 sender, ArrayList itemList, zombie.characters.IsoPlayer receiver, String sessionId, String custom)
      Called Event Handling Method
      Parameters:
      sender - The player who's sending the item list.
      itemList - The list of items that is being received.
      receiver - The player who's receiving the item list.
      sessionId - The session identifier for the transaction.
      custom - TODO