BaseRoomState interface
Signature:
export interface BaseRoomState extends Schema
Extends: Schema
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
players | MapSchema<PlayerData> | ||
snapshotId | string | ||
timestamp | number |
Methods
Method | Description |
---|---|
addPlayer(player) | |
removePlayer(sessionId) |