hytopia 0.6.21 → 0.6.23
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/bun-server.mjs +31 -31
- package/docs/server.player.getpersisteddata.md +3 -3
- package/docs/server.player.setpersisteddata.md +2 -2
- package/node-server.mjs +34 -34
- package/package.json +1 -1
- package/server.api.json +5 -23
- package/server.d.ts +5 -4
@@ -9,15 +9,15 @@ Get the persisted data for the player.
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
getPersistedData():
|
12
|
+
getPersistedData(): Record<string, unknown> | undefined;
|
13
13
|
```
|
14
14
|
**Returns:**
|
15
15
|
|
16
|
-
|
16
|
+
Record<string, unknown> \| undefined
|
17
17
|
|
18
18
|
The persisted data for the player.
|
19
19
|
|
20
20
|
## Remarks
|
21
21
|
|
22
|
-
This method
|
22
|
+
This method returns the player persisted data.
|
23
23
|
|
@@ -9,7 +9,7 @@ Set the persisted data for the player. This data can later be retrieved using [P
|
|
9
9
|
**Signature:**
|
10
10
|
|
11
11
|
```typescript
|
12
|
-
setPersistedData(data: Record<string, unknown>):
|
12
|
+
setPersistedData(data: Record<string, unknown>): Record<string, unknown>;
|
13
13
|
```
|
14
14
|
|
15
15
|
## Parameters
|
@@ -49,7 +49,7 @@ The data to set.
|
|
49
49
|
</tbody></table>
|
50
50
|
**Returns:**
|
51
51
|
|
52
|
-
|
52
|
+
Record<string, unknown>
|
53
53
|
|
54
54
|
The persisted data for the player.
|
55
55
|
|