TitleEvent

Types

Link copied to clipboard
class Clear(var reset: Boolean) : TitleEvent
Link copied to clipboard
class Fade(var fadeInTicks: Int, var stayTicks: Int, var fadeOutTicks: Int) : TitleEvent
Link copied to clipboard
class Subtitle(var text: Component?) : TitleEvent.TextContent
Link copied to clipboard
sealed class TextContent : TitleEvent
Link copied to clipboard
class Title(var text: Component?) : TitleEvent.TextContent

Properties

Link copied to clipboard

Let you know if the event is canceled

Link copied to clipboard
Link copied to clipboard

Indicates whether the event should be serialized asynchronously. If set to true, the event will be serialized in a separate thread.

Link copied to clipboard
open val serializer: Gson

Functions

Link copied to clipboard

Allows you to cancel an event