Package com.avrix.events
Class OnFillWorldObjectContextMenuEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnFillWorldObjectContextMenuEvent
Triggered when world 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 context, se.krka.kahlua.vm.KahluaTable worldObjects, Boolean test) Called Event Handling Method
-
Constructor Details
-
OnFillWorldObjectContextMenuEvent
public OnFillWorldObjectContextMenuEvent()
-
-
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 context, se.krka.kahlua.vm.KahluaTable worldObjects, Boolean test) Called Event Handling Method- Parameters:
playerIndex
- The index of 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
- Set to true if called for the purpose of testing for nearby objects.
-