Class EventNotification

java.lang.Object
org.rusherhack.core.event.type.Event
org.rusherhack.core.event.type.EventCancellable
org.rusherhack.client.api.events.client.internal.EventNotification
All Implemented Interfaces:
org.rusherhack.core.event.stage.IStageable

public class EventNotification extends org.rusherhack.core.event.type.EventCancellable
This event gets called when a notification is being processed by the NotificationManager
  • Constructor Summary

    Constructors
    Constructor
    Description
    EventNotification(org.rusherhack.core.notification.NotificationType type, String text, boolean chat, boolean hud)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the text of the notification
    org.rusherhack.core.notification.NotificationType
    Get the type of the notification
    boolean
     
    boolean
     

    Methods inherited from class org.rusherhack.core.event.type.EventCancellable

    isCancelled, setCancelled

    Methods inherited from class org.rusherhack.core.event.type.Event

    getPreferredStage, getStage, setStage

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EventNotification

      public EventNotification(org.rusherhack.core.notification.NotificationType type, String text, boolean chat, boolean hud)
  • Method Details

    • getType

      public org.rusherhack.core.notification.NotificationType getType()
      Get the type of the notification
      Returns:
      the type of the notification
    • getText

      public String getText()
      Get the text of the notification
      Returns:
      the text of the notification
    • isChat

      public boolean isChat()
      Returns:
      true if the notification will be sent to the chat
    • isHud

      public boolean isHud()
      Returns:
      true if the notification will be sent to the HUD