Add players.update event documentation
This commit is contained in:
parent
e6293ec30f
commit
0dc55876cf
1 changed files with 19 additions and 2 deletions
|
|
@ -53,6 +53,23 @@ join into it.
|
|||
| Yes | Yes | No
|
||||
|
||||
### Payloads
|
||||
Request Payload: `IGameJoinRequest`
|
||||
Request Payload: `LobbyJoinRequest`
|
||||
|
||||
Response Payload: `IGameJoinResponse`
|
||||
Response Payload: `LobbyJoinResponse`
|
||||
|
||||
---
|
||||
|
||||
## `players.update`
|
||||
Tells the client that the player list has been updated. This event is broadcast
|
||||
when a new player joins the game, or when a player has updated their ship
|
||||
design.
|
||||
|
||||
### Supported Event Types
|
||||
| Request | Response | Broadcasted
|
||||
| ------- | -------- | -----------
|
||||
| No | Yes | Yes
|
||||
|
||||
### Payloads
|
||||
Request Payload: N/A
|
||||
|
||||
Response Payload: `PlayerUpdateResponse`
|
||||
Loading…
Add table
Add a link
Reference in a new issue