Package com.avrix.events
Class OnServerCommandEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnServerCommandEvent
Triggered when a command from the server is being received.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(String module, String command, se.krka.kahlua.vm.KahluaTable arguments) Called Event Handling Method
-
Constructor Details
-
OnServerCommandEvent
public OnServerCommandEvent()
-
-
Method Details
-
getEventName
Getting the event name- Specified by:
getEventName
in classEvent
- Returns:
- name of the event being implemented
-
handleEvent
public abstract void handleEvent(String module, String command, se.krka.kahlua.vm.KahluaTable arguments) Called Event Handling Method- Parameters:
module
- The name of the module for this server command.command
- The text of the actual server command.arguments
- The list of arguments of the server command.
-