Interface: StateFrame<View>
Defined in: protocol.ts:90
The state changed, and this is the player's whole view: sent when the room does not know what the player holds, or when the view is not an object and so cannot be patched.
Type Parameters
| Type Parameter | Default type |
|---|---|
View | unknown |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
t | "state" | Frame type. | protocol.ts:92 |
seq | number | The room's change counter after this change. | protocol.ts:94 |
tick? | number | Ticks run so far. | protocol.ts:96 |
c? | number | As in PatchFrame. | protocol.ts:98 |
state | View | This player's whole view. | protocol.ts:100 |