Add a datapoint for the user ID
This commit is contained in:
parent
7e852e81b2
commit
52bdbc9903
1 changed files with 2 additions and 1 deletions
|
|
@ -5,3 +5,4 @@ This document details the data stored in localStorage and sessionStorage of the
|
||||||
| game-code | String | The current game code the player is in, if this is not set, then they are not in a game
|
| game-code | String | The current game code the player is in, if this is not set, then they are not in a game
|
||||||
| is-host | Boolean | If the player is the host of the game or not.
|
| is-host | Boolean | If the player is the host of the game or not.
|
||||||
| user-name | String | The name of the user in the game.
|
| user-name | String | The name of the user in the game.
|
||||||
|
| user-id | UUID | The user's ID as assigned by the server. This is used to let players re-join games if/when they need to refresh for whatever reason. This is decided by the server and is sent back to the client to ensure the ID is unique across the system.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue