-
Notifications
You must be signed in to change notification settings - Fork 13
uncategorized storage
abc edited this page Sep 6, 2024
·
4 revisions
This is the structure that stores storage values.
-
crappy_router: boolean
: Iftrue
, sets a timeout value to10
seconds instead of4
seconds while joining a room. Default value isfalse
. -
player_name: string
: Name of the player. Default value is"abc"
. -
avatar: string
: Avatar of the player. Default value isnull
. -
geo: GeoLocation
: Geolocation of the player. (documentation). Default value is{ lat: 40, lon: 40, flag: "tr" }
.
-
onValueSet(key: string, value: object): void
A callback function that is called just after the value of a key of this object has been changed by this library.
Parameters:
-
key: string
: The key that has just changed. -
value: object
: The new value of the key.
Return value: void.
-