Package-level declarations

Types

Link copied to clipboard
class StrataClientDisconnectedEvent(val player: Player, val reason: UiCloseReason)

A previously ready Strata connection has ended; all its UIs are already terminal. Delivered by Velocity's event manager without blocking the UI worker. Notification only. Queue session access and state changes through VelocityUi.execute; event fields are detached snapshots.

Link copied to clipboard
class StrataClientReadyEvent(val player: Player, val capabilities: UiClientCapabilities)

Successful client negotiation. Emitted once per connection generation. Delivered by Velocity's event manager without blocking the UI worker. Notification only. Queue session access and state changes through VelocityUi.execute; event fields are detached snapshots.

Link copied to clipboard
class StrataUiClosedEvent(val player: Player, val ownerPlugin: Any, val identity: Long, val session: UiSession, val presentation: UiPresentation?, val category: UiCategory?, val reason: UiCloseReason)

UI ownership has ended, including failed opening. Emitted once; the session cannot reopen. Delivered by Velocity's event manager without blocking the UI worker. Notification only. Queue session access and state changes through VelocityUi.execute; event fields are detached snapshots.

Link copied to clipboard
class StrataUiOpenedEvent(val player: Player, val ownerPlugin: Any, val identity: Long, val session: UiSession, val presentation: UiPresentation, val category: UiCategory?)

The client acknowledged the first native presentation. This does not certify a rendered frame. Delivered by Velocity's event manager without blocking the UI worker. Notification only. Queue session access and state changes through VelocityUi.execute; event fields are detached snapshots.

Link copied to clipboard
class StrataUiPresentationChangedEvent(val player: Player, val ownerPlugin: Any, val identity: Long, val session: UiSession, val previous: UiPresentation, val presentation: UiPresentation, val category: UiCategory?)

The client acknowledged a different presentation for the same retained UI. Delivered by Velocity's event manager without blocking the UI worker. Notification only. Queue session access and state changes through VelocityUi.execute; event fields are detached snapshots.