hytopia 0.8.6-dev5 → 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/server.api.json CHANGED
@@ -2123,7 +2123,7 @@
2123
2123
  {
2124
2124
  "kind": "Method",
2125
2125
  "canonicalReference": "server!AudioManager#getAllEntityAttachedAudios:member(1)",
2126
- "docComment": "/**\n * Retrieves all loaded audio instances attached to a specific entity.\n *\n * @param entity - The entity to get attached audio instances for.\n *\n * @returns An array of audio instances.\n */\n",
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",
2127
2127
  "excerptTokens": [
2128
2128
  {
2129
2129
  "kind": "Content",
@@ -7492,6 +7492,27 @@
7492
7492
  "name": "ChunkLatticeEvent",
7493
7493
  "preserveMemberOrder": false,
7494
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
+ },
7495
7516
  {
7496
7517
  "kind": "EnumMember",
7497
7518
  "canonicalReference": "server!ChunkLatticeEvent.REMOVE_CHUNK:member",
@@ -7551,6 +7572,60 @@
7551
7572
  "name": "ChunkLatticeEventPayloads",
7552
7573
  "preserveMemberOrder": false,
7553
7574
  "members": [
7575
+ {
7576
+ "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",
7579
+ "excerptTokens": [
7580
+ {
7581
+ "kind": "Content",
7582
+ "text": "["
7583
+ },
7584
+ {
7585
+ "kind": "Reference",
7586
+ "text": "ChunkLatticeEvent.ADD_CHUNK",
7587
+ "canonicalReference": "server!ChunkLatticeEvent.ADD_CHUNK:member"
7588
+ },
7589
+ {
7590
+ "kind": "Content",
7591
+ "text": "]: "
7592
+ },
7593
+ {
7594
+ "kind": "Content",
7595
+ "text": "{\n chunkLattice: "
7596
+ },
7597
+ {
7598
+ "kind": "Reference",
7599
+ "text": "ChunkLattice",
7600
+ "canonicalReference": "server!ChunkLattice:class"
7601
+ },
7602
+ {
7603
+ "kind": "Content",
7604
+ "text": ";\n chunk: "
7605
+ },
7606
+ {
7607
+ "kind": "Reference",
7608
+ "text": "Chunk",
7609
+ "canonicalReference": "server!Chunk:class"
7610
+ },
7611
+ {
7612
+ "kind": "Content",
7613
+ "text": ";\n }"
7614
+ },
7615
+ {
7616
+ "kind": "Content",
7617
+ "text": ";"
7618
+ }
7619
+ ],
7620
+ "isReadonly": false,
7621
+ "isOptional": false,
7622
+ "releaseTag": "Public",
7623
+ "name": "\"CHUNK_LATTICE.ADD_CHUNK\"",
7624
+ "propertyTypeTokenRange": {
7625
+ "startIndex": 3,
7626
+ "endIndex": 8
7627
+ }
7628
+ },
7554
7629
  {
7555
7630
  "kind": "PropertySignature",
7556
7631
  "canonicalReference": "server!ChunkLatticeEventPayloads#\"CHUNK_LATTICE.REMOVE_CHUNK\":member",
@@ -28729,6 +28804,54 @@
28729
28804
  "isProtected": false,
28730
28805
  "isAbstract": false
28731
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
+ },
28732
28855
  {
28733
28856
  "kind": "Property",
28734
28857
  "canonicalReference": "server!ParticleEmitter#colorEnd:member",
@@ -31208,6 +31331,27 @@
31208
31331
  "name": "ParticleEmitterEvent",
31209
31332
  "preserveMemberOrder": false,
31210
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
+ },
31211
31355
  {
31212
31356
  "kind": "EnumMember",
31213
31357
  "canonicalReference": "server!ParticleEmitterEvent.DESPAWN:member",
@@ -31876,6 +32020,51 @@
31876
32020
  "name": "ParticleEmitterEventPayloads",
31877
32021
  "preserveMemberOrder": false,
31878
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
+ },
31879
32068
  {
31880
32069
  "kind": "PropertySignature",
31881
32070
  "canonicalReference": "server!ParticleEmitterEventPayloads#\"PARTICLE_EMITTER.DESPAWN\":member",
@@ -41648,7 +41837,7 @@
41648
41837
  {
41649
41838
  "kind": "Interface",
41650
41839
  "canonicalReference": "server!RgbColor:interface",
41651
- "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",
41652
41841
  "excerptTokens": [
41653
41842
  {
41654
41843
  "kind": "Content",
@@ -48604,6 +48793,641 @@
48604
48793
  "endIndex": 2
48605
48794
  }
48606
48795
  },
48796
+ {
48797
+ "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",
48800
+ "excerptTokens": [
48801
+ {
48802
+ "kind": "Content",
48803
+ "text": "export default class Telemetry "
48804
+ }
48805
+ ],
48806
+ "fileUrlPath": "src/metrics/Telemetry.ts",
48807
+ "releaseTag": "Public",
48808
+ "isAbstract": false,
48809
+ "name": "Telemetry",
48810
+ "preserveMemberOrder": false,
48811
+ "members": [
48812
+ {
48813
+ "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",
48816
+ "excerptTokens": [
48817
+ {
48818
+ "kind": "Content",
48819
+ "text": "static getProcessStats(asMeasurement?: "
48820
+ },
48821
+ {
48822
+ "kind": "Content",
48823
+ "text": "boolean"
48824
+ },
48825
+ {
48826
+ "kind": "Content",
48827
+ "text": "): "
48828
+ },
48829
+ {
48830
+ "kind": "Reference",
48831
+ "text": "Record",
48832
+ "canonicalReference": "!Record:type"
48833
+ },
48834
+ {
48835
+ "kind": "Content",
48836
+ "text": "<string, any>"
48837
+ },
48838
+ {
48839
+ "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 "
48941
+ },
48942
+ {
48943
+ "kind": "Reference",
48944
+ "text": "Sentry",
48945
+ "canonicalReference": "server!~Sentry"
48946
+ },
48947
+ {
48948
+ "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: "
48982
+ },
48983
+ {
48984
+ "kind": "Content",
48985
+ "text": "(span?: "
48986
+ },
48987
+ {
48988
+ "kind": "Reference",
48989
+ "text": "Sentry.Span",
48990
+ "canonicalReference": "@sentry/core!Span:interface"
48991
+ },
48992
+ {
48993
+ "kind": "Content",
48994
+ "text": ") => T"
48995
+ },
48996
+ {
48997
+ "kind": "Content",
48998
+ "text": "): "
48999
+ },
49000
+ {
49001
+ "kind": "Content",
49002
+ "text": "T"
49003
+ },
49004
+ {
49005
+ "kind": "Content",
49006
+ "text": ";"
49007
+ }
49008
+ ],
49009
+ "typeParameters": [
49010
+ {
49011
+ "typeParameterName": "T",
49012
+ "constraintTokenRange": {
49013
+ "startIndex": 0,
49014
+ "endIndex": 0
49015
+ },
49016
+ "defaultTypeTokenRange": {
49017
+ "startIndex": 0,
49018
+ "endIndex": 0
49019
+ }
49020
+ }
49021
+ ],
49022
+ "isStatic": true,
49023
+ "returnTypeTokenRange": {
49024
+ "startIndex": 7,
49025
+ "endIndex": 8
49026
+ },
49027
+ "releaseTag": "Public",
49028
+ "isProtected": false,
49029
+ "overloadIndex": 1,
49030
+ "parameters": [
49031
+ {
49032
+ "parameterName": "options",
49033
+ "parameterTypeTokenRange": {
49034
+ "startIndex": 1,
49035
+ "endIndex": 2
49036
+ },
49037
+ "isOptional": false
49038
+ },
49039
+ {
49040
+ "parameterName": "callback",
49041
+ "parameterTypeTokenRange": {
49042
+ "startIndex": 3,
49043
+ "endIndex": 6
49044
+ },
49045
+ "isOptional": false
49046
+ }
49047
+ ],
49048
+ "isOptional": false,
49049
+ "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": [
49070
+ {
49071
+ "kind": "EnumMember",
49072
+ "canonicalReference": "server!TelemetrySpanOperation.BUILD_PACKETS:member",
49073
+ "docComment": "",
49074
+ "excerptTokens": [
49075
+ {
49076
+ "kind": "Content",
49077
+ "text": "BUILD_PACKETS = "
49078
+ },
49079
+ {
49080
+ "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": [
49096
+ {
49097
+ "kind": "Content",
49098
+ "text": "ENTITIES_EMIT_UPDATES = "
49099
+ },
49100
+ {
49101
+ "kind": "Content",
49102
+ "text": "\"entities_emit_updates\""
49103
+ }
49104
+ ],
49105
+ "initializerTokenRange": {
49106
+ "startIndex": 1,
49107
+ "endIndex": 2
49108
+ },
49109
+ "releaseTag": "Public",
49110
+ "name": "ENTITIES_EMIT_UPDATES"
49111
+ },
49112
+ {
49113
+ "kind": "EnumMember",
49114
+ "canonicalReference": "server!TelemetrySpanOperation.ENTITIES_TICK:member",
49115
+ "docComment": "",
49116
+ "excerptTokens": [
49117
+ {
49118
+ "kind": "Content",
49119
+ "text": "ENTITIES_TICK = "
49120
+ },
49121
+ {
49122
+ "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": [
49138
+ {
49139
+ "kind": "Content",
49140
+ "text": "NETWORK_SYNCHRONIZE = "
49141
+ },
49142
+ {
49143
+ "kind": "Content",
49144
+ "text": "\"network_synchronize\""
49145
+ }
49146
+ ],
49147
+ "initializerTokenRange": {
49148
+ "startIndex": 1,
49149
+ "endIndex": 2
49150
+ },
49151
+ "releaseTag": "Public",
49152
+ "name": "NETWORK_SYNCHRONIZE"
49153
+ },
49154
+ {
49155
+ "kind": "EnumMember",
49156
+ "canonicalReference": "server!TelemetrySpanOperation.NETWORK_SYNCHRONIZE_CLEANUP:member",
49157
+ "docComment": "",
49158
+ "excerptTokens": [
49159
+ {
49160
+ "kind": "Content",
49161
+ "text": "NETWORK_SYNCHRONIZE_CLEANUP = "
49162
+ },
49163
+ {
49164
+ "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": [
49180
+ {
49181
+ "kind": "Content",
49182
+ "text": "PHYSICS_CLEANUP = "
49183
+ },
49184
+ {
49185
+ "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": [
49201
+ {
49202
+ "kind": "Content",
49203
+ "text": "PHYSICS_STEP = "
49204
+ },
49205
+ {
49206
+ "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": [
49222
+ {
49223
+ "kind": "Content",
49224
+ "text": "SEND_ALL_PACKETS = "
49225
+ },
49226
+ {
49227
+ "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": [
49243
+ {
49244
+ "kind": "Content",
49245
+ "text": "SEND_PACKETS = "
49246
+ },
49247
+ {
49248
+ "kind": "Content",
49249
+ "text": "\"send_packets\""
49250
+ }
49251
+ ],
49252
+ "initializerTokenRange": {
49253
+ "startIndex": 1,
49254
+ "endIndex": 2
49255
+ },
49256
+ "releaseTag": "Public",
49257
+ "name": "SEND_PACKETS"
49258
+ },
49259
+ {
49260
+ "kind": "EnumMember",
49261
+ "canonicalReference": "server!TelemetrySpanOperation.SERIALIZE_FREE_BUFFERS:member",
49262
+ "docComment": "",
49263
+ "excerptTokens": [
49264
+ {
49265
+ "kind": "Content",
49266
+ "text": "SERIALIZE_FREE_BUFFERS = "
49267
+ },
49268
+ {
49269
+ "kind": "Content",
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": [
49285
+ {
49286
+ "kind": "Content",
49287
+ "text": "SERIALIZE_PACKETS = "
49288
+ },
49289
+ {
49290
+ "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": [
49306
+ {
49307
+ "kind": "Content",
49308
+ "text": "SERIALIZE_PACKETS_ENCODE = "
49309
+ },
49310
+ {
49311
+ "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": [
49327
+ {
49328
+ "kind": "Content",
49329
+ "text": "SIMULATION_STEP = "
49330
+ },
49331
+ {
49332
+ "kind": "Content",
49333
+ "text": "\"simulation_step\""
49334
+ }
49335
+ ],
49336
+ "initializerTokenRange": {
49337
+ "startIndex": 1,
49338
+ "endIndex": 2
49339
+ },
49340
+ "releaseTag": "Public",
49341
+ "name": "SIMULATION_STEP"
49342
+ },
49343
+ {
49344
+ "kind": "EnumMember",
49345
+ "canonicalReference": "server!TelemetrySpanOperation.TICKER_TICK:member",
49346
+ "docComment": "",
49347
+ "excerptTokens": [
49348
+ {
49349
+ "kind": "Content",
49350
+ "text": "TICKER_TICK = "
49351
+ },
49352
+ {
49353
+ "kind": "Content",
49354
+ "text": "\"ticker_tick\""
49355
+ }
49356
+ ],
49357
+ "initializerTokenRange": {
49358
+ "startIndex": 1,
49359
+ "endIndex": 2
49360
+ },
49361
+ "releaseTag": "Public",
49362
+ "name": "TICKER_TICK"
49363
+ },
49364
+ {
49365
+ "kind": "EnumMember",
49366
+ "canonicalReference": "server!TelemetrySpanOperation.WORLD_TICK:member",
49367
+ "docComment": "",
49368
+ "excerptTokens": [
49369
+ {
49370
+ "kind": "Content",
49371
+ "text": "WORLD_TICK = "
49372
+ },
49373
+ {
49374
+ "kind": "Content",
49375
+ "text": "\"world_tick\""
49376
+ }
49377
+ ],
49378
+ "initializerTokenRange": {
49379
+ "startIndex": 1,
49380
+ "endIndex": 2
49381
+ },
49382
+ "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": ";"
49421
+ }
49422
+ ],
49423
+ "fileUrlPath": "src/metrics/Telemetry.ts",
49424
+ "releaseTag": "Public",
49425
+ "name": "TelemetrySpanOptions",
49426
+ "typeTokenRange": {
49427
+ "startIndex": 1,
49428
+ "endIndex": 6
49429
+ }
49430
+ },
48607
49431
  {
48608
49432
  "kind": "Interface",
48609
49433
  "canonicalReference": "server!TrimeshColliderOptions:interface",