Class OnPreFillWorldObjectContextMenuEvent

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

public abstract class OnPreFillWorldObjectContextMenuEvent extends Event
Triggered before context menu for world objects is filled.
  • Constructor Details

    • OnPreFillWorldObjectContextMenuEvent

      public OnPreFillWorldObjectContextMenuEvent()
  • 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, se.krka.kahlua.vm.KahluaTable context, se.krka.kahlua.vm.KahluaTable worldObjects, Boolean test)
      Called Event Handling Method
      Parameters:
      player - The player for which the context menu is being filled.
      context - The context menu to be filled.
      worldObjects - The world objects available nearby the player.
      test - True if called for the purpose of testing for nearby objects.