Class OnAddMessageEvent

java.lang.Object
com.avrix.events.Event
com.avrix.events.OnAddMessageEvent

public abstract class OnAddMessageEvent extends Event
Triggered when a chat message is being sent.
  • Constructor Details

    • OnAddMessageEvent

      public OnAddMessageEvent()
  • Method Details

    • getEventName

      public String getEventName()
      Getting the event name
      Specified by:
      getEventName in class Event
      Returns:
      name of the event being implemented
    • handleEvent

      public abstract void handleEvent(zombie.chat.ChatMessage chatMessage, Short tabId)
      Called Event Handling Method
      Parameters:
      chatMessage - The chat message being added.
      tabId - The identifier of the tab in which the message is being added.