Storage
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
clear() |
|
public |
create(): {"new": boolean, "welcome": boolean, "clientVersion": *, "intensity": number, "player": *, "settings": *} |
|
public |
getPlayer(): * |
|
public |
getSettings(): * |
|
public |
|
|
public |
save() |
|
public |
setPlayer(option: *, value: *) |
|
public |
setSettings(option: *, value: *) |
|
public |
toggleRemember(toggle: *) |
Public Constructors
public constructor() source
Public Methods
public clear() source
public create(): {"new": boolean, "welcome": boolean, "clientVersion": *, "intensity": number, "player": *, "settings": *} source
public loadStorage() source
public save() source
public setPlayer(option: *, value: *) source
Params:
Name | Type | Attribute | Description |
option | * | ||
value | * |
public setSettings(option: *, value: *) source
Params:
Name | Type | Attribute | Description |
option | * | ||
value | * |
public toggleRemember(toggle: *) source
Params:
Name | Type | Attribute | Description |
toggle | * |