Popup

interface Popup : HudObject

Represents popup.

Functions

Link copied to clipboard
@NotNull
open fun getComponentsByType(@NotNull hudPlayer: @NotNull HudPlayer): @NotNull List<WidthComponent>
Link copied to clipboard
@NotNull
abstract fun getGroupName(): @NotNull String
Gets a group name of popup.
Link copied to clipboard
open fun getLastIndex(): Int
Gets a last index of popup.
Link copied to clipboard
abstract fun getMaxStack(): Int
Gets a popup's max stack size
Link copied to clipboard
@NotNull
abstract fun getName(): @NotNull String
Gets an internal name of object.
Link copied to clipboard
@NotNull
abstract fun getType(): @NotNull HudObjectType<out Any>
Gets the type instance.
Link copied to clipboard
open fun hide(@NotNull hudPlayer: @NotNull HudPlayer): Boolean
Hides popup to some hudPlayer.
Link copied to clipboard
abstract fun isDefault(): Boolean
Returns this object is default object or not.
Link copied to clipboard
@Nullable
abstract fun show(@NotNull reason: @NotNull UpdateEvent, @NotNull hudPlayer: @NotNull HudPlayer): @Nullable PopupUpdater
Shows popup to some hudPlayer.