hytopia 0.8.6-devtrace-1 → 0.8.6-devtrace-allocs
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 +168 -166
- package/docs/server.array3number.md +13 -0
- package/docs/server.array4number.md +13 -0
- package/docs/server.audiomanager.getallaudios.md +38 -1
- package/docs/server.audiomanager.getallentityattachedaudios.md +17 -1
- package/docs/server.audiomanager.getallloopedaudios.md +38 -1
- package/docs/server.audiomanager.getalloneshotaudios.md +38 -1
- package/docs/server.audiomanager.md +4 -4
- package/docs/server.blocktype._constructor_.md +15 -1
- package/docs/server.blocktype.blocktyperegistry.md +13 -0
- package/docs/server.blocktype.md +22 -1
- package/docs/server.blocktyperegistry.getallblocktypes.md +38 -1
- package/docs/server.blocktyperegistry.md +1 -1
- package/docs/server.chunk._constructor_.md +15 -1
- package/docs/server.chunk.chunklattice.md +13 -0
- package/docs/server.chunk.md +22 -1
- package/docs/server.chunklattice.getallchunks.md +38 -1
- package/docs/server.chunklattice.md +22 -1
- package/docs/server.chunklattice.world.md +13 -0
- package/docs/server.chunklatticeevent.md +14 -0
- package/docs/server.chunklatticeeventpayloads._chunk_lattice.add_chunk_.md +16 -0
- package/docs/server.chunklatticeeventpayloads.md +19 -0
- package/docs/server.entitymanager.getallentities.md +38 -1
- package/docs/server.entitymanager.md +1 -1
- package/docs/server.lightmanager.getalllights.md +38 -1
- package/docs/server.lightmanager.md +1 -1
- package/docs/server.md +67 -1
- package/docs/server.particleemitter.burst.md +54 -0
- package/docs/server.particleemitter.md +14 -0
- package/docs/server.particleemitterevent.md +14 -0
- package/docs/server.particleemittereventpayloads._particle_emitter.burst_.md +16 -0
- package/docs/server.particleemittereventpayloads.md +19 -0
- package/docs/server.particleemittermanager.getallparticleemitters.md +38 -1
- package/docs/server.particleemittermanager.md +1 -1
- package/docs/server.rgbcolor.md +1 -1
- package/docs/server.sceneuimanager.getallsceneuis.md +38 -1
- package/docs/server.sceneuimanager.md +1 -1
- package/docs/server.telemetry.getprocessstats.md +56 -0
- package/docs/server.telemetry.initializesentry.md +74 -0
- package/docs/server.telemetry.md +126 -0
- package/docs/server.telemetry.sentry.md +23 -0
- package/docs/server.telemetry.startspan.md +91 -0
- package/docs/server.telemetryspanoperation.md +258 -0
- package/docs/server.telemetryspanoptions.md +18 -0
- package/docs/server.tickallocator.filter.md +72 -0
- package/docs/server.tickallocator.getarray.md +72 -0
- package/docs/server.tickallocator.getarray3number.md +56 -0
- package/docs/server.tickallocator.getarray4number.md +56 -0
- package/docs/server.tickallocator.getobject.md +72 -0
- package/docs/server.tickallocator.getset.md +72 -0
- package/docs/server.tickallocator.map.md +72 -0
- package/docs/server.tickallocator.md +163 -0
- package/docs/server.tickallocator.reset.md +17 -0
- package/docs/server.world.md +21 -0
- package/docs/server.world.tickallocator.md +13 -0
- package/node-server.mjs +173 -171
- package/package.json +1 -1
- package/server.api.json +2175 -312
- package/server.d.ts +328 -32
package/server.api.json
CHANGED
|
@@ -173,6 +173,58 @@
|
|
|
173
173
|
"name": "",
|
|
174
174
|
"preserveMemberOrder": false,
|
|
175
175
|
"members": [
|
|
176
|
+
{
|
|
177
|
+
"kind": "TypeAlias",
|
|
178
|
+
"canonicalReference": "server!Array3Number:type",
|
|
179
|
+
"docComment": "/**\n * A 3-element number array.\n *\n * @public\n */\n",
|
|
180
|
+
"excerptTokens": [
|
|
181
|
+
{
|
|
182
|
+
"kind": "Content",
|
|
183
|
+
"text": "export type Array3Number = "
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"kind": "Content",
|
|
187
|
+
"text": "[number, number, number]"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"kind": "Content",
|
|
191
|
+
"text": ";"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"fileUrlPath": "src/shared/classes/TickAllocator.ts",
|
|
195
|
+
"releaseTag": "Public",
|
|
196
|
+
"name": "Array3Number",
|
|
197
|
+
"typeTokenRange": {
|
|
198
|
+
"startIndex": 1,
|
|
199
|
+
"endIndex": 2
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"kind": "TypeAlias",
|
|
204
|
+
"canonicalReference": "server!Array4Number:type",
|
|
205
|
+
"docComment": "/**\n * A 4-element number array.\n *\n * @public\n */\n",
|
|
206
|
+
"excerptTokens": [
|
|
207
|
+
{
|
|
208
|
+
"kind": "Content",
|
|
209
|
+
"text": "export type Array4Number = "
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"kind": "Content",
|
|
213
|
+
"text": "[number, number, number, number]"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"kind": "Content",
|
|
217
|
+
"text": ";"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"fileUrlPath": "src/shared/classes/TickAllocator.ts",
|
|
221
|
+
"releaseTag": "Public",
|
|
222
|
+
"name": "Array4Number",
|
|
223
|
+
"typeTokenRange": {
|
|
224
|
+
"startIndex": 1,
|
|
225
|
+
"endIndex": 2
|
|
226
|
+
}
|
|
227
|
+
},
|
|
176
228
|
{
|
|
177
229
|
"kind": "Class",
|
|
178
230
|
"canonicalReference": "server!Audio:class",
|
|
@@ -2087,11 +2139,19 @@
|
|
|
2087
2139
|
{
|
|
2088
2140
|
"kind": "Method",
|
|
2089
2141
|
"canonicalReference": "server!AudioManager#getAllAudios:member(1)",
|
|
2090
|
-
"docComment": "/**\n * Retrieves all loaded audio instances for the world.\n *\n * @returns An array of audio instances.\n */\n",
|
|
2142
|
+
"docComment": "/**\n * Retrieves all loaded audio instances for the world.\n *\n * @param tickAllocated - If true, uses the tick allocator and frees the allocated array at the end of the current tick. false by default.\n *\n * @returns An array of audio instances.\n */\n",
|
|
2091
2143
|
"excerptTokens": [
|
|
2092
2144
|
{
|
|
2093
2145
|
"kind": "Content",
|
|
2094
|
-
"text": "getAllAudios(
|
|
2146
|
+
"text": "getAllAudios(tickAllocated?: "
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"kind": "Content",
|
|
2150
|
+
"text": "boolean"
|
|
2151
|
+
},
|
|
2152
|
+
{
|
|
2153
|
+
"kind": "Content",
|
|
2154
|
+
"text": "): "
|
|
2095
2155
|
},
|
|
2096
2156
|
{
|
|
2097
2157
|
"kind": "Reference",
|
|
@@ -2109,13 +2169,22 @@
|
|
|
2109
2169
|
],
|
|
2110
2170
|
"isStatic": false,
|
|
2111
2171
|
"returnTypeTokenRange": {
|
|
2112
|
-
"startIndex":
|
|
2113
|
-
"endIndex":
|
|
2172
|
+
"startIndex": 3,
|
|
2173
|
+
"endIndex": 5
|
|
2114
2174
|
},
|
|
2115
2175
|
"releaseTag": "Public",
|
|
2116
2176
|
"isProtected": false,
|
|
2117
2177
|
"overloadIndex": 1,
|
|
2118
|
-
"parameters": [
|
|
2178
|
+
"parameters": [
|
|
2179
|
+
{
|
|
2180
|
+
"parameterName": "tickAllocated",
|
|
2181
|
+
"parameterTypeTokenRange": {
|
|
2182
|
+
"startIndex": 1,
|
|
2183
|
+
"endIndex": 2
|
|
2184
|
+
},
|
|
2185
|
+
"isOptional": true
|
|
2186
|
+
}
|
|
2187
|
+
],
|
|
2119
2188
|
"isOptional": false,
|
|
2120
2189
|
"isAbstract": false,
|
|
2121
2190
|
"name": "getAllAudios"
|
|
@@ -2123,7 +2192,7 @@
|
|
|
2123
2192
|
{
|
|
2124
2193
|
"kind": "Method",
|
|
2125
2194
|
"canonicalReference": "server!AudioManager#getAllEntityAttachedAudios:member(1)",
|
|
2126
|
-
"docComment": "/**\n * Retrieves all loaded audio instances attached to a specific entity.\n *\n * @param entity - The entity to get attached audio instances for.\n *\n * @returns An array of audio instances.\n */\n",
|
|
2195
|
+
"docComment": "/**\n * Retrieves all loaded audio instances attached to a specific entity.\n *\n * @param entity - The entity to get attached audio instances for.\n *\n * @param tickAllocated - If true, uses the tick allocator and frees the allocated array at the end of the current tick. false by default.\n *\n * @returns An array of audio instances.\n */\n",
|
|
2127
2196
|
"excerptTokens": [
|
|
2128
2197
|
{
|
|
2129
2198
|
"kind": "Content",
|
|
@@ -2134,6 +2203,14 @@
|
|
|
2134
2203
|
"text": "Entity",
|
|
2135
2204
|
"canonicalReference": "server!Entity:class"
|
|
2136
2205
|
},
|
|
2206
|
+
{
|
|
2207
|
+
"kind": "Content",
|
|
2208
|
+
"text": ", tickAllocated?: "
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
"kind": "Content",
|
|
2212
|
+
"text": "boolean"
|
|
2213
|
+
},
|
|
2137
2214
|
{
|
|
2138
2215
|
"kind": "Content",
|
|
2139
2216
|
"text": "): "
|
|
@@ -2154,8 +2231,8 @@
|
|
|
2154
2231
|
],
|
|
2155
2232
|
"isStatic": false,
|
|
2156
2233
|
"returnTypeTokenRange": {
|
|
2157
|
-
"startIndex":
|
|
2158
|
-
"endIndex":
|
|
2234
|
+
"startIndex": 5,
|
|
2235
|
+
"endIndex": 7
|
|
2159
2236
|
},
|
|
2160
2237
|
"releaseTag": "Public",
|
|
2161
2238
|
"isProtected": false,
|
|
@@ -2168,6 +2245,14 @@
|
|
|
2168
2245
|
"endIndex": 2
|
|
2169
2246
|
},
|
|
2170
2247
|
"isOptional": false
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"parameterName": "tickAllocated",
|
|
2251
|
+
"parameterTypeTokenRange": {
|
|
2252
|
+
"startIndex": 3,
|
|
2253
|
+
"endIndex": 4
|
|
2254
|
+
},
|
|
2255
|
+
"isOptional": true
|
|
2171
2256
|
}
|
|
2172
2257
|
],
|
|
2173
2258
|
"isOptional": false,
|
|
@@ -2177,11 +2262,19 @@
|
|
|
2177
2262
|
{
|
|
2178
2263
|
"kind": "Method",
|
|
2179
2264
|
"canonicalReference": "server!AudioManager#getAllLoopedAudios:member(1)",
|
|
2180
|
-
"docComment": "/**\n * Retrieves all looped audio instances for the world.\n *\n * @returns An array of audio instances.\n */\n",
|
|
2265
|
+
"docComment": "/**\n * Retrieves all looped audio instances for the world.\n *\n * @param tickAllocated - If true, uses the tick allocator and frees the allocated array at the end of the current tick. false by default.\n *\n * @returns An array of audio instances.\n */\n",
|
|
2181
2266
|
"excerptTokens": [
|
|
2182
2267
|
{
|
|
2183
2268
|
"kind": "Content",
|
|
2184
|
-
"text": "getAllLoopedAudios(
|
|
2269
|
+
"text": "getAllLoopedAudios(tickAllocated?: "
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
"kind": "Content",
|
|
2273
|
+
"text": "boolean"
|
|
2274
|
+
},
|
|
2275
|
+
{
|
|
2276
|
+
"kind": "Content",
|
|
2277
|
+
"text": "): "
|
|
2185
2278
|
},
|
|
2186
2279
|
{
|
|
2187
2280
|
"kind": "Reference",
|
|
@@ -2199,13 +2292,22 @@
|
|
|
2199
2292
|
],
|
|
2200
2293
|
"isStatic": false,
|
|
2201
2294
|
"returnTypeTokenRange": {
|
|
2202
|
-
"startIndex":
|
|
2203
|
-
"endIndex":
|
|
2295
|
+
"startIndex": 3,
|
|
2296
|
+
"endIndex": 5
|
|
2204
2297
|
},
|
|
2205
2298
|
"releaseTag": "Public",
|
|
2206
2299
|
"isProtected": false,
|
|
2207
2300
|
"overloadIndex": 1,
|
|
2208
|
-
"parameters": [
|
|
2301
|
+
"parameters": [
|
|
2302
|
+
{
|
|
2303
|
+
"parameterName": "tickAllocated",
|
|
2304
|
+
"parameterTypeTokenRange": {
|
|
2305
|
+
"startIndex": 1,
|
|
2306
|
+
"endIndex": 2
|
|
2307
|
+
},
|
|
2308
|
+
"isOptional": true
|
|
2309
|
+
}
|
|
2310
|
+
],
|
|
2209
2311
|
"isOptional": false,
|
|
2210
2312
|
"isAbstract": false,
|
|
2211
2313
|
"name": "getAllLoopedAudios"
|
|
@@ -2213,11 +2315,19 @@
|
|
|
2213
2315
|
{
|
|
2214
2316
|
"kind": "Method",
|
|
2215
2317
|
"canonicalReference": "server!AudioManager#getAllOneshotAudios:member(1)",
|
|
2216
|
-
"docComment": "/**\n * Retrieves all oneshot (non-looped) audio instances for the world.\n *\n * @returns An array of audio instances.\n */\n",
|
|
2318
|
+
"docComment": "/**\n * Retrieves all oneshot (non-looped) audio instances for the world.\n *\n * @param tickAllocated - If true, uses the tick allocator and frees the allocated array at the end of the current tick. false by default.\n *\n * @returns An array of audio instances.\n */\n",
|
|
2217
2319
|
"excerptTokens": [
|
|
2218
2320
|
{
|
|
2219
2321
|
"kind": "Content",
|
|
2220
|
-
"text": "getAllOneshotAudios(
|
|
2322
|
+
"text": "getAllOneshotAudios(tickAllocated?: "
|
|
2323
|
+
},
|
|
2324
|
+
{
|
|
2325
|
+
"kind": "Content",
|
|
2326
|
+
"text": "boolean"
|
|
2327
|
+
},
|
|
2328
|
+
{
|
|
2329
|
+
"kind": "Content",
|
|
2330
|
+
"text": "): "
|
|
2221
2331
|
},
|
|
2222
2332
|
{
|
|
2223
2333
|
"kind": "Reference",
|
|
@@ -2235,13 +2345,22 @@
|
|
|
2235
2345
|
],
|
|
2236
2346
|
"isStatic": false,
|
|
2237
2347
|
"returnTypeTokenRange": {
|
|
2238
|
-
"startIndex":
|
|
2239
|
-
"endIndex":
|
|
2348
|
+
"startIndex": 3,
|
|
2349
|
+
"endIndex": 5
|
|
2240
2350
|
},
|
|
2241
2351
|
"releaseTag": "Public",
|
|
2242
2352
|
"isProtected": false,
|
|
2243
2353
|
"overloadIndex": 1,
|
|
2244
|
-
"parameters": [
|
|
2354
|
+
"parameters": [
|
|
2355
|
+
{
|
|
2356
|
+
"parameterName": "tickAllocated",
|
|
2357
|
+
"parameterTypeTokenRange": {
|
|
2358
|
+
"startIndex": 1,
|
|
2359
|
+
"endIndex": 2
|
|
2360
|
+
},
|
|
2361
|
+
"isOptional": true
|
|
2362
|
+
}
|
|
2363
|
+
],
|
|
2245
2364
|
"isOptional": false,
|
|
2246
2365
|
"isAbstract": false,
|
|
2247
2366
|
"name": "getAllOneshotAudios"
|
|
@@ -4910,7 +5029,16 @@
|
|
|
4910
5029
|
"excerptTokens": [
|
|
4911
5030
|
{
|
|
4912
5031
|
"kind": "Content",
|
|
4913
|
-
"text": "constructor(
|
|
5032
|
+
"text": "constructor(blockTypeRegistry: "
|
|
5033
|
+
},
|
|
5034
|
+
{
|
|
5035
|
+
"kind": "Reference",
|
|
5036
|
+
"text": "BlockTypeRegistry",
|
|
5037
|
+
"canonicalReference": "server!BlockTypeRegistry:class"
|
|
5038
|
+
},
|
|
5039
|
+
{
|
|
5040
|
+
"kind": "Content",
|
|
5041
|
+
"text": ", options?: "
|
|
4914
5042
|
},
|
|
4915
5043
|
{
|
|
4916
5044
|
"kind": "Reference",
|
|
@@ -4927,15 +5055,54 @@
|
|
|
4927
5055
|
"overloadIndex": 1,
|
|
4928
5056
|
"parameters": [
|
|
4929
5057
|
{
|
|
4930
|
-
"parameterName": "
|
|
5058
|
+
"parameterName": "blockTypeRegistry",
|
|
4931
5059
|
"parameterTypeTokenRange": {
|
|
4932
5060
|
"startIndex": 1,
|
|
4933
5061
|
"endIndex": 2
|
|
4934
5062
|
},
|
|
5063
|
+
"isOptional": false
|
|
5064
|
+
},
|
|
5065
|
+
{
|
|
5066
|
+
"parameterName": "options",
|
|
5067
|
+
"parameterTypeTokenRange": {
|
|
5068
|
+
"startIndex": 3,
|
|
5069
|
+
"endIndex": 4
|
|
5070
|
+
},
|
|
4935
5071
|
"isOptional": true
|
|
4936
5072
|
}
|
|
4937
5073
|
]
|
|
4938
5074
|
},
|
|
5075
|
+
{
|
|
5076
|
+
"kind": "Property",
|
|
5077
|
+
"canonicalReference": "server!BlockType#blockTypeRegistry:member",
|
|
5078
|
+
"docComment": "/**\n * The block type registry that the block type belongs to.\n */\n",
|
|
5079
|
+
"excerptTokens": [
|
|
5080
|
+
{
|
|
5081
|
+
"kind": "Content",
|
|
5082
|
+
"text": "get blockTypeRegistry(): "
|
|
5083
|
+
},
|
|
5084
|
+
{
|
|
5085
|
+
"kind": "Reference",
|
|
5086
|
+
"text": "BlockTypeRegistry",
|
|
5087
|
+
"canonicalReference": "server!BlockTypeRegistry:class"
|
|
5088
|
+
},
|
|
5089
|
+
{
|
|
5090
|
+
"kind": "Content",
|
|
5091
|
+
"text": ";"
|
|
5092
|
+
}
|
|
5093
|
+
],
|
|
5094
|
+
"isReadonly": true,
|
|
5095
|
+
"isOptional": false,
|
|
5096
|
+
"releaseTag": "Public",
|
|
5097
|
+
"name": "blockTypeRegistry",
|
|
5098
|
+
"propertyTypeTokenRange": {
|
|
5099
|
+
"startIndex": 1,
|
|
5100
|
+
"endIndex": 2
|
|
5101
|
+
},
|
|
5102
|
+
"isStatic": false,
|
|
5103
|
+
"isProtected": false,
|
|
5104
|
+
"isAbstract": false
|
|
5105
|
+
},
|
|
4939
5106
|
{
|
|
4940
5107
|
"kind": "Property",
|
|
4941
5108
|
"canonicalReference": "server!BlockType#colliderOptions:member",
|
|
@@ -5604,11 +5771,19 @@
|
|
|
5604
5771
|
{
|
|
5605
5772
|
"kind": "Method",
|
|
5606
5773
|
"canonicalReference": "server!BlockTypeRegistry#getAllBlockTypes:member(1)",
|
|
5607
|
-
"docComment": "/**\n * Get all registered block types.\n *\n * @returns An array of all registered block types.\n */\n",
|
|
5774
|
+
"docComment": "/**\n * Get all registered block types.\n *\n * @param tickAllocated - Whether to use the tick allocator to allocate the returned array of BlockType instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.\n *\n * @returns An array of all registered block types.\n */\n",
|
|
5608
5775
|
"excerptTokens": [
|
|
5609
5776
|
{
|
|
5610
5777
|
"kind": "Content",
|
|
5611
|
-
"text": "getAllBlockTypes(
|
|
5778
|
+
"text": "getAllBlockTypes(tickAllocated?: "
|
|
5779
|
+
},
|
|
5780
|
+
{
|
|
5781
|
+
"kind": "Content",
|
|
5782
|
+
"text": "boolean"
|
|
5783
|
+
},
|
|
5784
|
+
{
|
|
5785
|
+
"kind": "Content",
|
|
5786
|
+
"text": "): "
|
|
5612
5787
|
},
|
|
5613
5788
|
{
|
|
5614
5789
|
"kind": "Reference",
|
|
@@ -5626,13 +5801,22 @@
|
|
|
5626
5801
|
],
|
|
5627
5802
|
"isStatic": false,
|
|
5628
5803
|
"returnTypeTokenRange": {
|
|
5629
|
-
"startIndex":
|
|
5630
|
-
"endIndex":
|
|
5804
|
+
"startIndex": 3,
|
|
5805
|
+
"endIndex": 5
|
|
5631
5806
|
},
|
|
5632
5807
|
"releaseTag": "Public",
|
|
5633
5808
|
"isProtected": false,
|
|
5634
5809
|
"overloadIndex": 1,
|
|
5635
|
-
"parameters": [
|
|
5810
|
+
"parameters": [
|
|
5811
|
+
{
|
|
5812
|
+
"parameterName": "tickAllocated",
|
|
5813
|
+
"parameterTypeTokenRange": {
|
|
5814
|
+
"startIndex": 1,
|
|
5815
|
+
"endIndex": 2
|
|
5816
|
+
},
|
|
5817
|
+
"isOptional": true
|
|
5818
|
+
}
|
|
5819
|
+
],
|
|
5636
5820
|
"isOptional": false,
|
|
5637
5821
|
"isAbstract": false,
|
|
5638
5822
|
"name": "getAllBlockTypes"
|
|
@@ -6541,7 +6725,16 @@
|
|
|
6541
6725
|
"excerptTokens": [
|
|
6542
6726
|
{
|
|
6543
6727
|
"kind": "Content",
|
|
6544
|
-
"text": "constructor(
|
|
6728
|
+
"text": "constructor(chunkLattice: "
|
|
6729
|
+
},
|
|
6730
|
+
{
|
|
6731
|
+
"kind": "Reference",
|
|
6732
|
+
"text": "ChunkLattice",
|
|
6733
|
+
"canonicalReference": "server!ChunkLattice:class"
|
|
6734
|
+
},
|
|
6735
|
+
{
|
|
6736
|
+
"kind": "Content",
|
|
6737
|
+
"text": ", originCoordinate: "
|
|
6545
6738
|
},
|
|
6546
6739
|
{
|
|
6547
6740
|
"kind": "Reference",
|
|
@@ -6558,12 +6751,20 @@
|
|
|
6558
6751
|
"overloadIndex": 1,
|
|
6559
6752
|
"parameters": [
|
|
6560
6753
|
{
|
|
6561
|
-
"parameterName": "
|
|
6754
|
+
"parameterName": "chunkLattice",
|
|
6562
6755
|
"parameterTypeTokenRange": {
|
|
6563
6756
|
"startIndex": 1,
|
|
6564
6757
|
"endIndex": 2
|
|
6565
6758
|
},
|
|
6566
6759
|
"isOptional": false
|
|
6760
|
+
},
|
|
6761
|
+
{
|
|
6762
|
+
"parameterName": "originCoordinate",
|
|
6763
|
+
"parameterTypeTokenRange": {
|
|
6764
|
+
"startIndex": 3,
|
|
6765
|
+
"endIndex": 4
|
|
6766
|
+
},
|
|
6767
|
+
"isOptional": false
|
|
6567
6768
|
}
|
|
6568
6769
|
]
|
|
6569
6770
|
},
|
|
@@ -6660,6 +6861,37 @@
|
|
|
6660
6861
|
"isProtected": false,
|
|
6661
6862
|
"isAbstract": false
|
|
6662
6863
|
},
|
|
6864
|
+
{
|
|
6865
|
+
"kind": "Property",
|
|
6866
|
+
"canonicalReference": "server!Chunk#chunkLattice:member",
|
|
6867
|
+
"docComment": "/**\n * The chunk lattice that the chunk belongs to.\n */\n",
|
|
6868
|
+
"excerptTokens": [
|
|
6869
|
+
{
|
|
6870
|
+
"kind": "Content",
|
|
6871
|
+
"text": "get chunkLattice(): "
|
|
6872
|
+
},
|
|
6873
|
+
{
|
|
6874
|
+
"kind": "Reference",
|
|
6875
|
+
"text": "ChunkLattice",
|
|
6876
|
+
"canonicalReference": "server!ChunkLattice:class"
|
|
6877
|
+
},
|
|
6878
|
+
{
|
|
6879
|
+
"kind": "Content",
|
|
6880
|
+
"text": ";"
|
|
6881
|
+
}
|
|
6882
|
+
],
|
|
6883
|
+
"isReadonly": true,
|
|
6884
|
+
"isOptional": false,
|
|
6885
|
+
"releaseTag": "Public",
|
|
6886
|
+
"name": "chunkLattice",
|
|
6887
|
+
"propertyTypeTokenRange": {
|
|
6888
|
+
"startIndex": 1,
|
|
6889
|
+
"endIndex": 2
|
|
6890
|
+
},
|
|
6891
|
+
"isStatic": false,
|
|
6892
|
+
"isProtected": false,
|
|
6893
|
+
"isAbstract": false
|
|
6894
|
+
},
|
|
6663
6895
|
{
|
|
6664
6896
|
"kind": "Method",
|
|
6665
6897
|
"canonicalReference": "server!Chunk#getBlockId:member(1)",
|
|
@@ -7019,11 +7251,19 @@
|
|
|
7019
7251
|
{
|
|
7020
7252
|
"kind": "Method",
|
|
7021
7253
|
"canonicalReference": "server!ChunkLattice#getAllChunks:member(1)",
|
|
7022
|
-
"docComment": "/**\n * Get all chunks in the lattice.\n *\n * @returns An array of all chunks in the lattice.\n */\n",
|
|
7254
|
+
"docComment": "/**\n * Get all chunks in the lattice.\n *\n * @param tickAllocated - Whether to use the tick allocator to allocate the returned array of Chunk instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.\n *\n * @returns An array of all chunks in the lattice.\n */\n",
|
|
7023
7255
|
"excerptTokens": [
|
|
7024
7256
|
{
|
|
7025
7257
|
"kind": "Content",
|
|
7026
|
-
"text": "getAllChunks(
|
|
7258
|
+
"text": "getAllChunks(tickAllocated?: "
|
|
7259
|
+
},
|
|
7260
|
+
{
|
|
7261
|
+
"kind": "Content",
|
|
7262
|
+
"text": "boolean"
|
|
7263
|
+
},
|
|
7264
|
+
{
|
|
7265
|
+
"kind": "Content",
|
|
7266
|
+
"text": "): "
|
|
7027
7267
|
},
|
|
7028
7268
|
{
|
|
7029
7269
|
"kind": "Reference",
|
|
@@ -7041,13 +7281,22 @@
|
|
|
7041
7281
|
],
|
|
7042
7282
|
"isStatic": false,
|
|
7043
7283
|
"returnTypeTokenRange": {
|
|
7044
|
-
"startIndex":
|
|
7045
|
-
"endIndex":
|
|
7284
|
+
"startIndex": 3,
|
|
7285
|
+
"endIndex": 5
|
|
7046
7286
|
},
|
|
7047
7287
|
"releaseTag": "Public",
|
|
7048
7288
|
"isProtected": false,
|
|
7049
7289
|
"overloadIndex": 1,
|
|
7050
|
-
"parameters": [
|
|
7290
|
+
"parameters": [
|
|
7291
|
+
{
|
|
7292
|
+
"parameterName": "tickAllocated",
|
|
7293
|
+
"parameterTypeTokenRange": {
|
|
7294
|
+
"startIndex": 1,
|
|
7295
|
+
"endIndex": 2
|
|
7296
|
+
},
|
|
7297
|
+
"isOptional": true
|
|
7298
|
+
}
|
|
7299
|
+
],
|
|
7051
7300
|
"isOptional": false,
|
|
7052
7301
|
"isAbstract": false,
|
|
7053
7302
|
"name": "getAllChunks"
|
|
@@ -7469,6 +7718,37 @@
|
|
|
7469
7718
|
"isOptional": false,
|
|
7470
7719
|
"isAbstract": false,
|
|
7471
7720
|
"name": "setBlock"
|
|
7721
|
+
},
|
|
7722
|
+
{
|
|
7723
|
+
"kind": "Property",
|
|
7724
|
+
"canonicalReference": "server!ChunkLattice#world:member",
|
|
7725
|
+
"docComment": "/**\n * The world that the chunk lattice belongs to.\n */\n",
|
|
7726
|
+
"excerptTokens": [
|
|
7727
|
+
{
|
|
7728
|
+
"kind": "Content",
|
|
7729
|
+
"text": "get world(): "
|
|
7730
|
+
},
|
|
7731
|
+
{
|
|
7732
|
+
"kind": "Reference",
|
|
7733
|
+
"text": "World",
|
|
7734
|
+
"canonicalReference": "server!World:class"
|
|
7735
|
+
},
|
|
7736
|
+
{
|
|
7737
|
+
"kind": "Content",
|
|
7738
|
+
"text": ";"
|
|
7739
|
+
}
|
|
7740
|
+
],
|
|
7741
|
+
"isReadonly": true,
|
|
7742
|
+
"isOptional": false,
|
|
7743
|
+
"releaseTag": "Public",
|
|
7744
|
+
"name": "world",
|
|
7745
|
+
"propertyTypeTokenRange": {
|
|
7746
|
+
"startIndex": 1,
|
|
7747
|
+
"endIndex": 2
|
|
7748
|
+
},
|
|
7749
|
+
"isStatic": false,
|
|
7750
|
+
"isProtected": false,
|
|
7751
|
+
"isAbstract": false
|
|
7472
7752
|
}
|
|
7473
7753
|
],
|
|
7474
7754
|
"extendsTokenRange": {
|
|
@@ -7492,6 +7772,27 @@
|
|
|
7492
7772
|
"name": "ChunkLatticeEvent",
|
|
7493
7773
|
"preserveMemberOrder": false,
|
|
7494
7774
|
"members": [
|
|
7775
|
+
{
|
|
7776
|
+
"kind": "EnumMember",
|
|
7777
|
+
"canonicalReference": "server!ChunkLatticeEvent.ADD_CHUNK:member",
|
|
7778
|
+
"docComment": "",
|
|
7779
|
+
"excerptTokens": [
|
|
7780
|
+
{
|
|
7781
|
+
"kind": "Content",
|
|
7782
|
+
"text": "ADD_CHUNK = "
|
|
7783
|
+
},
|
|
7784
|
+
{
|
|
7785
|
+
"kind": "Content",
|
|
7786
|
+
"text": "\"CHUNK_LATTICE.ADD_CHUNK\""
|
|
7787
|
+
}
|
|
7788
|
+
],
|
|
7789
|
+
"initializerTokenRange": {
|
|
7790
|
+
"startIndex": 1,
|
|
7791
|
+
"endIndex": 2
|
|
7792
|
+
},
|
|
7793
|
+
"releaseTag": "Public",
|
|
7794
|
+
"name": "ADD_CHUNK"
|
|
7795
|
+
},
|
|
7495
7796
|
{
|
|
7496
7797
|
"kind": "EnumMember",
|
|
7497
7798
|
"canonicalReference": "server!ChunkLatticeEvent.REMOVE_CHUNK:member",
|
|
@@ -7551,6 +7852,60 @@
|
|
|
7551
7852
|
"name": "ChunkLatticeEventPayloads",
|
|
7552
7853
|
"preserveMemberOrder": false,
|
|
7553
7854
|
"members": [
|
|
7855
|
+
{
|
|
7856
|
+
"kind": "PropertySignature",
|
|
7857
|
+
"canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.ADD_CHUNK\":member",
|
|
7858
|
+
"docComment": "/**\n * Emitted when a chunk is added to the lattice.\n */\n",
|
|
7859
|
+
"excerptTokens": [
|
|
7860
|
+
{
|
|
7861
|
+
"kind": "Content",
|
|
7862
|
+
"text": "["
|
|
7863
|
+
},
|
|
7864
|
+
{
|
|
7865
|
+
"kind": "Reference",
|
|
7866
|
+
"text": "ChunkLatticeEvent.ADD_CHUNK",
|
|
7867
|
+
"canonicalReference": "server!ChunkLatticeEvent.ADD_CHUNK:member"
|
|
7868
|
+
},
|
|
7869
|
+
{
|
|
7870
|
+
"kind": "Content",
|
|
7871
|
+
"text": "]: "
|
|
7872
|
+
},
|
|
7873
|
+
{
|
|
7874
|
+
"kind": "Content",
|
|
7875
|
+
"text": "{\n chunkLattice: "
|
|
7876
|
+
},
|
|
7877
|
+
{
|
|
7878
|
+
"kind": "Reference",
|
|
7879
|
+
"text": "ChunkLattice",
|
|
7880
|
+
"canonicalReference": "server!ChunkLattice:class"
|
|
7881
|
+
},
|
|
7882
|
+
{
|
|
7883
|
+
"kind": "Content",
|
|
7884
|
+
"text": ";\n chunk: "
|
|
7885
|
+
},
|
|
7886
|
+
{
|
|
7887
|
+
"kind": "Reference",
|
|
7888
|
+
"text": "Chunk",
|
|
7889
|
+
"canonicalReference": "server!Chunk:class"
|
|
7890
|
+
},
|
|
7891
|
+
{
|
|
7892
|
+
"kind": "Content",
|
|
7893
|
+
"text": ";\n }"
|
|
7894
|
+
},
|
|
7895
|
+
{
|
|
7896
|
+
"kind": "Content",
|
|
7897
|
+
"text": ";"
|
|
7898
|
+
}
|
|
7899
|
+
],
|
|
7900
|
+
"isReadonly": false,
|
|
7901
|
+
"isOptional": false,
|
|
7902
|
+
"releaseTag": "Public",
|
|
7903
|
+
"name": "\"CHUNK_LATTICE.ADD_CHUNK\"",
|
|
7904
|
+
"propertyTypeTokenRange": {
|
|
7905
|
+
"startIndex": 3,
|
|
7906
|
+
"endIndex": 8
|
|
7907
|
+
}
|
|
7908
|
+
},
|
|
7554
7909
|
{
|
|
7555
7910
|
"kind": "PropertySignature",
|
|
7556
7911
|
"canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.REMOVE_CHUNK\":member",
|
|
@@ -16600,11 +16955,19 @@
|
|
|
16600
16955
|
{
|
|
16601
16956
|
"kind": "Method",
|
|
16602
16957
|
"canonicalReference": "server!EntityManager#getAllEntities:member(1)",
|
|
16603
|
-
"docComment": "/**\n * Gets all spawned entities in the world.\n *\n * @returns All spawned entities in the world.\n */\n",
|
|
16958
|
+
"docComment": "/**\n * Gets all spawned entities in the world.\n *\n * @param tickAllocated - Whether to use the tick allocator to allocate the returned array of Entity instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.\n *\n * @returns All spawned entities in the world.\n */\n",
|
|
16604
16959
|
"excerptTokens": [
|
|
16605
16960
|
{
|
|
16606
16961
|
"kind": "Content",
|
|
16607
|
-
"text": "getAllEntities(
|
|
16962
|
+
"text": "getAllEntities(tickAllocated?: "
|
|
16963
|
+
},
|
|
16964
|
+
{
|
|
16965
|
+
"kind": "Content",
|
|
16966
|
+
"text": "boolean"
|
|
16967
|
+
},
|
|
16968
|
+
{
|
|
16969
|
+
"kind": "Content",
|
|
16970
|
+
"text": "): "
|
|
16608
16971
|
},
|
|
16609
16972
|
{
|
|
16610
16973
|
"kind": "Reference",
|
|
@@ -16622,13 +16985,22 @@
|
|
|
16622
16985
|
],
|
|
16623
16986
|
"isStatic": false,
|
|
16624
16987
|
"returnTypeTokenRange": {
|
|
16625
|
-
"startIndex":
|
|
16626
|
-
"endIndex":
|
|
16988
|
+
"startIndex": 3,
|
|
16989
|
+
"endIndex": 5
|
|
16627
16990
|
},
|
|
16628
16991
|
"releaseTag": "Public",
|
|
16629
16992
|
"isProtected": false,
|
|
16630
16993
|
"overloadIndex": 1,
|
|
16631
|
-
"parameters": [
|
|
16994
|
+
"parameters": [
|
|
16995
|
+
{
|
|
16996
|
+
"parameterName": "tickAllocated",
|
|
16997
|
+
"parameterTypeTokenRange": {
|
|
16998
|
+
"startIndex": 1,
|
|
16999
|
+
"endIndex": 2
|
|
17000
|
+
},
|
|
17001
|
+
"isOptional": true
|
|
17002
|
+
}
|
|
17003
|
+
],
|
|
16632
17004
|
"isOptional": false,
|
|
16633
17005
|
"isAbstract": false,
|
|
16634
17006
|
"name": "getAllEntities"
|
|
@@ -22557,11 +22929,19 @@
|
|
|
22557
22929
|
{
|
|
22558
22930
|
"kind": "Method",
|
|
22559
22931
|
"canonicalReference": "server!LightManager#getAllLights:member(1)",
|
|
22560
|
-
"docComment": "/**\n * Retrieves all spawned Light instances for the world.\n *\n * @returns An array of Light instances.\n */\n",
|
|
22932
|
+
"docComment": "/**\n * Retrieves all spawned Light instances for the world.\n *\n * @param tickAllocated - Whether to use the tick allocator to allocate the returned array of Light instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.\n *\n * @returns An array of Light instances.\n */\n",
|
|
22561
22933
|
"excerptTokens": [
|
|
22562
22934
|
{
|
|
22563
22935
|
"kind": "Content",
|
|
22564
|
-
"text": "getAllLights(
|
|
22936
|
+
"text": "getAllLights(tickAllocated?: "
|
|
22937
|
+
},
|
|
22938
|
+
{
|
|
22939
|
+
"kind": "Content",
|
|
22940
|
+
"text": "boolean"
|
|
22941
|
+
},
|
|
22942
|
+
{
|
|
22943
|
+
"kind": "Content",
|
|
22944
|
+
"text": "): "
|
|
22565
22945
|
},
|
|
22566
22946
|
{
|
|
22567
22947
|
"kind": "Reference",
|
|
@@ -22579,13 +22959,22 @@
|
|
|
22579
22959
|
],
|
|
22580
22960
|
"isStatic": false,
|
|
22581
22961
|
"returnTypeTokenRange": {
|
|
22582
|
-
"startIndex":
|
|
22583
|
-
"endIndex":
|
|
22962
|
+
"startIndex": 3,
|
|
22963
|
+
"endIndex": 5
|
|
22584
22964
|
},
|
|
22585
22965
|
"releaseTag": "Public",
|
|
22586
22966
|
"isProtected": false,
|
|
22587
22967
|
"overloadIndex": 1,
|
|
22588
|
-
"parameters": [
|
|
22968
|
+
"parameters": [
|
|
22969
|
+
{
|
|
22970
|
+
"parameterName": "tickAllocated",
|
|
22971
|
+
"parameterTypeTokenRange": {
|
|
22972
|
+
"startIndex": 1,
|
|
22973
|
+
"endIndex": 2
|
|
22974
|
+
},
|
|
22975
|
+
"isOptional": true
|
|
22976
|
+
}
|
|
22977
|
+
],
|
|
22589
22978
|
"isOptional": false,
|
|
22590
22979
|
"isAbstract": false,
|
|
22591
22980
|
"name": "getAllLights"
|
|
@@ -28729,6 +29118,54 @@
|
|
|
28729
29118
|
"isProtected": false,
|
|
28730
29119
|
"isAbstract": false
|
|
28731
29120
|
},
|
|
29121
|
+
{
|
|
29122
|
+
"kind": "Method",
|
|
29123
|
+
"canonicalReference": "server!ParticleEmitter#burst:member(1)",
|
|
29124
|
+
"docComment": "/**\n * Creates a burst of particles, regardless of pause state.\n *\n * @param count - The number of particles to burst.\n */\n",
|
|
29125
|
+
"excerptTokens": [
|
|
29126
|
+
{
|
|
29127
|
+
"kind": "Content",
|
|
29128
|
+
"text": "burst(count: "
|
|
29129
|
+
},
|
|
29130
|
+
{
|
|
29131
|
+
"kind": "Content",
|
|
29132
|
+
"text": "number"
|
|
29133
|
+
},
|
|
29134
|
+
{
|
|
29135
|
+
"kind": "Content",
|
|
29136
|
+
"text": "): "
|
|
29137
|
+
},
|
|
29138
|
+
{
|
|
29139
|
+
"kind": "Content",
|
|
29140
|
+
"text": "void"
|
|
29141
|
+
},
|
|
29142
|
+
{
|
|
29143
|
+
"kind": "Content",
|
|
29144
|
+
"text": ";"
|
|
29145
|
+
}
|
|
29146
|
+
],
|
|
29147
|
+
"isStatic": false,
|
|
29148
|
+
"returnTypeTokenRange": {
|
|
29149
|
+
"startIndex": 3,
|
|
29150
|
+
"endIndex": 4
|
|
29151
|
+
},
|
|
29152
|
+
"releaseTag": "Public",
|
|
29153
|
+
"isProtected": false,
|
|
29154
|
+
"overloadIndex": 1,
|
|
29155
|
+
"parameters": [
|
|
29156
|
+
{
|
|
29157
|
+
"parameterName": "count",
|
|
29158
|
+
"parameterTypeTokenRange": {
|
|
29159
|
+
"startIndex": 1,
|
|
29160
|
+
"endIndex": 2
|
|
29161
|
+
},
|
|
29162
|
+
"isOptional": false
|
|
29163
|
+
}
|
|
29164
|
+
],
|
|
29165
|
+
"isOptional": false,
|
|
29166
|
+
"isAbstract": false,
|
|
29167
|
+
"name": "burst"
|
|
29168
|
+
},
|
|
28732
29169
|
{
|
|
28733
29170
|
"kind": "Property",
|
|
28734
29171
|
"canonicalReference": "server!ParticleEmitter#colorEnd:member",
|
|
@@ -31208,6 +31645,27 @@
|
|
|
31208
31645
|
"name": "ParticleEmitterEvent",
|
|
31209
31646
|
"preserveMemberOrder": false,
|
|
31210
31647
|
"members": [
|
|
31648
|
+
{
|
|
31649
|
+
"kind": "EnumMember",
|
|
31650
|
+
"canonicalReference": "server!ParticleEmitterEvent.BURST:member",
|
|
31651
|
+
"docComment": "",
|
|
31652
|
+
"excerptTokens": [
|
|
31653
|
+
{
|
|
31654
|
+
"kind": "Content",
|
|
31655
|
+
"text": "BURST = "
|
|
31656
|
+
},
|
|
31657
|
+
{
|
|
31658
|
+
"kind": "Content",
|
|
31659
|
+
"text": "\"PARTICLE_EMITTER.BURST\""
|
|
31660
|
+
}
|
|
31661
|
+
],
|
|
31662
|
+
"initializerTokenRange": {
|
|
31663
|
+
"startIndex": 1,
|
|
31664
|
+
"endIndex": 2
|
|
31665
|
+
},
|
|
31666
|
+
"releaseTag": "Public",
|
|
31667
|
+
"name": "BURST"
|
|
31668
|
+
},
|
|
31211
31669
|
{
|
|
31212
31670
|
"kind": "EnumMember",
|
|
31213
31671
|
"canonicalReference": "server!ParticleEmitterEvent.DESPAWN:member",
|
|
@@ -31876,6 +32334,51 @@
|
|
|
31876
32334
|
"name": "ParticleEmitterEventPayloads",
|
|
31877
32335
|
"preserveMemberOrder": false,
|
|
31878
32336
|
"members": [
|
|
32337
|
+
{
|
|
32338
|
+
"kind": "PropertySignature",
|
|
32339
|
+
"canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.BURST\":member",
|
|
32340
|
+
"docComment": "/**\n * Emitted when a ParticleEmitter bursts the specified number of particles.\n */\n",
|
|
32341
|
+
"excerptTokens": [
|
|
32342
|
+
{
|
|
32343
|
+
"kind": "Content",
|
|
32344
|
+
"text": "["
|
|
32345
|
+
},
|
|
32346
|
+
{
|
|
32347
|
+
"kind": "Reference",
|
|
32348
|
+
"text": "ParticleEmitterEvent.BURST",
|
|
32349
|
+
"canonicalReference": "server!ParticleEmitterEvent.BURST:member"
|
|
32350
|
+
},
|
|
32351
|
+
{
|
|
32352
|
+
"kind": "Content",
|
|
32353
|
+
"text": "]: "
|
|
32354
|
+
},
|
|
32355
|
+
{
|
|
32356
|
+
"kind": "Content",
|
|
32357
|
+
"text": "{\n particleEmitter: "
|
|
32358
|
+
},
|
|
32359
|
+
{
|
|
32360
|
+
"kind": "Reference",
|
|
32361
|
+
"text": "ParticleEmitter",
|
|
32362
|
+
"canonicalReference": "server!ParticleEmitter:class"
|
|
32363
|
+
},
|
|
32364
|
+
{
|
|
32365
|
+
"kind": "Content",
|
|
32366
|
+
"text": ";\n count: number;\n }"
|
|
32367
|
+
},
|
|
32368
|
+
{
|
|
32369
|
+
"kind": "Content",
|
|
32370
|
+
"text": ";"
|
|
32371
|
+
}
|
|
32372
|
+
],
|
|
32373
|
+
"isReadonly": false,
|
|
32374
|
+
"isOptional": false,
|
|
32375
|
+
"releaseTag": "Public",
|
|
32376
|
+
"name": "\"PARTICLE_EMITTER.BURST\"",
|
|
32377
|
+
"propertyTypeTokenRange": {
|
|
32378
|
+
"startIndex": 3,
|
|
32379
|
+
"endIndex": 6
|
|
32380
|
+
}
|
|
32381
|
+
},
|
|
31879
32382
|
{
|
|
31880
32383
|
"kind": "PropertySignature",
|
|
31881
32384
|
"canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.DESPAWN\":member",
|
|
@@ -33446,11 +33949,19 @@
|
|
|
33446
33949
|
{
|
|
33447
33950
|
"kind": "Method",
|
|
33448
33951
|
"canonicalReference": "server!ParticleEmitterManager#getAllParticleEmitters:member(1)",
|
|
33449
|
-
"docComment": "/**\n * Retrieves all spawned ParticleEmitter instances for the world.\n *\n * @returns An array of ParticleEmitter instances.\n */\n",
|
|
33952
|
+
"docComment": "/**\n * Retrieves all spawned ParticleEmitter instances for the world.\n *\n * @param tickAllocated - Whether to use the tick allocator to allocate the returned array of ParticleEmitter instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.\n *\n * @returns An array of ParticleEmitter instances.\n */\n",
|
|
33450
33953
|
"excerptTokens": [
|
|
33451
33954
|
{
|
|
33452
33955
|
"kind": "Content",
|
|
33453
|
-
"text": "getAllParticleEmitters(
|
|
33956
|
+
"text": "getAllParticleEmitters(tickAllocated?: "
|
|
33957
|
+
},
|
|
33958
|
+
{
|
|
33959
|
+
"kind": "Content",
|
|
33960
|
+
"text": "boolean"
|
|
33961
|
+
},
|
|
33962
|
+
{
|
|
33963
|
+
"kind": "Content",
|
|
33964
|
+
"text": "): "
|
|
33454
33965
|
},
|
|
33455
33966
|
{
|
|
33456
33967
|
"kind": "Reference",
|
|
@@ -33468,13 +33979,22 @@
|
|
|
33468
33979
|
],
|
|
33469
33980
|
"isStatic": false,
|
|
33470
33981
|
"returnTypeTokenRange": {
|
|
33471
|
-
"startIndex":
|
|
33472
|
-
"endIndex":
|
|
33982
|
+
"startIndex": 3,
|
|
33983
|
+
"endIndex": 5
|
|
33473
33984
|
},
|
|
33474
33985
|
"releaseTag": "Public",
|
|
33475
33986
|
"isProtected": false,
|
|
33476
33987
|
"overloadIndex": 1,
|
|
33477
|
-
"parameters": [
|
|
33988
|
+
"parameters": [
|
|
33989
|
+
{
|
|
33990
|
+
"parameterName": "tickAllocated",
|
|
33991
|
+
"parameterTypeTokenRange": {
|
|
33992
|
+
"startIndex": 1,
|
|
33993
|
+
"endIndex": 2
|
|
33994
|
+
},
|
|
33995
|
+
"isOptional": true
|
|
33996
|
+
}
|
|
33997
|
+
],
|
|
33478
33998
|
"isOptional": false,
|
|
33479
33999
|
"isAbstract": false,
|
|
33480
34000
|
"name": "getAllParticleEmitters"
|
|
@@ -41648,7 +42168,7 @@
|
|
|
41648
42168
|
{
|
|
41649
42169
|
"kind": "Interface",
|
|
41650
42170
|
"canonicalReference": "server!RgbColor:interface",
|
|
41651
|
-
"docComment": "/**\n * A RGB color.\n *\n * @public\n */\n",
|
|
42171
|
+
"docComment": "/**\n * A RGB color. r, g and b expect a value between 0 and 255.\n *\n * @public\n */\n",
|
|
41652
42172
|
"excerptTokens": [
|
|
41653
42173
|
{
|
|
41654
42174
|
"kind": "Content",
|
|
@@ -46615,11 +47135,19 @@
|
|
|
46615
47135
|
{
|
|
46616
47136
|
"kind": "Method",
|
|
46617
47137
|
"canonicalReference": "server!SceneUIManager#getAllSceneUIs:member(1)",
|
|
46618
|
-
"docComment": "/**\n * Retrieves all loaded SceneUI instances for the world.\n *\n * @returns An array of SceneUI instances.\n */\n",
|
|
47138
|
+
"docComment": "/**\n * Retrieves all loaded SceneUI instances for the world.\n *\n * @param tickAllocated - Whether to use the tick allocator to allocate the returned array of SceneUI instances. The allocated array will be collected and released at the end of the current tick if true. Only use this if you know what you're doing.\n *\n * @returns An array of SceneUI instances.\n */\n",
|
|
46619
47139
|
"excerptTokens": [
|
|
46620
47140
|
{
|
|
46621
47141
|
"kind": "Content",
|
|
46622
|
-
"text": "getAllSceneUIs(
|
|
47142
|
+
"text": "getAllSceneUIs(tickAllocated?: "
|
|
47143
|
+
},
|
|
47144
|
+
{
|
|
47145
|
+
"kind": "Content",
|
|
47146
|
+
"text": "boolean"
|
|
47147
|
+
},
|
|
47148
|
+
{
|
|
47149
|
+
"kind": "Content",
|
|
47150
|
+
"text": "): "
|
|
46623
47151
|
},
|
|
46624
47152
|
{
|
|
46625
47153
|
"kind": "Reference",
|
|
@@ -46637,13 +47165,22 @@
|
|
|
46637
47165
|
],
|
|
46638
47166
|
"isStatic": false,
|
|
46639
47167
|
"returnTypeTokenRange": {
|
|
46640
|
-
"startIndex":
|
|
46641
|
-
"endIndex":
|
|
47168
|
+
"startIndex": 3,
|
|
47169
|
+
"endIndex": 5
|
|
46642
47170
|
},
|
|
46643
47171
|
"releaseTag": "Public",
|
|
46644
47172
|
"isProtected": false,
|
|
46645
47173
|
"overloadIndex": 1,
|
|
46646
|
-
"parameters": [
|
|
47174
|
+
"parameters": [
|
|
47175
|
+
{
|
|
47176
|
+
"parameterName": "tickAllocated",
|
|
47177
|
+
"parameterTypeTokenRange": {
|
|
47178
|
+
"startIndex": 1,
|
|
47179
|
+
"endIndex": 2
|
|
47180
|
+
},
|
|
47181
|
+
"isOptional": true
|
|
47182
|
+
}
|
|
47183
|
+
],
|
|
46647
47184
|
"isOptional": false,
|
|
46648
47185
|
"isAbstract": false,
|
|
46649
47186
|
"name": "getAllSceneUIs"
|
|
@@ -48204,405 +48741,1700 @@
|
|
|
48204
48741
|
"excerptTokens": [
|
|
48205
48742
|
{
|
|
48206
48743
|
"kind": "Content",
|
|
48207
|
-
"text": "DEBUG_RENDER = "
|
|
48744
|
+
"text": "DEBUG_RENDER = "
|
|
48745
|
+
},
|
|
48746
|
+
{
|
|
48747
|
+
"kind": "Content",
|
|
48748
|
+
"text": "\"SIMULATION.DEBUG_RENDER\""
|
|
48749
|
+
}
|
|
48750
|
+
],
|
|
48751
|
+
"initializerTokenRange": {
|
|
48752
|
+
"startIndex": 1,
|
|
48753
|
+
"endIndex": 2
|
|
48754
|
+
},
|
|
48755
|
+
"releaseTag": "Public",
|
|
48756
|
+
"name": "DEBUG_RENDER"
|
|
48757
|
+
},
|
|
48758
|
+
{
|
|
48759
|
+
"kind": "EnumMember",
|
|
48760
|
+
"canonicalReference": "server!SimulationEvent.STEP_END:member",
|
|
48761
|
+
"docComment": "",
|
|
48762
|
+
"excerptTokens": [
|
|
48763
|
+
{
|
|
48764
|
+
"kind": "Content",
|
|
48765
|
+
"text": "STEP_END = "
|
|
48766
|
+
},
|
|
48767
|
+
{
|
|
48768
|
+
"kind": "Content",
|
|
48769
|
+
"text": "\"SIMULATION.STEP_END\""
|
|
48770
|
+
}
|
|
48771
|
+
],
|
|
48772
|
+
"initializerTokenRange": {
|
|
48773
|
+
"startIndex": 1,
|
|
48774
|
+
"endIndex": 2
|
|
48775
|
+
},
|
|
48776
|
+
"releaseTag": "Public",
|
|
48777
|
+
"name": "STEP_END"
|
|
48778
|
+
},
|
|
48779
|
+
{
|
|
48780
|
+
"kind": "EnumMember",
|
|
48781
|
+
"canonicalReference": "server!SimulationEvent.STEP_START:member",
|
|
48782
|
+
"docComment": "",
|
|
48783
|
+
"excerptTokens": [
|
|
48784
|
+
{
|
|
48785
|
+
"kind": "Content",
|
|
48786
|
+
"text": "STEP_START = "
|
|
48787
|
+
},
|
|
48788
|
+
{
|
|
48789
|
+
"kind": "Content",
|
|
48790
|
+
"text": "\"SIMULATION.STEP_START\""
|
|
48791
|
+
}
|
|
48792
|
+
],
|
|
48793
|
+
"initializerTokenRange": {
|
|
48794
|
+
"startIndex": 1,
|
|
48795
|
+
"endIndex": 2
|
|
48796
|
+
},
|
|
48797
|
+
"releaseTag": "Public",
|
|
48798
|
+
"name": "STEP_START"
|
|
48799
|
+
}
|
|
48800
|
+
]
|
|
48801
|
+
},
|
|
48802
|
+
{
|
|
48803
|
+
"kind": "Interface",
|
|
48804
|
+
"canonicalReference": "server!SimulationEventPayloads:interface",
|
|
48805
|
+
"docComment": "/**\n * Event payloads for Simulation emitted events.\n *\n * @public\n */\n",
|
|
48806
|
+
"excerptTokens": [
|
|
48807
|
+
{
|
|
48808
|
+
"kind": "Content",
|
|
48809
|
+
"text": "export interface SimulationEventPayloads "
|
|
48810
|
+
}
|
|
48811
|
+
],
|
|
48812
|
+
"fileUrlPath": "src/worlds/physics/Simulation.ts",
|
|
48813
|
+
"releaseTag": "Public",
|
|
48814
|
+
"name": "SimulationEventPayloads",
|
|
48815
|
+
"preserveMemberOrder": false,
|
|
48816
|
+
"members": [
|
|
48817
|
+
{
|
|
48818
|
+
"kind": "PropertySignature",
|
|
48819
|
+
"canonicalReference": "server!SimulationEventPayloads#\"SIMULATION.DEBUG_RAYCAST\":member",
|
|
48820
|
+
"docComment": "/**\n * Emitted when a debug raycast is performed.\n */\n",
|
|
48821
|
+
"excerptTokens": [
|
|
48822
|
+
{
|
|
48823
|
+
"kind": "Content",
|
|
48824
|
+
"text": "["
|
|
48825
|
+
},
|
|
48826
|
+
{
|
|
48827
|
+
"kind": "Reference",
|
|
48828
|
+
"text": "SimulationEvent.DEBUG_RAYCAST",
|
|
48829
|
+
"canonicalReference": "server!SimulationEvent.DEBUG_RAYCAST:member"
|
|
48830
|
+
},
|
|
48831
|
+
{
|
|
48832
|
+
"kind": "Content",
|
|
48833
|
+
"text": "]: "
|
|
48834
|
+
},
|
|
48835
|
+
{
|
|
48836
|
+
"kind": "Content",
|
|
48837
|
+
"text": "{\n simulation: "
|
|
48838
|
+
},
|
|
48839
|
+
{
|
|
48840
|
+
"kind": "Reference",
|
|
48841
|
+
"text": "Simulation",
|
|
48842
|
+
"canonicalReference": "server!Simulation:class"
|
|
48843
|
+
},
|
|
48844
|
+
{
|
|
48845
|
+
"kind": "Content",
|
|
48846
|
+
"text": ";\n origin: "
|
|
48847
|
+
},
|
|
48848
|
+
{
|
|
48849
|
+
"kind": "Reference",
|
|
48850
|
+
"text": "Vector3Like",
|
|
48851
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
48852
|
+
},
|
|
48853
|
+
{
|
|
48854
|
+
"kind": "Content",
|
|
48855
|
+
"text": ";\n direction: "
|
|
48856
|
+
},
|
|
48857
|
+
{
|
|
48858
|
+
"kind": "Reference",
|
|
48859
|
+
"text": "Vector3Like",
|
|
48860
|
+
"canonicalReference": "server!Vector3Like:interface"
|
|
48861
|
+
},
|
|
48862
|
+
{
|
|
48863
|
+
"kind": "Content",
|
|
48864
|
+
"text": ";\n length: number;\n hit: boolean;\n }"
|
|
48865
|
+
},
|
|
48866
|
+
{
|
|
48867
|
+
"kind": "Content",
|
|
48868
|
+
"text": ";"
|
|
48869
|
+
}
|
|
48870
|
+
],
|
|
48871
|
+
"isReadonly": false,
|
|
48872
|
+
"isOptional": false,
|
|
48873
|
+
"releaseTag": "Public",
|
|
48874
|
+
"name": "\"SIMULATION.DEBUG_RAYCAST\"",
|
|
48875
|
+
"propertyTypeTokenRange": {
|
|
48876
|
+
"startIndex": 3,
|
|
48877
|
+
"endIndex": 10
|
|
48878
|
+
}
|
|
48879
|
+
},
|
|
48880
|
+
{
|
|
48881
|
+
"kind": "PropertySignature",
|
|
48882
|
+
"canonicalReference": "server!SimulationEventPayloads#\"SIMULATION.DEBUG_RENDER\":member",
|
|
48883
|
+
"docComment": "/**\n * Emitted when the simulation debug rendering is enabled.\n */\n",
|
|
48884
|
+
"excerptTokens": [
|
|
48885
|
+
{
|
|
48886
|
+
"kind": "Content",
|
|
48887
|
+
"text": "["
|
|
48888
|
+
},
|
|
48889
|
+
{
|
|
48890
|
+
"kind": "Reference",
|
|
48891
|
+
"text": "SimulationEvent.DEBUG_RENDER",
|
|
48892
|
+
"canonicalReference": "server!SimulationEvent.DEBUG_RENDER:member"
|
|
48893
|
+
},
|
|
48894
|
+
{
|
|
48895
|
+
"kind": "Content",
|
|
48896
|
+
"text": "]: "
|
|
48897
|
+
},
|
|
48898
|
+
{
|
|
48899
|
+
"kind": "Content",
|
|
48900
|
+
"text": "{\n simulation: "
|
|
48901
|
+
},
|
|
48902
|
+
{
|
|
48903
|
+
"kind": "Reference",
|
|
48904
|
+
"text": "Simulation",
|
|
48905
|
+
"canonicalReference": "server!Simulation:class"
|
|
48906
|
+
},
|
|
48907
|
+
{
|
|
48908
|
+
"kind": "Content",
|
|
48909
|
+
"text": ";\n vertices: "
|
|
48910
|
+
},
|
|
48911
|
+
{
|
|
48912
|
+
"kind": "Reference",
|
|
48913
|
+
"text": "Float32Array",
|
|
48914
|
+
"canonicalReference": "!Float32Array:interface"
|
|
48915
|
+
},
|
|
48916
|
+
{
|
|
48917
|
+
"kind": "Content",
|
|
48918
|
+
"text": ";\n colors: "
|
|
48919
|
+
},
|
|
48920
|
+
{
|
|
48921
|
+
"kind": "Reference",
|
|
48922
|
+
"text": "Float32Array",
|
|
48923
|
+
"canonicalReference": "!Float32Array:interface"
|
|
48924
|
+
},
|
|
48925
|
+
{
|
|
48926
|
+
"kind": "Content",
|
|
48927
|
+
"text": ";\n }"
|
|
48928
|
+
},
|
|
48929
|
+
{
|
|
48930
|
+
"kind": "Content",
|
|
48931
|
+
"text": ";"
|
|
48932
|
+
}
|
|
48933
|
+
],
|
|
48934
|
+
"isReadonly": false,
|
|
48935
|
+
"isOptional": false,
|
|
48936
|
+
"releaseTag": "Public",
|
|
48937
|
+
"name": "\"SIMULATION.DEBUG_RENDER\"",
|
|
48938
|
+
"propertyTypeTokenRange": {
|
|
48939
|
+
"startIndex": 3,
|
|
48940
|
+
"endIndex": 10
|
|
48941
|
+
}
|
|
48942
|
+
},
|
|
48943
|
+
{
|
|
48944
|
+
"kind": "PropertySignature",
|
|
48945
|
+
"canonicalReference": "server!SimulationEventPayloads#\"SIMULATION.STEP_END\":member",
|
|
48946
|
+
"docComment": "/**\n * Emitted when the simulation step ends.\n */\n",
|
|
48947
|
+
"excerptTokens": [
|
|
48948
|
+
{
|
|
48949
|
+
"kind": "Content",
|
|
48950
|
+
"text": "["
|
|
48951
|
+
},
|
|
48952
|
+
{
|
|
48953
|
+
"kind": "Reference",
|
|
48954
|
+
"text": "SimulationEvent.STEP_END",
|
|
48955
|
+
"canonicalReference": "server!SimulationEvent.STEP_END:member"
|
|
48956
|
+
},
|
|
48957
|
+
{
|
|
48958
|
+
"kind": "Content",
|
|
48959
|
+
"text": "]: "
|
|
48960
|
+
},
|
|
48961
|
+
{
|
|
48962
|
+
"kind": "Content",
|
|
48963
|
+
"text": "{\n simulation: "
|
|
48964
|
+
},
|
|
48965
|
+
{
|
|
48966
|
+
"kind": "Reference",
|
|
48967
|
+
"text": "Simulation",
|
|
48968
|
+
"canonicalReference": "server!Simulation:class"
|
|
48969
|
+
},
|
|
48970
|
+
{
|
|
48971
|
+
"kind": "Content",
|
|
48972
|
+
"text": ";\n stepDurationMs: number;\n }"
|
|
48973
|
+
},
|
|
48974
|
+
{
|
|
48975
|
+
"kind": "Content",
|
|
48976
|
+
"text": ";"
|
|
48977
|
+
}
|
|
48978
|
+
],
|
|
48979
|
+
"isReadonly": false,
|
|
48980
|
+
"isOptional": false,
|
|
48981
|
+
"releaseTag": "Public",
|
|
48982
|
+
"name": "\"SIMULATION.STEP_END\"",
|
|
48983
|
+
"propertyTypeTokenRange": {
|
|
48984
|
+
"startIndex": 3,
|
|
48985
|
+
"endIndex": 6
|
|
48986
|
+
}
|
|
48987
|
+
},
|
|
48988
|
+
{
|
|
48989
|
+
"kind": "PropertySignature",
|
|
48990
|
+
"canonicalReference": "server!SimulationEventPayloads#\"SIMULATION.STEP_START\":member",
|
|
48991
|
+
"docComment": "/**\n * Emitted when the simulation step starts.\n */\n",
|
|
48992
|
+
"excerptTokens": [
|
|
48993
|
+
{
|
|
48994
|
+
"kind": "Content",
|
|
48995
|
+
"text": "["
|
|
48996
|
+
},
|
|
48997
|
+
{
|
|
48998
|
+
"kind": "Reference",
|
|
48999
|
+
"text": "SimulationEvent.STEP_START",
|
|
49000
|
+
"canonicalReference": "server!SimulationEvent.STEP_START:member"
|
|
49001
|
+
},
|
|
49002
|
+
{
|
|
49003
|
+
"kind": "Content",
|
|
49004
|
+
"text": "]: "
|
|
49005
|
+
},
|
|
49006
|
+
{
|
|
49007
|
+
"kind": "Content",
|
|
49008
|
+
"text": "{\n simulation: "
|
|
49009
|
+
},
|
|
49010
|
+
{
|
|
49011
|
+
"kind": "Reference",
|
|
49012
|
+
"text": "Simulation",
|
|
49013
|
+
"canonicalReference": "server!Simulation:class"
|
|
49014
|
+
},
|
|
49015
|
+
{
|
|
49016
|
+
"kind": "Content",
|
|
49017
|
+
"text": ";\n tickDeltaMs: number;\n }"
|
|
49018
|
+
},
|
|
49019
|
+
{
|
|
49020
|
+
"kind": "Content",
|
|
49021
|
+
"text": ";"
|
|
49022
|
+
}
|
|
49023
|
+
],
|
|
49024
|
+
"isReadonly": false,
|
|
49025
|
+
"isOptional": false,
|
|
49026
|
+
"releaseTag": "Public",
|
|
49027
|
+
"name": "\"SIMULATION.STEP_START\"",
|
|
49028
|
+
"propertyTypeTokenRange": {
|
|
49029
|
+
"startIndex": 3,
|
|
49030
|
+
"endIndex": 6
|
|
49031
|
+
}
|
|
49032
|
+
}
|
|
49033
|
+
],
|
|
49034
|
+
"extendsTokenRanges": []
|
|
49035
|
+
},
|
|
49036
|
+
{
|
|
49037
|
+
"kind": "Interface",
|
|
49038
|
+
"canonicalReference": "server!SpdMatrix3:interface",
|
|
49039
|
+
"docComment": "/**\n * A 3x3 symmetric positive-definite matrix for spatial dynamics.\n *\n * @public\n */\n",
|
|
49040
|
+
"excerptTokens": [
|
|
49041
|
+
{
|
|
49042
|
+
"kind": "Content",
|
|
49043
|
+
"text": "interface SpdMatrix3 extends "
|
|
49044
|
+
},
|
|
49045
|
+
{
|
|
49046
|
+
"kind": "Reference",
|
|
49047
|
+
"text": "RapierSdpMatrix3",
|
|
49048
|
+
"canonicalReference": "@dimforge/rapier3d-simd-compat!SdpMatrix3:class"
|
|
49049
|
+
},
|
|
49050
|
+
{
|
|
49051
|
+
"kind": "Content",
|
|
49052
|
+
"text": " "
|
|
49053
|
+
}
|
|
49054
|
+
],
|
|
49055
|
+
"fileUrlPath": "src/shared/types/math/SpdMatrix3.ts",
|
|
49056
|
+
"releaseTag": "Public",
|
|
49057
|
+
"name": "SpdMatrix3",
|
|
49058
|
+
"preserveMemberOrder": false,
|
|
49059
|
+
"members": [],
|
|
49060
|
+
"extendsTokenRanges": [
|
|
49061
|
+
{
|
|
49062
|
+
"startIndex": 1,
|
|
49063
|
+
"endIndex": 2
|
|
49064
|
+
}
|
|
49065
|
+
]
|
|
49066
|
+
},
|
|
49067
|
+
{
|
|
49068
|
+
"kind": "Function",
|
|
49069
|
+
"canonicalReference": "server!startServer:function(1)",
|
|
49070
|
+
"docComment": "/**\n * The entry point for running game setup and starting the game server.\n *\n * @remarks\n *\n * This function should always be called first when initializing your game. It will internally handle initialization of the physics engine and other systems required systems. All of your game setup logic should be executed in the init function.\n *\n * @param init - A function that initializes the game. The function can take no parameters to just initialize game logic, or it can accept a world parameter. If it accepts a world parameter, a default world will be automatically created and passed to the function.\n *\n * @public\n */\n",
|
|
49071
|
+
"excerptTokens": [
|
|
49072
|
+
{
|
|
49073
|
+
"kind": "Content",
|
|
49074
|
+
"text": "export declare function startServer(init: "
|
|
49075
|
+
},
|
|
49076
|
+
{
|
|
49077
|
+
"kind": "Content",
|
|
49078
|
+
"text": "((() => void) | ((world: "
|
|
49079
|
+
},
|
|
49080
|
+
{
|
|
49081
|
+
"kind": "Reference",
|
|
49082
|
+
"text": "World",
|
|
49083
|
+
"canonicalReference": "server!World:class"
|
|
49084
|
+
},
|
|
49085
|
+
{
|
|
49086
|
+
"kind": "Content",
|
|
49087
|
+
"text": ") => void))"
|
|
49088
|
+
},
|
|
49089
|
+
{
|
|
49090
|
+
"kind": "Content",
|
|
49091
|
+
"text": "): "
|
|
49092
|
+
},
|
|
49093
|
+
{
|
|
49094
|
+
"kind": "Content",
|
|
49095
|
+
"text": "void"
|
|
49096
|
+
},
|
|
49097
|
+
{
|
|
49098
|
+
"kind": "Content",
|
|
49099
|
+
"text": ";"
|
|
49100
|
+
}
|
|
49101
|
+
],
|
|
49102
|
+
"fileUrlPath": "src/GameServer.ts",
|
|
49103
|
+
"returnTypeTokenRange": {
|
|
49104
|
+
"startIndex": 5,
|
|
49105
|
+
"endIndex": 6
|
|
49106
|
+
},
|
|
49107
|
+
"releaseTag": "Public",
|
|
49108
|
+
"overloadIndex": 1,
|
|
49109
|
+
"parameters": [
|
|
49110
|
+
{
|
|
49111
|
+
"parameterName": "init",
|
|
49112
|
+
"parameterTypeTokenRange": {
|
|
49113
|
+
"startIndex": 1,
|
|
49114
|
+
"endIndex": 4
|
|
49115
|
+
},
|
|
49116
|
+
"isOptional": false
|
|
49117
|
+
}
|
|
49118
|
+
],
|
|
49119
|
+
"name": "startServer"
|
|
49120
|
+
},
|
|
49121
|
+
{
|
|
49122
|
+
"kind": "Variable",
|
|
49123
|
+
"canonicalReference": "server!SUPPORTED_INPUT_KEYS:var",
|
|
49124
|
+
"docComment": "/**\n * The input keys that are included in the PlayerInput.\n *\n * @public\n */\n",
|
|
49125
|
+
"excerptTokens": [
|
|
49126
|
+
{
|
|
49127
|
+
"kind": "Content",
|
|
49128
|
+
"text": "SUPPORTED_INPUT_KEYS: "
|
|
49129
|
+
},
|
|
49130
|
+
{
|
|
49131
|
+
"kind": "Content",
|
|
49132
|
+
"text": "readonly [\"w\", \"a\", \"s\", \"d\", \"sp\", \"sh\", \"tb\", \"ml\", \"mr\", \"q\", \"e\", \"r\", \"f\", \"z\", \"x\", \"c\", \"v\", \"u\", \"i\", \"o\", \"j\", \"k\", \"l\", \"n\", \"m\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"0\"]"
|
|
49133
|
+
}
|
|
49134
|
+
],
|
|
49135
|
+
"fileUrlPath": "src/players/Player.ts",
|
|
49136
|
+
"isReadonly": true,
|
|
49137
|
+
"releaseTag": "Public",
|
|
49138
|
+
"name": "SUPPORTED_INPUT_KEYS",
|
|
49139
|
+
"variableTypeTokenRange": {
|
|
49140
|
+
"startIndex": 1,
|
|
49141
|
+
"endIndex": 2
|
|
49142
|
+
}
|
|
49143
|
+
},
|
|
49144
|
+
{
|
|
49145
|
+
"kind": "Class",
|
|
49146
|
+
"canonicalReference": "server!Telemetry:class",
|
|
49147
|
+
"docComment": "/**\n * Manages performance telemetry and error tracking through your Sentry.io account.\n *\n * @remarks\n *\n * The Telemetry class provides low-overhead performance monitoring and error tracking through Sentry (https://sentry.io) integration and your provided Sentry DSN. It automatically tracks critical game loop operations like physics simulation, entity updates, network synchronization, and more. The system only sends telemetry data when errors or slow-tick performance issues are detected, minimizing bandwidth and storage costs.\n *\n * @example\n * ```typescript\n * // Initialize Sentry for production telemetry\n * Telemetry.initializeSentry('MY_SENTRY_PROJECT_DSN');\n *\n * // Wrap performance-critical code in spans\n * Telemetry.startSpan({\n * operation: TelemetrySpanOperation.CUSTOM_OPERATION,\n * attributes: { // any arbitrary attributes you want to attach to the span\n * playerCount: world.playerManager.connectedPlayers.length,\n * entityCount: world.entityManager.entityCount,\n * },\n * }, () => {\n * // Your performance-critical code here\n * performExpensiveOperation();\n * });\n *\n * // Get current process statistics\n * const stats = Telemetry.getProcessStats();\n * console.log(`Heap usage: ${stats.jsHeapUsagePercent * 100}%`);\n * ```\n *\n * @public\n */\n",
|
|
49148
|
+
"excerptTokens": [
|
|
49149
|
+
{
|
|
49150
|
+
"kind": "Content",
|
|
49151
|
+
"text": "export default class Telemetry "
|
|
49152
|
+
}
|
|
49153
|
+
],
|
|
49154
|
+
"fileUrlPath": "src/metrics/Telemetry.ts",
|
|
49155
|
+
"releaseTag": "Public",
|
|
49156
|
+
"isAbstract": false,
|
|
49157
|
+
"name": "Telemetry",
|
|
49158
|
+
"preserveMemberOrder": false,
|
|
49159
|
+
"members": [
|
|
49160
|
+
{
|
|
49161
|
+
"kind": "Method",
|
|
49162
|
+
"canonicalReference": "server!Telemetry.getProcessStats:member(1)",
|
|
49163
|
+
"docComment": "/**\n * Gets current process memory and performance statistics.\n *\n * @param asMeasurement - Whether to return data in Sentry measurement format with units.\n *\n * @returns Process statistics including heap usage, RSS memory, and capacity metrics.\n */\n",
|
|
49164
|
+
"excerptTokens": [
|
|
49165
|
+
{
|
|
49166
|
+
"kind": "Content",
|
|
49167
|
+
"text": "static getProcessStats(asMeasurement?: "
|
|
49168
|
+
},
|
|
49169
|
+
{
|
|
49170
|
+
"kind": "Content",
|
|
49171
|
+
"text": "boolean"
|
|
49172
|
+
},
|
|
49173
|
+
{
|
|
49174
|
+
"kind": "Content",
|
|
49175
|
+
"text": "): "
|
|
49176
|
+
},
|
|
49177
|
+
{
|
|
49178
|
+
"kind": "Reference",
|
|
49179
|
+
"text": "Record",
|
|
49180
|
+
"canonicalReference": "!Record:type"
|
|
49181
|
+
},
|
|
49182
|
+
{
|
|
49183
|
+
"kind": "Content",
|
|
49184
|
+
"text": "<string, any>"
|
|
49185
|
+
},
|
|
49186
|
+
{
|
|
49187
|
+
"kind": "Content",
|
|
49188
|
+
"text": ";"
|
|
49189
|
+
}
|
|
49190
|
+
],
|
|
49191
|
+
"isStatic": true,
|
|
49192
|
+
"returnTypeTokenRange": {
|
|
49193
|
+
"startIndex": 3,
|
|
49194
|
+
"endIndex": 5
|
|
49195
|
+
},
|
|
49196
|
+
"releaseTag": "Public",
|
|
49197
|
+
"isProtected": false,
|
|
49198
|
+
"overloadIndex": 1,
|
|
49199
|
+
"parameters": [
|
|
49200
|
+
{
|
|
49201
|
+
"parameterName": "asMeasurement",
|
|
49202
|
+
"parameterTypeTokenRange": {
|
|
49203
|
+
"startIndex": 1,
|
|
49204
|
+
"endIndex": 2
|
|
49205
|
+
},
|
|
49206
|
+
"isOptional": true
|
|
49207
|
+
}
|
|
49208
|
+
],
|
|
49209
|
+
"isOptional": false,
|
|
49210
|
+
"isAbstract": false,
|
|
49211
|
+
"name": "getProcessStats"
|
|
49212
|
+
},
|
|
49213
|
+
{
|
|
49214
|
+
"kind": "Method",
|
|
49215
|
+
"canonicalReference": "server!Telemetry.initializeSentry:member(1)",
|
|
49216
|
+
"docComment": "/**\n * Initializes Sentry telemetry with the provided DSN.\n *\n * @remarks\n *\n * This method configures Sentry for error tracking and performance monitoring. It sets up filtering to only send performance spans that exceed the provided threshold duration, reducing noise and costs. The initialization includes game-specific tags and process statistics attachment.\n *\n * @param sentryDsn - The Sentry Data Source Name (DSN) for your project.\n *\n * @param tickTimeMsThreshold - The tick duration that must be exceeded to send a performance span to Sentry for a given tick. Defaults to 50ms.\n */\n",
|
|
49217
|
+
"excerptTokens": [
|
|
49218
|
+
{
|
|
49219
|
+
"kind": "Content",
|
|
49220
|
+
"text": "static initializeSentry(sentryDsn: "
|
|
49221
|
+
},
|
|
49222
|
+
{
|
|
49223
|
+
"kind": "Content",
|
|
49224
|
+
"text": "string"
|
|
49225
|
+
},
|
|
49226
|
+
{
|
|
49227
|
+
"kind": "Content",
|
|
49228
|
+
"text": ", tickTimeMsThreshold?: "
|
|
49229
|
+
},
|
|
49230
|
+
{
|
|
49231
|
+
"kind": "Content",
|
|
49232
|
+
"text": "number"
|
|
49233
|
+
},
|
|
49234
|
+
{
|
|
49235
|
+
"kind": "Content",
|
|
49236
|
+
"text": "): "
|
|
49237
|
+
},
|
|
49238
|
+
{
|
|
49239
|
+
"kind": "Content",
|
|
49240
|
+
"text": "void"
|
|
49241
|
+
},
|
|
49242
|
+
{
|
|
49243
|
+
"kind": "Content",
|
|
49244
|
+
"text": ";"
|
|
49245
|
+
}
|
|
49246
|
+
],
|
|
49247
|
+
"isStatic": true,
|
|
49248
|
+
"returnTypeTokenRange": {
|
|
49249
|
+
"startIndex": 5,
|
|
49250
|
+
"endIndex": 6
|
|
49251
|
+
},
|
|
49252
|
+
"releaseTag": "Public",
|
|
49253
|
+
"isProtected": false,
|
|
49254
|
+
"overloadIndex": 1,
|
|
49255
|
+
"parameters": [
|
|
49256
|
+
{
|
|
49257
|
+
"parameterName": "sentryDsn",
|
|
49258
|
+
"parameterTypeTokenRange": {
|
|
49259
|
+
"startIndex": 1,
|
|
49260
|
+
"endIndex": 2
|
|
49261
|
+
},
|
|
49262
|
+
"isOptional": false
|
|
49263
|
+
},
|
|
49264
|
+
{
|
|
49265
|
+
"parameterName": "tickTimeMsThreshold",
|
|
49266
|
+
"parameterTypeTokenRange": {
|
|
49267
|
+
"startIndex": 3,
|
|
49268
|
+
"endIndex": 4
|
|
49269
|
+
},
|
|
49270
|
+
"isOptional": true
|
|
49271
|
+
}
|
|
49272
|
+
],
|
|
49273
|
+
"isOptional": false,
|
|
49274
|
+
"isAbstract": false,
|
|
49275
|
+
"name": "initializeSentry"
|
|
49276
|
+
},
|
|
49277
|
+
{
|
|
49278
|
+
"kind": "Method",
|
|
49279
|
+
"canonicalReference": "server!Telemetry.sentry:member(1)",
|
|
49280
|
+
"docComment": "/**\n * Gets the Sentry SDK instance for advanced telemetry operations.\n *\n * @remarks\n *\n * This method provides direct access to the Sentry SDK for operations not covered by the Telemetry wrapper, such as custom error reporting, user context setting, or advanced span manipulation.\n *\n * @returns The Sentry SDK instance.\n */\n",
|
|
49281
|
+
"excerptTokens": [
|
|
49282
|
+
{
|
|
49283
|
+
"kind": "Content",
|
|
49284
|
+
"text": "static sentry(): "
|
|
49285
|
+
},
|
|
49286
|
+
{
|
|
49287
|
+
"kind": "Content",
|
|
49288
|
+
"text": "typeof "
|
|
49289
|
+
},
|
|
49290
|
+
{
|
|
49291
|
+
"kind": "Reference",
|
|
49292
|
+
"text": "Sentry",
|
|
49293
|
+
"canonicalReference": "server!~Sentry"
|
|
49294
|
+
},
|
|
49295
|
+
{
|
|
49296
|
+
"kind": "Content",
|
|
49297
|
+
"text": ";"
|
|
49298
|
+
}
|
|
49299
|
+
],
|
|
49300
|
+
"isStatic": true,
|
|
49301
|
+
"returnTypeTokenRange": {
|
|
49302
|
+
"startIndex": 1,
|
|
49303
|
+
"endIndex": 3
|
|
49304
|
+
},
|
|
49305
|
+
"releaseTag": "Public",
|
|
49306
|
+
"isProtected": false,
|
|
49307
|
+
"overloadIndex": 1,
|
|
49308
|
+
"parameters": [],
|
|
49309
|
+
"isOptional": false,
|
|
49310
|
+
"isAbstract": false,
|
|
49311
|
+
"name": "sentry"
|
|
49312
|
+
},
|
|
49313
|
+
{
|
|
49314
|
+
"kind": "Method",
|
|
49315
|
+
"canonicalReference": "server!Telemetry.startSpan:member(1)",
|
|
49316
|
+
"docComment": "/**\n * Executes a callback function within a performance monitoring span.\n *\n * @remarks\n *\n * This method provides zero-overhead performance monitoring in development environments. In production with Sentry enabled and `SENTRY_ENABLE_TRACING=true`, it creates performance spans for monitoring. The span data is only transmitted to Sentry when performance issues are detected.\n *\n * @param options - Configuration for the telemetry span including operation type and attributes.\n *\n * @param callback - The function to execute within the performance span.\n *\n * @returns The return value of the callback function.\n *\n * @example\n * ```typescript\n * const result = Telemetry.startSpan({\n * operation: TelemetrySpanOperation.ENTITIES_TICK,\n * attributes: {\n * entityCount: entities.length,\n * worldId: world.id,\n * },\n * }, () => {\n * return processEntities(entities);\n * });\n * ```\n *\n */\n",
|
|
49317
|
+
"excerptTokens": [
|
|
49318
|
+
{
|
|
49319
|
+
"kind": "Content",
|
|
49320
|
+
"text": "static startSpan<T>(options: "
|
|
49321
|
+
},
|
|
49322
|
+
{
|
|
49323
|
+
"kind": "Reference",
|
|
49324
|
+
"text": "TelemetrySpanOptions",
|
|
49325
|
+
"canonicalReference": "server!TelemetrySpanOptions:type"
|
|
49326
|
+
},
|
|
49327
|
+
{
|
|
49328
|
+
"kind": "Content",
|
|
49329
|
+
"text": ", callback: "
|
|
49330
|
+
},
|
|
49331
|
+
{
|
|
49332
|
+
"kind": "Content",
|
|
49333
|
+
"text": "(span?: "
|
|
49334
|
+
},
|
|
49335
|
+
{
|
|
49336
|
+
"kind": "Reference",
|
|
49337
|
+
"text": "Sentry.Span",
|
|
49338
|
+
"canonicalReference": "@sentry/core!Span:interface"
|
|
49339
|
+
},
|
|
49340
|
+
{
|
|
49341
|
+
"kind": "Content",
|
|
49342
|
+
"text": ") => T"
|
|
49343
|
+
},
|
|
49344
|
+
{
|
|
49345
|
+
"kind": "Content",
|
|
49346
|
+
"text": "): "
|
|
49347
|
+
},
|
|
49348
|
+
{
|
|
49349
|
+
"kind": "Content",
|
|
49350
|
+
"text": "T"
|
|
49351
|
+
},
|
|
49352
|
+
{
|
|
49353
|
+
"kind": "Content",
|
|
49354
|
+
"text": ";"
|
|
49355
|
+
}
|
|
49356
|
+
],
|
|
49357
|
+
"typeParameters": [
|
|
49358
|
+
{
|
|
49359
|
+
"typeParameterName": "T",
|
|
49360
|
+
"constraintTokenRange": {
|
|
49361
|
+
"startIndex": 0,
|
|
49362
|
+
"endIndex": 0
|
|
49363
|
+
},
|
|
49364
|
+
"defaultTypeTokenRange": {
|
|
49365
|
+
"startIndex": 0,
|
|
49366
|
+
"endIndex": 0
|
|
49367
|
+
}
|
|
49368
|
+
}
|
|
49369
|
+
],
|
|
49370
|
+
"isStatic": true,
|
|
49371
|
+
"returnTypeTokenRange": {
|
|
49372
|
+
"startIndex": 7,
|
|
49373
|
+
"endIndex": 8
|
|
49374
|
+
},
|
|
49375
|
+
"releaseTag": "Public",
|
|
49376
|
+
"isProtected": false,
|
|
49377
|
+
"overloadIndex": 1,
|
|
49378
|
+
"parameters": [
|
|
49379
|
+
{
|
|
49380
|
+
"parameterName": "options",
|
|
49381
|
+
"parameterTypeTokenRange": {
|
|
49382
|
+
"startIndex": 1,
|
|
49383
|
+
"endIndex": 2
|
|
49384
|
+
},
|
|
49385
|
+
"isOptional": false
|
|
49386
|
+
},
|
|
49387
|
+
{
|
|
49388
|
+
"parameterName": "callback",
|
|
49389
|
+
"parameterTypeTokenRange": {
|
|
49390
|
+
"startIndex": 3,
|
|
49391
|
+
"endIndex": 6
|
|
49392
|
+
},
|
|
49393
|
+
"isOptional": false
|
|
49394
|
+
}
|
|
49395
|
+
],
|
|
49396
|
+
"isOptional": false,
|
|
49397
|
+
"isAbstract": false,
|
|
49398
|
+
"name": "startSpan"
|
|
49399
|
+
}
|
|
49400
|
+
],
|
|
49401
|
+
"implementsTokenRanges": []
|
|
49402
|
+
},
|
|
49403
|
+
{
|
|
49404
|
+
"kind": "Enum",
|
|
49405
|
+
"canonicalReference": "server!TelemetrySpanOperation:enum",
|
|
49406
|
+
"docComment": "/**\n * Performance telemetry span operation types.\n *\n * @public\n */\n",
|
|
49407
|
+
"excerptTokens": [
|
|
49408
|
+
{
|
|
49409
|
+
"kind": "Content",
|
|
49410
|
+
"text": "export declare enum TelemetrySpanOperation "
|
|
49411
|
+
}
|
|
49412
|
+
],
|
|
49413
|
+
"fileUrlPath": "src/metrics/Telemetry.ts",
|
|
49414
|
+
"releaseTag": "Public",
|
|
49415
|
+
"name": "TelemetrySpanOperation",
|
|
49416
|
+
"preserveMemberOrder": false,
|
|
49417
|
+
"members": [
|
|
49418
|
+
{
|
|
49419
|
+
"kind": "EnumMember",
|
|
49420
|
+
"canonicalReference": "server!TelemetrySpanOperation.BUILD_PACKETS:member",
|
|
49421
|
+
"docComment": "",
|
|
49422
|
+
"excerptTokens": [
|
|
49423
|
+
{
|
|
49424
|
+
"kind": "Content",
|
|
49425
|
+
"text": "BUILD_PACKETS = "
|
|
49426
|
+
},
|
|
49427
|
+
{
|
|
49428
|
+
"kind": "Content",
|
|
49429
|
+
"text": "\"build_packets\""
|
|
49430
|
+
}
|
|
49431
|
+
],
|
|
49432
|
+
"initializerTokenRange": {
|
|
49433
|
+
"startIndex": 1,
|
|
49434
|
+
"endIndex": 2
|
|
49435
|
+
},
|
|
49436
|
+
"releaseTag": "Public",
|
|
49437
|
+
"name": "BUILD_PACKETS"
|
|
49438
|
+
},
|
|
49439
|
+
{
|
|
49440
|
+
"kind": "EnumMember",
|
|
49441
|
+
"canonicalReference": "server!TelemetrySpanOperation.ENTITIES_EMIT_UPDATES:member",
|
|
49442
|
+
"docComment": "",
|
|
49443
|
+
"excerptTokens": [
|
|
49444
|
+
{
|
|
49445
|
+
"kind": "Content",
|
|
49446
|
+
"text": "ENTITIES_EMIT_UPDATES = "
|
|
49447
|
+
},
|
|
49448
|
+
{
|
|
49449
|
+
"kind": "Content",
|
|
49450
|
+
"text": "\"entities_emit_updates\""
|
|
49451
|
+
}
|
|
49452
|
+
],
|
|
49453
|
+
"initializerTokenRange": {
|
|
49454
|
+
"startIndex": 1,
|
|
49455
|
+
"endIndex": 2
|
|
49456
|
+
},
|
|
49457
|
+
"releaseTag": "Public",
|
|
49458
|
+
"name": "ENTITIES_EMIT_UPDATES"
|
|
49459
|
+
},
|
|
49460
|
+
{
|
|
49461
|
+
"kind": "EnumMember",
|
|
49462
|
+
"canonicalReference": "server!TelemetrySpanOperation.ENTITIES_TICK:member",
|
|
49463
|
+
"docComment": "",
|
|
49464
|
+
"excerptTokens": [
|
|
49465
|
+
{
|
|
49466
|
+
"kind": "Content",
|
|
49467
|
+
"text": "ENTITIES_TICK = "
|
|
49468
|
+
},
|
|
49469
|
+
{
|
|
49470
|
+
"kind": "Content",
|
|
49471
|
+
"text": "\"entities_tick\""
|
|
49472
|
+
}
|
|
49473
|
+
],
|
|
49474
|
+
"initializerTokenRange": {
|
|
49475
|
+
"startIndex": 1,
|
|
49476
|
+
"endIndex": 2
|
|
49477
|
+
},
|
|
49478
|
+
"releaseTag": "Public",
|
|
49479
|
+
"name": "ENTITIES_TICK"
|
|
49480
|
+
},
|
|
49481
|
+
{
|
|
49482
|
+
"kind": "EnumMember",
|
|
49483
|
+
"canonicalReference": "server!TelemetrySpanOperation.NETWORK_SYNCHRONIZE:member",
|
|
49484
|
+
"docComment": "",
|
|
49485
|
+
"excerptTokens": [
|
|
49486
|
+
{
|
|
49487
|
+
"kind": "Content",
|
|
49488
|
+
"text": "NETWORK_SYNCHRONIZE = "
|
|
49489
|
+
},
|
|
49490
|
+
{
|
|
49491
|
+
"kind": "Content",
|
|
49492
|
+
"text": "\"network_synchronize\""
|
|
49493
|
+
}
|
|
49494
|
+
],
|
|
49495
|
+
"initializerTokenRange": {
|
|
49496
|
+
"startIndex": 1,
|
|
49497
|
+
"endIndex": 2
|
|
49498
|
+
},
|
|
49499
|
+
"releaseTag": "Public",
|
|
49500
|
+
"name": "NETWORK_SYNCHRONIZE"
|
|
49501
|
+
},
|
|
49502
|
+
{
|
|
49503
|
+
"kind": "EnumMember",
|
|
49504
|
+
"canonicalReference": "server!TelemetrySpanOperation.NETWORK_SYNCHRONIZE_CLEANUP:member",
|
|
49505
|
+
"docComment": "",
|
|
49506
|
+
"excerptTokens": [
|
|
49507
|
+
{
|
|
49508
|
+
"kind": "Content",
|
|
49509
|
+
"text": "NETWORK_SYNCHRONIZE_CLEANUP = "
|
|
49510
|
+
},
|
|
49511
|
+
{
|
|
49512
|
+
"kind": "Content",
|
|
49513
|
+
"text": "\"network_synchronize_cleanup\""
|
|
49514
|
+
}
|
|
49515
|
+
],
|
|
49516
|
+
"initializerTokenRange": {
|
|
49517
|
+
"startIndex": 1,
|
|
49518
|
+
"endIndex": 2
|
|
49519
|
+
},
|
|
49520
|
+
"releaseTag": "Public",
|
|
49521
|
+
"name": "NETWORK_SYNCHRONIZE_CLEANUP"
|
|
49522
|
+
},
|
|
49523
|
+
{
|
|
49524
|
+
"kind": "EnumMember",
|
|
49525
|
+
"canonicalReference": "server!TelemetrySpanOperation.PHYSICS_CLEANUP:member",
|
|
49526
|
+
"docComment": "",
|
|
49527
|
+
"excerptTokens": [
|
|
49528
|
+
{
|
|
49529
|
+
"kind": "Content",
|
|
49530
|
+
"text": "PHYSICS_CLEANUP = "
|
|
49531
|
+
},
|
|
49532
|
+
{
|
|
49533
|
+
"kind": "Content",
|
|
49534
|
+
"text": "\"physics_cleanup\""
|
|
49535
|
+
}
|
|
49536
|
+
],
|
|
49537
|
+
"initializerTokenRange": {
|
|
49538
|
+
"startIndex": 1,
|
|
49539
|
+
"endIndex": 2
|
|
49540
|
+
},
|
|
49541
|
+
"releaseTag": "Public",
|
|
49542
|
+
"name": "PHYSICS_CLEANUP"
|
|
49543
|
+
},
|
|
49544
|
+
{
|
|
49545
|
+
"kind": "EnumMember",
|
|
49546
|
+
"canonicalReference": "server!TelemetrySpanOperation.PHYSICS_STEP:member",
|
|
49547
|
+
"docComment": "",
|
|
49548
|
+
"excerptTokens": [
|
|
49549
|
+
{
|
|
49550
|
+
"kind": "Content",
|
|
49551
|
+
"text": "PHYSICS_STEP = "
|
|
49552
|
+
},
|
|
49553
|
+
{
|
|
49554
|
+
"kind": "Content",
|
|
49555
|
+
"text": "\"physics_step\""
|
|
49556
|
+
}
|
|
49557
|
+
],
|
|
49558
|
+
"initializerTokenRange": {
|
|
49559
|
+
"startIndex": 1,
|
|
49560
|
+
"endIndex": 2
|
|
49561
|
+
},
|
|
49562
|
+
"releaseTag": "Public",
|
|
49563
|
+
"name": "PHYSICS_STEP"
|
|
49564
|
+
},
|
|
49565
|
+
{
|
|
49566
|
+
"kind": "EnumMember",
|
|
49567
|
+
"canonicalReference": "server!TelemetrySpanOperation.RELEASE_TICK_ALLOCATION:member",
|
|
49568
|
+
"docComment": "",
|
|
49569
|
+
"excerptTokens": [
|
|
49570
|
+
{
|
|
49571
|
+
"kind": "Content",
|
|
49572
|
+
"text": "RELEASE_TICK_ALLOCATION = "
|
|
49573
|
+
},
|
|
49574
|
+
{
|
|
49575
|
+
"kind": "Content",
|
|
49576
|
+
"text": "\"release_tick_allocation\""
|
|
49577
|
+
}
|
|
49578
|
+
],
|
|
49579
|
+
"initializerTokenRange": {
|
|
49580
|
+
"startIndex": 1,
|
|
49581
|
+
"endIndex": 2
|
|
49582
|
+
},
|
|
49583
|
+
"releaseTag": "Public",
|
|
49584
|
+
"name": "RELEASE_TICK_ALLOCATION"
|
|
49585
|
+
},
|
|
49586
|
+
{
|
|
49587
|
+
"kind": "EnumMember",
|
|
49588
|
+
"canonicalReference": "server!TelemetrySpanOperation.SEND_ALL_PACKETS:member",
|
|
49589
|
+
"docComment": "",
|
|
49590
|
+
"excerptTokens": [
|
|
49591
|
+
{
|
|
49592
|
+
"kind": "Content",
|
|
49593
|
+
"text": "SEND_ALL_PACKETS = "
|
|
49594
|
+
},
|
|
49595
|
+
{
|
|
49596
|
+
"kind": "Content",
|
|
49597
|
+
"text": "\"send_all_packets\""
|
|
49598
|
+
}
|
|
49599
|
+
],
|
|
49600
|
+
"initializerTokenRange": {
|
|
49601
|
+
"startIndex": 1,
|
|
49602
|
+
"endIndex": 2
|
|
49603
|
+
},
|
|
49604
|
+
"releaseTag": "Public",
|
|
49605
|
+
"name": "SEND_ALL_PACKETS"
|
|
49606
|
+
},
|
|
49607
|
+
{
|
|
49608
|
+
"kind": "EnumMember",
|
|
49609
|
+
"canonicalReference": "server!TelemetrySpanOperation.SEND_PACKETS:member",
|
|
49610
|
+
"docComment": "",
|
|
49611
|
+
"excerptTokens": [
|
|
49612
|
+
{
|
|
49613
|
+
"kind": "Content",
|
|
49614
|
+
"text": "SEND_PACKETS = "
|
|
49615
|
+
},
|
|
49616
|
+
{
|
|
49617
|
+
"kind": "Content",
|
|
49618
|
+
"text": "\"send_packets\""
|
|
49619
|
+
}
|
|
49620
|
+
],
|
|
49621
|
+
"initializerTokenRange": {
|
|
49622
|
+
"startIndex": 1,
|
|
49623
|
+
"endIndex": 2
|
|
49624
|
+
},
|
|
49625
|
+
"releaseTag": "Public",
|
|
49626
|
+
"name": "SEND_PACKETS"
|
|
49627
|
+
},
|
|
49628
|
+
{
|
|
49629
|
+
"kind": "EnumMember",
|
|
49630
|
+
"canonicalReference": "server!TelemetrySpanOperation.SERIALIZE_FREE_BUFFERS:member",
|
|
49631
|
+
"docComment": "",
|
|
49632
|
+
"excerptTokens": [
|
|
49633
|
+
{
|
|
49634
|
+
"kind": "Content",
|
|
49635
|
+
"text": "SERIALIZE_FREE_BUFFERS = "
|
|
49636
|
+
},
|
|
49637
|
+
{
|
|
49638
|
+
"kind": "Content",
|
|
49639
|
+
"text": "\"serialize_free_buffers\""
|
|
49640
|
+
}
|
|
49641
|
+
],
|
|
49642
|
+
"initializerTokenRange": {
|
|
49643
|
+
"startIndex": 1,
|
|
49644
|
+
"endIndex": 2
|
|
49645
|
+
},
|
|
49646
|
+
"releaseTag": "Public",
|
|
49647
|
+
"name": "SERIALIZE_FREE_BUFFERS"
|
|
49648
|
+
},
|
|
49649
|
+
{
|
|
49650
|
+
"kind": "EnumMember",
|
|
49651
|
+
"canonicalReference": "server!TelemetrySpanOperation.SERIALIZE_PACKETS:member",
|
|
49652
|
+
"docComment": "",
|
|
49653
|
+
"excerptTokens": [
|
|
49654
|
+
{
|
|
49655
|
+
"kind": "Content",
|
|
49656
|
+
"text": "SERIALIZE_PACKETS = "
|
|
49657
|
+
},
|
|
49658
|
+
{
|
|
49659
|
+
"kind": "Content",
|
|
49660
|
+
"text": "\"serialize_packets\""
|
|
49661
|
+
}
|
|
49662
|
+
],
|
|
49663
|
+
"initializerTokenRange": {
|
|
49664
|
+
"startIndex": 1,
|
|
49665
|
+
"endIndex": 2
|
|
49666
|
+
},
|
|
49667
|
+
"releaseTag": "Public",
|
|
49668
|
+
"name": "SERIALIZE_PACKETS"
|
|
49669
|
+
},
|
|
49670
|
+
{
|
|
49671
|
+
"kind": "EnumMember",
|
|
49672
|
+
"canonicalReference": "server!TelemetrySpanOperation.SERIALIZE_PACKETS_ENCODE:member",
|
|
49673
|
+
"docComment": "",
|
|
49674
|
+
"excerptTokens": [
|
|
49675
|
+
{
|
|
49676
|
+
"kind": "Content",
|
|
49677
|
+
"text": "SERIALIZE_PACKETS_ENCODE = "
|
|
49678
|
+
},
|
|
49679
|
+
{
|
|
49680
|
+
"kind": "Content",
|
|
49681
|
+
"text": "\"serialize_packets_encode\""
|
|
49682
|
+
}
|
|
49683
|
+
],
|
|
49684
|
+
"initializerTokenRange": {
|
|
49685
|
+
"startIndex": 1,
|
|
49686
|
+
"endIndex": 2
|
|
49687
|
+
},
|
|
49688
|
+
"releaseTag": "Public",
|
|
49689
|
+
"name": "SERIALIZE_PACKETS_ENCODE"
|
|
49690
|
+
},
|
|
49691
|
+
{
|
|
49692
|
+
"kind": "EnumMember",
|
|
49693
|
+
"canonicalReference": "server!TelemetrySpanOperation.SIMULATION_STEP:member",
|
|
49694
|
+
"docComment": "",
|
|
49695
|
+
"excerptTokens": [
|
|
49696
|
+
{
|
|
49697
|
+
"kind": "Content",
|
|
49698
|
+
"text": "SIMULATION_STEP = "
|
|
49699
|
+
},
|
|
49700
|
+
{
|
|
49701
|
+
"kind": "Content",
|
|
49702
|
+
"text": "\"simulation_step\""
|
|
49703
|
+
}
|
|
49704
|
+
],
|
|
49705
|
+
"initializerTokenRange": {
|
|
49706
|
+
"startIndex": 1,
|
|
49707
|
+
"endIndex": 2
|
|
49708
|
+
},
|
|
49709
|
+
"releaseTag": "Public",
|
|
49710
|
+
"name": "SIMULATION_STEP"
|
|
49711
|
+
},
|
|
49712
|
+
{
|
|
49713
|
+
"kind": "EnumMember",
|
|
49714
|
+
"canonicalReference": "server!TelemetrySpanOperation.TICKER_TICK:member",
|
|
49715
|
+
"docComment": "",
|
|
49716
|
+
"excerptTokens": [
|
|
49717
|
+
{
|
|
49718
|
+
"kind": "Content",
|
|
49719
|
+
"text": "TICKER_TICK = "
|
|
49720
|
+
},
|
|
49721
|
+
{
|
|
49722
|
+
"kind": "Content",
|
|
49723
|
+
"text": "\"ticker_tick\""
|
|
49724
|
+
}
|
|
49725
|
+
],
|
|
49726
|
+
"initializerTokenRange": {
|
|
49727
|
+
"startIndex": 1,
|
|
49728
|
+
"endIndex": 2
|
|
49729
|
+
},
|
|
49730
|
+
"releaseTag": "Public",
|
|
49731
|
+
"name": "TICKER_TICK"
|
|
49732
|
+
},
|
|
49733
|
+
{
|
|
49734
|
+
"kind": "EnumMember",
|
|
49735
|
+
"canonicalReference": "server!TelemetrySpanOperation.WORLD_TICK:member",
|
|
49736
|
+
"docComment": "",
|
|
49737
|
+
"excerptTokens": [
|
|
49738
|
+
{
|
|
49739
|
+
"kind": "Content",
|
|
49740
|
+
"text": "WORLD_TICK = "
|
|
49741
|
+
},
|
|
49742
|
+
{
|
|
49743
|
+
"kind": "Content",
|
|
49744
|
+
"text": "\"world_tick\""
|
|
49745
|
+
}
|
|
49746
|
+
],
|
|
49747
|
+
"initializerTokenRange": {
|
|
49748
|
+
"startIndex": 1,
|
|
49749
|
+
"endIndex": 2
|
|
49750
|
+
},
|
|
49751
|
+
"releaseTag": "Public",
|
|
49752
|
+
"name": "WORLD_TICK"
|
|
49753
|
+
}
|
|
49754
|
+
]
|
|
49755
|
+
},
|
|
49756
|
+
{
|
|
49757
|
+
"kind": "TypeAlias",
|
|
49758
|
+
"canonicalReference": "server!TelemetrySpanOptions:type",
|
|
49759
|
+
"docComment": "/**\n * Options for creating a telemetry span.\n *\n * @public\n */\n",
|
|
49760
|
+
"excerptTokens": [
|
|
49761
|
+
{
|
|
49762
|
+
"kind": "Content",
|
|
49763
|
+
"text": "export type TelemetrySpanOptions = "
|
|
49764
|
+
},
|
|
49765
|
+
{
|
|
49766
|
+
"kind": "Content",
|
|
49767
|
+
"text": "{\n operation: "
|
|
49768
|
+
},
|
|
49769
|
+
{
|
|
49770
|
+
"kind": "Reference",
|
|
49771
|
+
"text": "TelemetrySpanOperation",
|
|
49772
|
+
"canonicalReference": "server!TelemetrySpanOperation:enum"
|
|
49773
|
+
},
|
|
49774
|
+
{
|
|
49775
|
+
"kind": "Content",
|
|
49776
|
+
"text": " | string;\n attributes?: "
|
|
49777
|
+
},
|
|
49778
|
+
{
|
|
49779
|
+
"kind": "Reference",
|
|
49780
|
+
"text": "Record",
|
|
49781
|
+
"canonicalReference": "!Record:type"
|
|
49782
|
+
},
|
|
49783
|
+
{
|
|
49784
|
+
"kind": "Content",
|
|
49785
|
+
"text": "<string, string | number>;\n}"
|
|
49786
|
+
},
|
|
49787
|
+
{
|
|
49788
|
+
"kind": "Content",
|
|
49789
|
+
"text": ";"
|
|
49790
|
+
}
|
|
49791
|
+
],
|
|
49792
|
+
"fileUrlPath": "src/metrics/Telemetry.ts",
|
|
49793
|
+
"releaseTag": "Public",
|
|
49794
|
+
"name": "TelemetrySpanOptions",
|
|
49795
|
+
"typeTokenRange": {
|
|
49796
|
+
"startIndex": 1,
|
|
49797
|
+
"endIndex": 6
|
|
49798
|
+
}
|
|
49799
|
+
},
|
|
49800
|
+
{
|
|
49801
|
+
"kind": "Class",
|
|
49802
|
+
"canonicalReference": "server!TickAllocator:class",
|
|
49803
|
+
"docComment": "/**\n * High-performance tick-scoped allocator for temporary objects, arrays, and buffers. All allocations are automatically bulk-released when reset() is called.\n *\n * @remarks\n *\n * TickAllocator maintains separate pools for different data types and tracks all allocations made during a tick cycle. Objects are reused across ticks to eliminate garbage collection overhead in hot paths like network synchronization.\n *\n * @example\n * ```typescript\n * // Allocate during tick\n * const position = tickAllocator.getArray3Number();\n * const rotation = tickAllocator.getArray4Number();\n * const data = tickAllocator.getObject<EntitySchema>();\n *\n * // At end of tick - bulk release everything\n * tickAllocator.reset();\n * ```\n *\n * @public\n */\n",
|
|
49804
|
+
"excerptTokens": [
|
|
49805
|
+
{
|
|
49806
|
+
"kind": "Content",
|
|
49807
|
+
"text": "export default class TickAllocator "
|
|
49808
|
+
}
|
|
49809
|
+
],
|
|
49810
|
+
"fileUrlPath": "src/shared/classes/TickAllocator.ts",
|
|
49811
|
+
"releaseTag": "Public",
|
|
49812
|
+
"isAbstract": false,
|
|
49813
|
+
"name": "TickAllocator",
|
|
49814
|
+
"preserveMemberOrder": false,
|
|
49815
|
+
"members": [
|
|
49816
|
+
{
|
|
49817
|
+
"kind": "Method",
|
|
49818
|
+
"canonicalReference": "server!TickAllocator#filter:member(1)",
|
|
49819
|
+
"docComment": "/**\n * Filters an array using a callback function.\n *\n * @param array - The array to filter.\n *\n * @param callback - The callback function to filter the array.\n *\n * @typeParam T - The type of the array.\n *\n * @returns A new array with the filtered values.\n */\n",
|
|
49820
|
+
"excerptTokens": [
|
|
49821
|
+
{
|
|
49822
|
+
"kind": "Content",
|
|
49823
|
+
"text": "filter<T>(array: "
|
|
49824
|
+
},
|
|
49825
|
+
{
|
|
49826
|
+
"kind": "Content",
|
|
49827
|
+
"text": "T[]"
|
|
49828
|
+
},
|
|
49829
|
+
{
|
|
49830
|
+
"kind": "Content",
|
|
49831
|
+
"text": ", callback: "
|
|
49832
|
+
},
|
|
49833
|
+
{
|
|
49834
|
+
"kind": "Content",
|
|
49835
|
+
"text": "(value: T, index: number, array: T[]) => boolean"
|
|
49836
|
+
},
|
|
49837
|
+
{
|
|
49838
|
+
"kind": "Content",
|
|
49839
|
+
"text": "): "
|
|
49840
|
+
},
|
|
49841
|
+
{
|
|
49842
|
+
"kind": "Content",
|
|
49843
|
+
"text": "T[]"
|
|
49844
|
+
},
|
|
49845
|
+
{
|
|
49846
|
+
"kind": "Content",
|
|
49847
|
+
"text": ";"
|
|
49848
|
+
}
|
|
49849
|
+
],
|
|
49850
|
+
"typeParameters": [
|
|
49851
|
+
{
|
|
49852
|
+
"typeParameterName": "T",
|
|
49853
|
+
"constraintTokenRange": {
|
|
49854
|
+
"startIndex": 0,
|
|
49855
|
+
"endIndex": 0
|
|
49856
|
+
},
|
|
49857
|
+
"defaultTypeTokenRange": {
|
|
49858
|
+
"startIndex": 0,
|
|
49859
|
+
"endIndex": 0
|
|
49860
|
+
}
|
|
49861
|
+
}
|
|
49862
|
+
],
|
|
49863
|
+
"isStatic": false,
|
|
49864
|
+
"returnTypeTokenRange": {
|
|
49865
|
+
"startIndex": 5,
|
|
49866
|
+
"endIndex": 6
|
|
49867
|
+
},
|
|
49868
|
+
"releaseTag": "Public",
|
|
49869
|
+
"isProtected": false,
|
|
49870
|
+
"overloadIndex": 1,
|
|
49871
|
+
"parameters": [
|
|
49872
|
+
{
|
|
49873
|
+
"parameterName": "array",
|
|
49874
|
+
"parameterTypeTokenRange": {
|
|
49875
|
+
"startIndex": 1,
|
|
49876
|
+
"endIndex": 2
|
|
49877
|
+
},
|
|
49878
|
+
"isOptional": false
|
|
49879
|
+
},
|
|
49880
|
+
{
|
|
49881
|
+
"parameterName": "callback",
|
|
49882
|
+
"parameterTypeTokenRange": {
|
|
49883
|
+
"startIndex": 3,
|
|
49884
|
+
"endIndex": 4
|
|
49885
|
+
},
|
|
49886
|
+
"isOptional": false
|
|
49887
|
+
}
|
|
49888
|
+
],
|
|
49889
|
+
"isOptional": false,
|
|
49890
|
+
"isAbstract": false,
|
|
49891
|
+
"name": "filter"
|
|
49892
|
+
},
|
|
49893
|
+
{
|
|
49894
|
+
"kind": "Method",
|
|
49895
|
+
"canonicalReference": "server!TickAllocator#getArray:member(1)",
|
|
49896
|
+
"docComment": "/**\n * Gets a generic array from the pool. Array is reset to empty state and ready for use.\n *\n * @typeParam T - The array type.\n *\n * @returns A reusable array.\n */\n",
|
|
49897
|
+
"excerptTokens": [
|
|
49898
|
+
{
|
|
49899
|
+
"kind": "Content",
|
|
49900
|
+
"text": "getArray<T extends "
|
|
49901
|
+
},
|
|
49902
|
+
{
|
|
49903
|
+
"kind": "Content",
|
|
49904
|
+
"text": "unknown[]"
|
|
49905
|
+
},
|
|
49906
|
+
{
|
|
49907
|
+
"kind": "Content",
|
|
49908
|
+
"text": " = "
|
|
49909
|
+
},
|
|
49910
|
+
{
|
|
49911
|
+
"kind": "Content",
|
|
49912
|
+
"text": "unknown[]"
|
|
49913
|
+
},
|
|
49914
|
+
{
|
|
49915
|
+
"kind": "Content",
|
|
49916
|
+
"text": ">(copyFromA?: "
|
|
49917
|
+
},
|
|
49918
|
+
{
|
|
49919
|
+
"kind": "Reference",
|
|
49920
|
+
"text": "Iterable",
|
|
49921
|
+
"canonicalReference": "!Iterable:interface"
|
|
49922
|
+
},
|
|
49923
|
+
{
|
|
49924
|
+
"kind": "Content",
|
|
49925
|
+
"text": "<unknown>"
|
|
49926
|
+
},
|
|
49927
|
+
{
|
|
49928
|
+
"kind": "Content",
|
|
49929
|
+
"text": ", copyFromB?: "
|
|
49930
|
+
},
|
|
49931
|
+
{
|
|
49932
|
+
"kind": "Reference",
|
|
49933
|
+
"text": "Iterable",
|
|
49934
|
+
"canonicalReference": "!Iterable:interface"
|
|
49935
|
+
},
|
|
49936
|
+
{
|
|
49937
|
+
"kind": "Content",
|
|
49938
|
+
"text": "<unknown>"
|
|
49939
|
+
},
|
|
49940
|
+
{
|
|
49941
|
+
"kind": "Content",
|
|
49942
|
+
"text": "): "
|
|
49943
|
+
},
|
|
49944
|
+
{
|
|
49945
|
+
"kind": "Content",
|
|
49946
|
+
"text": "T"
|
|
49947
|
+
},
|
|
49948
|
+
{
|
|
49949
|
+
"kind": "Content",
|
|
49950
|
+
"text": ";"
|
|
49951
|
+
}
|
|
49952
|
+
],
|
|
49953
|
+
"typeParameters": [
|
|
49954
|
+
{
|
|
49955
|
+
"typeParameterName": "T",
|
|
49956
|
+
"constraintTokenRange": {
|
|
49957
|
+
"startIndex": 1,
|
|
49958
|
+
"endIndex": 2
|
|
49959
|
+
},
|
|
49960
|
+
"defaultTypeTokenRange": {
|
|
49961
|
+
"startIndex": 3,
|
|
49962
|
+
"endIndex": 4
|
|
49963
|
+
}
|
|
49964
|
+
}
|
|
49965
|
+
],
|
|
49966
|
+
"isStatic": false,
|
|
49967
|
+
"returnTypeTokenRange": {
|
|
49968
|
+
"startIndex": 11,
|
|
49969
|
+
"endIndex": 12
|
|
49970
|
+
},
|
|
49971
|
+
"releaseTag": "Public",
|
|
49972
|
+
"isProtected": false,
|
|
49973
|
+
"overloadIndex": 1,
|
|
49974
|
+
"parameters": [
|
|
49975
|
+
{
|
|
49976
|
+
"parameterName": "copyFromA",
|
|
49977
|
+
"parameterTypeTokenRange": {
|
|
49978
|
+
"startIndex": 5,
|
|
49979
|
+
"endIndex": 7
|
|
49980
|
+
},
|
|
49981
|
+
"isOptional": true
|
|
49982
|
+
},
|
|
49983
|
+
{
|
|
49984
|
+
"parameterName": "copyFromB",
|
|
49985
|
+
"parameterTypeTokenRange": {
|
|
49986
|
+
"startIndex": 8,
|
|
49987
|
+
"endIndex": 10
|
|
49988
|
+
},
|
|
49989
|
+
"isOptional": true
|
|
49990
|
+
}
|
|
49991
|
+
],
|
|
49992
|
+
"isOptional": false,
|
|
49993
|
+
"isAbstract": false,
|
|
49994
|
+
"name": "getArray"
|
|
49995
|
+
},
|
|
49996
|
+
{
|
|
49997
|
+
"kind": "Method",
|
|
49998
|
+
"canonicalReference": "server!TickAllocator#getArray3Number:member(1)",
|
|
49999
|
+
"docComment": "/**\n * Gets a 3-element number array from the pool. Array is reset to [0, 0, 0] and ready for use.\n *\n * @returns A reusable 3-element array.\n */\n",
|
|
50000
|
+
"excerptTokens": [
|
|
50001
|
+
{
|
|
50002
|
+
"kind": "Content",
|
|
50003
|
+
"text": "getArray3Number(copyFrom?: "
|
|
50004
|
+
},
|
|
50005
|
+
{
|
|
50006
|
+
"kind": "Reference",
|
|
50007
|
+
"text": "Array3Number",
|
|
50008
|
+
"canonicalReference": "server!Array3Number:type"
|
|
50009
|
+
},
|
|
50010
|
+
{
|
|
50011
|
+
"kind": "Content",
|
|
50012
|
+
"text": " | "
|
|
50013
|
+
},
|
|
50014
|
+
{
|
|
50015
|
+
"kind": "Reference",
|
|
50016
|
+
"text": "Set",
|
|
50017
|
+
"canonicalReference": "!Set:interface"
|
|
50018
|
+
},
|
|
50019
|
+
{
|
|
50020
|
+
"kind": "Content",
|
|
50021
|
+
"text": "<number>"
|
|
48208
50022
|
},
|
|
48209
50023
|
{
|
|
48210
50024
|
"kind": "Content",
|
|
48211
|
-
"text": "
|
|
50025
|
+
"text": "): "
|
|
50026
|
+
},
|
|
50027
|
+
{
|
|
50028
|
+
"kind": "Reference",
|
|
50029
|
+
"text": "Array3Number",
|
|
50030
|
+
"canonicalReference": "server!Array3Number:type"
|
|
50031
|
+
},
|
|
50032
|
+
{
|
|
50033
|
+
"kind": "Content",
|
|
50034
|
+
"text": ";"
|
|
48212
50035
|
}
|
|
48213
50036
|
],
|
|
48214
|
-
"
|
|
48215
|
-
|
|
48216
|
-
"
|
|
50037
|
+
"isStatic": false,
|
|
50038
|
+
"returnTypeTokenRange": {
|
|
50039
|
+
"startIndex": 6,
|
|
50040
|
+
"endIndex": 7
|
|
48217
50041
|
},
|
|
48218
50042
|
"releaseTag": "Public",
|
|
48219
|
-
"
|
|
50043
|
+
"isProtected": false,
|
|
50044
|
+
"overloadIndex": 1,
|
|
50045
|
+
"parameters": [
|
|
50046
|
+
{
|
|
50047
|
+
"parameterName": "copyFrom",
|
|
50048
|
+
"parameterTypeTokenRange": {
|
|
50049
|
+
"startIndex": 1,
|
|
50050
|
+
"endIndex": 5
|
|
50051
|
+
},
|
|
50052
|
+
"isOptional": true
|
|
50053
|
+
}
|
|
50054
|
+
],
|
|
50055
|
+
"isOptional": false,
|
|
50056
|
+
"isAbstract": false,
|
|
50057
|
+
"name": "getArray3Number"
|
|
48220
50058
|
},
|
|
48221
50059
|
{
|
|
48222
|
-
"kind": "
|
|
48223
|
-
"canonicalReference": "server!
|
|
48224
|
-
"docComment": "",
|
|
50060
|
+
"kind": "Method",
|
|
50061
|
+
"canonicalReference": "server!TickAllocator#getArray4Number:member(1)",
|
|
50062
|
+
"docComment": "/**\n * Gets a 4-element number array from the pool. Array is reset to [0, 0, 0, 0] and ready for use.\n *\n * @returns A reusable 4-element array.\n */\n",
|
|
48225
50063
|
"excerptTokens": [
|
|
48226
50064
|
{
|
|
48227
50065
|
"kind": "Content",
|
|
48228
|
-
"text": "
|
|
50066
|
+
"text": "getArray4Number(copyFrom?: "
|
|
50067
|
+
},
|
|
50068
|
+
{
|
|
50069
|
+
"kind": "Reference",
|
|
50070
|
+
"text": "Array4Number",
|
|
50071
|
+
"canonicalReference": "server!Array4Number:type"
|
|
48229
50072
|
},
|
|
48230
50073
|
{
|
|
48231
50074
|
"kind": "Content",
|
|
48232
|
-
"text": "
|
|
48233
|
-
}
|
|
48234
|
-
|
|
48235
|
-
|
|
48236
|
-
|
|
48237
|
-
|
|
48238
|
-
|
|
48239
|
-
"releaseTag": "Public",
|
|
48240
|
-
"name": "STEP_END"
|
|
48241
|
-
},
|
|
48242
|
-
{
|
|
48243
|
-
"kind": "EnumMember",
|
|
48244
|
-
"canonicalReference": "server!SimulationEvent.STEP_START:member",
|
|
48245
|
-
"docComment": "",
|
|
48246
|
-
"excerptTokens": [
|
|
50075
|
+
"text": " | "
|
|
50076
|
+
},
|
|
50077
|
+
{
|
|
50078
|
+
"kind": "Reference",
|
|
50079
|
+
"text": "Set",
|
|
50080
|
+
"canonicalReference": "!Set:interface"
|
|
50081
|
+
},
|
|
48247
50082
|
{
|
|
48248
50083
|
"kind": "Content",
|
|
48249
|
-
"text": "
|
|
50084
|
+
"text": "<number>"
|
|
48250
50085
|
},
|
|
48251
50086
|
{
|
|
48252
50087
|
"kind": "Content",
|
|
48253
|
-
"text": "
|
|
50088
|
+
"text": "): "
|
|
50089
|
+
},
|
|
50090
|
+
{
|
|
50091
|
+
"kind": "Reference",
|
|
50092
|
+
"text": "Array4Number",
|
|
50093
|
+
"canonicalReference": "server!Array4Number:type"
|
|
50094
|
+
},
|
|
50095
|
+
{
|
|
50096
|
+
"kind": "Content",
|
|
50097
|
+
"text": ";"
|
|
48254
50098
|
}
|
|
48255
50099
|
],
|
|
48256
|
-
"
|
|
48257
|
-
|
|
48258
|
-
"
|
|
50100
|
+
"isStatic": false,
|
|
50101
|
+
"returnTypeTokenRange": {
|
|
50102
|
+
"startIndex": 6,
|
|
50103
|
+
"endIndex": 7
|
|
48259
50104
|
},
|
|
48260
50105
|
"releaseTag": "Public",
|
|
48261
|
-
"
|
|
48262
|
-
|
|
48263
|
-
|
|
48264
|
-
|
|
48265
|
-
|
|
48266
|
-
|
|
48267
|
-
|
|
48268
|
-
|
|
48269
|
-
|
|
48270
|
-
|
|
48271
|
-
|
|
48272
|
-
|
|
48273
|
-
|
|
48274
|
-
|
|
48275
|
-
|
|
48276
|
-
|
|
48277
|
-
"name": "SimulationEventPayloads",
|
|
48278
|
-
"preserveMemberOrder": false,
|
|
48279
|
-
"members": [
|
|
50106
|
+
"isProtected": false,
|
|
50107
|
+
"overloadIndex": 1,
|
|
50108
|
+
"parameters": [
|
|
50109
|
+
{
|
|
50110
|
+
"parameterName": "copyFrom",
|
|
50111
|
+
"parameterTypeTokenRange": {
|
|
50112
|
+
"startIndex": 1,
|
|
50113
|
+
"endIndex": 5
|
|
50114
|
+
},
|
|
50115
|
+
"isOptional": true
|
|
50116
|
+
}
|
|
50117
|
+
],
|
|
50118
|
+
"isOptional": false,
|
|
50119
|
+
"isAbstract": false,
|
|
50120
|
+
"name": "getArray4Number"
|
|
50121
|
+
},
|
|
48280
50122
|
{
|
|
48281
|
-
"kind": "
|
|
48282
|
-
"canonicalReference": "server!
|
|
48283
|
-
"docComment": "/**\n *
|
|
50123
|
+
"kind": "Method",
|
|
50124
|
+
"canonicalReference": "server!TickAllocator#getObject:member(1)",
|
|
50125
|
+
"docComment": "/**\n * Gets a plain object from the pool. Object is reset to empty state and ready for use.\n *\n * @typeParam T - The type interface for the object.\n *\n * @returns A reusable plain object.\n */\n",
|
|
48284
50126
|
"excerptTokens": [
|
|
48285
50127
|
{
|
|
48286
50128
|
"kind": "Content",
|
|
48287
|
-
"text": "
|
|
50129
|
+
"text": "getObject<T extends "
|
|
48288
50130
|
},
|
|
48289
50131
|
{
|
|
48290
50132
|
"kind": "Reference",
|
|
48291
|
-
"text": "
|
|
48292
|
-
"canonicalReference": "
|
|
50133
|
+
"text": "Record",
|
|
50134
|
+
"canonicalReference": "!Record:type"
|
|
48293
50135
|
},
|
|
48294
50136
|
{
|
|
48295
50137
|
"kind": "Content",
|
|
48296
|
-
"text": "
|
|
50138
|
+
"text": "<string, unknown>"
|
|
48297
50139
|
},
|
|
48298
50140
|
{
|
|
48299
50141
|
"kind": "Content",
|
|
48300
|
-
"text": "
|
|
50142
|
+
"text": " = "
|
|
48301
50143
|
},
|
|
48302
50144
|
{
|
|
48303
50145
|
"kind": "Reference",
|
|
48304
|
-
"text": "
|
|
48305
|
-
"canonicalReference": "
|
|
50146
|
+
"text": "Record",
|
|
50147
|
+
"canonicalReference": "!Record:type"
|
|
48306
50148
|
},
|
|
48307
50149
|
{
|
|
48308
50150
|
"kind": "Content",
|
|
48309
|
-
"text": "
|
|
50151
|
+
"text": "<string, unknown>"
|
|
48310
50152
|
},
|
|
48311
50153
|
{
|
|
48312
|
-
"kind": "
|
|
48313
|
-
"text": "
|
|
48314
|
-
"canonicalReference": "server!Vector3Like:interface"
|
|
50154
|
+
"kind": "Content",
|
|
50155
|
+
"text": ">(copyFromA?: "
|
|
48315
50156
|
},
|
|
48316
50157
|
{
|
|
48317
50158
|
"kind": "Content",
|
|
48318
|
-
"text": "
|
|
50159
|
+
"text": "T"
|
|
48319
50160
|
},
|
|
48320
50161
|
{
|
|
48321
|
-
"kind": "
|
|
48322
|
-
"text": "
|
|
48323
|
-
"canonicalReference": "server!Vector3Like:interface"
|
|
50162
|
+
"kind": "Content",
|
|
50163
|
+
"text": ", copyFromB?: "
|
|
48324
50164
|
},
|
|
48325
50165
|
{
|
|
48326
50166
|
"kind": "Content",
|
|
48327
|
-
"text": "
|
|
50167
|
+
"text": "T"
|
|
50168
|
+
},
|
|
50169
|
+
{
|
|
50170
|
+
"kind": "Content",
|
|
50171
|
+
"text": "): "
|
|
50172
|
+
},
|
|
50173
|
+
{
|
|
50174
|
+
"kind": "Content",
|
|
50175
|
+
"text": "T"
|
|
48328
50176
|
},
|
|
48329
50177
|
{
|
|
48330
50178
|
"kind": "Content",
|
|
48331
50179
|
"text": ";"
|
|
48332
50180
|
}
|
|
48333
50181
|
],
|
|
48334
|
-
"
|
|
48335
|
-
|
|
50182
|
+
"typeParameters": [
|
|
50183
|
+
{
|
|
50184
|
+
"typeParameterName": "T",
|
|
50185
|
+
"constraintTokenRange": {
|
|
50186
|
+
"startIndex": 1,
|
|
50187
|
+
"endIndex": 3
|
|
50188
|
+
},
|
|
50189
|
+
"defaultTypeTokenRange": {
|
|
50190
|
+
"startIndex": 4,
|
|
50191
|
+
"endIndex": 6
|
|
50192
|
+
}
|
|
50193
|
+
}
|
|
50194
|
+
],
|
|
50195
|
+
"isStatic": false,
|
|
50196
|
+
"returnTypeTokenRange": {
|
|
50197
|
+
"startIndex": 11,
|
|
50198
|
+
"endIndex": 12
|
|
50199
|
+
},
|
|
48336
50200
|
"releaseTag": "Public",
|
|
48337
|
-
"
|
|
48338
|
-
"
|
|
48339
|
-
|
|
48340
|
-
|
|
48341
|
-
|
|
50201
|
+
"isProtected": false,
|
|
50202
|
+
"overloadIndex": 1,
|
|
50203
|
+
"parameters": [
|
|
50204
|
+
{
|
|
50205
|
+
"parameterName": "copyFromA",
|
|
50206
|
+
"parameterTypeTokenRange": {
|
|
50207
|
+
"startIndex": 7,
|
|
50208
|
+
"endIndex": 8
|
|
50209
|
+
},
|
|
50210
|
+
"isOptional": true
|
|
50211
|
+
},
|
|
50212
|
+
{
|
|
50213
|
+
"parameterName": "copyFromB",
|
|
50214
|
+
"parameterTypeTokenRange": {
|
|
50215
|
+
"startIndex": 9,
|
|
50216
|
+
"endIndex": 10
|
|
50217
|
+
},
|
|
50218
|
+
"isOptional": true
|
|
50219
|
+
}
|
|
50220
|
+
],
|
|
50221
|
+
"isOptional": false,
|
|
50222
|
+
"isAbstract": false,
|
|
50223
|
+
"name": "getObject"
|
|
48342
50224
|
},
|
|
48343
50225
|
{
|
|
48344
|
-
"kind": "
|
|
48345
|
-
"canonicalReference": "server!
|
|
48346
|
-
"docComment": "/**\n *
|
|
50226
|
+
"kind": "Method",
|
|
50227
|
+
"canonicalReference": "server!TickAllocator#getSet:member(1)",
|
|
50228
|
+
"docComment": "/**\n * Gets a set from the pool. Set is reset to empty state and ready for use.\n *\n * @typeParam T - The type of the set.\n *\n * @returns A reusable set.\n */\n",
|
|
48347
50229
|
"excerptTokens": [
|
|
48348
50230
|
{
|
|
48349
50231
|
"kind": "Content",
|
|
48350
|
-
"text": "
|
|
50232
|
+
"text": "getSet<T>(copyFromA?: "
|
|
48351
50233
|
},
|
|
48352
50234
|
{
|
|
48353
50235
|
"kind": "Reference",
|
|
48354
|
-
"text": "
|
|
48355
|
-
"canonicalReference": "
|
|
50236
|
+
"text": "Set",
|
|
50237
|
+
"canonicalReference": "!Set:interface"
|
|
48356
50238
|
},
|
|
48357
50239
|
{
|
|
48358
50240
|
"kind": "Content",
|
|
48359
|
-
"text": "]
|
|
50241
|
+
"text": "<T> | T[]"
|
|
48360
50242
|
},
|
|
48361
50243
|
{
|
|
48362
50244
|
"kind": "Content",
|
|
48363
|
-
"text": "
|
|
50245
|
+
"text": ", copyFromB?: "
|
|
48364
50246
|
},
|
|
48365
50247
|
{
|
|
48366
50248
|
"kind": "Reference",
|
|
48367
|
-
"text": "
|
|
48368
|
-
"canonicalReference": "
|
|
50249
|
+
"text": "Set",
|
|
50250
|
+
"canonicalReference": "!Set:interface"
|
|
48369
50251
|
},
|
|
48370
50252
|
{
|
|
48371
50253
|
"kind": "Content",
|
|
48372
|
-
"text": "
|
|
48373
|
-
},
|
|
48374
|
-
{
|
|
48375
|
-
"kind": "Reference",
|
|
48376
|
-
"text": "Float32Array",
|
|
48377
|
-
"canonicalReference": "!Float32Array:interface"
|
|
50254
|
+
"text": "<T> | T[]"
|
|
48378
50255
|
},
|
|
48379
50256
|
{
|
|
48380
50257
|
"kind": "Content",
|
|
48381
|
-
"text": "
|
|
50258
|
+
"text": "): "
|
|
48382
50259
|
},
|
|
48383
50260
|
{
|
|
48384
50261
|
"kind": "Reference",
|
|
48385
|
-
"text": "
|
|
48386
|
-
"canonicalReference": "!
|
|
50262
|
+
"text": "Set",
|
|
50263
|
+
"canonicalReference": "!Set:interface"
|
|
48387
50264
|
},
|
|
48388
50265
|
{
|
|
48389
50266
|
"kind": "Content",
|
|
48390
|
-
"text": "
|
|
50267
|
+
"text": "<T>"
|
|
48391
50268
|
},
|
|
48392
50269
|
{
|
|
48393
50270
|
"kind": "Content",
|
|
48394
50271
|
"text": ";"
|
|
48395
50272
|
}
|
|
48396
50273
|
],
|
|
48397
|
-
"
|
|
48398
|
-
|
|
50274
|
+
"typeParameters": [
|
|
50275
|
+
{
|
|
50276
|
+
"typeParameterName": "T",
|
|
50277
|
+
"constraintTokenRange": {
|
|
50278
|
+
"startIndex": 0,
|
|
50279
|
+
"endIndex": 0
|
|
50280
|
+
},
|
|
50281
|
+
"defaultTypeTokenRange": {
|
|
50282
|
+
"startIndex": 0,
|
|
50283
|
+
"endIndex": 0
|
|
50284
|
+
}
|
|
50285
|
+
}
|
|
50286
|
+
],
|
|
50287
|
+
"isStatic": false,
|
|
50288
|
+
"returnTypeTokenRange": {
|
|
50289
|
+
"startIndex": 7,
|
|
50290
|
+
"endIndex": 9
|
|
50291
|
+
},
|
|
48399
50292
|
"releaseTag": "Public",
|
|
48400
|
-
"
|
|
48401
|
-
"
|
|
48402
|
-
|
|
48403
|
-
|
|
48404
|
-
|
|
50293
|
+
"isProtected": false,
|
|
50294
|
+
"overloadIndex": 1,
|
|
50295
|
+
"parameters": [
|
|
50296
|
+
{
|
|
50297
|
+
"parameterName": "copyFromA",
|
|
50298
|
+
"parameterTypeTokenRange": {
|
|
50299
|
+
"startIndex": 1,
|
|
50300
|
+
"endIndex": 3
|
|
50301
|
+
},
|
|
50302
|
+
"isOptional": true
|
|
50303
|
+
},
|
|
50304
|
+
{
|
|
50305
|
+
"parameterName": "copyFromB",
|
|
50306
|
+
"parameterTypeTokenRange": {
|
|
50307
|
+
"startIndex": 4,
|
|
50308
|
+
"endIndex": 6
|
|
50309
|
+
},
|
|
50310
|
+
"isOptional": true
|
|
50311
|
+
}
|
|
50312
|
+
],
|
|
50313
|
+
"isOptional": false,
|
|
50314
|
+
"isAbstract": false,
|
|
50315
|
+
"name": "getSet"
|
|
48405
50316
|
},
|
|
48406
50317
|
{
|
|
48407
|
-
"kind": "
|
|
48408
|
-
"canonicalReference": "server!
|
|
48409
|
-
"docComment": "/**\n *
|
|
50318
|
+
"kind": "Method",
|
|
50319
|
+
"canonicalReference": "server!TickAllocator#map:member(1)",
|
|
50320
|
+
"docComment": "/**\n * Maps an array to a new array using a callback function.\n *\n * @param array - The array to map.\n *\n * @param callback - The callback function to map the array.\n *\n * @typeParam T - The type of the array.\n *\n * @typeParam U - The type of the resulting array.\n *\n * @returns A new array with the mapped values.\n */\n",
|
|
48410
50321
|
"excerptTokens": [
|
|
48411
50322
|
{
|
|
48412
50323
|
"kind": "Content",
|
|
48413
|
-
"text": "
|
|
50324
|
+
"text": "map<T, U>(array: "
|
|
48414
50325
|
},
|
|
48415
50326
|
{
|
|
48416
|
-
"kind": "
|
|
48417
|
-
"text": "
|
|
48418
|
-
"canonicalReference": "server!SimulationEvent.STEP_END:member"
|
|
50327
|
+
"kind": "Content",
|
|
50328
|
+
"text": "T[]"
|
|
48419
50329
|
},
|
|
48420
50330
|
{
|
|
48421
50331
|
"kind": "Content",
|
|
48422
|
-
"text": "
|
|
50332
|
+
"text": ", callback: "
|
|
48423
50333
|
},
|
|
48424
50334
|
{
|
|
48425
50335
|
"kind": "Content",
|
|
48426
|
-
"text": "
|
|
50336
|
+
"text": "(value: T, index: number, array: T[]) => U"
|
|
48427
50337
|
},
|
|
48428
50338
|
{
|
|
48429
|
-
"kind": "
|
|
48430
|
-
"text": "
|
|
48431
|
-
"canonicalReference": "server!Simulation:class"
|
|
50339
|
+
"kind": "Content",
|
|
50340
|
+
"text": "): "
|
|
48432
50341
|
},
|
|
48433
50342
|
{
|
|
48434
50343
|
"kind": "Content",
|
|
48435
|
-
"text": "
|
|
50344
|
+
"text": "U[]"
|
|
48436
50345
|
},
|
|
48437
50346
|
{
|
|
48438
50347
|
"kind": "Content",
|
|
48439
50348
|
"text": ";"
|
|
48440
50349
|
}
|
|
48441
50350
|
],
|
|
48442
|
-
"
|
|
48443
|
-
"isOptional": false,
|
|
48444
|
-
"releaseTag": "Public",
|
|
48445
|
-
"name": "\"SIMULATION.STEP_END\"",
|
|
48446
|
-
"propertyTypeTokenRange": {
|
|
48447
|
-
"startIndex": 3,
|
|
48448
|
-
"endIndex": 6
|
|
48449
|
-
}
|
|
48450
|
-
},
|
|
48451
|
-
{
|
|
48452
|
-
"kind": "PropertySignature",
|
|
48453
|
-
"canonicalReference": "server!SimulationEventPayloads#\"SIMULATION.STEP_START\":member",
|
|
48454
|
-
"docComment": "/**\n * Emitted when the simulation step starts.\n */\n",
|
|
48455
|
-
"excerptTokens": [
|
|
50351
|
+
"typeParameters": [
|
|
48456
50352
|
{
|
|
48457
|
-
"
|
|
48458
|
-
"
|
|
50353
|
+
"typeParameterName": "T",
|
|
50354
|
+
"constraintTokenRange": {
|
|
50355
|
+
"startIndex": 0,
|
|
50356
|
+
"endIndex": 0
|
|
50357
|
+
},
|
|
50358
|
+
"defaultTypeTokenRange": {
|
|
50359
|
+
"startIndex": 0,
|
|
50360
|
+
"endIndex": 0
|
|
50361
|
+
}
|
|
48459
50362
|
},
|
|
48460
50363
|
{
|
|
48461
|
-
"
|
|
48462
|
-
"
|
|
48463
|
-
|
|
48464
|
-
|
|
50364
|
+
"typeParameterName": "U",
|
|
50365
|
+
"constraintTokenRange": {
|
|
50366
|
+
"startIndex": 0,
|
|
50367
|
+
"endIndex": 0
|
|
50368
|
+
},
|
|
50369
|
+
"defaultTypeTokenRange": {
|
|
50370
|
+
"startIndex": 0,
|
|
50371
|
+
"endIndex": 0
|
|
50372
|
+
}
|
|
50373
|
+
}
|
|
50374
|
+
],
|
|
50375
|
+
"isStatic": false,
|
|
50376
|
+
"returnTypeTokenRange": {
|
|
50377
|
+
"startIndex": 5,
|
|
50378
|
+
"endIndex": 6
|
|
50379
|
+
},
|
|
50380
|
+
"releaseTag": "Public",
|
|
50381
|
+
"isProtected": false,
|
|
50382
|
+
"overloadIndex": 1,
|
|
50383
|
+
"parameters": [
|
|
48465
50384
|
{
|
|
48466
|
-
"
|
|
48467
|
-
"
|
|
50385
|
+
"parameterName": "array",
|
|
50386
|
+
"parameterTypeTokenRange": {
|
|
50387
|
+
"startIndex": 1,
|
|
50388
|
+
"endIndex": 2
|
|
50389
|
+
},
|
|
50390
|
+
"isOptional": false
|
|
48468
50391
|
},
|
|
48469
50392
|
{
|
|
48470
|
-
"
|
|
48471
|
-
"
|
|
48472
|
-
|
|
50393
|
+
"parameterName": "callback",
|
|
50394
|
+
"parameterTypeTokenRange": {
|
|
50395
|
+
"startIndex": 3,
|
|
50396
|
+
"endIndex": 4
|
|
50397
|
+
},
|
|
50398
|
+
"isOptional": false
|
|
50399
|
+
}
|
|
50400
|
+
],
|
|
50401
|
+
"isOptional": false,
|
|
50402
|
+
"isAbstract": false,
|
|
50403
|
+
"name": "map"
|
|
50404
|
+
},
|
|
50405
|
+
{
|
|
50406
|
+
"kind": "Method",
|
|
50407
|
+
"canonicalReference": "server!TickAllocator#reset:member(1)",
|
|
50408
|
+
"docComment": "/**\n * Releases all allocated objects back to their respective pools. This is intended to be called at the end of a tick.\n */\n",
|
|
50409
|
+
"excerptTokens": [
|
|
48473
50410
|
{
|
|
48474
|
-
"kind": "
|
|
48475
|
-
"text": "
|
|
48476
|
-
"canonicalReference": "server!Simulation:class"
|
|
50411
|
+
"kind": "Content",
|
|
50412
|
+
"text": "reset(): "
|
|
48477
50413
|
},
|
|
48478
50414
|
{
|
|
48479
50415
|
"kind": "Content",
|
|
48480
|
-
"text": "
|
|
50416
|
+
"text": "void"
|
|
48481
50417
|
},
|
|
48482
50418
|
{
|
|
48483
50419
|
"kind": "Content",
|
|
48484
50420
|
"text": ";"
|
|
48485
50421
|
}
|
|
48486
50422
|
],
|
|
48487
|
-
"
|
|
48488
|
-
"
|
|
48489
|
-
"releaseTag": "Public",
|
|
48490
|
-
"name": "\"SIMULATION.STEP_START\"",
|
|
48491
|
-
"propertyTypeTokenRange": {
|
|
48492
|
-
"startIndex": 3,
|
|
48493
|
-
"endIndex": 6
|
|
48494
|
-
}
|
|
48495
|
-
}
|
|
48496
|
-
],
|
|
48497
|
-
"extendsTokenRanges": []
|
|
48498
|
-
},
|
|
48499
|
-
{
|
|
48500
|
-
"kind": "Interface",
|
|
48501
|
-
"canonicalReference": "server!SpdMatrix3:interface",
|
|
48502
|
-
"docComment": "/**\n * A 3x3 symmetric positive-definite matrix for spatial dynamics.\n *\n * @public\n */\n",
|
|
48503
|
-
"excerptTokens": [
|
|
48504
|
-
{
|
|
48505
|
-
"kind": "Content",
|
|
48506
|
-
"text": "interface SpdMatrix3 extends "
|
|
48507
|
-
},
|
|
48508
|
-
{
|
|
48509
|
-
"kind": "Reference",
|
|
48510
|
-
"text": "RapierSdpMatrix3",
|
|
48511
|
-
"canonicalReference": "@dimforge/rapier3d-simd-compat!SdpMatrix3:class"
|
|
48512
|
-
},
|
|
48513
|
-
{
|
|
48514
|
-
"kind": "Content",
|
|
48515
|
-
"text": " "
|
|
48516
|
-
}
|
|
48517
|
-
],
|
|
48518
|
-
"fileUrlPath": "src/shared/types/math/SpdMatrix3.ts",
|
|
48519
|
-
"releaseTag": "Public",
|
|
48520
|
-
"name": "SpdMatrix3",
|
|
48521
|
-
"preserveMemberOrder": false,
|
|
48522
|
-
"members": [],
|
|
48523
|
-
"extendsTokenRanges": [
|
|
48524
|
-
{
|
|
48525
|
-
"startIndex": 1,
|
|
48526
|
-
"endIndex": 2
|
|
48527
|
-
}
|
|
48528
|
-
]
|
|
48529
|
-
},
|
|
48530
|
-
{
|
|
48531
|
-
"kind": "Function",
|
|
48532
|
-
"canonicalReference": "server!startServer:function(1)",
|
|
48533
|
-
"docComment": "/**\n * The entry point for running game setup and starting the game server.\n *\n * @remarks\n *\n * This function should always be called first when initializing your game. It will internally handle initialization of the physics engine and other systems required systems. All of your game setup logic should be executed in the init function.\n *\n * @param init - A function that initializes the game. The function can take no parameters to just initialize game logic, or it can accept a world parameter. If it accepts a world parameter, a default world will be automatically created and passed to the function.\n *\n * @public\n */\n",
|
|
48534
|
-
"excerptTokens": [
|
|
48535
|
-
{
|
|
48536
|
-
"kind": "Content",
|
|
48537
|
-
"text": "export declare function startServer(init: "
|
|
48538
|
-
},
|
|
48539
|
-
{
|
|
48540
|
-
"kind": "Content",
|
|
48541
|
-
"text": "((() => void) | ((world: "
|
|
48542
|
-
},
|
|
48543
|
-
{
|
|
48544
|
-
"kind": "Reference",
|
|
48545
|
-
"text": "World",
|
|
48546
|
-
"canonicalReference": "server!World:class"
|
|
48547
|
-
},
|
|
48548
|
-
{
|
|
48549
|
-
"kind": "Content",
|
|
48550
|
-
"text": ") => void))"
|
|
48551
|
-
},
|
|
48552
|
-
{
|
|
48553
|
-
"kind": "Content",
|
|
48554
|
-
"text": "): "
|
|
48555
|
-
},
|
|
48556
|
-
{
|
|
48557
|
-
"kind": "Content",
|
|
48558
|
-
"text": "void"
|
|
48559
|
-
},
|
|
48560
|
-
{
|
|
48561
|
-
"kind": "Content",
|
|
48562
|
-
"text": ";"
|
|
48563
|
-
}
|
|
48564
|
-
],
|
|
48565
|
-
"fileUrlPath": "src/GameServer.ts",
|
|
48566
|
-
"returnTypeTokenRange": {
|
|
48567
|
-
"startIndex": 5,
|
|
48568
|
-
"endIndex": 6
|
|
48569
|
-
},
|
|
48570
|
-
"releaseTag": "Public",
|
|
48571
|
-
"overloadIndex": 1,
|
|
48572
|
-
"parameters": [
|
|
48573
|
-
{
|
|
48574
|
-
"parameterName": "init",
|
|
48575
|
-
"parameterTypeTokenRange": {
|
|
50423
|
+
"isStatic": false,
|
|
50424
|
+
"returnTypeTokenRange": {
|
|
48576
50425
|
"startIndex": 1,
|
|
48577
|
-
"endIndex":
|
|
50426
|
+
"endIndex": 2
|
|
48578
50427
|
},
|
|
48579
|
-
"
|
|
48580
|
-
|
|
48581
|
-
|
|
48582
|
-
|
|
48583
|
-
|
|
48584
|
-
|
|
48585
|
-
|
|
48586
|
-
"canonicalReference": "server!SUPPORTED_INPUT_KEYS:var",
|
|
48587
|
-
"docComment": "/**\n * The input keys that are included in the PlayerInput.\n *\n * @public\n */\n",
|
|
48588
|
-
"excerptTokens": [
|
|
48589
|
-
{
|
|
48590
|
-
"kind": "Content",
|
|
48591
|
-
"text": "SUPPORTED_INPUT_KEYS: "
|
|
48592
|
-
},
|
|
48593
|
-
{
|
|
48594
|
-
"kind": "Content",
|
|
48595
|
-
"text": "readonly [\"w\", \"a\", \"s\", \"d\", \"sp\", \"sh\", \"tb\", \"ml\", \"mr\", \"q\", \"e\", \"r\", \"f\", \"z\", \"x\", \"c\", \"v\", \"u\", \"i\", \"o\", \"j\", \"k\", \"l\", \"n\", \"m\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"0\"]"
|
|
50428
|
+
"releaseTag": "Public",
|
|
50429
|
+
"isProtected": false,
|
|
50430
|
+
"overloadIndex": 1,
|
|
50431
|
+
"parameters": [],
|
|
50432
|
+
"isOptional": false,
|
|
50433
|
+
"isAbstract": false,
|
|
50434
|
+
"name": "reset"
|
|
48596
50435
|
}
|
|
48597
50436
|
],
|
|
48598
|
-
"
|
|
48599
|
-
"isReadonly": true,
|
|
48600
|
-
"releaseTag": "Public",
|
|
48601
|
-
"name": "SUPPORTED_INPUT_KEYS",
|
|
48602
|
-
"variableTypeTokenRange": {
|
|
48603
|
-
"startIndex": 1,
|
|
48604
|
-
"endIndex": 2
|
|
48605
|
-
}
|
|
50437
|
+
"implementsTokenRanges": []
|
|
48606
50438
|
},
|
|
48607
50439
|
{
|
|
48608
50440
|
"kind": "Interface",
|
|
@@ -54162,6 +55994,37 @@
|
|
|
54162
55994
|
"isStatic": false,
|
|
54163
55995
|
"isProtected": false,
|
|
54164
55996
|
"isAbstract": false
|
|
55997
|
+
},
|
|
55998
|
+
{
|
|
55999
|
+
"kind": "Property",
|
|
56000
|
+
"canonicalReference": "server!World#tickAllocator:member",
|
|
56001
|
+
"docComment": "/**\n * The tick allocator for the world.\n */\n",
|
|
56002
|
+
"excerptTokens": [
|
|
56003
|
+
{
|
|
56004
|
+
"kind": "Content",
|
|
56005
|
+
"text": "get tickAllocator(): "
|
|
56006
|
+
},
|
|
56007
|
+
{
|
|
56008
|
+
"kind": "Reference",
|
|
56009
|
+
"text": "TickAllocator",
|
|
56010
|
+
"canonicalReference": "server!TickAllocator:class"
|
|
56011
|
+
},
|
|
56012
|
+
{
|
|
56013
|
+
"kind": "Content",
|
|
56014
|
+
"text": ";"
|
|
56015
|
+
}
|
|
56016
|
+
],
|
|
56017
|
+
"isReadonly": true,
|
|
56018
|
+
"isOptional": false,
|
|
56019
|
+
"releaseTag": "Public",
|
|
56020
|
+
"name": "tickAllocator",
|
|
56021
|
+
"propertyTypeTokenRange": {
|
|
56022
|
+
"startIndex": 1,
|
|
56023
|
+
"endIndex": 2
|
|
56024
|
+
},
|
|
56025
|
+
"isStatic": false,
|
|
56026
|
+
"isProtected": false,
|
|
56027
|
+
"isAbstract": false
|
|
54165
56028
|
}
|
|
54166
56029
|
],
|
|
54167
56030
|
"extendsTokenRange": {
|