Package com.avrix.events
Class OnFillInventoryObjectContextMenuEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnFillInventoryObjectContextMenuEvent
Triggered when inventory object context menus are being filled.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(Integer playerIndex, se.krka.kahlua.vm.KahluaTable table, se.krka.kahlua.vm.KahluaTable items) Called Event Handling Method
-
Constructor Details
-
OnFillInventoryObjectContextMenuEvent
public OnFillInventoryObjectContextMenuEvent()
-
-
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 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.
-