hytopia 0.6.8 → 0.6.10

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 (59) hide show
  1. package/bun-server.mjs +158 -158
  2. package/docs/server.collider.md +22 -1
  3. package/docs/server.collider.rawcollider.md +1 -1
  4. package/docs/server.collider.rawshape.md +13 -0
  5. package/docs/server.defaultplayerentitycontroller.faceforwardonstop.md +13 -0
  6. package/docs/server.defaultplayerentitycontroller.md +19 -0
  7. package/docs/server.defaultplayerentitycontrolleroptions.faceforwardonstop.md +13 -0
  8. package/docs/server.defaultplayerentitycontrolleroptions.md +19 -0
  9. package/docs/server.dynamicrigidbodyoptions.md +1 -3
  10. package/docs/server.dynamicrigidbodyoptions.type.md +1 -1
  11. package/docs/server.entity.md +35 -0
  12. package/docs/server.entity.modelshownnodes.md +13 -0
  13. package/docs/server.entity.setmodelshownnodes.md +53 -0
  14. package/docs/server.entityevent.md +14 -0
  15. package/docs/server.entityeventpayloads._entity.set_model_hidden_nodes_.md +1 -1
  16. package/docs/server.entityeventpayloads._entity.set_model_shown_nodes_.md +16 -0
  17. package/docs/server.entityeventpayloads.md +20 -1
  18. package/docs/server.eventrouter.emit_1.md +63 -0
  19. package/docs/server.eventrouter.emitwithglobal_1.md +63 -0
  20. package/docs/server.eventrouter.emitwithworld_1.md +77 -0
  21. package/docs/server.eventrouter.final_1.md +63 -0
  22. package/docs/server.eventrouter.globalinstance.md +13 -0
  23. package/docs/server.eventrouter.haslisteners.md +2 -2
  24. package/docs/server.eventrouter.haslisteners_1.md +49 -0
  25. package/docs/server.eventrouter.listenercount.md +2 -2
  26. package/docs/server.eventrouter.listenercount_1.md +49 -0
  27. package/docs/server.eventrouter.listeners.md +2 -2
  28. package/docs/server.eventrouter.listeners_1.md +49 -0
  29. package/docs/server.eventrouter.md +180 -0
  30. package/docs/server.eventrouter.off_1.md +63 -0
  31. package/docs/server.eventrouter.offall.md +2 -2
  32. package/docs/server.eventrouter.offall_1.md +51 -0
  33. package/docs/server.eventrouter.on_1.md +63 -0
  34. package/docs/server.eventrouter.once_1.md +63 -0
  35. package/docs/server.filteroptions.md +21 -0
  36. package/docs/server.intersectionresult.md +18 -0
  37. package/docs/server.md +44 -0
  38. package/docs/server.modelentityoptions.md +19 -0
  39. package/docs/server.modelentityoptions.modelshownnodes.md +13 -0
  40. package/docs/server.moveoptions.md +1 -0
  41. package/docs/server.pathfindingoptions.md +1 -0
  42. package/docs/server.playercamera.facingquaternion.md +13 -0
  43. package/docs/server.playercamera.md +56 -0
  44. package/docs/server.playercamera.modelshownnodes.md +13 -0
  45. package/docs/server.playercamera.setmodelshownnodes.md +53 -0
  46. package/docs/server.playercameraevent.md +14 -0
  47. package/docs/server.playercameraeventpayloads._player_camera.set_model_shown_nodes_.md +16 -0
  48. package/docs/server.playercameraeventpayloads.md +19 -0
  49. package/docs/server.playermanager.md +19 -0
  50. package/docs/server.playermanager.worldselectionhandler.md +13 -0
  51. package/docs/server.rawcollider.md +13 -0
  52. package/docs/server.rawshape.md +13 -0
  53. package/docs/server.raycastoptions.md +4 -7
  54. package/docs/server.simulation.intersectionswithrawshape.md +107 -0
  55. package/docs/server.simulation.md +14 -0
  56. package/node-server.mjs +159 -159
  57. package/package.json +1 -1
  58. package/server.api.json +1751 -217
  59. package/server.d.ts +132 -35
package/server.api.json CHANGED
@@ -8577,8 +8577,8 @@
8577
8577
  },
8578
8578
  {
8579
8579
  "kind": "Reference",
8580
- "text": "RAPIER.Collider",
8581
- "canonicalReference": "@dimforge/rapier3d-simd-compat!Collider:class"
8580
+ "text": "RawCollider",
8581
+ "canonicalReference": "server!RawCollider:type"
8582
8582
  },
8583
8583
  {
8584
8584
  "kind": "Content",
@@ -8601,6 +8601,41 @@
8601
8601
  "isProtected": false,
8602
8602
  "isAbstract": false
8603
8603
  },
8604
+ {
8605
+ "kind": "Property",
8606
+ "canonicalReference": "server!Collider#rawShape:member",
8607
+ "docComment": "/**\n * The raw shape object from the Rapier physics engine.\n */\n",
8608
+ "excerptTokens": [
8609
+ {
8610
+ "kind": "Content",
8611
+ "text": "get rawShape(): "
8612
+ },
8613
+ {
8614
+ "kind": "Reference",
8615
+ "text": "RawShape",
8616
+ "canonicalReference": "server!RawShape:type"
8617
+ },
8618
+ {
8619
+ "kind": "Content",
8620
+ "text": " | undefined"
8621
+ },
8622
+ {
8623
+ "kind": "Content",
8624
+ "text": ";"
8625
+ }
8626
+ ],
8627
+ "isReadonly": true,
8628
+ "isOptional": false,
8629
+ "releaseTag": "Public",
8630
+ "name": "rawShape",
8631
+ "propertyTypeTokenRange": {
8632
+ "startIndex": 1,
8633
+ "endIndex": 3
8634
+ },
8635
+ "isStatic": false,
8636
+ "isProtected": false,
8637
+ "isAbstract": false
8638
+ },
8604
8639
  {
8605
8640
  "kind": "Property",
8606
8641
  "canonicalReference": "server!Collider#relativePosition:member",
@@ -11158,6 +11193,36 @@
11158
11193
  "isProtected": false,
11159
11194
  "isAbstract": false
11160
11195
  },
11196
+ {
11197
+ "kind": "Property",
11198
+ "canonicalReference": "server!DefaultPlayerEntityController#faceForwardOnStop:member",
11199
+ "docComment": "/**\n * Whether to face forward when the entity stops moving.\n */\n",
11200
+ "excerptTokens": [
11201
+ {
11202
+ "kind": "Content",
11203
+ "text": "faceForwardOnStop: "
11204
+ },
11205
+ {
11206
+ "kind": "Content",
11207
+ "text": "boolean"
11208
+ },
11209
+ {
11210
+ "kind": "Content",
11211
+ "text": ";"
11212
+ }
11213
+ ],
11214
+ "isReadonly": false,
11215
+ "isOptional": false,
11216
+ "releaseTag": "Public",
11217
+ "name": "faceForwardOnStop",
11218
+ "propertyTypeTokenRange": {
11219
+ "startIndex": 1,
11220
+ "endIndex": 2
11221
+ },
11222
+ "isStatic": false,
11223
+ "isProtected": false,
11224
+ "isAbstract": false
11225
+ },
11161
11226
  {
11162
11227
  "kind": "Property",
11163
11228
  "canonicalReference": "server!DefaultPlayerEntityController#idleLoopedAnimations:member",
@@ -12185,6 +12250,33 @@
12185
12250
  "endIndex": 2
12186
12251
  }
12187
12252
  },
