Package com.avrix.events
Class OnClientCommandEvent
java.lang.Object
com.avrix.events.Event
com.avrix.events.OnClientCommandEvent
Triggered when the player sends a command to the server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGetting the event nameabstract void
handleEvent
(String module, String command, zombie.characters.IsoPlayer player, se.krka.kahlua.vm.KahluaTable args) Called Event Handling Method
-
Constructor Details
-
OnClientCommandEvent
public OnClientCommandEvent()
-
-
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, zombie.characters.IsoPlayer player, se.krka.kahlua.vm.KahluaTable args) Called Event Handling Method- Parameters:
module
- The name of the module for this client command.command
- The text of the actual client command.player
- The player who initiated the client command.args
- The arguments of the client command.
-