Add documentation for local/session storage keys
This commit is contained in:
parent
b1ce9ebea9
commit
82140af56d
1 changed files with 6 additions and 0 deletions
6
BrowserStorage.md
Normal file
6
BrowserStorage.md
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
This document details the data stored in localStorage and sessionStorage of the browser.
|
||||
|
||||
| Key | Data Type | Description
|
||||
| --------- | --------- | -------------
|
||||
| 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue