hytopia 0.10.17 → 0.10.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/boilerplate/assets/map.json +2640 -650
- package/docs/server.player.getpersisteddata.md +1 -1
- package/package.json +1 -1
- package/server.api.json +1 -1
- package/server.d.ts +1 -1
- package/server.mjs +140 -140
@@ -19,5 +19,5 @@ The persisted data for the player.
|
|
19
19
|
|
20
20
|
## Remarks
|
21
21
|
|
22
|
-
This method returns the player persisted data. If it returns undefined, the player data failed to load and your game logic should handle this case appropriately. If it returns an empty object
|
22
|
+
This method returns the player persisted data. If it returns undefined, the player data failed to load and your game logic should handle this case appropriately. If it returns an empty object, the player data loaded successfully but no prior data has been set.
|
23
23
|
|
package/package.json
CHANGED
package/server.api.json
CHANGED
@@ -35578,7 +35578,7 @@
|
|
35578
35578
|
{
|
35579
35579
|
"kind": "Method",
|
35580
35580
|
"canonicalReference": "server!Player#getPersistedData:member(1)",
|
35581
|
-
"docComment": "/**\n * Get the persisted data for the player.\n *\n * @remarks\n *\n * This method returns the player persisted data. If it returns undefined, the player data failed to load and your game logic should handle this case appropriately. If it returns an empty object
|
35581
|
+
"docComment": "/**\n * Get the persisted data for the player.\n *\n * @remarks\n *\n * This method returns the player persisted data. If it returns undefined, the player data failed to load and your game logic should handle this case appropriately. If it returns an empty object, the player data loaded successfully but no prior data has been set.\n *\n * @returns The persisted data for the player.\n */\n",
|
35582
35582
|
"excerptTokens": [
|
35583
35583
|
{
|
35584
35584
|
"kind": "Content",
|
package/server.d.ts
CHANGED
@@ -4407,7 +4407,7 @@ export declare class Player extends EventRouter implements protocol.Serializable
|
|
4407
4407
|
* This method returns the player persisted data. If it returns
|
4408
4408
|
* undefined, the player data failed to load and your game
|
4409
4409
|
* logic should handle this case appropriately. If it returns
|
4410
|
-
* an empty object
|
4410
|
+
* an empty object, the player data loaded successfully but
|
4411
4411
|
* no prior data has been set.
|
4412
4412
|
*
|
4413
4413
|
* @returns The persisted data for the player.
|