Add NewPlayer event documentation
This commit is contained in:
parent
1fc2cf5405
commit
75ec0f5c82
1 changed files with 17 additions and 0 deletions
|
|
@ -158,6 +158,23 @@ The event sent by the clients when they are selecting an object from the card.
|
||||||
| -------- | ---- | -----------
|
| -------- | ---- | -----------
|
||||||
| object | String | The object that has been selected.
|
| object | String | The object that has been selected.
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
---
|
||||||
|
|
||||||
|
# `NewPlayer`:
|
||||||
|
|
||||||
|
## Description:
|
||||||
|
This is sent by the server when a new player joins the game.
|
||||||
|
|
||||||
|
## Request Payload:
|
||||||
|
This event cannot be requested by the clients.
|
||||||
|
|
||||||
|
## Response Payload: (``)
|
||||||
|
| Property | Type | Description
|
||||||
|
| -------- | ---- | -----------
|
||||||
|
| name | String | The player's name.
|
||||||
|
|
||||||
|
|
||||||
<br><br>
|
<br><br>
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue