From 52bdbc9903ec8c07268c4b2abc44bba22628399b Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Tue, 20 Oct 2020 22:46:43 -0600 Subject: [PATCH] Add a datapoint for the user ID --- BrowserStorage.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BrowserStorage.md b/BrowserStorage.md index 896663e..5c02772 100644 --- a/BrowserStorage.md +++ b/BrowserStorage.md @@ -4,4 +4,5 @@ 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 | 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. \ No newline at end of file +| 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. \ No newline at end of file