Class BroadcastSentEvent
java.lang.Object
org.bukkit.event.Event
dev.itsharshxd.zentrix.api.events.ZentrixEvent
dev.itsharshxd.zentrix.api.events.broadcast.BroadcastSentEvent
Called after a broadcast was sent. A notification; nothing about the delivery can change.
Main thread; only fired while a listener is registered.
- Since:
- 1.8.0
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionBroadcastSentEvent(@NotNull String broadcastId, @NotNull BroadcastType type, BroadcastDeliverEvent.Origin origin, @NotNull Set<UUID> recipients) -
Method Summary
Modifier and TypeMethodDescription@NotNull StringThe broadcast's id.static @NotNull org.bukkit.event.HandlerList@NotNull org.bukkit.event.HandlerListGets the handler list for this event.Where the broadcast comes from and what sent it.The players it was sent to.@NotNull BroadcastTypegetType()How it was shown.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
BroadcastSentEvent
public BroadcastSentEvent(@NotNull @NotNull String broadcastId, @NotNull @NotNull BroadcastType type, @NotNull BroadcastDeliverEvent.Origin origin, @NotNull @NotNull Set<UUID> recipients)
-
-
Method Details
-
getBroadcastId
The broadcast's id. -
getType
How it was shown. -
getOrigin
Where the broadcast comes from and what sent it. -
getRecipients
The players it was sent to. -
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()Description copied from class:ZentrixEventGets the handler list for this event.- Overrides:
getHandlersin classZentrixEvent- Returns:
- The handler list
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
-