hytopia 0.8.6-dev6 → 0.8.6-dev6nopool
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 +166 -164
- package/docs/server.audiomanager.getallaudios.md +1 -38
- package/docs/server.audiomanager.getallentityattachedaudios.md +1 -1
- package/docs/server.audiomanager.md +1 -1
- package/docs/server.blocktype._constructor_.md +1 -15
- package/docs/server.blocktype.md +1 -22
- package/docs/server.blocktyperegistry.getallblocktypes.md +1 -38
- package/docs/server.blocktyperegistry.md +1 -1
- package/docs/server.chunk._constructor_.md +1 -15
- package/docs/server.chunk.md +1 -22
- package/docs/server.chunklattice.getallchunks.md +1 -38
- package/docs/server.chunklattice.md +1 -22
- 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 +1 -38
- package/docs/server.entitymanager.md +1 -1
- package/docs/server.lightmanager.getalllights.md +1 -38
- package/docs/server.lightmanager.md +1 -1
- package/docs/server.md +25 -25
- 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 +1 -38
- package/docs/server.particleemittermanager.md +1 -1
- package/docs/server.rgbcolor.md +1 -1
- package/docs/server.sceneuimanager.getallsceneuis.md +1 -38
- 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 +244 -0
- package/docs/server.telemetryspanoptions.md +18 -0
- package/docs/server.world.md +0 -21
- package/node-server.mjs +172 -170
- package/package.json +1 -1
- package/server.api.json +670 -737
- package/server.d.ts +153 -145
- package/docs/server.array3number.md +0 -13
- package/docs/server.array4number.md +0 -13
- package/docs/server.blocktype.blocktyperegistry.md +0 -13
- package/docs/server.chunk.chunklattice.md +0 -13
- package/docs/server.chunklattice.world.md +0 -13
- package/docs/server.tickallocator.getarray.md +0 -72
- package/docs/server.tickallocator.getarray3number.md +0 -56
- package/docs/server.tickallocator.getarray4number.md +0 -56
- package/docs/server.tickallocator.getobject.md +0 -72
- package/docs/server.tickallocator.getset.md +0 -72
- package/docs/server.tickallocator.map.md +0 -72
- package/docs/server.tickallocator.md +0 -149
- package/docs/server.tickallocator.reset.md +0 -17
- package/docs/server.world.tickallocator.md +0 -13
package/server.api.json
CHANGED
|
@@ -173,58 +173,6 @@
|
|
|
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
|
-
},
|
|
228
176
|
{
|
|
229
177
|
"kind": "Class",
|
|
230
178
|
"canonicalReference": "server!Audio:class",
|
|
@@ -2139,19 +2087,11 @@
|
|
|
2139
2087
|
{
|
|
2140
2088
|
"kind": "Method",
|
|
2141
2089
|
"canonicalReference": "server!AudioManager#getAllAudios:member(1)",
|
|
2142
|
-
"docComment": "/**\n * Retrieves all loaded audio instances for the world.\n *\n * @
|
|
2090
|
+
"docComment": "/**\n * Retrieves all loaded audio instances for the world.\n *\n * @returns An array of audio instances.\n */\n",
|
|
2143
2091
|
"excerptTokens": [
|
|
2144
2092
|
{
|
|
2145
2093
|
"kind": "Content",
|
|
2146
|
-
"text": "getAllAudios(
|
|
2147
|
-
},
|
|
2148
|
-
{
|
|
2149
|
-
"kind": "Content",
|
|
2150
|
-
"text": "boolean"
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
"kind": "Content",
|
|
2154
|
-
"text": "): "
|
|
2094
|
+
"text": "getAllAudios(): "
|
|
2155
2095
|
},
|
|
2156
2096
|
{
|
|
2157
2097
|
"kind": "Reference",
|
|
@@ -2169,22 +2109,13 @@
|
|
|
2169
2109
|
],
|
|
2170
2110
|
"isStatic": false,
|
|
2171
2111
|
"returnTypeTokenRange": {
|
|
2172
|
-
"startIndex":
|
|
2173
|
-
"endIndex":
|
|
2112
|
+
"startIndex": 1,
|
|
2113
|
+
"endIndex": 3
|
|
2174
2114
|
},
|
|
2175
2115
|
"releaseTag": "Public",
|
|
2176
2116
|
"isProtected": false,
|
|
2177
2117
|
"overloadIndex": 1,
|
|
2178
|
-
"parameters": [
|
|
2179
|
-
{
|
|
2180
|
-
"parameterName": "tickAllocated",
|
|
2181
|
-
"parameterTypeTokenRange": {
|
|
2182
|
-
"startIndex": 1,
|
|
2183
|
-
"endIndex": 2
|
|
2184
|
-
},
|
|
2185
|
-
"isOptional": true
|
|
2186
|
-
}
|
|
2187
|
-
],
|
|
2118
|
+
"parameters": [],
|
|
2188
2119
|
"isOptional": false,
|
|
2189
2120
|
"isAbstract": false,
|
|
2190
2121
|
"name": "getAllAudios"
|
|
@@ -2192,7 +2123,7 @@
|
|
|
2192
2123
|
{
|
|
2193
2124
|
"kind": "Method",
|
|
2194
2125
|
"canonicalReference": "server!AudioManager#getAllEntityAttachedAudios:member(1)",
|
|
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 * @returns An array of audio instances.\n */\n",
|
|
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. the allocated array at the end of the current tick. false by default.\n *\n * @returns An array of audio instances.\n */\n",
|
|
2196
2127
|
"excerptTokens": [
|
|
2197
2128
|
{
|
|
2198
2129
|
"kind": "Content",
|
|
@@ -4979,16 +4910,7 @@
|
|
|
4979
4910
|
"excerptTokens": [
|
|
4980
4911
|
{
|
|
4981
4912
|
"kind": "Content",
|
|
4982
|
-
"text": "constructor(
|
|
4983
|
-
},
|
|
4984
|
-
{
|
|
4985
|
-
"kind": "Reference",
|
|
4986
|
-
"text": "BlockTypeRegistry",
|
|
4987
|
-
"canonicalReference": "server!BlockTypeRegistry:class"
|
|
4988
|
-
},
|
|
4989
|
-
{
|
|
4990
|
-
"kind": "Content",
|
|
4991
|
-
"text": ", options?: "
|
|
4913
|
+
"text": "constructor(options?: "
|
|
4992
4914
|
},
|
|
4993
4915
|
{
|
|
4994
4916
|
"kind": "Reference",
|
|
@@ -5005,54 +4927,15 @@
|
|
|
5005
4927
|
"overloadIndex": 1,
|
|
5006
4928
|
"parameters": [
|
|
5007
4929
|
{
|
|
5008
|
-
"parameterName": "
|
|
4930
|
+
"parameterName": "options",
|
|
5009
4931
|
"parameterTypeTokenRange": {
|
|
5010
4932
|
"startIndex": 1,
|
|
5011
4933
|
"endIndex": 2
|
|
5012
4934
|
},
|
|
5013
|
-
"isOptional": false
|
|
5014
|
-
},
|
|
5015
|
-
{
|
|
5016
|
-
"parameterName": "options",
|
|
5017
|
-
"parameterTypeTokenRange": {
|
|
5018
|
-
"startIndex": 3,
|
|
5019
|
-
"endIndex": 4
|
|
5020
|
-
},
|
|
5021
4935
|
"isOptional": true
|
|
5022
4936
|
}
|
|
5023
4937
|
]
|
|
5024
4938
|
},
|
|
5025
|
-
{
|
|
5026
|
-
"kind": "Property",
|
|
5027
|
-
"canonicalReference": "server!BlockType#blockTypeRegistry:member",
|
|
5028
|
-
"docComment": "/**\n * The block type registry that the block type belongs to.\n */\n",
|
|
5029
|
-
"excerptTokens": [
|
|
5030
|
-
{
|
|
5031
|
-
"kind": "Content",
|
|
5032
|
-
"text": "get blockTypeRegistry(): "
|
|
5033
|
-
},
|
|
5034
|
-
{
|
|
5035
|
-
"kind": "Reference",
|
|
5036
|
-
"text": "BlockTypeRegistry",
|
|
5037
|
-
"canonicalReference": "server!BlockTypeRegistry:class"
|
|
5038
|
-
},
|
|
5039
|
-
{
|
|
5040
|
-
"kind": "Content",
|
|
5041
|
-
"text": ";"
|
|
5042
|
-
}
|
|
5043
|
-
],
|
|
5044
|
-
"isReadonly": true,
|
|
5045
|
-
"isOptional": false,
|
|
5046
|
-
"releaseTag": "Public",
|
|
5047
|
-
"name": "blockTypeRegistry",
|
|
5048
|
-
"propertyTypeTokenRange": {
|
|
5049
|
-
"startIndex": 1,
|
|
5050
|
-
"endIndex": 2
|
|
5051
|
-
},
|
|
5052
|
-
"isStatic": false,
|
|
5053
|
-
"isProtected": false,
|
|
5054
|
-
"isAbstract": false
|
|
5055
|
-
},
|
|
5056
4939
|
{
|
|
5057
4940
|
"kind": "Property",
|
|
5058
4941
|
"canonicalReference": "server!BlockType#colliderOptions:member",
|
|
@@ -5721,19 +5604,11 @@
|
|
|
5721
5604
|
{
|
|
5722
5605
|
"kind": "Method",
|
|
5723
5606
|
"canonicalReference": "server!BlockTypeRegistry#getAllBlockTypes:member(1)",
|
|
5724
|
-
"docComment": "/**\n * Get all registered block types.\n *\n * @
|
|
5607
|
+
"docComment": "/**\n * Get all registered block types.\n *\n * @returns An array of all registered block types.\n */\n",
|
|
5725
5608
|
"excerptTokens": [
|
|
5726
5609
|
{
|
|
5727
5610
|
"kind": "Content",
|
|
5728
|
-
"text": "getAllBlockTypes(
|
|
5729
|
-
},
|
|
5730
|
-
{
|
|
5731
|
-
"kind": "Content",
|
|
5732
|
-
"text": "boolean"
|
|
5733
|
-
},
|
|
5734
|
-
{
|
|
5735
|
-
"kind": "Content",
|
|
5736
|
-
"text": "): "
|
|
5611
|
+
"text": "getAllBlockTypes(): "
|
|
5737
5612
|
},
|
|
5738
5613
|
{
|
|
5739
5614
|
"kind": "Reference",
|
|
@@ -5751,22 +5626,13 @@
|
|
|
5751
5626
|
],
|
|
5752
5627
|
"isStatic": false,
|
|
5753
5628
|
"returnTypeTokenRange": {
|
|
5754
|
-
"startIndex":
|
|
5755
|
-
"endIndex":
|
|
5629
|
+
"startIndex": 1,
|
|
5630
|
+
"endIndex": 3
|
|
5756
5631
|
},
|
|
5757
5632
|
"releaseTag": "Public",
|
|
5758
5633
|
"isProtected": false,
|
|
5759
5634
|
"overloadIndex": 1,
|
|
5760
|
-
"parameters": [
|
|
5761
|
-
{
|
|
5762
|
-
"parameterName": "tickAllocated",
|
|
5763
|
-
"parameterTypeTokenRange": {
|
|
5764
|
-
"startIndex": 1,
|
|
5765
|
-
"endIndex": 2
|
|
5766
|
-
},
|
|
5767
|
-
"isOptional": true
|
|
5768
|
-
}
|
|
5769
|
-
],
|
|
5635
|
+
"parameters": [],
|
|
5770
5636
|
"isOptional": false,
|
|
5771
5637
|
"isAbstract": false,
|
|
5772
5638
|
"name": "getAllBlockTypes"
|
|
@@ -6675,16 +6541,7 @@
|
|
|
6675
6541
|
"excerptTokens": [
|
|
6676
6542
|
{
|
|
6677
6543
|
"kind": "Content",
|
|
6678
|
-
"text": "constructor(
|
|
6679
|
-
},
|
|
6680
|
-
{
|
|
6681
|
-
"kind": "Reference",
|
|
6682
|
-
"text": "ChunkLattice",
|
|
6683
|
-
"canonicalReference": "server!ChunkLattice:class"
|
|
6684
|
-
},
|
|
6685
|
-
{
|
|
6686
|
-
"kind": "Content",
|
|
6687
|
-
"text": ", originCoordinate: "
|
|
6544
|
+
"text": "constructor(originCoordinate: "
|
|
6688
6545
|
},
|
|
6689
6546
|
{
|
|
6690
6547
|
"kind": "Reference",
|
|
@@ -6701,20 +6558,12 @@
|
|
|
6701
6558
|
"overloadIndex": 1,
|
|
6702
6559
|
"parameters": [
|
|
6703
6560
|
{
|
|
6704
|
-
"parameterName": "
|
|
6561
|
+
"parameterName": "originCoordinate",
|
|
6705
6562
|
"parameterTypeTokenRange": {
|
|
6706
6563
|
"startIndex": 1,
|
|
6707
6564
|
"endIndex": 2
|
|
6708
6565
|
},
|
|
6709
6566
|
"isOptional": false
|
|
6710
|
-
},
|
|
6711
|
-
{
|
|
6712
|
-
"parameterName": "originCoordinate",
|
|
6713
|
-
"parameterTypeTokenRange": {
|
|
6714
|
-
"startIndex": 3,
|
|
6715
|
-
"endIndex": 4
|
|
6716
|
-
},
|
|
6717
|
-
"isOptional": false
|
|
6718
6567
|
}
|
|
6719
6568
|
]
|
|
6720
6569
|
},
|
|
@@ -6811,37 +6660,6 @@
|
|
|
6811
6660
|
"isProtected": false,
|
|
6812
6661
|
"isAbstract": false
|
|
6813
6662
|
},
|
|
6814
|
-
{
|
|
6815
|
-
"kind": "Property",
|
|
6816
|
-
"canonicalReference": "server!Chunk#chunkLattice:member",
|
|
6817
|
-
"docComment": "/**\n * The chunk lattice that the chunk belongs to.\n */\n",
|
|
6818
|
-
"excerptTokens": [
|
|
6819
|
-
{
|
|
6820
|
-
"kind": "Content",
|
|
6821
|
-
"text": "get chunkLattice(): "
|
|
6822
|
-
},
|
|
6823
|
-
{
|
|
6824
|
-
"kind": "Reference",
|
|
6825
|
-
"text": "ChunkLattice",
|
|
6826
|
-
"canonicalReference": "server!ChunkLattice:class"
|
|
6827
|
-
},
|
|
6828
|
-
{
|
|
6829
|
-
"kind": "Content",
|
|
6830
|
-
"text": ";"
|
|
6831
|
-
}
|
|
6832
|
-
],
|
|
6833
|
-
"isReadonly": true,
|
|
6834
|
-
"isOptional": false,
|
|
6835
|
-
"releaseTag": "Public",
|
|
6836
|
-
"name": "chunkLattice",
|
|
6837
|
-
"propertyTypeTokenRange": {
|
|
6838
|
-
"startIndex": 1,
|
|
6839
|
-
"endIndex": 2
|
|
6840
|
-
},
|
|
6841
|
-
"isStatic": false,
|
|
6842
|
-
"isProtected": false,
|
|
6843
|
-
"isAbstract": false
|
|
6844
|
-
},
|
|
6845
6663
|
{
|
|
6846
6664
|
"kind": "Method",
|
|
6847
6665
|
"canonicalReference": "server!Chunk#getBlockId:member(1)",
|
|
@@ -7201,19 +7019,11 @@
|
|
|
7201
7019
|
{
|
|
7202
7020
|
"kind": "Method",
|
|
7203
7021
|
"canonicalReference": "server!ChunkLattice#getAllChunks:member(1)",
|
|
7204
|
-
"docComment": "/**\n * Get all chunks in the lattice.\n *\n * @
|
|
7022
|
+
"docComment": "/**\n * Get all chunks in the lattice.\n *\n * @returns An array of all chunks in the lattice.\n */\n",
|
|
7205
7023
|
"excerptTokens": [
|
|
7206
7024
|
{
|
|
7207
7025
|
"kind": "Content",
|
|
7208
|
-
"text": "getAllChunks(
|
|
7209
|
-
},
|
|
7210
|
-
{
|
|
7211
|
-
"kind": "Content",
|
|
7212
|
-
"text": "boolean"
|
|
7213
|
-
},
|
|
7214
|
-
{
|
|
7215
|
-
"kind": "Content",
|
|
7216
|
-
"text": "): "
|
|
7026
|
+
"text": "getAllChunks(): "
|
|
7217
7027
|
},
|
|
7218
7028
|
{
|
|
7219
7029
|
"kind": "Reference",
|
|
@@ -7231,22 +7041,13 @@
|
|
|
7231
7041
|
],
|
|
7232
7042
|
"isStatic": false,
|
|
7233
7043
|
"returnTypeTokenRange": {
|
|
7234
|
-
"startIndex":
|
|
7235
|
-
"endIndex":
|
|
7044
|
+
"startIndex": 1,
|
|
7045
|
+
"endIndex": 3
|
|
7236
7046
|
},
|
|
7237
7047
|
"releaseTag": "Public",
|
|
7238
7048
|
"isProtected": false,
|
|
7239
7049
|
"overloadIndex": 1,
|
|
7240
|
-
"parameters": [
|
|
7241
|
-
{
|
|
7242
|
-
"parameterName": "tickAllocated",
|
|
7243
|
-
"parameterTypeTokenRange": {
|
|
7244
|
-
"startIndex": 1,
|
|
7245
|
-
"endIndex": 2
|
|
7246
|
-
},
|
|
7247
|
-
"isOptional": true
|
|
7248
|
-
}
|
|
7249
|
-
],
|
|
7050
|
+
"parameters": [],
|
|
7250
7051
|
"isOptional": false,
|
|
7251
7052
|
"isAbstract": false,
|
|
7252
7053
|
"name": "getAllChunks"
|
|
@@ -7668,37 +7469,6 @@
|
|
|
7668
7469
|
"isOptional": false,
|
|
7669
7470
|
"isAbstract": false,
|
|
7670
7471
|
"name": "setBlock"
|
|
7671
|
-
},
|
|
7672
|
-
{
|
|
7673
|
-
"kind": "Property",
|
|
7674
|
-
"canonicalReference": "server!ChunkLattice#world:member",
|
|
7675
|
-
"docComment": "/**\n * The world that the chunk lattice belongs to.\n */\n",
|
|
7676
|
-
"excerptTokens": [
|
|
7677
|
-
{
|
|
7678
|
-
"kind": "Content",
|
|
7679
|
-
"text": "get world(): "
|
|
7680
|
-
},
|
|
7681
|
-
{
|
|
7682
|
-
"kind": "Reference",
|
|
7683
|
-
"text": "World",
|
|
7684
|
-
"canonicalReference": "server!World:class"
|
|
7685
|
-
},
|
|
7686
|
-
{
|
|
7687
|
-
"kind": "Content",
|
|
7688
|
-
"text": ";"
|
|
7689
|
-
}
|
|
7690
|
-
],
|
|
7691
|
-
"isReadonly": true,
|
|
7692
|
-
"isOptional": false,
|
|
7693
|
-
"releaseTag": "Public",
|
|
7694
|
-
"name": "world",
|
|
7695
|
-
"propertyTypeTokenRange": {
|
|
7696
|
-
"startIndex": 1,
|
|
7697
|
-
"endIndex": 2
|
|
7698
|
-
},
|
|
7699
|
-
"isStatic": false,
|
|
7700
|
-
"isProtected": false,
|
|
7701
|
-
"isAbstract": false
|
|
7702
7472
|
}
|
|
7703
7473
|
],
|
|
7704
7474
|
"extendsTokenRange": {
|
|
@@ -7722,6 +7492,27 @@
|
|
|
7722
7492
|
"name": "ChunkLatticeEvent",
|
|
7723
7493
|
"preserveMemberOrder": false,
|
|
7724
7494
|
"members": [
|
|
7495
|
+
{
|
|
7496
|
+
"kind": "EnumMember",
|
|
7497
|
+
"canonicalReference": "server!ChunkLatticeEvent.ADD_CHUNK:member",
|
|
7498
|
+
"docComment": "",
|
|
7499
|
+
"excerptTokens": [
|
|
7500
|
+
{
|
|
7501
|
+
"kind": "Content",
|
|
7502
|
+
"text": "ADD_CHUNK = "
|
|
7503
|
+
},
|
|
7504
|
+
{
|
|
7505
|
+
"kind": "Content",
|
|
7506
|
+
"text": "\"CHUNK_LATTICE.ADD_CHUNK\""
|
|
7507
|
+
}
|
|
7508
|
+
],
|
|
7509
|
+
"initializerTokenRange": {
|
|
7510
|
+
"startIndex": 1,
|
|
7511
|
+
"endIndex": 2
|
|
7512
|
+
},
|
|
7513
|
+
"releaseTag": "Public",
|
|
7514
|
+
"name": "ADD_CHUNK"
|
|
7515
|
+
},
|
|
7725
7516
|
{
|
|
7726
7517
|
"kind": "EnumMember",
|
|
7727
7518
|
"canonicalReference": "server!ChunkLatticeEvent.REMOVE_CHUNK:member",
|
|
@@ -7783,8 +7574,8 @@
|
|
|
7783
7574
|
"members": [
|
|
7784
7575
|
{
|
|
7785
7576
|
"kind": "PropertySignature",
|
|
7786
|
-
"canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.
|
|
7787
|
-
"docComment": "/**\n * Emitted when a chunk is
|
|
7577
|
+
"canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.ADD_CHUNK\":member",
|
|
7578
|
+
"docComment": "/**\n * Emitted when a chunk is added to the lattice.\n */\n",
|
|
7788
7579
|
"excerptTokens": [
|
|
7789
7580
|
{
|
|
7790
7581
|
"kind": "Content",
|
|
@@ -7792,8 +7583,8 @@
|
|
|
7792
7583
|
},
|
|
7793
7584
|
{
|
|
7794
7585
|
"kind": "Reference",
|
|
7795
|
-
"text": "ChunkLatticeEvent.
|
|
7796
|
-
"canonicalReference": "server!ChunkLatticeEvent.
|
|
7586
|
+
"text": "ChunkLatticeEvent.ADD_CHUNK",
|
|
7587
|
+
"canonicalReference": "server!ChunkLatticeEvent.ADD_CHUNK:member"
|
|
7797
7588
|
},
|
|
7798
7589
|
{
|
|
7799
7590
|
"kind": "Content",
|
|
@@ -7829,7 +7620,7 @@
|
|
|
7829
7620
|
"isReadonly": false,
|
|
7830
7621
|
"isOptional": false,
|
|
7831
7622
|
"releaseTag": "Public",
|
|
7832
|
-
"name": "\"CHUNK_LATTICE.
|
|
7623
|
+
"name": "\"CHUNK_LATTICE.ADD_CHUNK\"",
|
|
7833
7624
|
"propertyTypeTokenRange": {
|
|
7834
7625
|
"startIndex": 3,
|
|
7835
7626
|
"endIndex": 8
|
|
@@ -7837,8 +7628,8 @@
|
|
|
7837
7628
|
},
|
|
7838
7629
|
{
|
|
7839
7630
|
"kind": "PropertySignature",
|
|
7840
|
-
"canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.
|
|
7841
|
-
"docComment": "/**\n * Emitted when a
|
|
7631
|
+
"canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.REMOVE_CHUNK\":member",
|
|
7632
|
+
"docComment": "/**\n * Emitted when a chunk is removed from the lattice.\n */\n",
|
|
7842
7633
|
"excerptTokens": [
|
|
7843
7634
|
{
|
|
7844
7635
|
"kind": "Content",
|
|
@@ -7846,8 +7637,62 @@
|
|
|
7846
7637
|
},
|
|
7847
7638
|
{
|
|
7848
7639
|
"kind": "Reference",
|
|
7849
|
-
"text": "ChunkLatticeEvent.
|
|
7850
|
-
"canonicalReference": "server!ChunkLatticeEvent.
|
|
7640
|
+
"text": "ChunkLatticeEvent.REMOVE_CHUNK",
|
|
7641
|
+
"canonicalReference": "server!ChunkLatticeEvent.REMOVE_CHUNK:member"
|
|
7642
|
+
},
|
|
7643
|
+
{
|
|
7644
|
+
"kind": "Content",
|
|
7645
|
+
"text": "]: "
|
|
7646
|
+
},
|
|
7647
|
+
{
|
|
7648
|
+
"kind": "Content",
|
|
7649
|
+
"text": "{\n chunkLattice: "
|
|
7650
|
+
},
|
|
7651
|
+
{
|
|
7652
|
+
"kind": "Reference",
|
|
7653
|
+
"text": "ChunkLattice",
|
|
7654
|
+
"canonicalReference": "server!ChunkLattice:class"
|
|
7655
|
+
},
|
|
7656
|
+
{
|
|
7657
|
+
"kind": "Content",
|
|
7658
|
+
"text": ";\n chunk: "
|
|
7659
|
+
},
|
|
7660
|
+
{
|
|
7661
|
+
"kind": "Reference",
|
|
7662
|
+
"text": "Chunk",
|
|
7663
|
+
"canonicalReference": "server!Chunk:class"
|
|
7664
|
+
},
|
|
7665
|
+
{
|
|
7666
|
+
"kind": "Content",
|
|
7667
|
+
"text": ";\n }"
|
|
7668
|
+
},
|
|
7669
|
+
{
|
|
7670
|
+
"kind": "Content",
|
|
7671
|
+
"text": ";"
|
|
7672
|
+
}
|
|
7673
|
+
],
|
|
7674
|
+
"isReadonly": false,
|
|
7675
|
+
"isOptional": false,
|
|
7676
|
+
"releaseTag": "Public",
|
|
7677
|
+
"name": "\"CHUNK_LATTICE.REMOVE_CHUNK\"",
|
|
7678
|
+
"propertyTypeTokenRange": {
|
|
7679
|
+
"startIndex": 3,
|
|
7680
|
+
"endIndex": 8
|
|
7681
|
+
}
|
|
7682
|
+
},
|
|
7683
|
+
{
|
|
7684
|
+
"kind": "PropertySignature",
|
|
7685
|
+
"canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.SET_BLOCK\":member",
|
|
7686
|
+
"docComment": "/**\n * Emitted when a block is set in the lattice.\n */\n",
|
|
7687
|
+
"excerptTokens": [
|
|
7688
|
+
{
|
|
7689
|
+
"kind": "Content",
|
|
7690
|
+
"text": "["
|
|
7691
|
+
},
|
|
7692
|
+
{
|
|
7693
|
+
"kind": "Reference",
|
|
7694
|
+
"text": "ChunkLatticeEvent.SET_BLOCK",
|
|
7695
|
+
"canonicalReference": "server!ChunkLatticeEvent.SET_BLOCK:member"
|
|
7851
7696
|
},
|
|
7852
7697
|
{
|
|
7853
7698
|
"kind": "Content",
|
|
@@ -16830,19 +16675,11 @@
|
|
|
16830
16675
|
{
|
|
16831
16676
|
"kind": "Method",
|
|
16832
16677
|
"canonicalReference": "server!EntityManager#getAllEntities:member(1)",
|
|
16833
|
-
"docComment": "/**\n * Gets all spawned entities in the world.\n *\n * @
|
|
16678
|
+
"docComment": "/**\n * Gets all spawned entities in the world.\n *\n * @returns All spawned entities in the world.\n */\n",
|
|
16834
16679
|
"excerptTokens": [
|
|
16835
16680
|
{
|
|
16836
16681
|
"kind": "Content",
|
|
16837
|
-
"text": "getAllEntities(
|
|
16838
|
-
},
|
|
16839
|
-
{
|
|
16840
|
-
"kind": "Content",
|
|
16841
|
-
"text": "boolean"
|
|
16842
|
-
},
|
|
16843
|
-
{
|
|
16844
|
-
"kind": "Content",
|
|
16845
|
-
"text": "): "
|
|
16682
|
+
"text": "getAllEntities(): "
|
|
16846
16683
|
},
|
|
16847
16684
|
{
|
|
16848
16685
|
"kind": "Reference",
|
|
@@ -16860,22 +16697,13 @@
|
|
|
16860
16697
|
],
|
|
16861
16698
|
"isStatic": false,
|
|
16862
16699
|
"returnTypeTokenRange": {
|
|
16863
|
-
"startIndex":
|
|
16864
|
-
"endIndex":
|
|
16700
|
+
"startIndex": 1,
|
|
16701
|
+
"endIndex": 3
|
|
16865
16702
|
},
|
|
16866
16703
|
"releaseTag": "Public",
|
|
16867
16704
|
"isProtected": false,
|
|
16868
16705
|
"overloadIndex": 1,
|
|
16869
|
-
"parameters": [
|
|
16870
|
-
{
|
|
16871
|
-
"parameterName": "tickAllocated",
|
|
16872
|
-
"parameterTypeTokenRange": {
|
|
16873
|
-
"startIndex": 1,
|
|
16874
|
-
"endIndex": 2
|
|
16875
|
-
},
|
|
16876
|
-
"isOptional": true
|
|
16877
|
-
}
|
|
16878
|
-
],
|
|
16706
|
+
"parameters": [],
|
|
16879
16707
|
"isOptional": false,
|
|
16880
16708
|
"isAbstract": false,
|
|
16881
16709
|
"name": "getAllEntities"
|
|
@@ -22804,19 +22632,11 @@
|
|
|
22804
22632
|
{
|
|
22805
22633
|
"kind": "Method",
|
|
22806
22634
|
"canonicalReference": "server!LightManager#getAllLights:member(1)",
|
|
22807
|
-
"docComment": "/**\n * Retrieves all spawned Light instances for the world.\n *\n * @
|
|
22635
|
+
"docComment": "/**\n * Retrieves all spawned Light instances for the world.\n *\n * @returns An array of Light instances.\n */\n",
|
|
22808
22636
|
"excerptTokens": [
|
|
22809
22637
|
{
|
|
22810
22638
|
"kind": "Content",
|
|
22811
|
-
"text": "getAllLights(
|
|
22812
|
-
},
|
|
22813
|
-
{
|
|
22814
|
-
"kind": "Content",
|
|
22815
|
-
"text": "boolean"
|
|
22816
|
-
},
|
|
22817
|
-
{
|
|
22818
|
-
"kind": "Content",
|
|
22819
|
-
"text": "): "
|
|
22639
|
+
"text": "getAllLights(): "
|
|
22820
22640
|
},
|
|
22821
22641
|
{
|
|
22822
22642
|
"kind": "Reference",
|
|
@@ -22834,22 +22654,13 @@
|
|
|
22834
22654
|
],
|
|
22835
22655
|
"isStatic": false,
|
|
22836
22656
|
"returnTypeTokenRange": {
|
|
22837
|
-
"startIndex":
|
|
22838
|
-
"endIndex":
|
|
22657
|
+
"startIndex": 1,
|
|
22658
|
+
"endIndex": 3
|
|
22839
22659
|
},
|
|
22840
22660
|
"releaseTag": "Public",
|
|
22841
22661
|
"isProtected": false,
|
|
22842
22662
|
"overloadIndex": 1,
|
|
22843
|
-
"parameters": [
|
|
22844
|
-
{
|
|
22845
|
-
"parameterName": "tickAllocated",
|
|
22846
|
-
"parameterTypeTokenRange": {
|
|
22847
|
-
"startIndex": 1,
|
|
22848
|
-
"endIndex": 2
|
|
22849
|
-
},
|
|
22850
|
-
"isOptional": true
|
|
22851
|
-
}
|
|
22852
|
-
],
|
|
22663
|
+
"parameters": [],
|
|
22853
22664
|
"isOptional": false,
|
|
22854
22665
|
"isAbstract": false,
|
|
22855
22666
|
"name": "getAllLights"
|
|
@@ -28993,6 +28804,54 @@
|
|
|
28993
28804
|
"isProtected": false,
|
|
28994
28805
|
"isAbstract": false
|
|
28995
28806
|
},
|
|
28807
|
+
{
|
|
28808
|
+
"kind": "Method",
|
|
28809
|
+
"canonicalReference": "server!ParticleEmitter#burst:member(1)",
|
|
28810
|
+
"docComment": "/**\n * Creates a burst of particles, regardless of pause state.\n *\n * @param count - The number of particles to burst.\n */\n",
|
|
28811
|
+
"excerptTokens": [
|
|
28812
|
+
{
|
|
28813
|
+
"kind": "Content",
|
|
28814
|
+
"text": "burst(count: "
|
|
28815
|
+
},
|
|
28816
|
+
{
|
|
28817
|
+
"kind": "Content",
|
|
28818
|
+
"text": "number"
|
|
28819
|
+
},
|
|
28820
|
+
{
|
|
28821
|
+
"kind": "Content",
|
|
28822
|
+
"text": "): "
|
|
28823
|
+
},
|
|
28824
|
+
{
|
|
28825
|
+
"kind": "Content",
|
|
28826
|
+
"text": "void"
|
|
28827
|
+
},
|
|
28828
|
+
{
|
|
28829
|
+
"kind": "Content",
|
|
28830
|
+
"text": ";"
|
|
28831
|
+
}
|
|
28832
|
+
],
|
|
28833
|
+
"isStatic": false,
|
|
28834
|
+
"returnTypeTokenRange": {
|
|
28835
|
+
"startIndex": 3,
|
|
28836
|
+
"endIndex": 4
|
|
28837
|
+
},
|
|
28838
|
+
"releaseTag": "Public",
|
|
28839
|
+
"isProtected": false,
|
|
28840
|
+
"overloadIndex": 1,
|
|
28841
|
+
"parameters": [
|
|
28842
|
+
{
|
|
28843
|
+
"parameterName": "count",
|
|
28844
|
+
"parameterTypeTokenRange": {
|
|
28845
|
+
"startIndex": 1,
|
|
28846
|
+
"endIndex": 2
|
|
28847
|
+
},
|
|
28848
|
+
"isOptional": false
|
|
28849
|
+
}
|
|
28850
|
+
],
|
|
28851
|
+
"isOptional": false,
|
|
28852
|
+
"isAbstract": false,
|
|
28853
|
+
"name": "burst"
|
|
28854
|
+
},
|
|
28996
28855
|
{
|
|
28997
28856
|
"kind": "Property",
|
|
28998
28857
|
"canonicalReference": "server!ParticleEmitter#colorEnd:member",
|
|
@@ -31472,6 +31331,27 @@
|
|
|
31472
31331
|
"name": "ParticleEmitterEvent",
|
|
31473
31332
|
"preserveMemberOrder": false,
|
|
31474
31333
|
"members": [
|
|
31334
|
+
{
|
|
31335
|
+
"kind": "EnumMember",
|
|
31336
|
+
"canonicalReference": "server!ParticleEmitterEvent.BURST:member",
|
|
31337
|
+
"docComment": "",
|
|
31338
|
+
"excerptTokens": [
|
|
31339
|
+
{
|
|
31340
|
+
"kind": "Content",
|
|
31341
|
+
"text": "BURST = "
|
|
31342
|
+
},
|
|
31343
|
+
{
|
|
31344
|
+
"kind": "Content",
|
|
31345
|
+
"text": "\"PARTICLE_EMITTER.BURST\""
|
|
31346
|
+
}
|
|
31347
|
+
],
|
|
31348
|
+
"initializerTokenRange": {
|
|
31349
|
+
"startIndex": 1,
|
|
31350
|
+
"endIndex": 2
|
|
31351
|
+
},
|
|
31352
|
+
"releaseTag": "Public",
|
|
31353
|
+
"name": "BURST"
|
|
31354
|
+
},
|
|
31475
31355
|
{
|
|
31476
31356
|
"kind": "EnumMember",
|
|
31477
31357
|
"canonicalReference": "server!ParticleEmitterEvent.DESPAWN:member",
|
|
@@ -32140,6 +32020,51 @@
|
|
|
32140
32020
|
"name": "ParticleEmitterEventPayloads",
|
|
32141
32021
|
"preserveMemberOrder": false,
|
|
32142
32022
|
"members": [
|
|
32023
|
+
{
|
|
32024
|
+
"kind": "PropertySignature",
|
|
32025
|
+
"canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.BURST\":member",
|
|
32026
|
+
"docComment": "/**\n * Emitted when a ParticleEmitter bursts the specified number of particles.\n */\n",
|
|
32027
|
+
"excerptTokens": [
|
|
32028
|
+
{
|
|
32029
|
+
"kind": "Content",
|
|
32030
|
+
"text": "["
|
|
32031
|
+
},
|
|
32032
|
+
{
|
|
32033
|
+
"kind": "Reference",
|
|
32034
|
+
"text": "ParticleEmitterEvent.BURST",
|
|
32035
|
+
"canonicalReference": "server!ParticleEmitterEvent.BURST:member"
|
|
32036
|
+
},
|
|
32037
|
+
{
|
|
32038
|
+
"kind": "Content",
|
|
32039
|
+
"text": "]: "
|
|
32040
|
+
},
|
|
32041
|
+
{
|
|
32042
|
+
"kind": "Content",
|
|
32043
|
+
"text": "{\n particleEmitter: "
|
|
32044
|
+
},
|
|
32045
|
+
{
|
|
32046
|
+
"kind": "Reference",
|
|
32047
|
+
"text": "ParticleEmitter",
|
|
32048
|
+
"canonicalReference": "server!ParticleEmitter:class"
|
|
32049
|
+
},
|
|
32050
|
+
{
|
|
32051
|
+
"kind": "Content",
|
|
32052
|
+
"text": ";\n count: number;\n }"
|
|
32053
|
+
},
|
|
32054
|
+
{
|
|
32055
|
+
"kind": "Content",
|
|
32056
|
+
"text": ";"
|
|
32057
|
+
}
|
|
32058
|
+
],
|
|
32059
|
+
"isReadonly": false,
|
|
32060
|
+
"isOptional": false,
|
|
32061
|
+
"releaseTag": "Public",
|
|
32062
|
+
"name": "\"PARTICLE_EMITTER.BURST\"",
|
|
32063
|
+
"propertyTypeTokenRange": {
|
|
32064
|
+
"startIndex": 3,
|
|
32065
|
+
"endIndex": 6
|
|
32066
|
+
}
|
|
32067
|
+
},
|
|
32143
32068
|
{
|
|
32144
32069
|
"kind": "PropertySignature",
|
|
32145
32070
|
"canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.DESPAWN\":member",
|
|
@@ -33710,19 +33635,11 @@
|
|
|
33710
33635
|
{
|
|
33711
33636
|
"kind": "Method",
|
|
33712
33637
|
"canonicalReference": "server!ParticleEmitterManager#getAllParticleEmitters:member(1)",
|
|
33713
|
-
"docComment": "/**\n * Retrieves all spawned ParticleEmitter instances for the world.\n *\n * @
|
|
33638
|
+
"docComment": "/**\n * Retrieves all spawned ParticleEmitter instances for the world.\n *\n * @returns An array of ParticleEmitter instances.\n */\n",
|
|
33714
33639
|
"excerptTokens": [
|
|
33715
33640
|
{
|
|
33716
33641
|
"kind": "Content",
|
|
33717
|
-
"text": "getAllParticleEmitters(
|
|
33718
|
-
},
|
|
33719
|
-
{
|
|
33720
|
-
"kind": "Content",
|
|
33721
|
-
"text": "boolean"
|
|
33722
|
-
},
|
|
33723
|
-
{
|
|
33724
|
-
"kind": "Content",
|
|
33725
|
-
"text": "): "
|
|
33642
|
+
"text": "getAllParticleEmitters(): "
|
|
33726
33643
|
},
|
|
33727
33644
|
{
|
|
33728
33645
|
"kind": "Reference",
|
|
@@ -33740,22 +33657,13 @@
|
|
|
33740
33657
|
],
|
|
33741
33658
|
"isStatic": false,
|
|
33742
33659
|
"returnTypeTokenRange": {
|
|
33743
|
-
"startIndex":
|
|
33744
|
-
"endIndex":
|
|
33660
|
+
"startIndex": 1,
|
|
33661
|
+
"endIndex": 3
|
|
33745
33662
|
},
|
|
33746
33663
|
"releaseTag": "Public",
|
|
33747
33664
|
"isProtected": false,
|
|
33748
33665
|
"overloadIndex": 1,
|
|
33749
|
-
"parameters": [
|
|
33750
|
-
{
|
|
33751
|
-
"parameterName": "tickAllocated",
|
|
33752
|
-
"parameterTypeTokenRange": {
|
|
33753
|
-
"startIndex": 1,
|
|
33754
|
-
"endIndex": 2
|
|
33755
|
-
},
|
|
33756
|
-
"isOptional": true
|
|
33757
|
-
}
|
|
33758
|
-
],
|
|
33666
|
+
"parameters": [],
|
|
33759
33667
|
"isOptional": false,
|
|
33760
33668
|
"isAbstract": false,
|
|
33761
33669
|
"name": "getAllParticleEmitters"
|
|
@@ -41929,7 +41837,7 @@
|
|
|
41929
41837
|
{
|
|
41930
41838
|
"kind": "Interface",
|
|
41931
41839
|
"canonicalReference": "server!RgbColor:interface",
|
|
41932
|
-
"docComment": "/**\n * A RGB color.\n *\n * @public\n */\n",
|
|
41840
|
+
"docComment": "/**\n * A RGB color. r, g and b expect a value between 0 and 255.\n *\n * @public\n */\n",
|
|
41933
41841
|
"excerptTokens": [
|
|
41934
41842
|
{
|
|
41935
41843
|
"kind": "Content",
|
|
@@ -46896,19 +46804,11 @@
|
|
|
46896
46804
|
{
|
|
46897
46805
|
"kind": "Method",
|
|
46898
46806
|
"canonicalReference": "server!SceneUIManager#getAllSceneUIs:member(1)",
|
|
46899
|
-
"docComment": "/**\n * Retrieves all loaded SceneUI instances for the world.\n *\n * @
|
|
46807
|
+
"docComment": "/**\n * Retrieves all loaded SceneUI instances for the world.\n *\n * @returns An array of SceneUI instances.\n */\n",
|
|
46900
46808
|
"excerptTokens": [
|
|
46901
46809
|
{
|
|
46902
46810
|
"kind": "Content",
|
|
46903
|
-
"text": "getAllSceneUIs(
|
|
46904
|
-
},
|
|
46905
|
-
{
|
|
46906
|
-
"kind": "Content",
|
|
46907
|
-
"text": "boolean"
|
|
46908
|
-
},
|
|
46909
|
-
{
|
|
46910
|
-
"kind": "Content",
|
|
46911
|
-
"text": "): "
|
|
46811
|
+
"text": "getAllSceneUIs(): "
|
|
46912
46812
|
},
|
|
46913
46813
|
{
|
|
46914
46814
|
"kind": "Reference",
|
|
@@ -46926,22 +46826,13 @@
|
|
|
46926
46826
|
],
|
|
46927
46827
|
"isStatic": false,
|
|
46928
46828
|
"returnTypeTokenRange": {
|
|
46929
|
-
"startIndex":
|
|
46930
|
-
"endIndex":
|
|
46829
|
+
"startIndex": 1,
|
|
46830
|
+
"endIndex": 3
|
|
46931
46831
|
},
|
|
46932
46832
|
"releaseTag": "Public",
|
|
46933
46833
|
"isProtected": false,
|
|
46934
46834
|
"overloadIndex": 1,
|
|
46935
|
-
"parameters": [
|
|
46936
|
-
{
|
|
46937
|
-
"parameterName": "tickAllocated",
|
|
46938
|
-
"parameterTypeTokenRange": {
|
|
46939
|
-
"startIndex": 1,
|
|
46940
|
-
"endIndex": 2
|
|
46941
|
-
},
|
|
46942
|
-
"isOptional": true
|
|
46943
|
-
}
|
|
46944
|
-
],
|
|
46835
|
+
"parameters": [],
|
|
46945
46836
|
"isOptional": false,
|
|
46946
46837
|
"isAbstract": false,
|
|
46947
46838
|
"name": "getAllSceneUIs"
|
|
@@ -48904,66 +48795,203 @@
|
|
|
48904
48795
|
},
|
|
48905
48796
|
{
|
|
48906
48797
|
"kind": "Class",
|
|
48907
|
-
"canonicalReference": "server!
|
|
48908
|
-
"docComment": "/**\n *
|
|
48798
|
+
"canonicalReference": "server!Telemetry:class",
|
|
48799
|
+
"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",
|
|
48909
48800
|
"excerptTokens": [
|
|
48910
48801
|
{
|
|
48911
48802
|
"kind": "Content",
|
|
48912
|
-
"text": "export default class
|
|
48803
|
+
"text": "export default class Telemetry "
|
|
48913
48804
|
}
|
|
48914
48805
|
],
|
|
48915
|
-
"fileUrlPath": "src/
|
|
48806
|
+
"fileUrlPath": "src/metrics/Telemetry.ts",
|
|
48916
48807
|
"releaseTag": "Public",
|
|
48917
48808
|
"isAbstract": false,
|
|
48918
|
-
"name": "
|
|
48809
|
+
"name": "Telemetry",
|
|
48919
48810
|
"preserveMemberOrder": false,
|
|
48920
48811
|
"members": [
|
|
48921
48812
|
{
|
|
48922
48813
|
"kind": "Method",
|
|
48923
|
-
"canonicalReference": "server!
|
|
48924
|
-
"docComment": "/**\n * Gets
|
|
48814
|
+
"canonicalReference": "server!Telemetry.getProcessStats:member(1)",
|
|
48815
|
+
"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",
|
|
48925
48816
|
"excerptTokens": [
|
|
48926
48817
|
{
|
|
48927
48818
|
"kind": "Content",
|
|
48928
|
-
"text": "
|
|
48819
|
+
"text": "static getProcessStats(asMeasurement?: "
|
|
48929
48820
|
},
|
|
48930
48821
|
{
|
|
48931
48822
|
"kind": "Content",
|
|
48932
|
-
"text": "
|
|
48823
|
+
"text": "boolean"
|
|
48933
48824
|
},
|
|
48934
48825
|
{
|
|
48935
48826
|
"kind": "Content",
|
|
48936
|
-
"text": "
|
|
48827
|
+
"text": "): "
|
|
48828
|
+
},
|
|
48829
|
+
{
|
|
48830
|
+
"kind": "Reference",
|
|
48831
|
+
"text": "Record",
|
|
48832
|
+
"canonicalReference": "!Record:type"
|
|
48937
48833
|
},
|
|
48938
48834
|
{
|
|
48939
48835
|
"kind": "Content",
|
|
48940
|
-
"text": "
|
|
48836
|
+
"text": "<string, any>"
|
|
48941
48837
|
},
|
|
48942
48838
|
{
|
|
48943
48839
|
"kind": "Content",
|
|
48944
|
-
"text": "
|
|
48840
|
+
"text": ";"
|
|
48841
|
+
}
|
|
48842
|
+
],
|
|
48843
|
+
"isStatic": true,
|
|
48844
|
+
"returnTypeTokenRange": {
|
|
48845
|
+
"startIndex": 3,
|
|
48846
|
+
"endIndex": 5
|
|
48847
|
+
},
|
|
48848
|
+
"releaseTag": "Public",
|
|
48849
|
+
"isProtected": false,
|
|
48850
|
+
"overloadIndex": 1,
|
|
48851
|
+
"parameters": [
|
|
48852
|
+
{
|
|
48853
|
+
"parameterName": "asMeasurement",
|
|
48854
|
+
"parameterTypeTokenRange": {
|
|
48855
|
+
"startIndex": 1,
|
|
48856
|
+
"endIndex": 2
|
|
48857
|
+
},
|
|
48858
|
+
"isOptional": true
|
|
48859
|
+
}
|
|
48860
|
+
],
|
|
48861
|
+
"isOptional": false,
|
|
48862
|
+
"isAbstract": false,
|
|
48863
|
+
"name": "getProcessStats"
|
|
48864
|
+
},
|
|
48865
|
+
{
|
|
48866
|
+
"kind": "Method",
|
|
48867
|
+
"canonicalReference": "server!Telemetry.initializeSentry:member(1)",
|
|
48868
|
+
"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",
|
|
48869
|
+
"excerptTokens": [
|
|
48870
|
+
{
|
|
48871
|
+
"kind": "Content",
|
|
48872
|
+
"text": "static initializeSentry(sentryDsn: "
|
|
48873
|
+
},
|
|
48874
|
+
{
|
|
48875
|
+
"kind": "Content",
|
|
48876
|
+
"text": "string"
|
|
48877
|
+
},
|
|
48878
|
+
{
|
|
48879
|
+
"kind": "Content",
|
|
48880
|
+
"text": ", tickTimeMsThreshold?: "
|
|
48881
|
+
},
|
|
48882
|
+
{
|
|
48883
|
+
"kind": "Content",
|
|
48884
|
+
"text": "number"
|
|
48885
|
+
},
|
|
48886
|
+
{
|
|
48887
|
+
"kind": "Content",
|
|
48888
|
+
"text": "): "
|
|
48889
|
+
},
|
|
48890
|
+
{
|
|
48891
|
+
"kind": "Content",
|
|
48892
|
+
"text": "void"
|
|
48893
|
+
},
|
|
48894
|
+
{
|
|
48895
|
+
"kind": "Content",
|
|
48896
|
+
"text": ";"
|
|
48897
|
+
}
|
|
48898
|
+
],
|
|
48899
|
+
"isStatic": true,
|
|
48900
|
+
"returnTypeTokenRange": {
|
|
48901
|
+
"startIndex": 5,
|
|
48902
|
+
"endIndex": 6
|
|
48903
|
+
},
|
|
48904
|
+
"releaseTag": "Public",
|
|
48905
|
+
"isProtected": false,
|
|
48906
|
+
"overloadIndex": 1,
|
|
48907
|
+
"parameters": [
|
|
48908
|
+
{
|
|
48909
|
+
"parameterName": "sentryDsn",
|
|
48910
|
+
"parameterTypeTokenRange": {
|
|
48911
|
+
"startIndex": 1,
|
|
48912
|
+
"endIndex": 2
|
|
48913
|
+
},
|
|
48914
|
+
"isOptional": false
|
|
48915
|
+
},
|
|
48916
|
+
{
|
|
48917
|
+
"parameterName": "tickTimeMsThreshold",
|
|
48918
|
+
"parameterTypeTokenRange": {
|
|
48919
|
+
"startIndex": 3,
|
|
48920
|
+
"endIndex": 4
|
|
48921
|
+
},
|
|
48922
|
+
"isOptional": true
|
|
48923
|
+
}
|
|
48924
|
+
],
|
|
48925
|
+
"isOptional": false,
|
|
48926
|
+
"isAbstract": false,
|
|
48927
|
+
"name": "initializeSentry"
|
|
48928
|
+
},
|
|
48929
|
+
{
|
|
48930
|
+
"kind": "Method",
|
|
48931
|
+
"canonicalReference": "server!Telemetry.sentry:member(1)",
|
|
48932
|
+
"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",
|
|
48933
|
+
"excerptTokens": [
|
|
48934
|
+
{
|
|
48935
|
+
"kind": "Content",
|
|
48936
|
+
"text": "static sentry(): "
|
|
48937
|
+
},
|
|
48938
|
+
{
|
|
48939
|
+
"kind": "Content",
|
|
48940
|
+
"text": "typeof "
|
|
48945
48941
|
},
|
|
48946
48942
|
{
|
|
48947
48943
|
"kind": "Reference",
|
|
48948
|
-
"text": "
|
|
48949
|
-
"canonicalReference": "
|
|
48944
|
+
"text": "Sentry",
|
|
48945
|
+
"canonicalReference": "server!~Sentry"
|
|
48950
48946
|
},
|
|
48951
48947
|
{
|
|
48952
48948
|
"kind": "Content",
|
|
48953
|
-
"text": "
|
|
48949
|
+
"text": ";"
|
|
48950
|
+
}
|
|
48951
|
+
],
|
|
48952
|
+
"isStatic": true,
|
|
48953
|
+
"returnTypeTokenRange": {
|
|
48954
|
+
"startIndex": 1,
|
|
48955
|
+
"endIndex": 3
|
|
48956
|
+
},
|
|
48957
|
+
"releaseTag": "Public",
|
|
48958
|
+
"isProtected": false,
|
|
48959
|
+
"overloadIndex": 1,
|
|
48960
|
+
"parameters": [],
|
|
48961
|
+
"isOptional": false,
|
|
48962
|
+
"isAbstract": false,
|
|
48963
|
+
"name": "sentry"
|
|
48964
|
+
},
|
|
48965
|
+
{
|
|
48966
|
+
"kind": "Method",
|
|
48967
|
+
"canonicalReference": "server!Telemetry.startSpan:member(1)",
|
|
48968
|
+
"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",
|
|
48969
|
+
"excerptTokens": [
|
|
48970
|
+
{
|
|
48971
|
+
"kind": "Content",
|
|
48972
|
+
"text": "static startSpan<T>(options: "
|
|
48973
|
+
},
|
|
48974
|
+
{
|
|
48975
|
+
"kind": "Reference",
|
|
48976
|
+
"text": "TelemetrySpanOptions",
|
|
48977
|
+
"canonicalReference": "server!TelemetrySpanOptions:type"
|
|
48978
|
+
},
|
|
48979
|
+
{
|
|
48980
|
+
"kind": "Content",
|
|
48981
|
+
"text": ", callback: "
|
|
48954
48982
|
},
|
|
48955
48983
|
{
|
|
48956
48984
|
"kind": "Content",
|
|
48957
|
-
"text": "
|
|
48985
|
+
"text": "(span?: "
|
|
48958
48986
|
},
|
|
48959
48987
|
{
|
|
48960
48988
|
"kind": "Reference",
|
|
48961
|
-
"text": "
|
|
48962
|
-
"canonicalReference": "!
|
|
48989
|
+
"text": "Sentry.Span",
|
|
48990
|
+
"canonicalReference": "@sentry/core!Span:interface"
|
|
48963
48991
|
},
|
|
48964
48992
|
{
|
|
48965
48993
|
"kind": "Content",
|
|
48966
|
-
"text": "
|
|
48994
|
+
"text": ") => T"
|
|
48967
48995
|
},
|
|
48968
48996
|
{
|
|
48969
48997
|
"kind": "Content",
|
|
@@ -48982,487 +49010,423 @@
|
|
|
48982
49010
|
{
|
|
48983
49011
|
"typeParameterName": "T",
|
|
48984
49012
|
"constraintTokenRange": {
|
|
48985
|
-
"startIndex":
|
|
48986
|
-
"endIndex":
|
|
49013
|
+
"startIndex": 0,
|
|
49014
|
+
"endIndex": 0
|
|
48987
49015
|
},
|
|
48988
49016
|
"defaultTypeTokenRange": {
|
|
48989
|
-
"startIndex":
|
|
48990
|
-
"endIndex":
|
|
49017
|
+
"startIndex": 0,
|
|
49018
|
+
"endIndex": 0
|
|
48991
49019
|
}
|
|
48992
49020
|
}
|
|
48993
49021
|
],
|
|
48994
|
-
"isStatic":
|
|
49022
|
+
"isStatic": true,
|
|
48995
49023
|
"returnTypeTokenRange": {
|
|
48996
|
-
"startIndex":
|
|
48997
|
-
"endIndex":
|
|
49024
|
+
"startIndex": 7,
|
|
49025
|
+
"endIndex": 8
|
|
48998
49026
|
},
|
|
48999
49027
|
"releaseTag": "Public",
|
|
49000
49028
|
"isProtected": false,
|
|
49001
49029
|
"overloadIndex": 1,
|
|
49002
49030
|
"parameters": [
|
|
49003
49031
|
{
|
|
49004
|
-
"parameterName": "
|
|
49032
|
+
"parameterName": "options",
|
|
49005
49033
|
"parameterTypeTokenRange": {
|
|
49006
|
-
"startIndex":
|
|
49007
|
-
"endIndex":
|
|
49034
|
+
"startIndex": 1,
|
|
49035
|
+
"endIndex": 2
|
|
49008
49036
|
},
|
|
49009
|
-
"isOptional":
|
|
49037
|
+
"isOptional": false
|
|
49010
49038
|
},
|
|
49011
49039
|
{
|
|
49012
|
-
"parameterName": "
|
|
49040
|
+
"parameterName": "callback",
|
|
49013
49041
|
"parameterTypeTokenRange": {
|
|
49014
|
-
"startIndex":
|
|
49015
|
-
"endIndex":
|
|
49042
|
+
"startIndex": 3,
|
|
49043
|
+
"endIndex": 6
|
|
49016
49044
|
},
|
|
49017
|
-
"isOptional":
|
|
49045
|
+
"isOptional": false
|
|
49018
49046
|
}
|
|
49019
49047
|
],
|
|
49020
49048
|
"isOptional": false,
|
|
49021
49049
|
"isAbstract": false,
|
|
49022
|
-
"name": "
|
|
49023
|
-
}
|
|
49050
|
+
"name": "startSpan"
|
|
49051
|
+
}
|
|
49052
|
+
],
|
|
49053
|
+
"implementsTokenRanges": []
|
|
49054
|
+
},
|
|
49055
|
+
{
|
|
49056
|
+
"kind": "Enum",
|
|
49057
|
+
"canonicalReference": "server!TelemetrySpanOperation:enum",
|
|
49058
|
+
"docComment": "/**\n * Performance telemetry span operation types.\n *\n * @public\n */\n",
|
|
49059
|
+
"excerptTokens": [
|
|
49024
49060
|
{
|
|
49025
|
-
"kind": "
|
|
49026
|
-
"
|
|
49027
|
-
|
|
49061
|
+
"kind": "Content",
|
|
49062
|
+
"text": "export declare enum TelemetrySpanOperation "
|
|
49063
|
+
}
|
|
49064
|
+
],
|
|
49065
|
+
"fileUrlPath": "src/metrics/Telemetry.ts",
|
|
49066
|
+
"releaseTag": "Public",
|
|
49067
|
+
"name": "TelemetrySpanOperation",
|
|
49068
|
+
"preserveMemberOrder": false,
|
|
49069
|
+
"members": [
|
|
49070
|
+
{
|
|
49071
|
+
"kind": "EnumMember",
|
|
49072
|
+
"canonicalReference": "server!TelemetrySpanOperation.BUILD_PACKETS:member",
|
|
49073
|
+
"docComment": "",
|
|
49028
49074
|
"excerptTokens": [
|
|
49029
49075
|
{
|
|
49030
49076
|
"kind": "Content",
|
|
49031
|
-
"text": "
|
|
49032
|
-
},
|
|
49033
|
-
{
|
|
49034
|
-
"kind": "Reference",
|
|
49035
|
-
"text": "Array3Number",
|
|
49036
|
-
"canonicalReference": "server!Array3Number:type"
|
|
49037
|
-
},
|
|
49038
|
-
{
|
|
49039
|
-
"kind": "Content",
|
|
49040
|
-
"text": " | "
|
|
49041
|
-
},
|
|
49042
|
-
{
|
|
49043
|
-
"kind": "Reference",
|
|
49044
|
-
"text": "Set",
|
|
49045
|
-
"canonicalReference": "!Set:interface"
|
|
49046
|
-
},
|
|
49047
|
-
{
|
|
49048
|
-
"kind": "Content",
|
|
49049
|
-
"text": "<number>"
|
|
49077
|
+
"text": "BUILD_PACKETS = "
|
|
49050
49078
|
},
|
|
49051
49079
|
{
|
|
49052
49080
|
"kind": "Content",
|
|
49053
|
-
"text": "
|
|
49054
|
-
},
|
|
49055
|
-
{
|
|
49056
|
-
"kind": "Reference",
|
|
49057
|
-
"text": "Array3Number",
|
|
49058
|
-
"canonicalReference": "server!Array3Number:type"
|
|
49059
|
-
},
|
|
49060
|
-
{
|
|
49061
|
-
"kind": "Content",
|
|
49062
|
-
"text": ";"
|
|
49081
|
+
"text": "\"build_packets\""
|
|
49063
49082
|
}
|
|
49064
49083
|
],
|
|
49065
|
-
"
|
|
49066
|
-
|
|
49067
|
-
"
|
|
49068
|
-
"endIndex": 7
|
|
49084
|
+
"initializerTokenRange": {
|
|
49085
|
+
"startIndex": 1,
|
|
49086
|
+
"endIndex": 2
|
|
49069
49087
|
},
|
|
49070
49088
|
"releaseTag": "Public",
|
|
49071
|
-
"
|
|
49072
|
-
"overloadIndex": 1,
|
|
49073
|
-
"parameters": [
|
|
49074
|
-
{
|
|
49075
|
-
"parameterName": "copyFrom",
|
|
49076
|
-
"parameterTypeTokenRange": {
|
|
49077
|
-
"startIndex": 1,
|
|
49078
|
-
"endIndex": 5
|
|
49079
|
-
},
|
|
49080
|
-
"isOptional": true
|
|
49081
|
-
}
|
|
49082
|
-
],
|
|
49083
|
-
"isOptional": false,
|
|
49084
|
-
"isAbstract": false,
|
|
49085
|
-
"name": "getArray3Number"
|
|
49089
|
+
"name": "BUILD_PACKETS"
|
|
49086
49090
|
},
|
|
49087
49091
|
{
|
|
49088
|
-
"kind": "
|
|
49089
|
-
"canonicalReference": "server!
|
|
49090
|
-
"docComment": "
|
|
49092
|
+
"kind": "EnumMember",
|
|
49093
|
+
"canonicalReference": "server!TelemetrySpanOperation.ENTITIES_EMIT_UPDATES:member",
|
|
49094
|
+
"docComment": "",
|
|
49091
49095
|
"excerptTokens": [
|
|
49092
49096
|
{
|
|
49093
49097
|
"kind": "Content",
|
|
49094
|
-
"text": "
|
|
49095
|
-
},
|
|
49096
|
-
{
|
|
49097
|
-
"kind": "Reference",
|
|
49098
|
-
"text": "Array4Number",
|
|
49099
|
-
"canonicalReference": "server!Array4Number:type"
|
|
49098
|
+
"text": "ENTITIES_EMIT_UPDATES = "
|
|
49100
49099
|
},
|
|
49101
49100
|
{
|
|
49102
49101
|
"kind": "Content",
|
|
49103
|
-
"text": "
|
|
49104
|
-
},
|
|
49105
|
-
{
|
|
49106
|
-
"kind": "Reference",
|
|
49107
|
-
"text": "Set",
|
|
49108
|
-
"canonicalReference": "!Set:interface"
|
|
49109
|
-
},
|
|
49110
|
-
{
|
|
49111
|
-
"kind": "Content",
|
|
49112
|
-
"text": "<number>"
|
|
49113
|
-
},
|
|
49114
|
-
{
|
|
49115
|
-
"kind": "Content",
|
|
49116
|
-
"text": "): "
|
|
49117
|
-
},
|
|
49118
|
-
{
|
|
49119
|
-
"kind": "Reference",
|
|
49120
|
-
"text": "Array4Number",
|
|
49121
|
-
"canonicalReference": "server!Array4Number:type"
|
|
49122
|
-
},
|
|
49123
|
-
{
|
|
49124
|
-
"kind": "Content",
|
|
49125
|
-
"text": ";"
|
|
49102
|
+
"text": "\"entities_emit_updates\""
|
|
49126
49103
|
}
|
|
49127
49104
|
],
|
|
49128
|
-
"
|
|
49129
|
-
|
|
49130
|
-
"
|
|
49131
|
-
"endIndex": 7
|
|
49105
|
+
"initializerTokenRange": {
|
|
49106
|
+
"startIndex": 1,
|
|
49107
|
+
"endIndex": 2
|
|
49132
49108
|
},
|
|
49133
49109
|
"releaseTag": "Public",
|
|
49134
|
-
"
|
|
49135
|
-
"overloadIndex": 1,
|
|
49136
|
-
"parameters": [
|
|
49137
|
-
{
|
|
49138
|
-
"parameterName": "copyFrom",
|
|
49139
|
-
"parameterTypeTokenRange": {
|
|
49140
|
-
"startIndex": 1,
|
|
49141
|
-
"endIndex": 5
|
|
49142
|
-
},
|
|
49143
|
-
"isOptional": true
|
|
49144
|
-
}
|
|
49145
|
-
],
|
|
49146
|
-
"isOptional": false,
|
|
49147
|
-
"isAbstract": false,
|
|
49148
|
-
"name": "getArray4Number"
|
|
49110
|
+
"name": "ENTITIES_EMIT_UPDATES"
|
|
49149
49111
|
},
|
|
49150
49112
|
{
|
|
49151
|
-
"kind": "
|
|
49152
|
-
"canonicalReference": "server!
|
|
49153
|
-
"docComment": "
|
|
49113
|
+
"kind": "EnumMember",
|
|
49114
|
+
"canonicalReference": "server!TelemetrySpanOperation.ENTITIES_TICK:member",
|
|
49115
|
+
"docComment": "",
|
|
49154
49116
|
"excerptTokens": [
|
|
49155
49117
|
{
|
|
49156
49118
|
"kind": "Content",
|
|
49157
|
-
"text": "
|
|
49158
|
-
},
|
|
49159
|
-
{
|
|
49160
|
-
"kind": "Reference",
|
|
49161
|
-
"text": "Record",
|
|
49162
|
-
"canonicalReference": "!Record:type"
|
|
49163
|
-
},
|
|
49164
|
-
{
|
|
49165
|
-
"kind": "Content",
|
|
49166
|
-
"text": "<string, unknown>"
|
|
49167
|
-
},
|
|
49168
|
-
{
|
|
49169
|
-
"kind": "Content",
|
|
49170
|
-
"text": " = "
|
|
49171
|
-
},
|
|
49172
|
-
{
|
|
49173
|
-
"kind": "Reference",
|
|
49174
|
-
"text": "Record",
|
|
49175
|
-
"canonicalReference": "!Record:type"
|
|
49176
|
-
},
|
|
49177
|
-
{
|
|
49178
|
-
"kind": "Content",
|
|
49179
|
-
"text": "<string, unknown>"
|
|
49180
|
-
},
|
|
49181
|
-
{
|
|
49182
|
-
"kind": "Content",
|
|
49183
|
-
"text": ">(copyFromA?: "
|
|
49184
|
-
},
|
|
49185
|
-
{
|
|
49186
|
-
"kind": "Content",
|
|
49187
|
-
"text": "T"
|
|
49188
|
-
},
|
|
49189
|
-
{
|
|
49190
|
-
"kind": "Content",
|
|
49191
|
-
"text": ", copyFromB?: "
|
|
49119
|
+
"text": "ENTITIES_TICK = "
|
|
49192
49120
|
},
|
|
49193
49121
|
{
|
|
49194
49122
|
"kind": "Content",
|
|
49195
|
-
"text": "
|
|
49196
|
-
}
|
|
49197
|
-
|
|
49198
|
-
|
|
49199
|
-
|
|
49200
|
-
|
|
49123
|
+
"text": "\"entities_tick\""
|
|
49124
|
+
}
|
|
49125
|
+
],
|
|
49126
|
+
"initializerTokenRange": {
|
|
49127
|
+
"startIndex": 1,
|
|
49128
|
+
"endIndex": 2
|
|
49129
|
+
},
|
|
49130
|
+
"releaseTag": "Public",
|
|
49131
|
+
"name": "ENTITIES_TICK"
|
|
49132
|
+
},
|
|
49133
|
+
{
|
|
49134
|
+
"kind": "EnumMember",
|
|
49135
|
+
"canonicalReference": "server!TelemetrySpanOperation.NETWORK_SYNCHRONIZE:member",
|
|
49136
|
+
"docComment": "",
|
|
49137
|
+
"excerptTokens": [
|
|
49201
49138
|
{
|
|
49202
49139
|
"kind": "Content",
|
|
49203
|
-
"text": "
|
|
49140
|
+
"text": "NETWORK_SYNCHRONIZE = "
|
|
49204
49141
|
},
|
|
49205
49142
|
{
|
|
49206
49143
|
"kind": "Content",
|
|
49207
|
-
"text": "
|
|
49144
|
+
"text": "\"network_synchronize\""
|
|
49208
49145
|
}
|
|
49209
49146
|
],
|
|
49210
|
-
"
|
|
49211
|
-
|
|
49212
|
-
|
|
49213
|
-
"constraintTokenRange": {
|
|
49214
|
-
"startIndex": 1,
|
|
49215
|
-
"endIndex": 3
|
|
49216
|
-
},
|
|
49217
|
-
"defaultTypeTokenRange": {
|
|
49218
|
-
"startIndex": 4,
|
|
49219
|
-
"endIndex": 6
|
|
49220
|
-
}
|
|
49221
|
-
}
|
|
49222
|
-
],
|
|
49223
|
-
"isStatic": false,
|
|
49224
|
-
"returnTypeTokenRange": {
|
|
49225
|
-
"startIndex": 11,
|
|
49226
|
-
"endIndex": 12
|
|
49147
|
+
"initializerTokenRange": {
|
|
49148
|
+
"startIndex": 1,
|
|
49149
|
+
"endIndex": 2
|
|
49227
49150
|
},
|
|
49228
49151
|
"releaseTag": "Public",
|
|
49229
|
-
"
|
|
49230
|
-
|
|
49231
|
-
|
|
49152
|
+
"name": "NETWORK_SYNCHRONIZE"
|
|
49153
|
+
},
|
|
49154
|
+
{
|
|
49155
|
+
"kind": "EnumMember",
|
|
49156
|
+
"canonicalReference": "server!TelemetrySpanOperation.NETWORK_SYNCHRONIZE_CLEANUP:member",
|
|
49157
|
+
"docComment": "",
|
|
49158
|
+
"excerptTokens": [
|
|
49232
49159
|
{
|
|
49233
|
-
"
|
|
49234
|
-
"
|
|
49235
|
-
"startIndex": 7,
|
|
49236
|
-
"endIndex": 8
|
|
49237
|
-
},
|
|
49238
|
-
"isOptional": true
|
|
49160
|
+
"kind": "Content",
|
|
49161
|
+
"text": "NETWORK_SYNCHRONIZE_CLEANUP = "
|
|
49239
49162
|
},
|
|
49240
49163
|
{
|
|
49241
|
-
"
|
|
49242
|
-
"
|
|
49243
|
-
"startIndex": 9,
|
|
49244
|
-
"endIndex": 10
|
|
49245
|
-
},
|
|
49246
|
-
"isOptional": true
|
|
49164
|
+
"kind": "Content",
|
|
49165
|
+
"text": "\"network_synchronize_cleanup\""
|
|
49247
49166
|
}
|
|
49248
49167
|
],
|
|
49249
|
-
"
|
|
49250
|
-
|
|
49251
|
-
|
|
49168
|
+
"initializerTokenRange": {
|
|
49169
|
+
"startIndex": 1,
|
|
49170
|
+
"endIndex": 2
|
|
49171
|
+
},
|
|
49172
|
+
"releaseTag": "Public",
|
|
49173
|
+
"name": "NETWORK_SYNCHRONIZE_CLEANUP"
|
|
49252
49174
|
},
|
|
49253
49175
|
{
|
|
49254
|
-
"kind": "
|
|
49255
|
-
"canonicalReference": "server!
|
|
49256
|
-
"docComment": "
|
|
49176
|
+
"kind": "EnumMember",
|
|
49177
|
+
"canonicalReference": "server!TelemetrySpanOperation.PHYSICS_CLEANUP:member",
|
|
49178
|
+
"docComment": "",
|
|
49257
49179
|
"excerptTokens": [
|
|
49258
49180
|
{
|
|
49259
49181
|
"kind": "Content",
|
|
49260
|
-
"text": "
|
|
49261
|
-
},
|
|
49262
|
-
{
|
|
49263
|
-
"kind": "Reference",
|
|
49264
|
-
"text": "Set",
|
|
49265
|
-
"canonicalReference": "!Set:interface"
|
|
49266
|
-
},
|
|
49267
|
-
{
|
|
49268
|
-
"kind": "Content",
|
|
49269
|
-
"text": "<T> | T[]"
|
|
49182
|
+
"text": "PHYSICS_CLEANUP = "
|
|
49270
49183
|
},
|
|
49271
49184
|
{
|
|
49272
49185
|
"kind": "Content",
|
|
49273
|
-
"text": "
|
|
49274
|
-
}
|
|
49275
|
-
|
|
49276
|
-
|
|
49277
|
-
|
|
49278
|
-
|
|
49279
|
-
|
|
49186
|
+
"text": "\"physics_cleanup\""
|
|
49187
|
+
}
|
|
49188
|
+
],
|
|
49189
|
+
"initializerTokenRange": {
|
|
49190
|
+
"startIndex": 1,
|
|
49191
|
+
"endIndex": 2
|
|
49192
|
+
},
|
|
49193
|
+
"releaseTag": "Public",
|
|
49194
|
+
"name": "PHYSICS_CLEANUP"
|
|
49195
|
+
},
|
|
49196
|
+
{
|
|
49197
|
+
"kind": "EnumMember",
|
|
49198
|
+
"canonicalReference": "server!TelemetrySpanOperation.PHYSICS_STEP:member",
|
|
49199
|
+
"docComment": "",
|
|
49200
|
+
"excerptTokens": [
|
|
49280
49201
|
{
|
|
49281
49202
|
"kind": "Content",
|
|
49282
|
-
"text": "
|
|
49203
|
+
"text": "PHYSICS_STEP = "
|
|
49283
49204
|
},
|
|
49284
49205
|
{
|
|
49285
49206
|
"kind": "Content",
|
|
49286
|
-
"text": "
|
|
49287
|
-
}
|
|
49288
|
-
|
|
49289
|
-
|
|
49290
|
-
|
|
49291
|
-
|
|
49292
|
-
|
|
49207
|
+
"text": "\"physics_step\""
|
|
49208
|
+
}
|
|
49209
|
+
],
|
|
49210
|
+
"initializerTokenRange": {
|
|
49211
|
+
"startIndex": 1,
|
|
49212
|
+
"endIndex": 2
|
|
49213
|
+
},
|
|
49214
|
+
"releaseTag": "Public",
|
|
49215
|
+
"name": "PHYSICS_STEP"
|
|
49216
|
+
},
|
|
49217
|
+
{
|
|
49218
|
+
"kind": "EnumMember",
|
|
49219
|
+
"canonicalReference": "server!TelemetrySpanOperation.SEND_ALL_PACKETS:member",
|
|
49220
|
+
"docComment": "",
|
|
49221
|
+
"excerptTokens": [
|
|
49293
49222
|
{
|
|
49294
49223
|
"kind": "Content",
|
|
49295
|
-
"text": "
|
|
49224
|
+
"text": "SEND_ALL_PACKETS = "
|
|
49296
49225
|
},
|
|
49297
49226
|
{
|
|
49298
49227
|
"kind": "Content",
|
|
49299
|
-
"text": "
|
|
49300
|
-
}
|
|
49301
|
-
],
|
|
49302
|
-
"typeParameters": [
|
|
49303
|
-
{
|
|
49304
|
-
"typeParameterName": "T",
|
|
49305
|
-
"constraintTokenRange": {
|
|
49306
|
-
"startIndex": 0,
|
|
49307
|
-
"endIndex": 0
|
|
49308
|
-
},
|
|
49309
|
-
"defaultTypeTokenRange": {
|
|
49310
|
-
"startIndex": 0,
|
|
49311
|
-
"endIndex": 0
|
|
49312
|
-
}
|
|
49228
|
+
"text": "\"send_all_packets\""
|
|
49313
49229
|
}
|
|
49314
49230
|
],
|
|
49315
|
-
"
|
|
49316
|
-
|
|
49317
|
-
"
|
|
49318
|
-
"endIndex": 9
|
|
49231
|
+
"initializerTokenRange": {
|
|
49232
|
+
"startIndex": 1,
|
|
49233
|
+
"endIndex": 2
|
|
49319
49234
|
},
|
|
49320
49235
|
"releaseTag": "Public",
|
|
49321
|
-
"
|
|
49322
|
-
|
|
49323
|
-
|
|
49236
|
+
"name": "SEND_ALL_PACKETS"
|
|
49237
|
+
},
|
|
49238
|
+
{
|
|
49239
|
+
"kind": "EnumMember",
|
|
49240
|
+
"canonicalReference": "server!TelemetrySpanOperation.SEND_PACKETS:member",
|
|
49241
|
+
"docComment": "",
|
|
49242
|
+
"excerptTokens": [
|
|
49324
49243
|
{
|
|
49325
|
-
"
|
|
49326
|
-
"
|
|
49327
|
-
"startIndex": 1,
|
|
49328
|
-
"endIndex": 3
|
|
49329
|
-
},
|
|
49330
|
-
"isOptional": true
|
|
49244
|
+
"kind": "Content",
|
|
49245
|
+
"text": "SEND_PACKETS = "
|
|
49331
49246
|
},
|
|
49332
49247
|
{
|
|
49333
|
-
"
|
|
49334
|
-
"
|
|
49335
|
-
"startIndex": 4,
|
|
49336
|
-
"endIndex": 6
|
|
49337
|
-
},
|
|
49338
|
-
"isOptional": true
|
|
49248
|
+
"kind": "Content",
|
|
49249
|
+
"text": "\"send_packets\""
|
|
49339
49250
|
}
|
|
49340
49251
|
],
|
|
49341
|
-
"
|
|
49342
|
-
|
|
49343
|
-
|
|
49252
|
+
"initializerTokenRange": {
|
|
49253
|
+
"startIndex": 1,
|
|
49254
|
+
"endIndex": 2
|
|
49255
|
+
},
|
|
49256
|
+
"releaseTag": "Public",
|
|
49257
|
+
"name": "SEND_PACKETS"
|
|
49344
49258
|
},
|
|
49345
49259
|
{
|
|
49346
|
-
"kind": "
|
|
49347
|
-
"canonicalReference": "server!
|
|
49348
|
-
"docComment": "
|
|
49260
|
+
"kind": "EnumMember",
|
|
49261
|
+
"canonicalReference": "server!TelemetrySpanOperation.SERIALIZE_FREE_BUFFERS:member",
|
|
49262
|
+
"docComment": "",
|
|
49349
49263
|
"excerptTokens": [
|
|
49350
49264
|
{
|
|
49351
49265
|
"kind": "Content",
|
|
49352
|
-
"text": "
|
|
49353
|
-
},
|
|
49354
|
-
{
|
|
49355
|
-
"kind": "Content",
|
|
49356
|
-
"text": "T[]"
|
|
49266
|
+
"text": "SERIALIZE_FREE_BUFFERS = "
|
|
49357
49267
|
},
|
|
49358
49268
|
{
|
|
49359
49269
|
"kind": "Content",
|
|
49360
|
-
"text": "
|
|
49361
|
-
}
|
|
49270
|
+
"text": "\"serialize_free_buffers\""
|
|
49271
|
+
}
|
|
49272
|
+
],
|
|
49273
|
+
"initializerTokenRange": {
|
|
49274
|
+
"startIndex": 1,
|
|
49275
|
+
"endIndex": 2
|
|
49276
|
+
},
|
|
49277
|
+
"releaseTag": "Public",
|
|
49278
|
+
"name": "SERIALIZE_FREE_BUFFERS"
|
|
49279
|
+
},
|
|
49280
|
+
{
|
|
49281
|
+
"kind": "EnumMember",
|
|
49282
|
+
"canonicalReference": "server!TelemetrySpanOperation.SERIALIZE_PACKETS:member",
|
|
49283
|
+
"docComment": "",
|
|
49284
|
+
"excerptTokens": [
|
|
49362
49285
|
{
|
|
49363
49286
|
"kind": "Content",
|
|
49364
|
-
"text": "
|
|
49287
|
+
"text": "SERIALIZE_PACKETS = "
|
|
49365
49288
|
},
|
|
49366
49289
|
{
|
|
49367
49290
|
"kind": "Content",
|
|
49368
|
-
"text": "
|
|
49369
|
-
}
|
|
49291
|
+
"text": "\"serialize_packets\""
|
|
49292
|
+
}
|
|
49293
|
+
],
|
|
49294
|
+
"initializerTokenRange": {
|
|
49295
|
+
"startIndex": 1,
|
|
49296
|
+
"endIndex": 2
|
|
49297
|
+
},
|
|
49298
|
+
"releaseTag": "Public",
|
|
49299
|
+
"name": "SERIALIZE_PACKETS"
|
|
49300
|
+
},
|
|
49301
|
+
{
|
|
49302
|
+
"kind": "EnumMember",
|
|
49303
|
+
"canonicalReference": "server!TelemetrySpanOperation.SERIALIZE_PACKETS_ENCODE:member",
|
|
49304
|
+
"docComment": "",
|
|
49305
|
+
"excerptTokens": [
|
|
49370
49306
|
{
|
|
49371
49307
|
"kind": "Content",
|
|
49372
|
-
"text": "
|
|
49308
|
+
"text": "SERIALIZE_PACKETS_ENCODE = "
|
|
49373
49309
|
},
|
|
49374
49310
|
{
|
|
49375
49311
|
"kind": "Content",
|
|
49376
|
-
"text": "
|
|
49312
|
+
"text": "\"serialize_packets_encode\""
|
|
49377
49313
|
}
|
|
49378
49314
|
],
|
|
49379
|
-
"
|
|
49315
|
+
"initializerTokenRange": {
|
|
49316
|
+
"startIndex": 1,
|
|
49317
|
+
"endIndex": 2
|
|
49318
|
+
},
|
|
49319
|
+
"releaseTag": "Public",
|
|
49320
|
+
"name": "SERIALIZE_PACKETS_ENCODE"
|
|
49321
|
+
},
|
|
49322
|
+
{
|
|
49323
|
+
"kind": "EnumMember",
|
|
49324
|
+
"canonicalReference": "server!TelemetrySpanOperation.SIMULATION_STEP:member",
|
|
49325
|
+
"docComment": "",
|
|
49326
|
+
"excerptTokens": [
|
|
49380
49327
|
{
|
|
49381
|
-
"
|
|
49382
|
-
"
|
|
49383
|
-
"startIndex": 0,
|
|
49384
|
-
"endIndex": 0
|
|
49385
|
-
},
|
|
49386
|
-
"defaultTypeTokenRange": {
|
|
49387
|
-
"startIndex": 0,
|
|
49388
|
-
"endIndex": 0
|
|
49389
|
-
}
|
|
49328
|
+
"kind": "Content",
|
|
49329
|
+
"text": "SIMULATION_STEP = "
|
|
49390
49330
|
},
|
|
49391
49331
|
{
|
|
49392
|
-
"
|
|
49393
|
-
"
|
|
49394
|
-
"startIndex": 0,
|
|
49395
|
-
"endIndex": 0
|
|
49396
|
-
},
|
|
49397
|
-
"defaultTypeTokenRange": {
|
|
49398
|
-
"startIndex": 0,
|
|
49399
|
-
"endIndex": 0
|
|
49400
|
-
}
|
|
49332
|
+
"kind": "Content",
|
|
49333
|
+
"text": "\"simulation_step\""
|
|
49401
49334
|
}
|
|
49402
49335
|
],
|
|
49403
|
-
"
|
|
49404
|
-
|
|
49405
|
-
"
|
|
49406
|
-
"endIndex": 6
|
|
49336
|
+
"initializerTokenRange": {
|
|
49337
|
+
"startIndex": 1,
|
|
49338
|
+
"endIndex": 2
|
|
49407
49339
|
},
|
|
49408
49340
|
"releaseTag": "Public",
|
|
49409
|
-
"
|
|
49410
|
-
|
|
49411
|
-
|
|
49341
|
+
"name": "SIMULATION_STEP"
|
|
49342
|
+
},
|
|
49343
|
+
{
|
|
49344
|
+
"kind": "EnumMember",
|
|
49345
|
+
"canonicalReference": "server!TelemetrySpanOperation.TICKER_TICK:member",
|
|
49346
|
+
"docComment": "",
|
|
49347
|
+
"excerptTokens": [
|
|
49412
49348
|
{
|
|
49413
|
-
"
|
|
49414
|
-
"
|
|
49415
|
-
"startIndex": 1,
|
|
49416
|
-
"endIndex": 2
|
|
49417
|
-
},
|
|
49418
|
-
"isOptional": false
|
|
49349
|
+
"kind": "Content",
|
|
49350
|
+
"text": "TICKER_TICK = "
|
|
49419
49351
|
},
|
|
49420
49352
|
{
|
|
49421
|
-
"
|
|
49422
|
-
"
|
|
49423
|
-
"startIndex": 3,
|
|
49424
|
-
"endIndex": 4
|
|
49425
|
-
},
|
|
49426
|
-
"isOptional": false
|
|
49353
|
+
"kind": "Content",
|
|
49354
|
+
"text": "\"ticker_tick\""
|
|
49427
49355
|
}
|
|
49428
49356
|
],
|
|
49429
|
-
"
|
|
49430
|
-
|
|
49431
|
-
|
|
49357
|
+
"initializerTokenRange": {
|
|
49358
|
+
"startIndex": 1,
|
|
49359
|
+
"endIndex": 2
|
|
49360
|
+
},
|
|
49361
|
+
"releaseTag": "Public",
|
|
49362
|
+
"name": "TICKER_TICK"
|
|
49432
49363
|
},
|
|
49433
49364
|
{
|
|
49434
|
-
"kind": "
|
|
49435
|
-
"canonicalReference": "server!
|
|
49436
|
-
"docComment": "
|
|
49365
|
+
"kind": "EnumMember",
|
|
49366
|
+
"canonicalReference": "server!TelemetrySpanOperation.WORLD_TICK:member",
|
|
49367
|
+
"docComment": "",
|
|
49437
49368
|
"excerptTokens": [
|
|
49438
49369
|
{
|
|
49439
49370
|
"kind": "Content",
|
|
49440
|
-
"text": "
|
|
49441
|
-
},
|
|
49442
|
-
{
|
|
49443
|
-
"kind": "Content",
|
|
49444
|
-
"text": "void"
|
|
49371
|
+
"text": "WORLD_TICK = "
|
|
49445
49372
|
},
|
|
49446
49373
|
{
|
|
49447
49374
|
"kind": "Content",
|
|
49448
|
-
"text": "
|
|
49375
|
+
"text": "\"world_tick\""
|
|
49449
49376
|
}
|
|
49450
49377
|
],
|
|
49451
|
-
"
|
|
49452
|
-
"returnTypeTokenRange": {
|
|
49378
|
+
"initializerTokenRange": {
|
|
49453
49379
|
"startIndex": 1,
|
|
49454
49380
|
"endIndex": 2
|
|
49455
49381
|
},
|
|
49456
49382
|
"releaseTag": "Public",
|
|
49457
|
-
"
|
|
49458
|
-
|
|
49459
|
-
|
|
49460
|
-
|
|
49461
|
-
|
|
49462
|
-
|
|
49383
|
+
"name": "WORLD_TICK"
|
|
49384
|
+
}
|
|
49385
|
+
]
|
|
49386
|
+
},
|
|
49387
|
+
{
|
|
49388
|
+
"kind": "TypeAlias",
|
|
49389
|
+
"canonicalReference": "server!TelemetrySpanOptions:type",
|
|
49390
|
+
"docComment": "/**\n * Options for creating a telemetry span.\n *\n * @public\n */\n",
|
|
49391
|
+
"excerptTokens": [
|
|
49392
|
+
{
|
|
49393
|
+
"kind": "Content",
|
|
49394
|
+
"text": "export type TelemetrySpanOptions = "
|
|
49395
|
+
},
|
|
49396
|
+
{
|
|
49397
|
+
"kind": "Content",
|
|
49398
|
+
"text": "{\n operation: "
|
|
49399
|
+
},
|
|
49400
|
+
{
|
|
49401
|
+
"kind": "Reference",
|
|
49402
|
+
"text": "TelemetrySpanOperation",
|
|
49403
|
+
"canonicalReference": "server!TelemetrySpanOperation:enum"
|
|
49404
|
+
},
|
|
49405
|
+
{
|
|
49406
|
+
"kind": "Content",
|
|
49407
|
+
"text": " | string;\n attributes?: "
|
|
49408
|
+
},
|
|
49409
|
+
{
|
|
49410
|
+
"kind": "Reference",
|
|
49411
|
+
"text": "Record",
|
|
49412
|
+
"canonicalReference": "!Record:type"
|
|
49413
|
+
},
|
|
49414
|
+
{
|
|
49415
|
+
"kind": "Content",
|
|
49416
|
+
"text": "<string, string | number>;\n}"
|
|
49417
|
+
},
|
|
49418
|
+
{
|
|
49419
|
+
"kind": "Content",
|
|
49420
|
+
"text": ";"
|
|
49463
49421
|
}
|
|
49464
49422
|
],
|
|
49465
|
-
"
|
|
49423
|
+
"fileUrlPath": "src/metrics/Telemetry.ts",
|
|
49424
|
+
"releaseTag": "Public",
|
|
49425
|
+
"name": "TelemetrySpanOptions",
|
|
49426
|
+
"typeTokenRange": {
|
|
49427
|
+
"startIndex": 1,
|
|
49428
|
+
"endIndex": 6
|
|
49429
|
+
}
|
|
49466
49430
|
},
|
|
49467
49431
|
{
|
|
49468
49432
|
"kind": "Interface",
|
|
@@ -55022,37 +54986,6 @@
|
|
|
55022
54986
|
"isStatic": false,
|
|
55023
54987
|
"isProtected": false,
|
|
55024
54988
|
"isAbstract": false
|
|
55025
|
-
},
|
|
55026
|
-
{
|
|
55027
|
-
"kind": "Property",
|
|
55028
|
-
"canonicalReference": "server!World#tickAllocator:member",
|
|
55029
|
-
"docComment": "/**\n * The tick allocator for the world.\n */\n",
|
|
55030
|
-
"excerptTokens": [
|
|
55031
|
-
{
|
|
55032
|
-
"kind": "Content",
|
|
55033
|
-
"text": "get tickAllocator(): "
|
|
55034
|
-
},
|
|
55035
|
-
{
|
|
55036
|
-
"kind": "Reference",
|
|
55037
|
-
"text": "TickAllocator",
|
|
55038
|
-
"canonicalReference": "server!TickAllocator:class"
|
|
55039
|
-
},
|
|
55040
|
-
{
|
|
55041
|
-
"kind": "Content",
|
|
55042
|
-
"text": ";"
|
|
55043
|
-
}
|
|
55044
|
-
],
|
|
55045
|
-
"isReadonly": true,
|
|
55046
|
-
"isOptional": false,
|
|
55047
|
-
"releaseTag": "Public",
|
|
55048
|
-
"name": "tickAllocator",
|
|
55049
|
-
"propertyTypeTokenRange": {
|
|
55050
|
-
"startIndex": 1,
|
|
55051
|
-
"endIndex": 2
|
|
55052
|
-
},
|
|
55053
|
-
"isStatic": false,
|
|
55054
|
-
"isProtected": false,
|
|
55055
|
-
"isAbstract": false
|
|
55056
54989
|
}
|
|
55057
54990
|
],
|
|
55058
54991
|
"extendsTokenRange": {
|