12253
+ {
12254
+ "kind": "PropertySignature",
12255
+ "canonicalReference": "server!DefaultPlayerEntityControllerOptions#faceForwardOnStop:member",
12256
+ "docComment": "/**\n * Whether to face forward when the entity stops moving.\n */\n",
12257
+ "excerptTokens": [
12258
+ {
12259
+ "kind": "Content",
12260
+ "text": "faceForwardOnStop?: "
12261
+ },
12262
+ {
12263
+ "kind": "Content",
12264
+ "text": "boolean"
12265
+ },
12266
+ {
12267
+ "kind": "Content",
12268
+ "text": ";"
12269
+ }
12270
+ ],
12271
+ "isReadonly": false,
12272
+ "isOptional": true,
12273
+ "releaseTag": "Public",
12274
+ "name": "faceForwardOnStop",
12275
+ "propertyTypeTokenRange": {
12276
+ "startIndex": 1,
12277
+ "endIndex": 2
12278
+ }
12279
+ },
12188
12280
  {
12189
12281
  "kind": "PropertySignature",
12190
12282
  "canonicalReference": "server!DefaultPlayerEntityControllerOptions#idleLoopedAnimations:member",
@@ -13119,7 +13211,7 @@
13119
13211
  "excerptTokens": [
13120
13212
  {
13121
13213
  "kind": "Content",
13122
- "text": "type?: "
13214
+ "text": "type: "
13123
13215
  },
13124
13216
  {
13125
13217
  "kind": "Reference",
@@ -13132,7 +13224,7 @@
13132
13224
  }
13133
13225
  ],
13134
13226
  "isReadonly": false,
13135
- "isOptional": true,
13227
+ "isOptional": false,
13136
13228
  "releaseTag": "Public",
13137
13229
  "name": "type",
13138
13230
  "propertyTypeTokenRange": {
@@ -13661,6 +13753,41 @@
13661
13753
  "isProtected": false,
13662
13754
  "isAbstract": false
13663
13755
  },
13756
+ {
13757
+ "kind": "Property",
13758
+ "canonicalReference": "server!Entity#modelShownNodes:member",
13759
+ "docComment": "/**\n * The nodes to show on the entity's model, overriding hidden nodes.\n */\n",
13760
+ "excerptTokens": [
13761
+ {
13762
+ "kind": "Content",
13763
+ "text": "get modelShownNodes(): "
13764
+ },
13765
+ {
13766
+ "kind": "Reference",
13767
+ "text": "ReadonlySet",
13768
+ "canonicalReference": "!ReadonlySet:interface"
13769
+ },
13770
+ {
13771
+ "kind": "Content",
13772
+ "text": "<string>"
13773
+ },
13774
+ {
13775
+ "kind": "Content",
13776
+ "text": ";"
13777
+ }
13778
+ ],
13779
+ "isReadonly": true,
13780
+ "isOptional": false,
13781
+ "releaseTag": "Public",
13782
+ "name": "modelShownNodes",
13783
+ "propertyTypeTokenRange": {
13784
+ "startIndex": 1,
13785
+ "endIndex": 3
13786
+ },
13787
+ "isStatic": false,
13788
+ "isProtected": false,
13789
+ "isAbstract": false
13790
+ },
13664
13791
  {
13665
13792
  "kind": "Property",
13666
13793
  "canonicalReference": "server!Entity#modelTextureUri:member",
@@ -13995,6 +14122,54 @@
13995
14122
  "isAbstract": false,
13996
14123
  "name": "setModelHiddenNodes"
13997
14124
  },
14125
+ {
14126
+ "kind": "Method",
14127
+ "canonicalReference": "server!Entity#setModelShownNodes:member(1)",
14128
+ "docComment": "/**\n * Sets the nodes to show on the entity's model, overriding hidden nodes. Matched nodes will be shown for all players. Uses case insensitive substring matching.\n *\n * @param modelShownNodes - The nodes to show on the entity's model.\n */\n",
14129
+ "excerptTokens": [
14130
+ {
14131
+ "kind": "Content",
14132
+ "text": "setModelShownNodes(modelShownNodes: "
14133
+ },
14134
+ {
14135
+ "kind": "Content",
14136
+ "text": "string[]"
14137
+ },
14138
+ {
14139
+ "kind": "Content",
14140
+ "text": "): "
14141
+ },
14142
+ {
14143
+ "kind": "Content",
14144
+ "text": "void"
14145
+ },
14146
+ {
14147
+ "kind": "Content",
14148
+ "text": ";"
14149
+ }
14150
+ ],
14151
+ "isStatic": false,
14152
+ "returnTypeTokenRange": {
14153
+ "startIndex": 3,
14154
+ "endIndex": 4
14155
+ },
14156
+ "releaseTag": "Public",
14157
+ "isProtected": false,
14158
+ "overloadIndex": 1,
14159
+ "parameters": [
14160
+ {
14161
+ "parameterName": "modelShownNodes",
14162
+ "parameterTypeTokenRange": {
14163
+ "startIndex": 1,
14164
+ "endIndex": 2
14165
+ },
14166
+ "isOptional": false
14167
+ }
14168
+ ],
14169
+ "isOptional": false,
14170
+ "isAbstract": false,
14171
+ "name": "setModelShownNodes"
14172
+ },
13998
14173
  {
13999
14174
  "kind": "Method",
14000
14175
  "canonicalReference": "server!Entity#setModelTextureUri:member(1)",
@@ -14892,6 +15067,27 @@
14892
15067
  "releaseTag": "Public",
14893
15068
  "name": "SET_MODEL_HIDDEN_NODES"
14894
15069
  },
15070
+ {
15071
+ "kind": "EnumMember",
15072
+ "canonicalReference": "server!EntityEvent.SET_MODEL_SHOWN_NODES:member",
15073
+ "docComment": "",
15074
+ "excerptTokens": [
15075
+ {
15076
+ "kind": "Content",
15077
+ "text": "SET_MODEL_SHOWN_NODES = "
15078
+ },
15079
+ {
15080
+ "kind": "Content",
15081
+ "text": "\"ENTITY.SET_MODEL_SHOWN_NODES\""
15082
+ }
15083
+ ],
15084
+ "initializerTokenRange": {
15085
+ "startIndex": 1,
15086
+ "endIndex": 2
15087
+ },
15088
+ "releaseTag": "Public",
15089
+ "name": "SET_MODEL_SHOWN_NODES"
15090
+ },
14895
15091
  {
14896
15092
  "kind": "EnumMember",
14897
15093
  "canonicalReference": "server!EntityEvent.SET_MODEL_TEXTURE_URI:member",
@@ -15467,7 +15663,7 @@
15467
15663
  {
15468
15664
  "kind": "PropertySignature",
15469
15665
  "canonicalReference": "server!EntityEventPayloads#\"ENTITY.SET_MODEL_HIDDEN_NODES\":member",
15470
- "docComment": "/**\n * Emitted when the nodes of the entity's model are set to be hidden.\n */\n",
15666
+ "docComment": "/**\n * Emitted when nodes of the entity's model are set to be hidden.\n */\n",
15471
15667
  "excerptTokens": [
15472
15668
  {
15473
15669
  "kind": "Content",
@@ -15518,6 +15714,60 @@
15518
15714
  "endIndex": 8
15519
15715
  }
15520
15716
  },
15717
+ {
15718
+ "kind": "PropertySignature",
15719
+ "canonicalReference": "server!EntityEventPayloads#\"ENTITY.SET_MODEL_SHOWN_NODES\":member",
15720
+ "docComment": "/**\n * Emitted when nodes of the entity's model are set to be shown.\n */\n",
15721
+ "excerptTokens": [
15722
+ {
15723
+ "kind": "Content",
15724
+ "text": "["
15725
+ },
15726
+ {
15727
+ "kind": "Reference",
15728
+ "text": "EntityEvent.SET_MODEL_SHOWN_NODES",
15729
+ "canonicalReference": "server!EntityEvent.SET_MODEL_SHOWN_NODES:member"
15730
+ },
15731
+ {
15732
+ "kind": "Content",
15733
+ "text": "]: "
15734
+ },
15735
+ {
15736
+ "kind": "Content",
15737
+ "text": "{\n entity: "
15738
+ },
15739
+ {
15740
+ "kind": "Reference",
15741
+ "text": "Entity",
15742
+ "canonicalReference": "server!Entity:class"
15743
+ },
15744
+ {
15745
+ "kind": "Content",
15746
+ "text": ";\n modelShownNodes: "
15747
+ },
15748
+ {
15749
+ "kind": "Reference",
15750
+ "text": "Set",
15751
+ "canonicalReference": "!Set:interface"
15752
+ },
15753
+ {
15754
+ "kind": "Content",
15755
+ "text": "<string>;\n }"
15756
+ },
15757
+ {
15758
+ "kind": "Content",
15759
+ "text": ";"
15760
+ }
15761
+ ],
15762
+ "isReadonly": false,
15763
+ "isOptional": false,
15764
+ "releaseTag": "Public",
15765
+ "name": "\"ENTITY.SET_MODEL_SHOWN_NODES\"",
15766
+ "propertyTypeTokenRange": {
15767
+ "startIndex": 3,
15768
+ "endIndex": 8
15769
+ }
15770
+ },
15521
15771
  {
15522
15772
  "kind": "PropertySignature",
15523
15773
  "canonicalReference": "server!EntityEventPayloads#\"ENTITY.SET_MODEL_TEXTURE_URI\":member",
@@ -17166,42 +17416,24 @@
17166
17416
  },
17167
17417
  {
17168
17418
  "kind": "Method",
17169
- "canonicalReference": "server!EventRouter#emitWithGlobal:member(1)",
17170
- "docComment": "/**\n * Emits an event to the local and global server instance event routers.\n *\n * @param eventType - The type of event to emit.\n *\n * @param payload - The payload to emit.\n */\n",
17419
+ "canonicalReference": "server!EventRouter#emit:member(2)",
17420
+ "docComment": "",
17171
17421
  "excerptTokens": [
17172
17422
  {
17173
17423
  "kind": "Content",
17174
- "text": "emitWithGlobal<TEventType extends "
17175
- },
17176
- {
17177
- "kind": "Content",
17178
- "text": "keyof "
17179
- },
17180
- {
17181
- "kind": "Reference",
17182
- "text": "EventPayloads",
17183
- "canonicalReference": "server!EventPayloads:interface"
17184
- },
17185
- {
17186
- "kind": "Content",
17187
- "text": ">(eventType: "
17424
+ "text": "emit(eventType: "
17188
17425
  },
17189
17426
  {
17190
17427
  "kind": "Content",
17191
- "text": "TEventType"
17428
+ "text": "string"
17192
17429
  },
17193
17430
  {
17194
17431
  "kind": "Content",
17195
17432
  "text": ", payload: "
17196
17433
  },
17197
- {
17198
- "kind": "Reference",
17199
- "text": "EventPayloads",
17200
- "canonicalReference": "server!EventPayloads:interface"
17201
- },
17202
17434
  {
17203
17435
  "kind": "Content",
17204
- "text": "[TEventType]"
17436
+ "text": "any"
17205
17437
  },
17206
17438
  {
17207
17439
  "kind": "Content",
@@ -17209,21 +17441,103 @@
17209
17441
  },
17210
17442
  {
17211
17443
  "kind": "Content",
17212
- "text": "void"
17444
+ "text": "boolean"
17213
17445
  },
17214
17446
  {
17215
17447
  "kind": "Content",
17216
17448
  "text": ";"
17217
17449
  }
17218
17450
  ],
17219
- "typeParameters": [
17220
- {
17221
- "typeParameterName": "TEventType",
17222
- "constraintTokenRange": {
17223
- "startIndex": 1,
17224
- "endIndex": 3
17225
- },
17226
- "defaultTypeTokenRange": {
17451
+ "isStatic": false,
17452
+ "returnTypeTokenRange": {
17453
+ "startIndex": 5,
17454
+ "endIndex": 6
17455
+ },
17456
+ "releaseTag": "Public",
17457
+ "isProtected": false,
17458
+ "overloadIndex": 2,
17459
+ "parameters": [
17460
+ {
17461
+ "parameterName": "eventType",
17462
+ "parameterTypeTokenRange": {
17463
+ "startIndex": 1,
17464
+ "endIndex": 2
17465
+ },
17466
+ "isOptional": false
17467
+ },
17468
+ {
17469
+ "parameterName": "payload",
17470
+ "parameterTypeTokenRange": {
17471
+ "startIndex": 3,
17472
+ "endIndex": 4
17473
+ },
17474
+ "isOptional": false
17475
+ }
17476
+ ],
17477
+ "isOptional": false,
17478
+ "isAbstract": false,
17479
+ "name": "emit"
17480
+ },
17481
+ {
17482
+ "kind": "Method",
17483
+ "canonicalReference": "server!EventRouter#emitWithGlobal:member(1)",
17484
+ "docComment": "/**\n * Emits an event to the local and global server instance event routers.\n *\n * @param eventType - The type of event to emit.\n *\n * @param payload - The payload to emit.\n */\n",
17485
+ "excerptTokens": [
17486
+ {
17487
+ "kind": "Content",
17488
+ "text": "emitWithGlobal<TEventType extends "
17489
+ },
17490
+ {
17491
+ "kind": "Content",
17492
+ "text": "keyof "
17493
+ },
17494
+ {
17495
+ "kind": "Reference",
17496
+ "text": "EventPayloads",
17497
+ "canonicalReference": "server!EventPayloads:interface"
17498
+ },
17499
+ {
17500
+ "kind": "Content",
17501
+ "text": ">(eventType: "
17502
+ },
17503
+ {
17504
+ "kind": "Content",
17505
+ "text": "TEventType"
17506
+ },
17507
+ {
17508
+ "kind": "Content",
17509
+ "text": ", payload: "
17510
+ },
17511
+ {
17512
+ "kind": "Reference",
17513
+ "text": "EventPayloads",
17514
+ "canonicalReference": "server!EventPayloads:interface"
17515
+ },
17516
+ {
17517
+ "kind": "Content",
17518
+ "text": "[TEventType]"
17519
+ },
17520
+ {
17521
+ "kind": "Content",
17522
+ "text": "): "
17523
+ },
17524
+ {
17525
+ "kind": "Content",
17526
+ "text": "void"
17527
+ },
17528
+ {
17529
+ "kind": "Content",
17530
+ "text": ";"
17531
+ }
17532
+ ],
17533
+ "typeParameters": [
17534
+ {
17535
+ "typeParameterName": "TEventType",
17536
+ "constraintTokenRange": {
17537
+ "startIndex": 1,
17538
+ "endIndex": 3
17539
+ },
17540
+ "defaultTypeTokenRange": {
17227
17541
  "startIndex": 0,
17228
17542
  "endIndex": 0
17229
17543
  }
@@ -17259,6 +17573,70 @@
17259
17573
  "isAbstract": false,
17260
17574
  "name": "emitWithGlobal"
17261
17575
  },
17576
+ {
17577
+ "kind": "Method",
17578
+ "canonicalReference": "server!EventRouter#emitWithGlobal:member(2)",
17579
+ "docComment": "",
17580
+ "excerptTokens": [
17581
+ {
17582
+ "kind": "Content",
17583
+ "text": "emitWithGlobal(eventType: "
17584
+ },
17585
+ {
17586
+ "kind": "Content",
17587
+ "text": "string"
17588
+ },
17589
+ {
17590
+ "kind": "Content",
17591
+ "text": ", payload: "
17592
+ },
17593
+ {
17594
+ "kind": "Content",
17595
+ "text": "any"
17596
+ },
17597
+ {
17598
+ "kind": "Content",
17599
+ "text": "): "
17600
+ },
17601
+ {
17602
+ "kind": "Content",
17603
+ "text": "void"
17604
+ },
17605
+ {
17606
+ "kind": "Content",
17607
+ "text": ";"
17608
+ }
17609
+ ],
17610
+ "isStatic": false,
17611
+ "returnTypeTokenRange": {
17612
+ "startIndex": 5,
17613
+ "endIndex": 6
17614
+ },
17615
+ "releaseTag": "Public",
17616
+ "isProtected": false,
17617
+ "overloadIndex": 2,
17618
+ "parameters": [
17619
+ {
17620
+ "parameterName": "eventType",
17621
+ "parameterTypeTokenRange": {
17622
+ "startIndex": 1,
17623
+ "endIndex": 2
17624
+ },
17625
+ "isOptional": false
17626
+ },
17627
+ {
17628
+ "parameterName": "payload",
17629
+ "parameterTypeTokenRange": {
17630
+ "startIndex": 3,
17631
+ "endIndex": 4
17632
+ },
17633
+ "isOptional": false
17634
+ }
17635
+ ],
17636
+ "isOptional": false,
17637
+ "isAbstract": false,
17638
+ "name": "emitWithGlobal"
17639
+ },
17262
17640
  {
17263
17641
  "kind": "Method",
17264
17642
  "canonicalReference": "server!EventRouter#emitWithWorld:member(1)",
@@ -17373,21 +17751,675 @@
17373
17751
  },
17374
17752
  {
17375
17753
  "kind": "Method",
17376
- "canonicalReference": "server!EventRouter#hasListeners:member(1)",
17377
- "docComment": "/**\n * Check if there are listeners for a specific event type.\n *\n * @param eventType - The type of event to check for listeners.\n *\n * @returns `true` if listeners are found, `false` otherwise.\n */\n",
17754
+ "canonicalReference": "server!EventRouter#emitWithWorld:member(2)",
17755
+ "docComment": "",
17756
+ "excerptTokens": [
17757
+ {
17758
+ "kind": "Content",
17759
+ "text": "emitWithWorld(world: "
17760
+ },
17761
+ {
17762
+ "kind": "Reference",
17763
+ "text": "World",
17764
+ "canonicalReference": "server!World:class"
17765
+ },
17766
+ {
17767
+ "kind": "Content",
17768
+ "text": ", eventType: "
17769
+ },
17770
+ {
17771
+ "kind": "Content",
17772
+ "text": "string"
17773
+ },
17774
+ {
17775
+ "kind": "Content",
17776
+ "text": ", payload: "
17777
+ },
17778
+ {
17779
+ "kind": "Content",
17780
+ "text": "any"
17781
+ },
17782
+ {
17783
+ "kind": "Content",
17784
+ "text": "): "
17785
+ },
17786
+ {
17787
+ "kind": "Content",
17788
+ "text": "void"
17789
+ },
17790
+ {
17791
+ "kind": "Content",
17792
+ "text": ";"
17793
+ }
17794
+ ],
17795
+ "isStatic": false,
17796
+ "returnTypeTokenRange": {
17797
+ "startIndex": 7,
17798
+ "endIndex": 8
17799
+ },
17800
+ "releaseTag": "Public",
17801
+ "isProtected": false,
17802
+ "overloadIndex": 2,
17803
+ "parameters": [
17804
+ {
17805
+ "parameterName": "world",
17806
+ "parameterTypeTokenRange": {
17807
+ "startIndex": 1,
17808
+ "endIndex": 2
17809
+ },
17810
+ "isOptional": false
17811
+ },
17812
+ {
17813
+ "parameterName": "eventType",
17814
+ "parameterTypeTokenRange": {
17815
+ "startIndex": 3,
17816
+ "endIndex": 4
17817
+ },
17818
+ "isOptional": false
17819
+ },
17820
+ {
17821
+ "parameterName": "payload",
17822
+ "parameterTypeTokenRange": {
17823
+ "startIndex": 5,
17824
+ "endIndex": 6
17825
+ },
17826
+ "isOptional": false
17827
+ }
17828
+ ],
17829
+ "isOptional": false,
17830
+ "isAbstract": false,
17831
+ "name": "emitWithWorld"
17832
+ },
17833
+ {
17834
+ "kind": "Method",
17835
+ "canonicalReference": "server!EventRouter#final:member(2)",
17836
+ "docComment": "",
17837
+ "excerptTokens": [
17838
+ {
17839
+ "kind": "Content",
17840
+ "text": "final(eventType: "
17841
+ },
17842
+ {
17843
+ "kind": "Content",
17844
+ "text": "string"
17845
+ },
17846
+ {
17847
+ "kind": "Content",
17848
+ "text": ", listener: "
17849
+ },
17850
+ {
17851
+ "kind": "Content",
17852
+ "text": "(payload: any) => void"
17853
+ },
17854
+ {
17855
+ "kind": "Content",
17856
+ "text": "): "
17857
+ },
17858
+ {
17859
+ "kind": "Content",
17860
+ "text": "void"
17861
+ },
17862
+ {
17863
+ "kind": "Content",
17864
+ "text": ";"
17865
+ }
17866
+ ],
17867
+ "isStatic": false,
17868
+ "returnTypeTokenRange": {
17869
+ "startIndex": 5,
17870
+ "endIndex": 6
17871
+ },
17872
+ "releaseTag": "Public",
17873
+ "isProtected": false,
17874
+ "overloadIndex": 2,
17875
+ "parameters": [
17876
+ {
17877
+ "parameterName": "eventType",
17878
+ "parameterTypeTokenRange": {
17879
+ "startIndex": 1,
17880
+ "endIndex": 2
17881
+ },
17882
+ "isOptional": false
17883
+ },
17884
+ {
17885
+ "parameterName": "listener",
17886
+ "parameterTypeTokenRange": {
17887
+ "startIndex": 3,
17888
+ "endIndex": 4
17889
+ },
17890
+ "isOptional": false
17891
+ }
17892
+ ],
17893
+ "isOptional": false,
17894
+ "isAbstract": false,
17895
+ "name": "final"
17896
+ },
17897
+ {
17898
+ "kind": "Property",
17899
+ "canonicalReference": "server!EventRouter.globalInstance:member",
17900
+ "docComment": "/**\n * The global event router instance.\n */\n",
17901
+ "excerptTokens": [
17902
+ {
17903
+ "kind": "Content",
17904
+ "text": "static readonly globalInstance: "
17905
+ },
17906
+ {
17907
+ "kind": "Reference",
17908
+ "text": "EventRouter",
17909
+ "canonicalReference": "server!EventRouter:class"
17910
+ },
17911
+ {
17912
+ "kind": "Content",
17913
+ "text": ";"
17914
+ }
17915
+ ],
17916
+ "isReadonly": true,
17917
+ "isOptional": false,
17918
+ "releaseTag": "Public",
17919
+ "name": "globalInstance",
17920
+ "propertyTypeTokenRange": {
17921
+ "startIndex": 1,
17922
+ "endIndex": 2
17923
+ },
17924
+ "isStatic": true,
17925
+ "isProtected": false,
17926
+ "isAbstract": false
17927
+ },
17928
+ {
17929
+ "kind": "Method",
17930
+ "canonicalReference": "server!EventRouter#hasListeners:member(1)",
17931
+ "docComment": "/**\n * Check if there are listeners for a specific event type.\n *\n * @param eventType - The type of event to check for listeners.\n *\n * @returns `true` if listeners are found, `false` otherwise.\n */\n",
17932
+ "excerptTokens": [
17933
+ {
17934
+ "kind": "Content",
17935
+ "text": "hasListeners<TEventType extends "
17936
+ },
17937
+ {
17938
+ "kind": "Content",
17939
+ "text": "keyof "
17940
+ },
17941
+ {
17942
+ "kind": "Reference",
17943
+ "text": "EventPayloads",
17944
+ "canonicalReference": "server!EventPayloads:interface"
17945
+ },
17946
+ {
17947
+ "kind": "Content",
17948
+ "text": ">(eventType: "
17949
+ },
17950
+ {
17951
+ "kind": "Content",
17952
+ "text": "TEventType"
17953
+ },
17954
+ {
17955
+ "kind": "Content",
17956
+ "text": "): "
17957
+ },
17958
+ {
17959
+ "kind": "Content",
17960
+ "text": "boolean"
17961
+ },
17962
+ {
17963
+ "kind": "Content",
17964
+ "text": ";"
17965
+ }
17966
+ ],
17967
+ "typeParameters": [
17968
+ {
17969
+ "typeParameterName": "TEventType",
17970
+ "constraintTokenRange": {
17971
+ "startIndex": 1,
17972
+ "endIndex": 3
17973
+ },
17974
+ "defaultTypeTokenRange": {
17975
+ "startIndex": 0,
17976
+ "endIndex": 0
17977
+ }
17978
+ }
17979
+ ],
17980
+ "isStatic": false,
17981
+ "returnTypeTokenRange": {
17982
+ "startIndex": 6,
17983
+ "endIndex": 7
17984
+ },
17985
+ "releaseTag": "Public",
17986
+ "isProtected": false,
17987
+ "overloadIndex": 1,
17988
+ "parameters": [
17989
+ {
17990
+ "parameterName": "eventType",
17991
+ "parameterTypeTokenRange": {
17992
+ "startIndex": 4,
17993
+ "endIndex": 5
17994
+ },
17995
+ "isOptional": false
17996
+ }
17997
+ ],
17998
+ "isOptional": false,
17999
+ "isAbstract": false,
18000
+ "name": "hasListeners"
18001
+ },
18002
+ {
18003
+ "kind": "Method",
18004
+ "canonicalReference": "server!EventRouter#hasListeners:member(2)",
18005
+ "docComment": "",
18006
+ "excerptTokens": [
18007
+ {
18008
+ "kind": "Content",
18009
+ "text": "hasListeners(eventType: "
18010
+ },
18011
+ {
18012
+ "kind": "Content",
18013
+ "text": "string"
18014
+ },
18015
+ {
18016
+ "kind": "Content",
18017
+ "text": "): "
18018
+ },
18019
+ {
18020
+ "kind": "Content",
18021
+ "text": "boolean"
18022
+ },
18023
+ {
18024
+ "kind": "Content",
18025
+ "text": ";"
18026
+ }
18027
+ ],
18028
+ "isStatic": false,
18029
+ "returnTypeTokenRange": {
18030
+ "startIndex": 3,
18031
+ "endIndex": 4
18032
+ },
18033
+ "releaseTag": "Public",
18034
+ "isProtected": false,
18035
+ "overloadIndex": 2,
18036
+ "parameters": [
18037
+ {
18038
+ "parameterName": "eventType",
18039
+ "parameterTypeTokenRange": {
18040
+ "startIndex": 1,
18041
+ "endIndex": 2
18042
+ },
18043
+ "isOptional": false
18044
+ }
18045
+ ],
18046
+ "isOptional": false,
18047
+ "isAbstract": false,
18048
+ "name": "hasListeners"
18049
+ },
18050
+ {
18051
+ "kind": "Method",
18052
+ "canonicalReference": "server!EventRouter#listenerCount:member(1)",
18053
+ "docComment": "/**\n * Get the number of listeners for a specific event type.\n *\n * @param eventType - The type of event to get the listener count for.\n *\n * @returns The number of listeners for the event type.\n */\n",
18054
+ "excerptTokens": [
18055
+ {
18056
+ "kind": "Content",
18057
+ "text": "listenerCount<TEventType extends "
18058
+ },
18059
+ {
18060
+ "kind": "Content",
18061
+ "text": "keyof "
18062
+ },
18063
+ {
18064
+ "kind": "Reference",
18065
+ "text": "EventPayloads",
18066
+ "canonicalReference": "server!EventPayloads:interface"
18067
+ },
18068
+ {
18069
+ "kind": "Content",
18070
+ "text": ">(eventType: "
18071
+ },
18072
+ {
18073
+ "kind": "Content",
18074
+ "text": "TEventType"
18075
+ },
18076
+ {
18077
+ "kind": "Content",
18078
+ "text": "): "
18079
+ },
18080
+ {
18081
+ "kind": "Content",
18082
+ "text": "number"
18083
+ },
18084
+ {
18085
+ "kind": "Content",
18086
+ "text": ";"
18087
+ }
18088
+ ],
18089
+ "typeParameters": [
18090
+ {
18091
+ "typeParameterName": "TEventType",
18092
+ "constraintTokenRange": {
18093
+ "startIndex": 1,
18094
+ "endIndex": 3
18095
+ },
18096
+ "defaultTypeTokenRange": {
18097
+ "startIndex": 0,
18098
+ "endIndex": 0
18099
+ }
18100
+ }
18101
+ ],
18102
+ "isStatic": false,
18103
+ "returnTypeTokenRange": {
18104
+ "startIndex": 6,
18105
+ "endIndex": 7
18106
+ },
18107
+ "releaseTag": "Public",
18108
+ "isProtected": false,
18109
+ "overloadIndex": 1,
18110
+ "parameters": [
18111
+ {
18112
+ "parameterName": "eventType",
18113
+ "parameterTypeTokenRange": {
18114
+ "startIndex": 4,
18115
+ "endIndex": 5
18116
+ },
18117
+ "isOptional": false
18118
+ }
18119
+ ],
18120
+ "isOptional": false,
18121
+ "isAbstract": false,
18122
+ "name": "listenerCount"
18123
+ },
18124
+ {
18125
+ "kind": "Method",
18126
+ "canonicalReference": "server!EventRouter#listenerCount:member(2)",
18127
+ "docComment": "",
18128
+ "excerptTokens": [
18129
+ {
18130
+ "kind": "Content",
18131
+ "text": "listenerCount(eventType: "
18132
+ },
18133
+ {
18134
+ "kind": "Content",
18135
+ "text": "string"
18136
+ },
18137
+ {
18138
+ "kind": "Content",
18139
+ "text": "): "
18140
+ },
18141
+ {
18142
+ "kind": "Content",
18143
+ "text": "number"
18144
+ },
18145
+ {
18146
+ "kind": "Content",
18147
+ "text": ";"
18148
+ }
18149
+ ],
18150
+ "isStatic": false,
18151
+ "returnTypeTokenRange": {
18152
+ "startIndex": 3,
18153
+ "endIndex": 4
18154
+ },
18155
+ "releaseTag": "Public",
18156
+ "isProtected": false,
18157
+ "overloadIndex": 2,
18158
+ "parameters": [
18159
+ {
18160
+ "parameterName": "eventType",
18161
+ "parameterTypeTokenRange": {
18162
+ "startIndex": 1,
18163
+ "endIndex": 2
18164
+ },
18165
+ "isOptional": false
18166
+ }
18167
+ ],
18168
+ "isOptional": false,
18169
+ "isAbstract": false,
18170
+ "name": "listenerCount"
18171
+ },
18172
+ {
18173
+ "kind": "Method",
18174
+ "canonicalReference": "server!EventRouter#listeners:member(1)",
18175
+ "docComment": "/**\n * Get all listeners for a specific event type.\n *\n * @param eventType - The type of event to get listeners for.\n *\n * @returns All listeners for the event type.\n */\n",
18176
+ "excerptTokens": [
18177
+ {
18178
+ "kind": "Content",
18179
+ "text": "listeners<TEventType extends "
18180
+ },
18181
+ {
18182
+ "kind": "Content",
18183
+ "text": "keyof "
18184
+ },
18185
+ {
18186
+ "kind": "Reference",
18187
+ "text": "EventPayloads",
18188
+ "canonicalReference": "server!EventPayloads:interface"
18189
+ },
18190
+ {
18191
+ "kind": "Content",
18192
+ "text": ">(eventType: "
18193
+ },
18194
+ {
18195
+ "kind": "Content",
18196
+ "text": "TEventType"
18197
+ },
18198
+ {
18199
+ "kind": "Content",
18200
+ "text": "): "
18201
+ },
18202
+ {
18203
+ "kind": "Reference",
18204
+ "text": "EventEmitter.EventListener",
18205
+ "canonicalReference": "eventemitter3!EventEmitter.EventListener:type"
18206
+ },
18207
+ {
18208
+ "kind": "Content",
18209
+ "text": "<any, string>[]"
18210
+ },
18211
+ {
18212
+ "kind": "Content",
18213
+ "text": ";"
18214
+ }
18215
+ ],
18216
+ "typeParameters": [
18217
+ {
18218
+ "typeParameterName": "TEventType",
18219
+ "constraintTokenRange": {
18220
+ "startIndex": 1,
18221
+ "endIndex": 3
18222
+ },
18223
+ "defaultTypeTokenRange": {
18224
+ "startIndex": 0,
18225
+ "endIndex": 0
18226
+ }
18227
+ }
18228
+ ],
18229
+ "isStatic": false,
18230
+ "returnTypeTokenRange": {
18231
+ "startIndex": 6,
18232
+ "endIndex": 8
18233
+ },
18234
+ "releaseTag": "Public",
18235
+ "isProtected": false,
18236
+ "overloadIndex": 1,
18237
+ "parameters": [
18238
+ {
18239
+ "parameterName": "eventType",
18240
+ "parameterTypeTokenRange": {
18241
+ "startIndex": 4,
18242
+ "endIndex": 5
18243
+ },
18244
+ "isOptional": false
18245
+ }
18246
+ ],
18247
+ "isOptional": false,
18248
+ "isAbstract": false,
18249
+ "name": "listeners"
18250
+ },
18251
+ {
18252
+ "kind": "Method",
18253
+ "canonicalReference": "server!EventRouter#listeners:member(2)",
18254
+ "docComment": "",
18255
+ "excerptTokens": [
18256
+ {
18257
+ "kind": "Content",
18258
+ "text": "listeners(eventType: "
18259
+ },
18260
+ {
18261
+ "kind": "Content",
18262
+ "text": "string"
18263
+ },
18264
+ {
18265
+ "kind": "Content",
18266
+ "text": "): "
18267
+ },
18268
+ {
18269
+ "kind": "Reference",
18270
+ "text": "EventEmitter.EventListener",
18271
+ "canonicalReference": "eventemitter3!EventEmitter.EventListener:type"
18272
+ },
18273
+ {
18274
+ "kind": "Content",
18275
+ "text": "<any, string>[]"
18276
+ },
18277
+ {
18278
+ "kind": "Content",
18279
+ "text": ";"
18280
+ }
18281
+ ],
18282
+ "isStatic": false,
18283
+ "returnTypeTokenRange": {
18284
+ "startIndex": 3,
18285
+ "endIndex": 5
18286
+ },
18287
+ "releaseTag": "Public",
18288
+ "isProtected": false,
18289
+ "overloadIndex": 2,
18290
+ "parameters": [
18291
+ {
18292
+ "parameterName": "eventType",
18293
+ "parameterTypeTokenRange": {
18294
+ "startIndex": 1,
18295
+ "endIndex": 2
18296
+ },
18297
+ "isOptional": false
18298
+ }
18299
+ ],
18300
+ "isOptional": false,
18301
+ "isAbstract": false,
18302
+ "name": "listeners"
18303
+ },
18304
+ {
18305
+ "kind": "Method",
18306
+ "canonicalReference": "server!EventRouter#off:member(1)",
18307
+ "docComment": "/**\n * Remove a listener for a specific event type.\n *\n * @param eventType - The type of event to remove the listener from.\n *\n * @param listener - The listener function to remove.\n */\n",
18308
+ "excerptTokens": [
18309
+ {
18310
+ "kind": "Content",
18311
+ "text": "off<TEventType extends "
18312
+ },
18313
+ {
18314
+ "kind": "Content",
18315
+ "text": "keyof "
18316
+ },
18317
+ {
18318
+ "kind": "Reference",
18319
+ "text": "EventPayloads",
18320
+ "canonicalReference": "server!EventPayloads:interface"
18321
+ },
18322
+ {
18323
+ "kind": "Content",
18324
+ "text": ">(eventType: "
18325
+ },
18326
+ {
18327
+ "kind": "Content",
18328
+ "text": "TEventType"
18329
+ },
18330
+ {
18331
+ "kind": "Content",
18332
+ "text": ", listener: "
18333
+ },
18334
+ {
18335
+ "kind": "Content",
18336
+ "text": "(payload: "
18337
+ },
18338
+ {
18339
+ "kind": "Reference",
18340
+ "text": "EventPayloads",
18341
+ "canonicalReference": "server!EventPayloads:interface"
18342
+ },
18343
+ {
18344
+ "kind": "Content",
18345
+ "text": "[TEventType]) => void"
18346
+ },
18347
+ {
18348
+ "kind": "Content",
18349
+ "text": "): "
18350
+ },
18351
+ {
18352
+ "kind": "Content",
18353
+ "text": "void"
18354
+ },
18355
+ {
18356
+ "kind": "Content",
18357
+ "text": ";"
18358
+ }
18359
+ ],
18360
+ "typeParameters": [
18361
+ {
18362
+ "typeParameterName": "TEventType",
18363
+ "constraintTokenRange": {
18364
+ "startIndex": 1,
18365
+ "endIndex": 3
18366
+ },
18367
+ "defaultTypeTokenRange": {
18368
+ "startIndex": 0,
18369
+ "endIndex": 0
18370
+ }
18371
+ }
18372
+ ],
18373
+ "isStatic": false,
18374
+ "returnTypeTokenRange": {
18375
+ "startIndex": 10,
18376
+ "endIndex": 11
18377
+ },
18378
+ "releaseTag": "Public",
18379
+ "isProtected": false,
18380
+ "overloadIndex": 1,
18381
+ "parameters": [
18382
+ {
18383
+ "parameterName": "eventType",
18384
+ "parameterTypeTokenRange": {
18385
+ "startIndex": 4,
18386
+ "endIndex": 5
18387
+ },
18388
+ "isOptional": false
18389
+ },
18390
+ {
18391
+ "parameterName": "listener",
18392
+ "parameterTypeTokenRange": {
18393
+ "startIndex": 6,
18394
+ "endIndex": 9
18395
+ },
18396
+ "isOptional": false
18397
+ }
18398
+ ],
18399
+ "isOptional": false,
18400
+ "isAbstract": false,
18401
+ "name": "off"
18402
+ },
18403
+ {
18404
+ "kind": "Method",
18405
+ "canonicalReference": "server!EventRouter#off:member(2)",
18406
+ "docComment": "",
17378
18407
  "excerptTokens": [
17379
18408
  {
17380
18409
  "kind": "Content",
17381
- "text": "hasListeners(eventType: "
18410
+ "text": "off(eventType: "
17382
18411
  },
17383
18412
  {
17384
18413
  "kind": "Content",
17385
- "text": "keyof "
18414
+ "text": "string"
17386
18415
  },
17387
18416
  {
17388
- "kind": "Reference",
17389
- "text": "EventPayloads",
17390
- "canonicalReference": "server!EventPayloads:interface"
18417
+ "kind": "Content",
18418
+ "text": ", listener: "
18419
+ },
18420
+ {
18421
+ "kind": "Content",
18422
+ "text": "(payload: any) => void"
17391
18423
  },
17392
18424
  {
17393
18425
  "kind": "Content",
@@ -17395,7 +18427,7 @@
17395
18427
  },
17396
18428
  {
17397
18429
  "kind": "Content",
17398
- "text": "boolean"
18430
+ "text": "void"
17399
18431
  },
17400
18432
  {
17401
18433
  "kind": "Content",
@@ -17404,34 +18436,42 @@
17404
18436
  ],
17405
18437
  "isStatic": false,
17406
18438
  "returnTypeTokenRange": {
17407
- "startIndex": 4,
17408
- "endIndex": 5
18439
+ "startIndex": 5,
18440
+ "endIndex": 6
17409
18441
  },
17410
18442
  "releaseTag": "Public",
17411
18443
  "isProtected": false,
17412
- "overloadIndex": 1,
18444
+ "overloadIndex": 2,
17413
18445
  "parameters": [
17414
18446
  {
17415
18447
  "parameterName": "eventType",
17416
18448
  "parameterTypeTokenRange": {
17417
18449
  "startIndex": 1,
17418
- "endIndex": 3
18450
+ "endIndex": 2
18451
+ },
18452
+ "isOptional": false
18453
+ },
18454
+ {
18455
+ "parameterName": "listener",
18456
+ "parameterTypeTokenRange": {
18457
+ "startIndex": 3,
18458
+ "endIndex": 4
17419
18459
  },
17420
18460
  "isOptional": false
17421
18461
  }
17422
18462
  ],
17423
18463
  "isOptional": false,
17424
18464
  "isAbstract": false,
17425
- "name": "hasListeners"
18465
+ "name": "off"
17426
18466
  },
17427
18467
  {
17428
18468
  "kind": "Method",
17429
- "canonicalReference": "server!EventRouter#listenerCount:member(1)",
17430
- "docComment": "/**\n * Get the number of listeners for a specific event type.\n *\n * @param eventType - The type of event to get the listener count for.\n *\n * @returns The number of listeners for the event type.\n */\n",
18469
+ "canonicalReference": "server!EventRouter#offAll:member(1)",
18470
+ "docComment": "/**\n * Remove all listeners or all listeners for a provided event type.\n *\n * @param eventType - The type of event to remove all listeners from.\n */\n",
17431
18471
  "excerptTokens": [
17432
18472
  {
17433
18473
  "kind": "Content",
17434
- "text": "listenerCount(eventType: "
18474
+ "text": "offAll<TEventType extends "
17435
18475
  },
17436
18476
  {
17437
18477
  "kind": "Content",
@@ -17442,23 +18482,44 @@
17442
18482
  "text": "EventPayloads",
17443
18483
  "canonicalReference": "server!EventPayloads:interface"
17444
18484
  },
18485
+ {
18486
+ "kind": "Content",
18487
+ "text": ">(eventType?: "
18488
+ },
18489
+ {
18490
+ "kind": "Content",
18491
+ "text": "TEventType"
18492
+ },
17445
18493
  {
17446
18494
  "kind": "Content",
17447
18495
  "text": "): "
17448
18496
  },
17449
18497
  {
17450
18498
  "kind": "Content",
17451
- "text": "number"
18499
+ "text": "void"
17452
18500
  },
17453
18501
  {
17454
18502
  "kind": "Content",
17455
18503
  "text": ";"
17456
18504
  }
17457
18505
  ],
18506
+ "typeParameters": [
18507
+ {
18508
+ "typeParameterName": "TEventType",
18509
+ "constraintTokenRange": {
18510
+ "startIndex": 1,
18511
+ "endIndex": 3
18512
+ },
18513
+ "defaultTypeTokenRange": {
18514
+ "startIndex": 0,
18515
+ "endIndex": 0
18516
+ }
18517
+ }
18518
+ ],
17458
18519
  "isStatic": false,
17459
18520
  "returnTypeTokenRange": {
17460
- "startIndex": 4,
17461
- "endIndex": 5
18521
+ "startIndex": 6,
18522
+ "endIndex": 7
17462
18523
  },
17463
18524
  "releaseTag": "Public",
17464
18525
  "isProtected": false,
@@ -17467,46 +18528,36 @@
17467
18528
  {
17468
18529
  "parameterName": "eventType",
17469
18530
  "parameterTypeTokenRange": {
17470
- "startIndex": 1,
17471
- "endIndex": 3
18531
+ "startIndex": 4,
18532
+ "endIndex": 5
17472
18533
  },
17473
- "isOptional": false
18534
+ "isOptional": true
17474
18535
  }
17475
18536
  ],
17476
18537
  "isOptional": false,
17477
18538
  "isAbstract": false,
17478
- "name": "listenerCount"
18539
+ "name": "offAll"
17479
18540
  },
17480
18541
  {
17481
18542
  "kind": "Method",
17482
- "canonicalReference": "server!EventRouter#listeners:member(1)",
17483
- "docComment": "/**\n * Get all listeners for a specific event type.\n *\n * @param eventType - The type of event to get listeners for.\n *\n * @returns All listeners for the event type.\n */\n",
18543
+ "canonicalReference": "server!EventRouter#offAll:member(2)",
18544
+ "docComment": "",
17484
18545
  "excerptTokens": [
17485
18546
  {
17486
18547
  "kind": "Content",
17487
- "text": "listeners(eventType: "
18548
+ "text": "offAll(eventType?: "
17488
18549
  },
17489
18550
  {
17490
18551
  "kind": "Content",
17491
- "text": "keyof "
17492
- },
17493
- {
17494
- "kind": "Reference",
17495
- "text": "EventPayloads",
17496
- "canonicalReference": "server!EventPayloads:interface"
18552
+ "text": "string"
17497
18553
  },
17498
18554
  {
17499
18555
  "kind": "Content",
17500
18556
  "text": "): "
17501
18557
  },
17502
- {
17503
- "kind": "Reference",
17504
- "text": "EventEmitter.EventListener",
17505
- "canonicalReference": "eventemitter3!EventEmitter.EventListener:type"
17506
- },
17507
18558
  {
17508
18559
  "kind": "Content",
17509
- "text": "<any, string>[]"
18560
+ "text": "void"
17510
18561
  },
17511
18562
  {
17512
18563
  "kind": "Content",
@@ -17515,34 +18566,34 @@
17515
18566
  ],
17516
18567
  "isStatic": false,
17517
18568
  "returnTypeTokenRange": {
17518
- "startIndex": 4,
17519
- "endIndex": 6
18569
+ "startIndex": 3,
18570
+ "endIndex": 4
17520
18571
  },
17521
18572
  "releaseTag": "Public",
17522
18573
  "isProtected": false,
17523
- "overloadIndex": 1,
18574
+ "overloadIndex": 2,
17524
18575
  "parameters": [
17525
18576
  {
17526
18577
  "parameterName": "eventType",
17527
18578
  "parameterTypeTokenRange": {
17528
18579
  "startIndex": 1,
17529
- "endIndex": 3
18580
+ "endIndex": 2
17530
18581
  },
17531
- "isOptional": false
18582
+ "isOptional": true
17532
18583
  }
17533
18584
  ],
17534
18585
  "isOptional": false,
17535
18586
  "isAbstract": false,
17536
- "name": "listeners"
18587
+ "name": "offAll"
17537
18588
  },
17538
18589
  {
17539
18590
  "kind": "Method",
17540
- "canonicalReference": "server!EventRouter#off:member(1)",
17541
- "docComment": "/**\n * Remove a listener for a specific event type.\n *\n * @param eventType - The type of event to remove the listener from.\n *\n * @param listener - The listener function to remove.\n */\n",
18591
+ "canonicalReference": "server!EventRouter#on:member(1)",
18592
+ "docComment": "/**\n * Register a listener for a specific event type.\n *\n * @remarks\n *\n * Listeners are invoked in the order they are registered.\n *\n * @param eventType - The type of event to listen for.\n *\n * @param listener - The listener function to invoke when the event is emitted.\n */\n",
17542
18593
  "excerptTokens": [
17543
18594
  {
17544
18595
  "kind": "Content",
17545
- "text": "off<TEventType extends "
18596
+ "text": "on<TEventType extends "
17546
18597
  },
17547
18598
  {
17548
18599
  "kind": "Content",
@@ -17632,25 +18683,28 @@
17632
18683
  ],
17633
18684
  "isOptional": false,
17634
18685
  "isAbstract": false,
17635
- "name": "off"
18686
+ "name": "on"
17636
18687
  },
17637
18688
  {
17638
18689
  "kind": "Method",
17639
- "canonicalReference": "server!EventRouter#offAll:member(1)",
17640
- "docComment": "/**\n * Remove all listeners or all listeners for a provided event type.\n *\n * @param eventType - The type of event to remove all listeners from.\n */\n",
18690
+ "canonicalReference": "server!EventRouter#on:member(2)",
18691
+ "docComment": "",
17641
18692
  "excerptTokens": [
17642
18693
  {
17643
18694
  "kind": "Content",
17644
- "text": "offAll(eventType?: "
18695
+ "text": "on(eventType: "
17645
18696
  },
17646
18697
  {
17647
18698
  "kind": "Content",
17648
- "text": "keyof "
18699
+ "text": "string"
17649
18700
  },
17650
18701
  {
17651
- "kind": "Reference",
17652
- "text": "EventPayloads",
17653
- "canonicalReference": "server!EventPayloads:interface"
18702
+ "kind": "Content",
18703
+ "text": ", listener: "
18704
+ },
18705
+ {
18706
+ "kind": "Content",
18707
+ "text": "(payload: any) => void"
17654
18708
  },
17655
18709
  {
17656
18710
  "kind": "Content",
@@ -17667,34 +18721,42 @@
17667
18721
  ],
17668
18722
  "isStatic": false,
17669
18723
  "returnTypeTokenRange": {
17670
- "startIndex": 4,
17671
- "endIndex": 5
18724
+ "startIndex": 5,
18725
+ "endIndex": 6
17672
18726
  },
17673
18727
  "releaseTag": "Public",
17674
18728
  "isProtected": false,
17675
- "overloadIndex": 1,
18729
+ "overloadIndex": 2,
17676
18730
  "parameters": [
17677
18731
  {
17678
18732
  "parameterName": "eventType",
17679
18733
  "parameterTypeTokenRange": {
17680
18734
  "startIndex": 1,
17681
- "endIndex": 3
18735
+ "endIndex": 2
17682
18736
  },
17683
- "isOptional": true
18737
+ "isOptional": false
18738
+ },
18739
+ {
18740
+ "parameterName": "listener",
18741
+ "parameterTypeTokenRange": {
18742
+ "startIndex": 3,
18743
+ "endIndex": 4
18744
+ },
18745
+ "isOptional": false
17684
18746
  }
17685
18747
  ],
17686
18748
  "isOptional": false,
17687
18749
  "isAbstract": false,
17688
- "name": "offAll"
18750
+ "name": "on"
17689
18751
  },
17690
18752
  {
17691
18753
  "kind": "Method",
17692
- "canonicalReference": "server!EventRouter#on:member(1)",
17693
- "docComment": "/**\n * Register a listener for a specific event type.\n *\n * @remarks\n *\n * Listeners are invoked in the order they are registered.\n *\n * @param eventType - The type of event to listen for.\n *\n * @param listener - The listener function to invoke when the event is emitted.\n */\n",
18754
+ "canonicalReference": "server!EventRouter#once:member(1)",
18755
+ "docComment": "/**\n * Register a listener for a specific event type that will be invoked once.\n *\n * @param eventType - The type of event to listen for.\n *\n * @param listener - The listener function to invoke when the event is emitted.\n */\n",
17694
18756
  "excerptTokens": [
17695
18757
  {
17696
18758
  "kind": "Content",
17697
- "text": "on<TEventType extends "
18759
+ "text": "once<TEventType extends "
17698
18760
  },
17699
18761
  {
17700
18762
  "kind": "Content",
@@ -17784,33 +18846,20 @@
17784
18846
  ],
17785
18847
  "isOptional": false,
17786
18848
  "isAbstract": false,
17787
- "name": "on"
18849
+ "name": "once"
17788
18850
  },
17789
18851
  {
17790
18852
  "kind": "Method",
17791
- "canonicalReference": "server!EventRouter#once:member(1)",
17792
- "docComment": "/**\n * Register a listener for a specific event type that will be invoked once.\n *\n * @param eventType - The type of event to listen for.\n *\n * @param listener - The listener function to invoke when the event is emitted.\n */\n",
18853
+ "canonicalReference": "server!EventRouter#once:member(2)",
18854
+ "docComment": "",
17793
18855
  "excerptTokens": [
17794
18856
  {
17795
18857
  "kind": "Content",
17796
- "text": "once<TEventType extends "
17797
- },
17798
- {
17799
- "kind": "Content",
17800
- "text": "keyof "
17801
- },
17802
- {
17803
- "kind": "Reference",
17804
- "text": "EventPayloads",
17805
- "canonicalReference": "server!EventPayloads:interface"
17806
- },
17807
- {
17808
- "kind": "Content",
17809
- "text": ">(eventType: "
18858
+ "text": "once(eventType: "
17810
18859
  },
17811
18860
  {
17812
18861
  "kind": "Content",
17813
- "text": "TEventType"
18862
+ "text": "string"
17814
18863
  },
17815
18864
  {
17816
18865
  "kind": "Content",
@@ -17818,16 +18867,7 @@
17818
18867
  },
17819
18868
  {
17820
18869
  "kind": "Content",
17821
- "text": "(payload: "
17822
- },
17823
- {
17824
- "kind": "Reference",
17825
- "text": "EventPayloads",
17826
- "canonicalReference": "server!EventPayloads:interface"
17827
- },
17828
- {
17829
- "kind": "Content",
17830
- "text": "[TEventType]) => void"
18870
+ "text": "(payload: any) => void"
17831
18871
  },
17832
18872
  {
17833
18873
  "kind": "Content",
@@ -17842,41 +18882,28 @@
17842
18882
  "text": ";"
17843
18883
  }
17844
18884
  ],
17845
- "typeParameters": [
17846
- {
17847
- "typeParameterName": "TEventType",
17848
- "constraintTokenRange": {
17849
- "startIndex": 1,
17850
- "endIndex": 3
17851
- },
17852
- "defaultTypeTokenRange": {
17853
- "startIndex": 0,
17854
- "endIndex": 0
17855
- }
17856
- }
17857
- ],
17858
18885
  "isStatic": false,
17859
18886
  "returnTypeTokenRange": {
17860
- "startIndex": 10,
17861
- "endIndex": 11
18887
+ "startIndex": 5,
18888
+ "endIndex": 6
17862
18889
  },
17863
18890
  "releaseTag": "Public",
17864
18891
  "isProtected": false,
17865
- "overloadIndex": 1,
18892
+ "overloadIndex": 2,
17866
18893
  "parameters": [
17867
18894
  {
17868
18895
  "parameterName": "eventType",
17869
18896
  "parameterTypeTokenRange": {
17870
- "startIndex": 4,
17871
- "endIndex": 5
18897
+ "startIndex": 1,
18898
+ "endIndex": 2
17872
18899
  },
17873
18900
  "isOptional": false
17874
18901
  },
17875
18902
  {
17876
18903
  "parameterName": "listener",
17877
18904
  "parameterTypeTokenRange": {
17878
- "startIndex": 6,
17879
- "endIndex": 9
18905
+ "startIndex": 3,
18906
+ "endIndex": 4
17880
18907
  },
17881
18908
  "isOptional": false
17882
18909
  }
@@ -17974,41 +19001,103 @@
17974
19001
  "excerptTokens": [
17975
19002
  {
17976
19003
  "kind": "Content",
17977
- "text": "export type FaceOptions = "
19004
+ "text": "export type FaceOptions = "
19005
+ },
19006
+ {
19007
+ "kind": "Content",
19008
+ "text": "{\n faceCallback?: "
19009
+ },
19010
+ {
19011
+ "kind": "Reference",
19012
+ "text": "FaceCallback",
19013
+ "canonicalReference": "server!FaceCallback:type"
19014
+ },
19015
+ {
19016
+ "kind": "Content",
19017
+ "text": ";\n faceCompleteCallback?: "
19018
+ },
19019
+ {
19020
+ "kind": "Reference",
19021
+ "text": "FaceCompleteCallback",
19022
+ "canonicalReference": "server!FaceCompleteCallback:type"
19023
+ },
19024
+ {
19025
+ "kind": "Content",
19026
+ "text": ";\n}"
19027
+ },
19028
+ {
19029
+ "kind": "Content",
19030
+ "text": ";"
19031
+ }
19032
+ ],
19033
+ "fileUrlPath": "src/worlds/entities/controllers/SimpleEntityController.ts",
19034
+ "releaseTag": "Public",
19035
+ "name": "FaceOptions",
19036
+ "typeTokenRange": {
19037
+ "startIndex": 1,
19038
+ "endIndex": 6
19039
+ }
19040
+ },
19041
+ {
19042
+ "kind": "TypeAlias",
19043
+ "canonicalReference": "server!FilterOptions:type",
19044
+ "docComment": "/**\n * Filter options for various operations like raycasting and intersections.\n *\n * @public\n */\n",
19045
+ "excerptTokens": [
19046
+ {
19047
+ "kind": "Content",
19048
+ "text": "export type FilterOptions = "
19049
+ },
19050
+ {
19051
+ "kind": "Content",
19052
+ "text": "{\n filterFlags?: "
19053
+ },
19054
+ {
19055
+ "kind": "Reference",
19056
+ "text": "RAPIER.QueryFilterFlags",
19057
+ "canonicalReference": "@dimforge/rapier3d-simd-compat!QueryFilterFlags:enum"
19058
+ },
19059
+ {
19060
+ "kind": "Content",
19061
+ "text": ";\n filterGroups?: number;\n filterExcludeCollider?: "
19062
+ },
19063
+ {
19064
+ "kind": "Reference",
19065
+ "text": "RawCollider",
19066
+ "canonicalReference": "server!RawCollider:type"
17978
19067
  },
17979
19068
  {
17980
19069
  "kind": "Content",
17981
- "text": "{\n faceCallback?: "
19070
+ "text": ";\n filterExcludeRigidBody?: "
17982
19071
  },
17983
19072
  {
17984
19073
  "kind": "Reference",
17985
- "text": "FaceCallback",
17986
- "canonicalReference": "server!FaceCallback:type"
19074
+ "text": "RAPIER.RigidBody",
19075
+ "canonicalReference": "@dimforge/rapier3d-simd-compat!RigidBody:class"
17987
19076
  },
17988
19077
  {
17989
19078
  "kind": "Content",
17990
- "text": ";\n faceCompleteCallback?: "
19079
+ "text": ";\n filterPredicate?: (collider: "
17991
19080
  },
17992
19081
  {
17993
19082
  "kind": "Reference",
17994
- "text": "FaceCompleteCallback",
17995
- "canonicalReference": "server!FaceCompleteCallback:type"
19083
+ "text": "RawCollider",
19084
+ "canonicalReference": "server!RawCollider:type"
17996
19085
  },
17997
19086
  {
17998
19087
  "kind": "Content",
17999
- "text": ";\n}"
19088
+ "text": ") => boolean;\n}"
18000
19089
  },
18001
19090
  {
18002
19091
  "kind": "Content",
18003
19092
  "text": ";"
18004
19093
  }
18005
19094
  ],
18006
- "fileUrlPath": "src/worlds/entities/controllers/SimpleEntityController.ts",
19095
+ "fileUrlPath": "src/worlds/physics/Simulation.ts",
18007
19096
  "releaseTag": "Public",
18008
- "name": "FaceOptions",
19097
+ "name": "FilterOptions",
18009
19098
  "typeTokenRange": {
18010
19099
  "startIndex": 1,
18011
- "endIndex": 6
19100
+ "endIndex": 10
18012
19101
  }
18013
19102
  },
18014
19103
  {
@@ -18394,6 +19483,50 @@
18394
19483
  ],
18395
19484
  "extendsTokenRanges": []
18396
19485
  },
19486
+ {
19487
+ "kind": "TypeAlias",
19488
+ "canonicalReference": "server!IntersectionResult:type",
19489
+ "docComment": "/**\n * A intersection result.\n *\n * @public\n */\n",
19490
+ "excerptTokens": [
19491
+ {
19492
+ "kind": "Content",
19493
+ "text": "export type IntersectionResult = "
19494
+ },
19495
+ {
19496
+ "kind": "Content",
19497
+ "text": "{\n intersectedBlockType?: "
19498
+ },
19499
+ {
19500
+ "kind": "Reference",
19501
+ "text": "BlockType",
19502
+ "canonicalReference": "server!BlockType:class"
19503
+ },
19504
+ {
19505
+ "kind": "Content",
19506
+ "text": ";\n intersectedEntity?: "
19507
+ },
19508
+ {
19509
+ "kind": "Reference",
19510
+ "text": "Entity",
19511
+ "canonicalReference": "server!Entity:class"
19512
+ },
19513
+ {
19514
+ "kind": "Content",
19515
+ "text": ";\n}"
19516
+ },
19517
+ {
19518
+ "kind": "Content",
19519
+ "text": ";"
19520
+ }
19521
+ ],
19522
+ "fileUrlPath": "src/worlds/physics/Simulation.ts",
19523
+ "releaseTag": "Public",
19524
+ "name": "IntersectionResult",
19525
+ "typeTokenRange": {
19526
+ "startIndex": 1,
19527
+ "endIndex": 6
19528
+ }
19529
+ },
18397
19530
  {
18398
19531
  "kind": "Interface",
18399
19532
  "canonicalReference": "server!KinematicPositionRigidBodyOptions:interface",
@@ -25783,6 +26916,33 @@
25783
26916
  "endIndex": 2
25784
26917
  }
25785
26918
  },
26919
+ {
26920
+ "kind": "PropertySignature",
26921
+ "canonicalReference": "server!ModelEntityOptions#modelShownNodes:member",
26922
+ "docComment": "/**\n * The nodes to show on the entity's model, overriding hidden nodes.\n */\n",
26923
+ "excerptTokens": [
26924
+ {
26925
+ "kind": "Content",
26926
+ "text": "modelShownNodes?: "
26927
+ },
26928
+ {
26929
+ "kind": "Content",
26930
+ "text": "string[]"
26931
+ },
26932
+ {
26933
+ "kind": "Content",
26934
+ "text": ";"
26935
+ }
26936
+ ],
26937
+ "isReadonly": false,
26938
+ "isOptional": true,
26939
+ "releaseTag": "Public",
26940
+ "name": "modelShownNodes",
26941
+ "propertyTypeTokenRange": {
26942
+ "startIndex": 1,
26943
+ "endIndex": 2
26944
+ }
26945
+ },
25786
26946
  {
25787
26947
  "kind": "PropertySignature",
25788
26948
  "canonicalReference": "server!ModelEntityOptions#modelTextureUri:member",
@@ -26433,7 +27593,7 @@
26433
27593
  },
26434
27594
  {
26435
27595
  "kind": "Content",
26436
- "text": ";\n moveIgnoreAxes?: {\n x?: boolean;\n y?: boolean;\n z?: boolean;\n };\n moveStartIdleAnimationsOnCompletion?: boolean;\n moveStoppingDistance?: number;\n}"
27596
+ "text": ";\n moveIgnoreAxes?: {\n x?: boolean;\n y?: boolean;\n z?: boolean;\n };\n moveStartIdleAnimationsOnCompletion?: boolean;\n moveStoppingDistance?: number;\n moveCompletesWhenStuck?: boolean;\n}"
26437
27597
  },
26438
27598
  {
26439
27599
  "kind": "Content",
@@ -27064,7 +28224,7 @@
27064
28224
  },
27065
28225
  {
27066
28226
  "kind": "Content",
27067
- "text": ";\n waypointTimeoutMs?: number;\n}"
28227
+ "text": ";\n waypointStoppingDistance?: number;\n waypointTimeoutMs?: number;\n}"
27068
28228
  },
27069
28229
  {
27070
28230
  "kind": "Content",
@@ -28043,6 +29203,37 @@
28043
29203
  "isProtected": false,
28044
29204
  "isAbstract": false
28045
29205
  },
29206
+ {
29207
+ "kind": "Property",
29208
+ "canonicalReference": "server!PlayerCamera#facingQuaternion:member",
29209
+ "docComment": "/**\n * The quaternion representing the camera's facing direction.\n */\n",
29210
+ "excerptTokens": [
29211
+ {
29212
+ "kind": "Content",
29213
+ "text": "get facingQuaternion(): "
29214
+ },
29215
+ {
29216
+ "kind": "Reference",
29217
+ "text": "QuaternionLike",
29218
+ "canonicalReference": "server!QuaternionLike:interface"
29219
+ },
29220
+ {
29221
+ "kind": "Content",
29222
+ "text": ";"
29223
+ }
29224
+ ],
29225
+ "isReadonly": true,
29226
+ "isOptional": false,
29227
+ "releaseTag": "Public",
29228
+ "name": "facingQuaternion",
29229
+ "propertyTypeTokenRange": {
29230
+ "startIndex": 1,
29231
+ "endIndex": 2
29232
+ },
29233
+ "isStatic": false,
29234
+ "isProtected": false,
29235
+ "isAbstract": false
29236
+ },
28046
29237
  {
28047
29238
  "kind": "Property",
28048
29239
  "canonicalReference": "server!PlayerCamera#filmOffset:member",
@@ -28297,6 +29488,41 @@
28297
29488
  "isProtected": false,
28298
29489
  "isAbstract": false
28299
29490
  },
29491
+ {
29492
+ "kind": "Property",
29493
+ "canonicalReference": "server!PlayerCamera#modelShownNodes:member",
29494
+ "docComment": "/**\n * The nodes of the model the camera is attached to that will be rendered for the player, overriding hidden nodes. Uses case insensitive substring matching.\n */\n",
29495
+ "excerptTokens": [
29496
+ {
29497
+ "kind": "Content",
29498
+ "text": "get modelShownNodes(): "
29499
+ },
29500
+ {
29501
+ "kind": "Reference",
29502
+ "text": "Set",
29503
+ "canonicalReference": "!Set:interface"
29504
+ },
29505
+ {
29506
+ "kind": "Content",
29507
+ "text": "<string>"
29508
+ },
29509
+ {
29510
+ "kind": "Content",
29511
+ "text": ";"
29512
+ }
29513
+ ],
29514
+ "isReadonly": true,
29515
+ "isOptional": false,
29516
+ "releaseTag": "Public",
29517
+ "name": "modelShownNodes",
29518
+ "propertyTypeTokenRange": {
29519
+ "startIndex": 1,
29520
+ "endIndex": 3
29521
+ },
29522
+ "isStatic": false,
29523
+ "isProtected": false,
29524
+ "isAbstract": false
29525
+ },
28300
29526
  {
28301
29527
  "kind": "Property",
28302
29528
  "canonicalReference": "server!PlayerCamera#offset:member",
@@ -28760,6 +29986,54 @@
28760
29986
  "isAbstract": false,
28761
29987
  "name": "setModelHiddenNodes"
28762
29988
  },
29989
+ {
29990
+ "kind": "Method",
29991
+ "canonicalReference": "server!PlayerCamera#setModelShownNodes:member(1)",
29992
+ "docComment": "/**\n * Sets the nodes of the model the camera is attached to that will be rendered for the player, overriding hidden nodes. Uses case insensitive substring matching.\n *\n * @param modelShownNodes - Determines nodes to show that match these case insensitive substrings.\n */\n",
29993
+ "excerptTokens": [
29994
+ {
29995
+ "kind": "Content",
29996
+ "text": "setModelShownNodes(modelShownNodes: "
29997
+ },
29998
+ {
29999
+ "kind": "Content",
30000
+ "text": "string[]"
30001
+ },
30002
+ {
30003
+ "kind": "Content",
30004
+ "text": "): "
30005
+ },
30006
+ {
30007
+ "kind": "Content",
30008
+ "text": "void"
30009
+ },
30010
+ {
30011
+ "kind": "Content",
30012
+ "text": ";"
30013
+ }
30014
+ ],
30015
+ "isStatic": false,
30016
+ "returnTypeTokenRange": {
30017
+ "startIndex": 3,
30018
+ "endIndex": 4
30019
+ },
30020
+ "releaseTag": "Public",
30021
+ "isProtected": false,
30022
+ "overloadIndex": 1,
30023
+ "parameters": [
30024
+ {
30025
+ "parameterName": "modelShownNodes",
30026
+ "parameterTypeTokenRange": {
30027
+ "startIndex": 1,
30028
+ "endIndex": 2
30029
+ },
30030
+ "isOptional": false
30031
+ }
30032
+ ],
30033
+ "isOptional": false,
30034
+ "isAbstract": false,
30035
+ "name": "setModelShownNodes"
30036
+ },
28763
30037
  {
28764
30038
  "kind": "Method",
28765
30039
  "canonicalReference": "server!PlayerCamera#setOffset:member(1)",
@@ -29357,6 +30631,27 @@
29357
30631
  "releaseTag": "Public",
29358
30632
  "name": "SET_MODEL_HIDDEN_NODES"
29359
30633
  },
30634
+ {
30635
+ "kind": "EnumMember",
30636
+ "canonicalReference": "server!PlayerCameraEvent.SET_MODEL_SHOWN_NODES:member",
30637
+ "docComment": "",
30638
+ "excerptTokens": [
30639
+ {
30640
+ "kind": "Content",
30641
+ "text": "SET_MODEL_SHOWN_NODES = "
30642
+ },
30643
+ {
30644
+ "kind": "Content",
30645
+ "text": "\"PLAYER_CAMERA.SET_MODEL_SHOWN_NODES\""
30646
+ }
30647
+ ],
30648
+ "initializerTokenRange": {
30649
+ "startIndex": 1,
30650
+ "endIndex": 2
30651
+ },
30652
+ "releaseTag": "Public",
30653
+ "name": "SET_MODEL_SHOWN_NODES"
30654
+ },
29360
30655
  {
29361
30656
  "kind": "EnumMember",
29362
30657
  "canonicalReference": "server!PlayerCameraEvent.SET_OFFSET:member",
@@ -29809,12 +31104,66 @@
29809
31104
  },
29810
31105
  {
29811
31106
  "kind": "Reference",
29812
- "text": "PlayerCamera",
29813
- "canonicalReference": "server!PlayerCamera:class"
31107
+ "text": "PlayerCamera",
31108
+ "canonicalReference": "server!PlayerCamera:class"
31109
+ },
31110
+ {
31111
+ "kind": "Content",
31112
+ "text": ";\n fov: number;\n }"
31113
+ },
31114
+ {
31115
+ "kind": "Content",
31116
+ "text": ";"
31117
+ }
31118
+ ],
31119
+ "isReadonly": false,
31120
+ "isOptional": false,
31121
+ "releaseTag": "Public",
31122
+ "name": "\"PLAYER_CAMERA.SET_FOV\"",
31123
+ "propertyTypeTokenRange": {
31124
+ "startIndex": 3,
31125
+ "endIndex": 6
31126
+ }
31127
+ },
31128
+ {
31129
+ "kind": "PropertySignature",
31130
+ "canonicalReference": "server!PlayerCameraEventPayloads#\"PLAYER_CAMERA.SET_MODE\":member",
31131
+ "docComment": "/**\n * Emitted when the mode of the camera is set.\n */\n",
31132
+ "excerptTokens": [
31133
+ {
31134
+ "kind": "Content",
31135
+ "text": "["
31136
+ },
31137
+ {
31138
+ "kind": "Reference",
31139
+ "text": "PlayerCameraEvent.SET_MODE",
31140
+ "canonicalReference": "server!PlayerCameraEvent.SET_MODE:member"
31141
+ },
31142
+ {
31143
+ "kind": "Content",
31144
+ "text": "]: "
31145
+ },
31146
+ {
31147
+ "kind": "Content",
31148
+ "text": "{\n playerCamera: "
31149
+ },
31150
+ {
31151
+ "kind": "Reference",
31152
+ "text": "PlayerCamera",
31153
+ "canonicalReference": "server!PlayerCamera:class"
31154
+ },
31155
+ {
31156
+ "kind": "Content",
31157
+ "text": ";\n mode: "
31158
+ },
31159
+ {
31160
+ "kind": "Reference",
31161
+ "text": "PlayerCameraMode",
31162
+ "canonicalReference": "server!PlayerCameraMode:enum"
29814
31163
  },
29815
31164
  {
29816
31165
  "kind": "Content",
29817
- "text": ";\n fov: number;\n }"
31166
+ "text": ";\n }"
29818
31167
  },
29819
31168
  {
29820
31169
  "kind": "Content",
@@ -29824,16 +31173,16 @@
29824
31173
  "isReadonly": false,
29825
31174
  "isOptional": false,
29826
31175
  "releaseTag": "Public",
29827
- "name": "\"PLAYER_CAMERA.SET_FOV\"",
31176
+ "name": "\"PLAYER_CAMERA.SET_MODE\"",
29828
31177
  "propertyTypeTokenRange": {
29829
31178
  "startIndex": 3,
29830
- "endIndex": 6
31179
+ "endIndex": 8
29831
31180
  }
29832
31181
  },
29833
31182
  {
29834
31183
  "kind": "PropertySignature",
29835
- "canonicalReference": "server!PlayerCameraEventPayloads#\"PLAYER_CAMERA.SET_MODE\":member",
29836
- "docComment": "/**\n * Emitted when the mode of the camera is set.\n */\n",
31184
+ "canonicalReference": "server!PlayerCameraEventPayloads#\"PLAYER_CAMERA.SET_MODEL_HIDDEN_NODES\":member",
31185
+ "docComment": "/**\n * Emitted when the nodes of the model the camera is attached to are set to be hidden.\n */\n",
29837
31186
  "excerptTokens": [
29838
31187
  {
29839
31188
  "kind": "Content",
@@ -29841,8 +31190,8 @@
29841
31190
  },
29842
31191
  {
29843
31192
  "kind": "Reference",
29844
- "text": "PlayerCameraEvent.SET_MODE",
29845
- "canonicalReference": "server!PlayerCameraEvent.SET_MODE:member"
31193
+ "text": "PlayerCameraEvent.SET_MODEL_HIDDEN_NODES",
31194
+ "canonicalReference": "server!PlayerCameraEvent.SET_MODEL_HIDDEN_NODES:member"
29846
31195
  },
29847
31196
  {
29848
31197
  "kind": "Content",
@@ -29859,16 +31208,16 @@
29859
31208
  },
29860
31209
  {
29861
31210
  "kind": "Content",
29862
- "text": ";\n mode: "
31211
+ "text": ";\n modelHiddenNodes: "
29863
31212
  },
29864
31213
  {
29865
31214
  "kind": "Reference",
29866
- "text": "PlayerCameraMode",
29867
- "canonicalReference": "server!PlayerCameraMode:enum"
31215
+ "text": "Set",
31216
+ "canonicalReference": "!Set:interface"
29868
31217
  },
29869
31218
  {
29870
31219
  "kind": "Content",
29871
- "text": ";\n }"
31220
+ "text": "<string>;\n }"
29872
31221
  },
29873
31222
  {
29874
31223
  "kind": "Content",
@@ -29878,7 +31227,7 @@
29878
31227
  "isReadonly": false,
29879
31228
  "isOptional": false,
29880
31229
  "releaseTag": "Public",
29881
- "name": "\"PLAYER_CAMERA.SET_MODE\"",
31230
+ "name": "\"PLAYER_CAMERA.SET_MODEL_HIDDEN_NODES\"",
29882
31231
  "propertyTypeTokenRange": {
29883
31232
  "startIndex": 3,
29884
31233
  "endIndex": 8
@@ -29886,8 +31235,8 @@
29886
31235
  },
29887
31236
  {
29888
31237
  "kind": "PropertySignature",
29889
- "canonicalReference": "server!PlayerCameraEventPayloads#\"PLAYER_CAMERA.SET_MODEL_HIDDEN_NODES\":member",
29890
- "docComment": "/**\n * Emitted when the nodes of the model the camera is attached to are set to be hidden.\n */\n",
31238
+ "canonicalReference": "server!PlayerCameraEventPayloads#\"PLAYER_CAMERA.SET_MODEL_SHOWN_NODES\":member",
31239
+ "docComment": "/**\n * Emitted when the nodes of the model the camera is attached to are set to be shown.\n */\n",
29891
31240
  "excerptTokens": [
29892
31241
  {
29893
31242
  "kind": "Content",
@@ -29895,8 +31244,8 @@
29895
31244
  },
29896
31245
  {
29897
31246
  "kind": "Reference",
29898
- "text": "PlayerCameraEvent.SET_MODEL_HIDDEN_NODES",
29899
- "canonicalReference": "server!PlayerCameraEvent.SET_MODEL_HIDDEN_NODES:member"
31247
+ "text": "PlayerCameraEvent.SET_MODEL_SHOWN_NODES",
31248
+ "canonicalReference": "server!PlayerCameraEvent.SET_MODEL_SHOWN_NODES:member"
29900
31249
  },
29901
31250
  {
29902
31251
  "kind": "Content",
@@ -29913,7 +31262,7 @@
29913
31262
  },
29914
31263
  {
29915
31264
  "kind": "Content",
29916
- "text": ";\n modelHiddenNodes: "
31265
+ "text": ";\n modelShownNodes: "
29917
31266
  },
29918
31267
  {
29919
31268
  "kind": "Reference",
@@ -29932,7 +31281,7 @@
29932
31281
  "isReadonly": false,
29933
31282
  "isOptional": false,
29934
31283
  "releaseTag": "Public",
29935
- "name": "\"PLAYER_CAMERA.SET_MODEL_HIDDEN_NODES\"",
31284
+ "name": "\"PLAYER_CAMERA.SET_MODEL_SHOWN_NODES\"",
29936
31285
  "propertyTypeTokenRange": {
29937
31286
  "startIndex": 3,
29938
31287
  "endIndex": 8
@@ -31126,6 +32475,63 @@
31126
32475
  "isStatic": false,
31127
32476
  "isProtected": false,
31128
32477
  "isAbstract": false
32478
+ },
32479
+ {
32480
+ "kind": "Property",
32481
+ "canonicalReference": "server!PlayerManager#worldSelectionHandler:member",
32482
+ "docComment": "/**\n * Optional handler for selecting the world a newly connected player joins. Returning no world results in the player joining the default WorldManager world.\n */\n",
32483
+ "excerptTokens": [
32484
+ {
32485
+ "kind": "Content",
32486
+ "text": "worldSelectionHandler?: "
32487
+ },
32488
+ {
32489
+ "kind": "Content",
32490
+ "text": "(player: "
32491
+ },
32492
+ {
32493
+ "kind": "Reference",
32494
+ "text": "Player",
32495
+ "canonicalReference": "server!Player:class"
32496
+ },
32497
+ {
32498
+ "kind": "Content",
32499
+ "text": ") => "
32500
+ },
32501
+ {
32502
+ "kind": "Reference",
32503
+ "text": "Promise",
32504
+ "canonicalReference": "!Promise:interface"
32505
+ },
32506
+ {
32507
+ "kind": "Content",
32508
+ "text": "<"
32509
+ },
32510
+ {
32511
+ "kind": "Reference",
32512
+ "text": "World",
32513
+ "canonicalReference": "server!World:class"
32514
+ },
32515
+ {
32516
+ "kind": "Content",
32517
+ "text": " | undefined>"
32518
+ },
32519
+ {
32520
+ "kind": "Content",
32521
+ "text": ";"
32522
+ }
32523
+ ],
32524
+ "isReadonly": false,
32525
+ "isOptional": true,
32526
+ "releaseTag": "Public",
32527
+ "name": "worldSelectionHandler",
32528
+ "propertyTypeTokenRange": {
32529
+ "startIndex": 1,
32530
+ "endIndex": 8
32531
+ },
32532
+ "isStatic": false,
32533
+ "isProtected": false,
32534
+ "isAbstract": false
31129
32535
  }
31130
32536
  ],
31131
32537
  "implementsTokenRanges": []
@@ -33609,6 +35015,33 @@
33609
35015
  ],
33610
35016
  "extendsTokenRanges": []
33611
35017
  },
35018
+ {
35019
+ "kind": "TypeAlias",
35020
+ "canonicalReference": "server!RawCollider:type",
35021
+ "docComment": "/**\n * A raw collider object from the Rapier physics engine.\n *\n * @public\n */\n",
35022
+ "excerptTokens": [
35023
+ {
35024
+ "kind": "Content",
35025
+ "text": "export type RawCollider = "
35026
+ },
35027
+ {
35028
+ "kind": "Reference",
35029
+ "text": "RAPIER.Collider",
35030
+ "canonicalReference": "@dimforge/rapier3d-simd-compat!Collider:class"
35031
+ },
35032
+ {
35033
+ "kind": "Content",
35034
+ "text": ";"
35035
+ }
35036
+ ],
35037
+ "fileUrlPath": "src/worlds/physics/Collider.ts",
35038
+ "releaseTag": "Public",
35039
+ "name": "RawCollider",
35040
+ "typeTokenRange": {
35041
+ "startIndex": 1,
35042
+ "endIndex": 2
35043
+ }
35044
+ },
33612
35045
  {
33613
35046
  "kind": "TypeAlias",
33614
35047
  "canonicalReference": "server!RawCollisionGroups:type",
@@ -33636,6 +35069,33 @@
33636
35069
  "endIndex": 2
33637
35070
  }
33638
35071
  },
35072
+ {
35073
+ "kind": "TypeAlias",
35074
+ "canonicalReference": "server!RawShape:type",
35075
+ "docComment": "/**\n * A raw shape object from the Rapier physics engine.\n *\n * @public\n */\n",
35076
+ "excerptTokens": [
35077
+ {
35078
+ "kind": "Content",
35079
+ "text": "export type RawShape = "
35080
+ },
35081
+ {
35082
+ "kind": "Reference",
35083
+ "text": "RAPIER.Shape",
35084
+ "canonicalReference": "@dimforge/rapier3d-simd-compat!Shape:class"
35085
+ },
35086
+ {
35087
+ "kind": "Content",
35088
+ "text": ";"
35089
+ }
35090
+ ],
35091
+ "fileUrlPath": "src/worlds/physics/Collider.ts",
35092
+ "releaseTag": "Public",
35093
+ "name": "RawShape",
35094
+ "typeTokenRange": {
35095
+ "startIndex": 1,
35096
+ "endIndex": 2
35097
+ }
35098
+ },
33639
35099
  {
33640
35100
  "kind": "TypeAlias",
33641
35101
  "canonicalReference": "server!RaycastHit:type",
@@ -33700,43 +35160,12 @@
33700
35160
  },
33701
35161
  {
33702
35162
  "kind": "Content",
33703
- "text": "{\n ignoresSensors?: boolean;\n filterFlags?: "
35163
+ "text": "{\n solidMode?: boolean;\n} & "
33704
35164
  },
33705
35165
  {
33706
35166
  "kind": "Reference",
33707
- "text": "RAPIER.QueryFilterFlags",
33708
- "canonicalReference": "@dimforge/rapier3d-simd-compat!QueryFilterFlags:enum"
33709
- },
33710
- {
33711
- "kind": "Content",
33712
- "text": ";\n filterGroups?: number;\n filterExcludeCollider?: "
33713
- },
33714
- {
33715
- "kind": "Reference",
33716
- "text": "RAPIER.Collider",
33717
- "canonicalReference": "@dimforge/rapier3d-simd-compat!Collider:class"
33718
- },
33719
- {
33720
- "kind": "Content",
33721
- "text": ";\n filterExcludeRigidBody?: "
33722
- },
33723
- {
33724
- "kind": "Reference",
33725
- "text": "RAPIER.RigidBody",
33726
- "canonicalReference": "@dimforge/rapier3d-simd-compat!RigidBody:class"
33727
- },
33728
- {
33729
- "kind": "Content",
33730
- "text": ";\n filterPredicate?: (collider: "
33731
- },
33732
- {
33733
- "kind": "Reference",
33734
- "text": "RAPIER.Collider",
33735
- "canonicalReference": "@dimforge/rapier3d-simd-compat!Collider:class"
33736
- },
33737
- {
33738
- "kind": "Content",
33739
- "text": ") => boolean;\n}"
35167
+ "text": "FilterOptions",
35168
+ "canonicalReference": "server!FilterOptions:type"
33740
35169
  },
33741
35170
  {
33742
35171
  "kind": "Content",
@@ -33748,7 +35177,7 @@
33748
35177
  "name": "RaycastOptions",
33749
35178
  "typeTokenRange": {
33750
35179
  "startIndex": 1,
33751
- "endIndex": 10
35180
+ "endIndex": 3
33752
35181
  }
33753
35182
  },
33754
35183
  {
@@ -39881,6 +41310,111 @@
39881
41310
  "isProtected": false,
39882
41311
  "isAbstract": false
39883
41312
  },
41313
+ {
41314
+ "kind": "Method",
41315
+ "canonicalReference": "server!Simulation#intersectionsWithRawShape:member(1)",
41316
+ "docComment": "/**\n * Gets the intersections with a raw shape.\n *\n * @remarks\n *\n * rawShape can be retrieved from a simulated or unsimulated collider using {@link Collider.rawShape}.\n *\n * @param rawShape - The raw shape to get intersections with.\n *\n * @param position - The position of the shape.\n *\n * @param rotation - The rotation of the shape.\n *\n * @param options - The options for the intersections.\n *\n * @returns The intersections.\n */\n",
41317
+ "excerptTokens": [
41318
+ {
41319
+ "kind": "Content",
41320
+ "text": "intersectionsWithRawShape(rawShape: "
41321
+ },
41322
+ {
41323
+ "kind": "Reference",
41324
+ "text": "RawShape",
41325
+ "canonicalReference": "server!RawShape:type"
41326
+ },
41327
+ {
41328
+ "kind": "Content",
41329
+ "text": ", position: "
41330
+ },
41331
+ {
41332
+ "kind": "Reference",
41333
+ "text": "Vector3Like",
41334
+ "canonicalReference": "server!Vector3Like:interface"
41335
+ },
41336
+ {
41337
+ "kind": "Content",
41338
+ "text": ", rotation: "
41339
+ },
41340
+ {
41341
+ "kind": "Reference",
41342
+ "text": "QuaternionLike",
41343
+ "canonicalReference": "server!QuaternionLike:interface"
41344
+ },
41345
+ {
41346
+ "kind": "Content",
41347
+ "text": ", options?: "
41348
+ },
41349
+ {
41350
+ "kind": "Reference",
41351
+ "text": "FilterOptions",
41352
+ "canonicalReference": "server!FilterOptions:type"
41353
+ },
41354
+ {
41355
+ "kind": "Content",
41356
+ "text": "): "
41357
+ },
41358
+ {
41359
+ "kind": "Reference",
41360
+ "text": "IntersectionResult",
41361
+ "canonicalReference": "server!IntersectionResult:type"
41362
+ },
41363
+ {
41364
+ "kind": "Content",
41365
+ "text": "[]"
41366
+ },
41367
+ {
41368
+ "kind": "Content",
41369
+ "text": ";"
41370
+ }
41371
+ ],
41372
+ "isStatic": false,
41373
+ "returnTypeTokenRange": {
41374
+ "startIndex": 9,
41375
+ "endIndex": 11
41376
+ },
41377
+ "releaseTag": "Public",
41378
+ "isProtected": false,
41379
+ "overloadIndex": 1,
41380
+ "parameters": [
41381
+ {
41382
+ "parameterName": "rawShape",
41383
+ "parameterTypeTokenRange": {
41384
+ "startIndex": 1,
41385
+ "endIndex": 2
41386
+ },
41387
+ "isOptional": false
41388
+ },
41389
+ {
41390
+ "parameterName": "position",
41391
+ "parameterTypeTokenRange": {
41392
+ "startIndex": 3,
41393
+ "endIndex": 4
41394
+ },
41395
+ "isOptional": false
41396
+ },
41397
+ {
41398
+ "parameterName": "rotation",
41399
+ "parameterTypeTokenRange": {
41400
+ "startIndex": 5,
41401
+ "endIndex": 6
41402
+ },
41403
+ "isOptional": false
41404
+ },
41405
+ {
41406
+ "parameterName": "options",
41407
+ "parameterTypeTokenRange": {
41408
+ "startIndex": 7,
41409
+ "endIndex": 8
41410
+ },
41411
+ "isOptional": true
41412
+ }
41413
+ ],
41414
+ "isOptional": false,
41415
+ "isAbstract": false,
41416
+ "name": "intersectionsWithRawShape"
41417
+ },
39884
41418
  {
39885
41419
  "kind": "Property",
39886
41420
  "canonicalReference": "server!Simulation#isDebugRaycastingEnabled:member",