Skip to content

Interface: PresenceFrame ​

Defined in: protocol.ts:133

Someone joined, dropped, came back or left. Either the whole list, in players, or what changed in it since the last frame, in set and gone: a client of version 3 or later is sent whichever is shorter.

Properties ​

PropertyTypeDescriptionDefined in
t"presence"Frame type.protocol.ts:135
players?Player[]Everyone with a seat, in join order. When present, it replaces the list.protocol.ts:137
set?Player[]Players who are new, or whose connected or name changed. One the list has already takes the place of the old entry; a new one goes to the end, in the order given.protocol.ts:143
gone?string[]The ids of players who no longer have a seat.protocol.ts:145

MIT licence. Tickflare is an independent project and is not affiliated with Cloudflare.