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
ConstructorsConstructorDescriptionEventNotification
(org.rusherhack.core.notification.NotificationType type, String text, boolean chat, boolean hud) -
Method Summary
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
-
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
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
-