LocalAuthorityOptions

interface LocalAuthorityOptions
local.ts:42

Members

playerreadonly

player: () → EntityId | null

worldreadonly

world: () → World

The running world — as an accessor, not a reference.

Loading a save replaces the world wholesale, and a host that captured the reference goes on reporting about the discarded one. That has already happened here once (see openSession, which made world a getter for exactly this reason), so this port takes the same shape rather than relearning it.