Begin on planning all of the Websocket events and their data payloads.
This commit is contained in:
parent
b45b0658e3
commit
83934e9c19
2 changed files with 123 additions and 0 deletions
6
server/types.md
Normal file
6
server/types.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
## Player:
|
||||
| Property | Type | Description
|
||||
| -------- | ---- | -----------
|
||||
| name | String | The player's name.
|
||||
| role | String | The player's role. This will be one of `"guesser"` or `"writer"`.
|
||||
| team | Integer | The player's team. This will be one of `1` or `2`
|
||||
Loading…
Add table
Add a link
Reference in a new issue