Seat
Properties
Section titled “Properties”acted:
Set<number>
the action ids this page sent that the hub took (the last 128): after a reconnect a page’s new action can arrive before the ones it sends again, so “at or below the highest” is not enough to call one a repeat
answers
Section titled “answers”answers:
Map<number, {error?:string;ok:boolean; }>
the last answers this seat was sent, by its own action id: a repeat (sent again after a reconnect) gets the same answer
exactAt
Section titled “exactAt”exactAt:
number
when stateBytes was last counted in full (near the limit that happens at most once a second, see sized)
guest:
boolean
hidden
Section titled “hidden”hidden:
boolean
id:
string
kept:
boolean
restored from a snapshot after a restart: the first welcome says kept (the page carries on in the same match)
key:
string
lastAct
Section titled “lastAct”lastAct:
number
moved?
Section titled “moved?”
optionalmoved?:Map<string, {t:number;v:number; }>
fields with a top speed: the last value let through and its sample time (kept when the field is removed, so null then a far value is no teleport)
name:
string
offlineAt
Section titled “offlineAt”offlineAt:
number
page:
string
the page’s own id (the relay makes one per page): a reconnect of the same page keeps its action count and open actions
prof:
Record<string,unknown> |null
the person’s saved profile once loaded (null = not loaded, or saving is off)
profAt
Section titled “profAt”profAt:
number
profDirty
Section titled “profDirty”profDirty:
boolean
profLoad
Section titled “profLoad”profLoad:
Promise<Record<string,unknown> |null> |null
profV:
number
the save format number of the profile as loaded
session
Section titled “session”session:
Session|null
since:
number
stalled
Section titled “stalled”stalled:
boolean
the host’s game loop stopped reporting (a frozen tab) while its socket stayed open
state:
Record<string,unknown>
stateBytes
Section titled “stateBytes”stateBytes:
number
JSON size of state, kept up to date by each write (an exact count near the limit and every 256 writes)
viewer
Section titled “viewer”viewer:
boolean
came in with a view-only link: may move its own state (a cursor), never act, send effects or host