PlayerConnectedPayload
What playerConnected gets: the payload a handler receives.
Definition
Section titled “Definition”type PlayerConnectedPayload = { player: PlayerSnapshot };Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerSnapshot |
The player. |
Related
Section titled “Related”playerConnected: the event