Interface: WelcomeFrame<View>
Defined in: protocol.ts:66
First frame on every connection, reconnects included.
Type Parameters
| Type Parameter | Default type |
|---|---|
View | unknown |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
t | "welcome" | Frame type. | protocol.ts:68 |
v | number | The version of the protocol the room speaks on this connection: see PROTOCOL_VERSION. | protocol.ts:70 |
you | string | This player's id. | protocol.ts:72 |
seq | number | The room's change counter. Every later state or patch carries the next one. | protocol.ts:74 |
tick | number | Ticks run so far; 0 in event mode. | protocol.ts:76 |
tickRate | number | Ticks a second; 0 in event mode. | protocol.ts:78 |
state | View | This player's whole view. | protocol.ts:80 |
players | Player[] | Everyone with a seat, in join order. | protocol.ts:82 |