hytopia 0.8.6-dev4 → 0.8.6-dev6

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.
Files changed (56) hide show
  1. package/bun-server.mjs +164 -166
  2. package/docs/server.array3number.md +13 -0
  3. package/docs/server.array4number.md +13 -0
  4. package/docs/server.audiomanager.getallaudios.md +38 -1
  5. package/docs/server.audiomanager.getallentityattachedaudios.md +1 -1
  6. package/docs/server.audiomanager.md +1 -1
  7. package/docs/server.blocktype._constructor_.md +15 -1
  8. package/docs/server.blocktype.blocktyperegistry.md +13 -0
  9. package/docs/server.blocktype.md +22 -1
  10. package/docs/server.blocktyperegistry.getallblocktypes.md +38 -1
  11. package/docs/server.blocktyperegistry.md +1 -1
  12. package/docs/server.chunk._constructor_.md +15 -1
  13. package/docs/server.chunk.chunklattice.md +13 -0
  14. package/docs/server.chunk.md +22 -1
  15. package/docs/server.chunklattice.getallchunks.md +38 -1
  16. package/docs/server.chunklattice.md +22 -1
  17. package/docs/server.chunklattice.world.md +13 -0
  18. package/docs/server.chunklatticeevent.md +0 -14
  19. package/docs/server.chunklatticeeventpayloads.md +0 -19
  20. package/docs/server.entitymanager.getallentities.md +38 -1
  21. package/docs/server.entitymanager.md +1 -1
  22. package/docs/server.lightmanager.getalllights.md +38 -1
  23. package/docs/server.lightmanager.md +1 -1
  24. package/docs/server.md +25 -25
  25. package/docs/server.particleemitter.md +0 -14
  26. package/docs/server.particleemitterevent.md +0 -14
  27. package/docs/server.particleemittereventpayloads.md +0 -19
  28. package/docs/server.particleemittermanager.getallparticleemitters.md +38 -1
  29. package/docs/server.particleemittermanager.md +1 -1
  30. package/docs/server.rgbcolor.md +1 -1
  31. package/docs/server.sceneuimanager.getallsceneuis.md +38 -1
  32. package/docs/server.sceneuimanager.md +1 -1
  33. package/docs/server.tickallocator.getarray.md +72 -0
  34. package/docs/server.tickallocator.getarray3number.md +56 -0
  35. package/docs/server.tickallocator.getarray4number.md +56 -0
  36. package/docs/server.tickallocator.getobject.md +72 -0
  37. package/docs/server.tickallocator.getset.md +72 -0
  38. package/docs/server.tickallocator.map.md +72 -0
  39. package/docs/server.tickallocator.md +149 -0
  40. package/docs/server.tickallocator.reset.md +17 -0
  41. package/docs/server.world.md +21 -0
  42. package/docs/server.world.tickallocator.md +13 -0
  43. package/node-server.mjs +170 -172
  44. package/package.json +1 -1
  45. package/server.api.json +737 -670
  46. package/server.d.ts +145 -153
  47. package/docs/server.chunklatticeeventpayloads._chunk_lattice.add_chunk_.md +0 -16
  48. package/docs/server.particleemitter.burst.md +0 -54
  49. package/docs/server.particleemittereventpayloads._particle_emitter.burst_.md +0 -16
  50. package/docs/server.telemetry.getprocessstats.md +0 -56
  51. package/docs/server.telemetry.initializesentry.md +0 -74
  52. package/docs/server.telemetry.md +0 -126
  53. package/docs/server.telemetry.sentry.md +0 -23
  54. package/docs/server.telemetry.startspan.md +0 -91
  55. package/docs/server.telemetryspanoperation.md +0 -244
  56. package/docs/server.telemetryspanoptions.md +0 -18
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 - Whether to use the tick allocator to allocate the returned array of Audio 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 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": 1,
2113
- "endIndex": 3
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. the allocated array at the end of the current tick. false by default.\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 * @returns An array of audio instances.\n */\n",
2127
2196
  "excerptTokens": [
2128
2197
  {
2129
2198
  "kind": "Content",
@@ -4910,7 +4979,16 @@
4910
4979
  "excerptTokens": [
4911
4980
  {
4912
4981
  "kind": "Content",
4913
- "text": "constructor(options?: "
4982
+ "text": "constructor(blockTypeRegistry: "
4983
+ },
4984
+ {
4985
+ "kind": "Reference",
4986
+ "text": "BlockTypeRegistry",
4987
+ "canonicalReference": "server!BlockTypeRegistry:class"
4988
+ },
4989
+ {
4990
+ "kind": "Content",
4991
+ "text": ", options?: "
4914
4992
  },
4915
4993
  {
4916
4994
  "kind": "Reference",
@@ -4927,15 +5005,54 @@
4927
5005
  "overloadIndex": 1,
4928
5006
  "parameters": [
4929
5007
  {
4930
- "parameterName": "options",
5008
+ "parameterName": "blockTypeRegistry",
4931
5009
  "parameterTypeTokenRange": {
4932
5010
  "startIndex": 1,
4933
5011
  "endIndex": 2
4934
5012
  },
5013
+ "isOptional": false
5014
+ },
5015
+ {
5016
+ "parameterName": "options",
5017
+ "parameterTypeTokenRange": {
5018
+ "startIndex": 3,
5019
+ "endIndex": 4
5020
+ },
4935
5021
  "isOptional": true
4936
5022
  }
4937
5023
  ]
4938
5024
  },
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
+ },
4939
5056
  {
4940
5057
  "kind": "Property",
4941
5058
  "canonicalReference": "server!BlockType#colliderOptions:member",
@@ -5604,11 +5721,19 @@
5604
5721
  {
5605
5722
  "kind": "Method",
5606
5723
  "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",
5724
+ "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
5725
  "excerptTokens": [
5609
5726
  {
5610
5727
  "kind": "Content",
5611
- "text": "getAllBlockTypes(): "
5728
+ "text": "getAllBlockTypes(tickAllocated?: "
5729
+ },
5730
+ {
5731
+ "kind": "Content",
5732
+ "text": "boolean"
5733
+ },
5734
+ {
5735
+ "kind": "Content",
5736
+ "text": "): "
5612
5737
  },
5613
5738
  {
5614
5739
  "kind": "Reference",
@@ -5626,13 +5751,22 @@
5626
5751
  ],
5627
5752
  "isStatic": false,
5628
5753
  "returnTypeTokenRange": {
5629
- "startIndex": 1,
5630
- "endIndex": 3
5754
+ "startIndex": 3,
5755
+ "endIndex": 5
5631
5756
  },
5632
5757
  "releaseTag": "Public",
5633
5758
  "isProtected": false,
5634
5759
  "overloadIndex": 1,
5635
- "parameters": [],
5760
+ "parameters": [
5761
+ {
5762
+ "parameterName": "tickAllocated",
5763
+ "parameterTypeTokenRange": {
5764
+ "startIndex": 1,
5765
+ "endIndex": 2
5766
+ },
5767
+ "isOptional": true
5768
+ }
5769
+ ],
5636
5770
  "isOptional": false,
5637
5771
  "isAbstract": false,
5638
5772
  "name": "getAllBlockTypes"
@@ -6541,7 +6675,16 @@
6541
6675
  "excerptTokens": [
6542
6676
  {
6543
6677
  "kind": "Content",
6544
- "text": "constructor(originCoordinate: "
6678
+ "text": "constructor(chunkLattice: "
6679
+ },
6680
+ {
6681
+ "kind": "Reference",
6682
+ "text": "ChunkLattice",
6683
+ "canonicalReference": "server!ChunkLattice:class"
6684
+ },
6685
+ {
6686
+ "kind": "Content",
6687
+ "text": ", originCoordinate: "
6545
6688
  },
6546
6689
  {
6547
6690
  "kind": "Reference",
@@ -6558,12 +6701,20 @@
6558
6701
  "overloadIndex": 1,
6559
6702
  "parameters": [
6560
6703
  {
6561
- "parameterName": "originCoordinate",
6704
+ "parameterName": "chunkLattice",
6562
6705
  "parameterTypeTokenRange": {
6563
6706
  "startIndex": 1,
6564
6707
  "endIndex": 2
6565
6708
  },
6566
6709
  "isOptional": false
6710
+ },
6711
+ {
6712
+ "parameterName": "originCoordinate",
6713
+ "parameterTypeTokenRange": {
6714
+ "startIndex": 3,
6715
+ "endIndex": 4
6716
+ },
6717
+ "isOptional": false
6567
6718
  }
6568
6719
  ]
6569
6720
  },
@@ -6660,6 +6811,37 @@
6660
6811
  "isProtected": false,
6661
6812
  "isAbstract": false
6662
6813
  },
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
+ },
6663
6845
  {
6664
6846
  "kind": "Method",
6665
6847
  "canonicalReference": "server!Chunk#getBlockId:member(1)",
@@ -7019,11 +7201,19 @@
7019
7201
  {
7020
7202
  "kind": "Method",
7021
7203
  "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",
7204
+ "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
7205
  "excerptTokens": [
7024
7206
  {
7025
7207
  "kind": "Content",
7026
- "text": "getAllChunks(): "
7208
+ "text": "getAllChunks(tickAllocated?: "
7209
+ },
7210
+ {
7211
+ "kind": "Content",
7212
+ "text": "boolean"
7213
+ },
7214
+ {
7215
+ "kind": "Content",
7216
+ "text": "): "
7027
7217
  },
7028
7218
  {
7029
7219
  "kind": "Reference",
@@ -7041,13 +7231,22 @@
7041
7231
  ],
7042
7232
  "isStatic": false,
7043
7233
  "returnTypeTokenRange": {
7044
- "startIndex": 1,
7045
- "endIndex": 3
7234
+ "startIndex": 3,
7235
+ "endIndex": 5
7046
7236
  },
7047
7237
  "releaseTag": "Public",
7048
7238
  "isProtected": false,
7049
7239
  "overloadIndex": 1,
7050
- "parameters": [],
7240
+ "parameters": [
7241
+ {
7242
+ "parameterName": "tickAllocated",
7243
+ "parameterTypeTokenRange": {
7244
+ "startIndex": 1,
7245
+ "endIndex": 2
7246
+ },
7247
+ "isOptional": true
7248
+ }
7249
+ ],
7051
7250
  "isOptional": false,
7052
7251
  "isAbstract": false,
7053
7252
  "name": "getAllChunks"
@@ -7469,6 +7668,37 @@
7469
7668
  "isOptional": false,
7470
7669
  "isAbstract": false,
7471
7670
  "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
7472
7702
  }
7473
7703
  ],
7474
7704
  "extendsTokenRange": {
@@ -7492,27 +7722,6 @@
7492
7722
  "name": "ChunkLatticeEvent",
7493
7723
  "preserveMemberOrder": false,
7494
7724
  "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
- },
7516
7725
  {
7517
7726
  "kind": "EnumMember",
7518
7727
  "canonicalReference": "server!ChunkLatticeEvent.REMOVE_CHUNK:member",
@@ -7574,8 +7783,8 @@
7574
7783
  "members": [
7575
7784
  {
7576
7785
  "kind": "PropertySignature",
7577
- "canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.ADD_CHUNK\":member",
7578
- "docComment": "/**\n * Emitted when a chunk is added to the lattice.\n */\n",
7786
+ "canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.REMOVE_CHUNK\":member",
7787
+ "docComment": "/**\n * Emitted when a chunk is removed from the lattice.\n */\n",
7579
7788
  "excerptTokens": [
7580
7789
  {
7581
7790
  "kind": "Content",
@@ -7583,8 +7792,8 @@
7583
7792
  },
7584
7793
  {
7585
7794
  "kind": "Reference",
7586
- "text": "ChunkLatticeEvent.ADD_CHUNK",
7587
- "canonicalReference": "server!ChunkLatticeEvent.ADD_CHUNK:member"
7795
+ "text": "ChunkLatticeEvent.REMOVE_CHUNK",
7796
+ "canonicalReference": "server!ChunkLatticeEvent.REMOVE_CHUNK:member"
7588
7797
  },
7589
7798
  {
7590
7799
  "kind": "Content",
@@ -7620,7 +7829,7 @@
7620
7829
  "isReadonly": false,
7621
7830
  "isOptional": false,
7622
7831
  "releaseTag": "Public",
7623
- "name": "\"CHUNK_LATTICE.ADD_CHUNK\"",
7832
+ "name": "\"CHUNK_LATTICE.REMOVE_CHUNK\"",
7624
7833
  "propertyTypeTokenRange": {
7625
7834
  "startIndex": 3,
7626
7835
  "endIndex": 8
@@ -7628,8 +7837,8 @@
7628
7837
  },
7629
7838
  {
7630
7839
  "kind": "PropertySignature",
7631
- "canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.REMOVE_CHUNK\":member",
7632
- "docComment": "/**\n * Emitted when a chunk is removed from the lattice.\n */\n",
7840
+ "canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.SET_BLOCK\":member",
7841
+ "docComment": "/**\n * Emitted when a block is set in the lattice.\n */\n",
7633
7842
  "excerptTokens": [
7634
7843
  {
7635
7844
  "kind": "Content",
@@ -7637,62 +7846,8 @@
7637
7846
  },
7638
7847
  {
7639
7848
  "kind": "Reference",
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"
7849
+ "text": "ChunkLatticeEvent.SET_BLOCK",
7850
+ "canonicalReference": "server!ChunkLatticeEvent.SET_BLOCK:member"
7696
7851
  },
7697
7852
  {
7698
7853
  "kind": "Content",
@@ -16675,11 +16830,19 @@
16675
16830
  {
16676
16831
  "kind": "Method",
16677
16832
  "canonicalReference": "server!EntityManager#getAllEntities:member(1)",
16678
- "docComment": "/**\n * Gets all spawned entities in the world.\n *\n * @returns All spawned entities in the world.\n */\n",
16833
+ "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",
16679
16834
  "excerptTokens": [
16680
16835
  {
16681
16836
  "kind": "Content",
16682
- "text": "getAllEntities(): "
16837
+ "text": "getAllEntities(tickAllocated?: "
16838
+ },
16839
+ {
16840
+ "kind": "Content",
16841
+ "text": "boolean"
16842
+ },
16843
+ {
16844
+ "kind": "Content",
16845
+ "text": "): "
16683
16846
  },
16684
16847
  {
16685
16848
  "kind": "Reference",
@@ -16697,13 +16860,22 @@
16697
16860
  ],
16698
16861
  "isStatic": false,
16699
16862
  "returnTypeTokenRange": {
16700
- "startIndex": 1,
16701
- "endIndex": 3
16863
+ "startIndex": 3,
16864
+ "endIndex": 5
16702
16865
  },
16703
16866
  "releaseTag": "Public",
16704
16867
  "isProtected": false,
16705
16868
  "overloadIndex": 1,
16706
- "parameters": [],
16869
+ "parameters": [
16870
+ {
16871
+ "parameterName": "tickAllocated",
16872
+ "parameterTypeTokenRange": {
16873
+ "startIndex": 1,
16874
+ "endIndex": 2
16875
+ },
16876
+ "isOptional": true
16877
+ }
16878
+ ],
16707
16879
  "isOptional": false,
16708
16880
  "isAbstract": false,
16709
16881
  "name": "getAllEntities"
@@ -22632,11 +22804,19 @@
22632
22804
  {
22633
22805
  "kind": "Method",
22634
22806
  "canonicalReference": "server!LightManager#getAllLights:member(1)",
22635
- "docComment": "/**\n * Retrieves all spawned Light instances for the world.\n *\n * @returns An array of Light instances.\n */\n",
22807
+ "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",
22636
22808
  "excerptTokens": [
22637
22809
  {
22638
22810
  "kind": "Content",
22639
- "text": "getAllLights(): "
22811
+ "text": "getAllLights(tickAllocated?: "
22812
+ },
22813
+ {
22814
+ "kind": "Content",
22815
+ "text": "boolean"
22816
+ },
22817
+ {
22818
+ "kind": "Content",
22819
+ "text": "): "
22640
22820
  },
22641
22821
  {
22642
22822
  "kind": "Reference",
@@ -22654,13 +22834,22 @@
22654
22834
  ],
22655
22835
  "isStatic": false,
22656
22836
  "returnTypeTokenRange": {
22657
- "startIndex": 1,
22658
- "endIndex": 3
22837
+ "startIndex": 3,
22838
+ "endIndex": 5
22659
22839
  },
22660
22840
  "releaseTag": "Public",
22661
22841
  "isProtected": false,
22662
22842
  "overloadIndex": 1,
22663
- "parameters": [],
22843
+ "parameters": [
22844
+ {
22845
+ "parameterName": "tickAllocated",
22846
+ "parameterTypeTokenRange": {
22847
+ "startIndex": 1,
22848
+ "endIndex": 2
22849
+ },
22850
+ "isOptional": true
22851
+ }
22852
+ ],
22664
22853
  "isOptional": false,
22665
22854
  "isAbstract": false,
22666
22855
  "name": "getAllLights"
@@ -28804,54 +28993,6 @@
28804
28993
  "isProtected": false,
28805
28994
  "isAbstract": false
28806
28995
  },
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
- },
28855
28996
  {
28856
28997
  "kind": "Property",
28857
28998
  "canonicalReference": "server!ParticleEmitter#colorEnd:member",
@@ -31331,27 +31472,6 @@
31331
31472
  "name": "ParticleEmitterEvent",
31332
31473
  "preserveMemberOrder": false,
31333
31474
  "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
- },
31355
31475
  {
31356
31476
  "kind": "EnumMember",
31357
31477
  "canonicalReference": "server!ParticleEmitterEvent.DESPAWN:member",
@@ -32020,51 +32140,6 @@
32020
32140
  "name": "ParticleEmitterEventPayloads",
32021
32141
  "preserveMemberOrder": false,
32022
32142
  "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
- },
32068
32143
  {
32069
32144
  "kind": "PropertySignature",
32070
32145
  "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.DESPAWN\":member",
@@ -33635,11 +33710,19 @@
33635
33710
  {
33636
33711
  "kind": "Method",
33637
33712
  "canonicalReference": "server!ParticleEmitterManager#getAllParticleEmitters:member(1)",
33638
- "docComment": "/**\n * Retrieves all spawned ParticleEmitter instances for the world.\n *\n * @returns An array of ParticleEmitter instances.\n */\n",
33713
+ "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",
33639
33714
  "excerptTokens": [
33640
33715
  {
33641
33716
  "kind": "Content",
33642
- "text": "getAllParticleEmitters(): "
33717
+ "text": "getAllParticleEmitters(tickAllocated?: "
33718
+ },
33719
+ {
33720
+ "kind": "Content",
33721
+ "text": "boolean"
33722
+ },
33723
+ {
33724
+ "kind": "Content",
33725
+ "text": "): "
33643
33726
  },
33644
33727
  {
33645
33728
  "kind": "Reference",
@@ -33657,13 +33740,22 @@
33657
33740
  ],
33658
33741
  "isStatic": false,
33659
33742
  "returnTypeTokenRange": {
33660
- "startIndex": 1,
33661
- "endIndex": 3
33743
+ "startIndex": 3,
33744
+ "endIndex": 5
33662
33745
  },
33663
33746
  "releaseTag": "Public",
33664
33747
  "isProtected": false,
33665
33748
  "overloadIndex": 1,
33666
- "parameters": [],
33749
+ "parameters": [
33750
+ {
33751
+ "parameterName": "tickAllocated",
33752
+ "parameterTypeTokenRange": {
33753
+ "startIndex": 1,
33754
+ "endIndex": 2
33755
+ },
33756
+ "isOptional": true
33757
+ }
33758
+ ],
33667
33759
  "isOptional": false,
33668
33760
  "isAbstract": false,
33669
33761
  "name": "getAllParticleEmitters"
@@ -41837,7 +41929,7 @@
41837
41929
  {
41838
41930
  "kind": "Interface",
41839
41931
  "canonicalReference": "server!RgbColor:interface",
41840
- "docComment": "/**\n * A RGB color. r, g and b expect a value between 0 and 255.\n *\n * @public\n */\n",
41932
+ "docComment": "/**\n * A RGB color.\n *\n * @public\n */\n",
41841
41933
  "excerptTokens": [
41842
41934
  {
41843
41935
  "kind": "Content",
@@ -46804,11 +46896,19 @@
46804
46896
  {
46805
46897
  "kind": "Method",
46806
46898
  "canonicalReference": "server!SceneUIManager#getAllSceneUIs:member(1)",
46807
- "docComment": "/**\n * Retrieves all loaded SceneUI instances for the world.\n *\n * @returns An array of SceneUI instances.\n */\n",
46899
+ "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",
46808
46900
  "excerptTokens": [
46809
46901
  {
46810
46902
  "kind": "Content",
46811
- "text": "getAllSceneUIs(): "
46903
+ "text": "getAllSceneUIs(tickAllocated?: "
46904
+ },
46905
+ {
46906
+ "kind": "Content",
46907
+ "text": "boolean"
46908
+ },
46909
+ {
46910
+ "kind": "Content",
46911
+ "text": "): "
46812
46912
  },
46813
46913
  {
46814
46914
  "kind": "Reference",
@@ -46826,13 +46926,22 @@
46826
46926
  ],
46827
46927
  "isStatic": false,
46828
46928
  "returnTypeTokenRange": {
46829
- "startIndex": 1,
46830
- "endIndex": 3
46929
+ "startIndex": 3,
46930
+ "endIndex": 5
46831
46931
  },
46832
46932
  "releaseTag": "Public",
46833
46933
  "isProtected": false,
46834
46934
  "overloadIndex": 1,
46835
- "parameters": [],
46935
+ "parameters": [
46936
+ {
46937
+ "parameterName": "tickAllocated",
46938
+ "parameterTypeTokenRange": {
46939
+ "startIndex": 1,
46940
+ "endIndex": 2
46941
+ },
46942
+ "isOptional": true
46943
+ }
46944
+ ],
46836
46945
  "isOptional": false,
46837
46946
  "isAbstract": false,
46838
46947
  "name": "getAllSceneUIs"
@@ -48795,203 +48904,66 @@
48795
48904
  },
48796
48905
  {
48797
48906
  "kind": "Class",
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",
48907
+ "canonicalReference": "server!TickAllocator:class",
48908
+ "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",
48800
48909
  "excerptTokens": [
48801
48910
  {
48802
48911
  "kind": "Content",
48803
- "text": "export default class Telemetry "
48912
+ "text": "export default class TickAllocator "
48804
48913
  }
48805
48914
  ],
48806
- "fileUrlPath": "src/metrics/Telemetry.ts",
48915
+ "fileUrlPath": "src/shared/classes/TickAllocator.ts",
48807
48916
  "releaseTag": "Public",
48808
48917
  "isAbstract": false,
48809
- "name": "Telemetry",
48918
+ "name": "TickAllocator",
48810
48919
  "preserveMemberOrder": false,
48811
48920
  "members": [
48812
48921
  {
48813
48922
  "kind": "Method",
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",
48923
+ "canonicalReference": "server!TickAllocator#getArray:member(1)",
48924
+ "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",
48816
48925
  "excerptTokens": [
48817
48926
  {
48818
48927
  "kind": "Content",
48819
- "text": "static getProcessStats(asMeasurement?: "
48928
+ "text": "getArray<T extends "
48820
48929
  },
48821
48930
  {
48822
48931
  "kind": "Content",
48823
- "text": "boolean"
48932
+ "text": "unknown[]"
48824
48933
  },
48825
48934
  {
48826
48935
  "kind": "Content",
48827
- "text": "): "
48828
- },
48829
- {
48830
- "kind": "Reference",
48831
- "text": "Record",
48832
- "canonicalReference": "!Record:type"
48936
+ "text": " = "
48833
48937
  },
48834
48938
  {
48835
48939
  "kind": "Content",
48836
- "text": "<string, any>"
48940
+ "text": "unknown[]"
48837
48941
  },
48838
48942
  {
48839
48943
  "kind": "Content",
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 "
48944
+ "text": ">(copyFromA?: "
48941
48945
  },
48942
48946
  {
48943
48947
  "kind": "Reference",
48944
- "text": "Sentry",
48945
- "canonicalReference": "server!~Sentry"
48948
+ "text": "Iterable",
48949
+ "canonicalReference": "!Iterable:interface"
48946
48950
  },
48947
48951
  {
48948
48952
  "kind": "Content",
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: "
48953
+ "text": "<unknown>"
48982
48954
  },
48983
48955
  {
48984
48956
  "kind": "Content",
48985
- "text": "(span?: "
48957
+ "text": ", copyFromB?: "
48986
48958
  },
48987
48959
  {
48988
48960
  "kind": "Reference",
48989
- "text": "Sentry.Span",
48990
- "canonicalReference": "@sentry/core!Span:interface"
48961
+ "text": "Iterable",
48962
+ "canonicalReference": "!Iterable:interface"
48991
48963
  },
48992
48964
  {
48993
48965
  "kind": "Content",
48994
- "text": ") => T"
48966
+ "text": "<unknown>"
48995
48967
  },
48996
48968
  {
48997
48969
  "kind": "Content",
@@ -49010,423 +48982,487 @@
49010
48982
  {
49011
48983
  "typeParameterName": "T",
49012
48984
  "constraintTokenRange": {
49013
- "startIndex": 0,
49014
- "endIndex": 0
48985
+ "startIndex": 1,
48986
+ "endIndex": 2
49015
48987
  },
49016
48988
  "defaultTypeTokenRange": {
49017
- "startIndex": 0,
49018
- "endIndex": 0
48989
+ "startIndex": 3,
48990
+ "endIndex": 4
49019
48991
  }
49020
48992
  }
49021
48993
  ],
49022
- "isStatic": true,
48994
+ "isStatic": false,
49023
48995
  "returnTypeTokenRange": {
49024
- "startIndex": 7,
49025
- "endIndex": 8
48996
+ "startIndex": 11,
48997
+ "endIndex": 12
49026
48998
  },
49027
48999
  "releaseTag": "Public",
49028
49000
  "isProtected": false,
49029
49001
  "overloadIndex": 1,
49030
49002
  "parameters": [
49031
49003
  {
49032
- "parameterName": "options",
49004
+ "parameterName": "copyFromA",
49033
49005
  "parameterTypeTokenRange": {
49034
- "startIndex": 1,
49035
- "endIndex": 2
49006
+ "startIndex": 5,
49007
+ "endIndex": 7
49036
49008
  },
49037
- "isOptional": false
49009
+ "isOptional": true
49038
49010
  },
49039
49011
  {
49040
- "parameterName": "callback",
49012
+ "parameterName": "copyFromB",
49041
49013
  "parameterTypeTokenRange": {
49042
- "startIndex": 3,
49043
- "endIndex": 6
49014
+ "startIndex": 8,
49015
+ "endIndex": 10
49044
49016
  },
49045
- "isOptional": false
49017
+ "isOptional": true
49046
49018
  }
49047
49019
  ],
49048
49020
  "isOptional": false,
49049
49021
  "isAbstract": false,
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": [
49060
- {
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": [
49022
+ "name": "getArray"
49023
+ },
49070
49024
  {
49071
- "kind": "EnumMember",
49072
- "canonicalReference": "server!TelemetrySpanOperation.BUILD_PACKETS:member",
49073
- "docComment": "",
49025
+ "kind": "Method",
49026
+ "canonicalReference": "server!TickAllocator#getArray3Number:member(1)",
49027
+ "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",
49074
49028
  "excerptTokens": [
49075
49029
  {
49076
49030
  "kind": "Content",
49077
- "text": "BUILD_PACKETS = "
49031
+ "text": "getArray3Number(copyFrom?: "
49032
+ },
49033
+ {
49034
+ "kind": "Reference",
49035
+ "text": "Array3Number",
49036
+ "canonicalReference": "server!Array3Number:type"
49078
49037
  },
49079
49038
  {
49080
49039
  "kind": "Content",
49081
- "text": "\"build_packets\""
49082
- }
49083
- ],
49084
- "initializerTokenRange": {
49085
- "startIndex": 1,
49086
- "endIndex": 2
49087
- },
49088
- "releaseTag": "Public",
49089
- "name": "BUILD_PACKETS"
49090
- },
49091
- {
49092
- "kind": "EnumMember",
49093
- "canonicalReference": "server!TelemetrySpanOperation.ENTITIES_EMIT_UPDATES:member",
49094
- "docComment": "",
49095
- "excerptTokens": [
49040
+ "text": " | "
49041
+ },
49042
+ {
49043
+ "kind": "Reference",
49044
+ "text": "Set",
49045
+ "canonicalReference": "!Set:interface"
49046
+ },
49047
+ {
49048
+ "kind": "Content",
49049
+ "text": "<number>"
49050
+ },
49096
49051
  {
49097
49052
  "kind": "Content",
49098
- "text": "ENTITIES_EMIT_UPDATES = "
49053
+ "text": "): "
49054
+ },
49055
+ {
49056
+ "kind": "Reference",
49057
+ "text": "Array3Number",
49058
+ "canonicalReference": "server!Array3Number:type"
49099
49059
  },
49100
49060
  {
49101
49061
  "kind": "Content",
49102
- "text": "\"entities_emit_updates\""
49062
+ "text": ";"
49103
49063
  }
49104
49064
  ],
49105
- "initializerTokenRange": {
49106
- "startIndex": 1,
49107
- "endIndex": 2
49065
+ "isStatic": false,
49066
+ "returnTypeTokenRange": {
49067
+ "startIndex": 6,
49068
+ "endIndex": 7
49108
49069
  },
49109
49070
  "releaseTag": "Public",
49110
- "name": "ENTITIES_EMIT_UPDATES"
49071
+ "isProtected": false,
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"
49111
49086
  },
49112
49087
  {
49113
- "kind": "EnumMember",
49114
- "canonicalReference": "server!TelemetrySpanOperation.ENTITIES_TICK:member",
49115
- "docComment": "",
49088
+ "kind": "Method",
49089
+ "canonicalReference": "server!TickAllocator#getArray4Number:member(1)",
49090
+ "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",
49116
49091
  "excerptTokens": [
49117
49092
  {
49118
49093
  "kind": "Content",
49119
- "text": "ENTITIES_TICK = "
49094
+ "text": "getArray4Number(copyFrom?: "
49095
+ },
49096
+ {
49097
+ "kind": "Reference",
49098
+ "text": "Array4Number",
49099
+ "canonicalReference": "server!Array4Number:type"
49120
49100
  },
49121
49101
  {
49122
49102
  "kind": "Content",
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": [
49103
+ "text": " | "
49104
+ },
49105
+ {
49106
+ "kind": "Reference",
49107
+ "text": "Set",
49108
+ "canonicalReference": "!Set:interface"
49109
+ },
49138
49110
  {
49139
49111
  "kind": "Content",
49140
- "text": "NETWORK_SYNCHRONIZE = "
49112
+ "text": "<number>"
49141
49113
  },
49142
49114
  {
49143
49115
  "kind": "Content",
49144
- "text": "\"network_synchronize\""
49116
+ "text": "): "
49117
+ },
49118
+ {
49119
+ "kind": "Reference",
49120
+ "text": "Array4Number",
49121
+ "canonicalReference": "server!Array4Number:type"
49122
+ },
49123
+ {
49124
+ "kind": "Content",
49125
+ "text": ";"
49145
49126
  }
49146
49127
  ],
49147
- "initializerTokenRange": {
49148
- "startIndex": 1,
49149
- "endIndex": 2
49128
+ "isStatic": false,
49129
+ "returnTypeTokenRange": {
49130
+ "startIndex": 6,
49131
+ "endIndex": 7
49150
49132
  },
49151
49133
  "releaseTag": "Public",
49152
- "name": "NETWORK_SYNCHRONIZE"
49134
+ "isProtected": false,
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"
49153
49149
  },
49154
49150
  {
49155
- "kind": "EnumMember",
49156
- "canonicalReference": "server!TelemetrySpanOperation.NETWORK_SYNCHRONIZE_CLEANUP:member",
49157
- "docComment": "",
49151
+ "kind": "Method",
49152
+ "canonicalReference": "server!TickAllocator#getObject:member(1)",
49153
+ "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",
49158
49154
  "excerptTokens": [
49159
49155
  {
49160
49156
  "kind": "Content",
49161
- "text": "NETWORK_SYNCHRONIZE_CLEANUP = "
49157
+ "text": "getObject<T extends "
49158
+ },
49159
+ {
49160
+ "kind": "Reference",
49161
+ "text": "Record",
49162
+ "canonicalReference": "!Record:type"
49162
49163
  },
49163
49164
  {
49164
49165
  "kind": "Content",
49165
- "text": "\"network_synchronize_cleanup\""
49166
- }
49167
- ],
49168
- "initializerTokenRange": {
49169
- "startIndex": 1,
49170
- "endIndex": 2
49171
- },
49172
- "releaseTag": "Public",
49173
- "name": "NETWORK_SYNCHRONIZE_CLEANUP"
49174
- },
49175
- {
49176
- "kind": "EnumMember",
49177
- "canonicalReference": "server!TelemetrySpanOperation.PHYSICS_CLEANUP:member",
49178
- "docComment": "",
49179
- "excerptTokens": [
49166
+ "text": "<string, unknown>"
49167
+ },
49180
49168
  {
49181
49169
  "kind": "Content",
49182
- "text": "PHYSICS_CLEANUP = "
49170
+ "text": " = "
49171
+ },
49172
+ {
49173
+ "kind": "Reference",
49174
+ "text": "Record",
49175
+ "canonicalReference": "!Record:type"
49183
49176
  },
49184
49177
  {
49185
49178
  "kind": "Content",
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": [
49179
+ "text": "<string, unknown>"
49180
+ },
49201
49181
  {
49202
49182
  "kind": "Content",
49203
- "text": "PHYSICS_STEP = "
49183
+ "text": ">(copyFromA?: "
49204
49184
  },
49205
49185
  {
49206
49186
  "kind": "Content",
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": [
49187
+ "text": "T"
49188
+ },
49222
49189
  {
49223
49190
  "kind": "Content",
49224
- "text": "SEND_ALL_PACKETS = "
49191
+ "text": ", copyFromB?: "
49225
49192
  },
49226
49193
  {
49227
49194
  "kind": "Content",
49228
- "text": "\"send_all_packets\""
49229
- }
49230
- ],
49231
- "initializerTokenRange": {
49232
- "startIndex": 1,
49233
- "endIndex": 2
49234
- },
49235
- "releaseTag": "Public",
49236
- "name": "SEND_ALL_PACKETS"
49237
- },
49238
- {
49239
- "kind": "EnumMember",
49240
- "canonicalReference": "server!TelemetrySpanOperation.SEND_PACKETS:member",
49241
- "docComment": "",
49242
- "excerptTokens": [
49195
+ "text": "T"
49196
+ },
49197
+ {
49198
+ "kind": "Content",
49199
+ "text": "): "
49200
+ },
49243
49201
  {
49244
49202
  "kind": "Content",
49245
- "text": "SEND_PACKETS = "
49203
+ "text": "T"
49246
49204
  },
49247
49205
  {
49248
49206
  "kind": "Content",
49249
- "text": "\"send_packets\""
49207
+ "text": ";"
49250
49208
  }
49251
49209
  ],
49252
- "initializerTokenRange": {
49253
- "startIndex": 1,
49254
- "endIndex": 2
49210
+ "typeParameters": [
49211
+ {
49212
+ "typeParameterName": "T",
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
49255
49227
  },
49256
49228
  "releaseTag": "Public",
49257
- "name": "SEND_PACKETS"
49258
- },
49259
- {
49260
- "kind": "EnumMember",
49261
- "canonicalReference": "server!TelemetrySpanOperation.SERIALIZE_FREE_BUFFERS:member",
49262
- "docComment": "",
49263
- "excerptTokens": [
49229
+ "isProtected": false,
49230
+ "overloadIndex": 1,
49231
+ "parameters": [
49264
49232
  {
49265
- "kind": "Content",
49266
- "text": "SERIALIZE_FREE_BUFFERS = "
49233
+ "parameterName": "copyFromA",
49234
+ "parameterTypeTokenRange": {
49235
+ "startIndex": 7,
49236
+ "endIndex": 8
49237
+ },
49238
+ "isOptional": true
49267
49239
  },
49268
49240
  {
49269
- "kind": "Content",
49270
- "text": "\"serialize_free_buffers\""
49241
+ "parameterName": "copyFromB",
49242
+ "parameterTypeTokenRange": {
49243
+ "startIndex": 9,
49244
+ "endIndex": 10
49245
+ },
49246
+ "isOptional": true
49271
49247
  }
49272
49248
  ],
49273
- "initializerTokenRange": {
49274
- "startIndex": 1,
49275
- "endIndex": 2
49276
- },
49277
- "releaseTag": "Public",
49278
- "name": "SERIALIZE_FREE_BUFFERS"
49249
+ "isOptional": false,
49250
+ "isAbstract": false,
49251
+ "name": "getObject"
49279
49252
  },
49280
49253
  {
49281
- "kind": "EnumMember",
49282
- "canonicalReference": "server!TelemetrySpanOperation.SERIALIZE_PACKETS:member",
49283
- "docComment": "",
49254
+ "kind": "Method",
49255
+ "canonicalReference": "server!TickAllocator#getSet:member(1)",
49256
+ "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",
49284
49257
  "excerptTokens": [
49285
49258
  {
49286
49259
  "kind": "Content",
49287
- "text": "SERIALIZE_PACKETS = "
49260
+ "text": "getSet<T>(copyFromA?: "
49261
+ },
49262
+ {
49263
+ "kind": "Reference",
49264
+ "text": "Set",
49265
+ "canonicalReference": "!Set:interface"
49288
49266
  },
49289
49267
  {
49290
49268
  "kind": "Content",
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": [
49269
+ "text": "<T> | T[]"
49270
+ },
49306
49271
  {
49307
49272
  "kind": "Content",
49308
- "text": "SERIALIZE_PACKETS_ENCODE = "
49273
+ "text": ", copyFromB?: "
49274
+ },
49275
+ {
49276
+ "kind": "Reference",
49277
+ "text": "Set",
49278
+ "canonicalReference": "!Set:interface"
49309
49279
  },
49310
49280
  {
49311
49281
  "kind": "Content",
49312
- "text": "\"serialize_packets_encode\""
49313
- }
49314
- ],
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": [
49282
+ "text": "<T> | T[]"
49283
+ },
49284
+ {
49285
+ "kind": "Content",
49286
+ "text": "): "
49287
+ },
49288
+ {
49289
+ "kind": "Reference",
49290
+ "text": "Set",
49291
+ "canonicalReference": "!Set:interface"
49292
+ },
49327
49293
  {
49328
49294
  "kind": "Content",
49329
- "text": "SIMULATION_STEP = "
49295
+ "text": "<T>"
49330
49296
  },
49331
49297
  {
49332
49298
  "kind": "Content",
49333
- "text": "\"simulation_step\""
49299
+ "text": ";"
49334
49300
  }
49335
49301
  ],
49336
- "initializerTokenRange": {
49337
- "startIndex": 1,
49338
- "endIndex": 2
49302
+ "typeParameters": [
49303
+ {
49304
+ "typeParameterName": "T",
49305
+ "constraintTokenRange": {
49306
+ "startIndex": 0,
49307
+ "endIndex": 0
49308
+ },
49309
+ "defaultTypeTokenRange": {
49310
+ "startIndex": 0,
49311
+ "endIndex": 0
49312
+ }
49313
+ }
49314
+ ],
49315
+ "isStatic": false,
49316
+ "returnTypeTokenRange": {
49317
+ "startIndex": 7,
49318
+ "endIndex": 9
49339
49319
  },
49340
49320
  "releaseTag": "Public",
49341
- "name": "SIMULATION_STEP"
49321
+ "isProtected": false,
49322
+ "overloadIndex": 1,
49323
+ "parameters": [
49324
+ {
49325
+ "parameterName": "copyFromA",
49326
+ "parameterTypeTokenRange": {
49327
+ "startIndex": 1,
49328
+ "endIndex": 3
49329
+ },
49330
+ "isOptional": true
49331
+ },
49332
+ {
49333
+ "parameterName": "copyFromB",
49334
+ "parameterTypeTokenRange": {
49335
+ "startIndex": 4,
49336
+ "endIndex": 6
49337
+ },
49338
+ "isOptional": true
49339
+ }
49340
+ ],
49341
+ "isOptional": false,
49342
+ "isAbstract": false,
49343
+ "name": "getSet"
49342
49344
  },
49343
49345
  {
49344
- "kind": "EnumMember",
49345
- "canonicalReference": "server!TelemetrySpanOperation.TICKER_TICK:member",
49346
- "docComment": "",
49346
+ "kind": "Method",
49347
+ "canonicalReference": "server!TickAllocator#map:member(1)",
49348
+ "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",
49347
49349
  "excerptTokens": [
49348
49350
  {
49349
49351
  "kind": "Content",
49350
- "text": "TICKER_TICK = "
49352
+ "text": "map<T, U>(array: "
49353
+ },
49354
+ {
49355
+ "kind": "Content",
49356
+ "text": "T[]"
49351
49357
  },
49352
49358
  {
49353
49359
  "kind": "Content",
49354
- "text": "\"ticker_tick\""
49360
+ "text": ", callback: "
49361
+ },
49362
+ {
49363
+ "kind": "Content",
49364
+ "text": "(value: T, index: number, array: T[]) => U"
49365
+ },
49366
+ {
49367
+ "kind": "Content",
49368
+ "text": "): "
49369
+ },
49370
+ {
49371
+ "kind": "Content",
49372
+ "text": "U[]"
49373
+ },
49374
+ {
49375
+ "kind": "Content",
49376
+ "text": ";"
49355
49377
  }
49356
49378
  ],
49357
- "initializerTokenRange": {
49358
- "startIndex": 1,
49359
- "endIndex": 2
49379
+ "typeParameters": [
49380
+ {
49381
+ "typeParameterName": "T",
49382
+ "constraintTokenRange": {
49383
+ "startIndex": 0,
49384
+ "endIndex": 0
49385
+ },
49386
+ "defaultTypeTokenRange": {
49387
+ "startIndex": 0,
49388
+ "endIndex": 0
49389
+ }
49390
+ },
49391
+ {
49392
+ "typeParameterName": "U",
49393
+ "constraintTokenRange": {
49394
+ "startIndex": 0,
49395
+ "endIndex": 0
49396
+ },
49397
+ "defaultTypeTokenRange": {
49398
+ "startIndex": 0,
49399
+ "endIndex": 0
49400
+ }
49401
+ }
49402
+ ],
49403
+ "isStatic": false,
49404
+ "returnTypeTokenRange": {
49405
+ "startIndex": 5,
49406
+ "endIndex": 6
49360
49407
  },
49361
49408
  "releaseTag": "Public",
49362
- "name": "TICKER_TICK"
49409
+ "isProtected": false,
49410
+ "overloadIndex": 1,
49411
+ "parameters": [
49412
+ {
49413
+ "parameterName": "array",
49414
+ "parameterTypeTokenRange": {
49415
+ "startIndex": 1,
49416
+ "endIndex": 2
49417
+ },
49418
+ "isOptional": false
49419
+ },
49420
+ {
49421
+ "parameterName": "callback",
49422
+ "parameterTypeTokenRange": {
49423
+ "startIndex": 3,
49424
+ "endIndex": 4
49425
+ },
49426
+ "isOptional": false
49427
+ }
49428
+ ],
49429
+ "isOptional": false,
49430
+ "isAbstract": false,
49431
+ "name": "map"
49363
49432
  },
49364
49433
  {
49365
- "kind": "EnumMember",
49366
- "canonicalReference": "server!TelemetrySpanOperation.WORLD_TICK:member",
49367
- "docComment": "",
49434
+ "kind": "Method",
49435
+ "canonicalReference": "server!TickAllocator#reset:member(1)",
49436
+ "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",
49368
49437
  "excerptTokens": [
49369
49438
  {
49370
49439
  "kind": "Content",
49371
- "text": "WORLD_TICK = "
49440
+ "text": "reset(): "
49441
+ },
49442
+ {
49443
+ "kind": "Content",
49444
+ "text": "void"
49372
49445
  },
49373
49446
  {
49374
49447
  "kind": "Content",
49375
- "text": "\"world_tick\""
49448
+ "text": ";"
49376
49449
  }
49377
49450
  ],
49378
- "initializerTokenRange": {
49451
+ "isStatic": false,
49452
+ "returnTypeTokenRange": {
49379
49453
  "startIndex": 1,
49380
49454
  "endIndex": 2
49381
49455
  },
49382
49456
  "releaseTag": "Public",
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": ";"
49457
+ "isProtected": false,
49458
+ "overloadIndex": 1,
49459
+ "parameters": [],
49460
+ "isOptional": false,
49461
+ "isAbstract": false,
49462
+ "name": "reset"
49421
49463
  }
49422
49464
  ],
49423
- "fileUrlPath": "src/metrics/Telemetry.ts",
49424
- "releaseTag": "Public",
49425
- "name": "TelemetrySpanOptions",
49426
- "typeTokenRange": {
49427
- "startIndex": 1,
49428
- "endIndex": 6
49429
- }
49465
+ "implementsTokenRanges": []
49430
49466
  },
49431
49467
  {
49432
49468
  "kind": "Interface",
@@ -54986,6 +55022,37 @@
54986
55022
  "isStatic": false,
54987
55023
  "isProtected": false,
54988
55024
  "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
54989
55056
  }
54990
55057
  ],
54991
55058
  "extendsTokenRange": {