Package com.avrix.events
Class OnPreFillInventoryObjectContextMenuEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnPreFillInventoryObjectContextMenuEvent
Triggered before context menus get filled with options.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(Integer playerID, se.krka.kahlua.vm.KahluaTable context, se.krka.kahlua.vm.KahluaTable items) Called Event Handling Method
-
Constructor Details
-
OnPreFillInventoryObjectContextMenuEvent
public OnPreFillInventoryObjectContextMenuEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- 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.
-