Class OnPreFillInventoryObjectContextMenuEvent

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

public abstract class OnPreFillInventoryObjectContextMenuEvent extends Event
Triggered before context menus get filled with options.
  • Constructor Details

    • OnPreFillInventoryObjectContextMenuEvent

      public OnPreFillInventoryObjectContextMenuEvent()
  • 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(Integer playerID, se.krka.kahlua.vm.KahluaTable context, se.krka.kahlua.vm.KahluaTable items)
      Called Event Handling Method
      Parameters:
      playerID - The player ID for which the context menu is being filled.
      context - The context menu to be filled.
      items - The items available in the player inventory.