Package kr.toxicity.hud.api.update
Interface UpdateEvent
- All Known Implementing Classes:
PopupUpdateEvent
public interface UpdateEvent
Represents the update event of popup.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull ObjectgetKey()Returns the key.@NotNull UpdateReasongetType()Returns update reason of event.default @NotNull UpdateEventsource()Gets a source of this event.
-
Field Details
-
EMPTY
Empty event.
-
-
Method Details
-
getType
Returns update reason of event.- Returns:
- update event
-
getKey
Returns the key. Normally random uuid.- Returns:
- unique key
-
source
Gets a source of this event. You need to call this to get original event, not instance itself.- Returns:
- source
-