StrataUiEvent
Committed lifecycle notifications emitted inside the service's execution owner. Notifications run on the server thread; listener failures never undo committed state. UI identity is scoped to the service and connection. Capability and presentation values are snapshots; player, owner Mod, and session references retain their native ownership.
Inheritors
Types
Link copied to clipboard
data class Closed(val player: ServerPlayer, val owner: ModContainer, val identity: Long, val session: UiSession, val presentation: UiPresentation?, val category: UiCategory?, val reason: UiCloseReason) : StrataUiEvent
Terminal ownership, including rejected openings that never emitted Opened.
Link copied to clipboard
Retirement of a previously ready connection after every UI has closed.
Link copied to clipboard
data class Opened(val player: ServerPlayer, val owner: ModContainer, val identity: Long, val session: UiSession, val presentation: UiPresentation, val category: UiCategory?) : StrataUiEvent
First acknowledged native presentation, including initially hidden HUDs.
Link copied to clipboard
data class PresentationChanged(val player: ServerPlayer, val owner: ModContainer, val identity: Long, val session: UiSession, val previous: UiPresentation, val presentation: UiPresentation, val category: UiCategory?) : StrataUiEvent
Acknowledged transition between distinct presentations of one retained session.
Link copied to clipboard
Successful negotiation, once per connection generation.