Class OnFillInventoryObjectContextMenuEvent

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

public abstract class OnFillInventoryObjectContextMenuEvent extends Event
Triggered when inventory object context menus are being filled.
  • Constructor Details

    • OnFillInventoryObjectContextMenuEvent

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