Skip to content

API Interface UIServiceContext

github-actions[bot] edited this page Dec 2, 2026 · 1 revision

Interface: UIServiceContext

Defined in: src/plugins/ui/runtime/uiServices.ts:16

What a service is given when its World first needs it.

Properties

player

readonly player: number;

Defined in: src/plugins/ui/runtime/uiServices.ts:19

The view's player (UIView.player; -1: any) for a per-player service, else -1.


world

readonly world: World;

Defined in: src/plugins/ui/runtime/uiServices.ts:17

Clone this wiki locally