hytopia 0.6.22 → 0.6.24

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.
@@ -95,20 +95,6 @@ Description
95
95
  Get global data from the data persistence service.
96
96
 
97
97
 
98
- </td></tr>
99
- <tr><td>
100
-
101
- [getPlayerData(player)](./server.persistencemanager.getplayerdata.md)
102
-
103
-
104
- </td><td>
105
-
106
-
107
- </td><td>
108
-
109
- Get player data from the data persistence service.
110
-
111
-
112
98
  </td></tr>
113
99
  <tr><td>
114
100
 
@@ -123,19 +109,5 @@ Get player data from the data persistence service.
123
109
  Set global data in the data persistence service. This data is available and shared by all lobbies of your game.
124
110
 
125
111
 
126
- </td></tr>
127
- <tr><td>
128
-
129
- [setPlayerData(player, data)](./server.persistencemanager.setplayerdata.md)
130
-
131
-
132
- </td><td>
133
-
134
-
135
- </td><td>
136
-
137
- Set player data in the data persistence service. This data is persisted even after a player disconnects, and is retrievable no matter the lobby for your game that they join.
138
-
139
-
140
112
  </td></tr>
141
113
  </tbody></table>
@@ -9,15 +9,15 @@ Get the persisted data for the player.
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- getPersistedData(): Promise<Record<string, unknown> | void>;
12
+ getPersistedData(): Record<string, unknown> | undefined;
13
13
  ```
14
14
  **Returns:**
15
15
 
16
- Promise&lt;Record&lt;string, unknown&gt; \| void&gt;
16
+ Record&lt;string, unknown&gt; \| undefined
17
17
 
18
18
  The persisted data for the player.
19
19
 
20
20
  ## Remarks
21
21
 
22
- This method is asynchronous and returns a promise that resolves to the player data.
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>): Promise<Record<string, unknown> | void>;
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
- Promise&lt;Record&lt;string, unknown&gt; \| void&gt;
52
+ Record&lt;string, unknown&gt;
53
53
 
54
54
  The persisted data for the player.
55
55