@zylem/game-lib 0.8.2 → 0.8.3

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 (43) hide show
  1. package/dist/api/game-lib.api.json +1310 -704
  2. package/dist/api/game-lib.api.md +125 -88
  3. package/dist/api/game-lib.d.ts +255 -92
  4. package/dist/api/game-lib.typedoc.json +127368 -201231
  5. package/dist/bridge.d.ts +97 -0
  6. package/dist/bridge.js +1 -0
  7. package/dist/chunk-2VSVOPQN.js +19 -0
  8. package/dist/{chunk-KVSJE4XD.js → chunk-3I537JFL.js} +1 -1
  9. package/dist/chunk-AIQ6IVT5.js +1 -0
  10. package/dist/chunk-C5NEGC3S.js +1 -0
  11. package/dist/{chunk-CD7ZOZ35.js → chunk-CV75NSES.js} +1 -1
  12. package/dist/chunk-GKHAJ3MW.js +1 -0
  13. package/dist/chunk-HNCTOJP7.js +1 -0
  14. package/dist/{chunk-MZZCDXFB.js → chunk-LGS5N5M4.js} +1 -1
  15. package/dist/chunk-LKFF6XJC.js +1 -0
  16. package/dist/chunk-Q27ULMXY.js +24 -0
  17. package/dist/chunk-TV3AZKT4.js +9 -0
  18. package/dist/chunk-W5SXED5T.js +1 -0
  19. package/dist/chunk-WVSYUWTT.js +1 -0
  20. package/dist/core.d.ts +2 -2
  21. package/dist/core.js +1 -1
  22. package/dist/debug-state-Dp9CQQZ4.d.ts +49 -0
  23. package/dist/debug.d.ts +22 -3
  24. package/dist/debug.js +1 -1
  25. package/dist/entity.js +1 -1
  26. package/dist/events.d.ts +1 -64
  27. package/dist/events.js +1 -1
  28. package/dist/{game-DbqBQiFC.d.ts → game-NHkubIfI.d.ts} +49 -21
  29. package/dist/game-default-5TB3T5N7.js +1 -0
  30. package/dist/public.d.ts +5 -3
  31. package/dist/public.js +1 -1
  32. package/dist/web-components.d.ts +2 -2
  33. package/dist/web-components.js +1 -1
  34. package/package.json +8 -3
  35. package/dist/chunk-3PRBSSTS.js +0 -24
  36. package/dist/chunk-CFVRRRZZ.js +0 -1
  37. package/dist/chunk-COM6HJ2L.js +0 -1
  38. package/dist/chunk-JQKS42G4.js +0 -1
  39. package/dist/chunk-TAUWDQZF.js +0 -9
  40. package/dist/chunk-VS2D4B3W.js +0 -1
  41. package/dist/chunk-YHEWKN7N.js +0 -1
  42. package/dist/debug-state-DRoeasG2.d.ts +0 -17
  43. package/dist/game-default-6AZZCNST.js +0 -1
@@ -612,7 +612,7 @@
612
612
  "text": "{\n readonly FourByThree: number;\n readonly SixteenByNine: number;\n readonly NineBySixteen: number;\n readonly TwentyOneByNine: number;\n readonly OneByOne: number;\n}"
613
613
  }
614
614
  ],
615
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
615
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
616
616
  "isReadonly": true,
617
617
  "releaseTag": "Public",
618
618
  "name": "AspectRatio",
@@ -657,7 +657,7 @@
657
657
  "text": ";"
658
658
  }
659
659
  ],
660
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
660
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
661
661
  "releaseTag": "Public",
662
662
  "name": "AspectRatioValue",
663
663
  "typeTokenRange": {
@@ -2207,7 +2207,7 @@
2207
2207
  "text": "declare class CameraManager "
2208
2208
  }
2209
2209
  ],
2210
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
2210
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
2211
2211
  "releaseTag": "Public",
2212
2212
  "isAbstract": false,
2213
2213
  "name": "CameraManager",
@@ -3057,7 +3057,7 @@
3057
3057
  "text": "interface CameraOptions "
3058
3058
  }
3059
3059
  ],
3060
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
3060
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
3061
3061
  "releaseTag": "Public",
3062
3062
  "name": "CameraOptions",
3063
3063
  "preserveMemberOrder": false,
@@ -4402,7 +4402,7 @@
4402
4402
  "text": "declare class CameraWrapper "
4403
4403
  }
4404
4404
  ],
4405
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
4405
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
4406
4406
  "releaseTag": "Public",
4407
4407
  "isAbstract": false,
4408
4408
  "name": "CameraWrapper",
@@ -5753,7 +5753,7 @@
5753
5753
  "text": ";"
5754
5754
  }
5755
5755
  ],
5756
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
5756
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
5757
5757
  "returnTypeTokenRange": {
5758
5758
  "startIndex": 3,
5759
5759
  "endIndex": 4
@@ -6352,7 +6352,7 @@
6352
6352
  "text": ";"
6353
6353
  }
6354
6354
  ],
6355
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
6355
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
6356
6356
  "returnTypeTokenRange": {
6357
6357
  "startIndex": 6,
6358
6358
  "endIndex": 8
@@ -6725,7 +6725,7 @@
6725
6725
  "text": ";"
6726
6726
  }
6727
6727
  ],
6728
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
6728
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
6729
6729
  "returnTypeTokenRange": {
6730
6730
  "startIndex": 5,
6731
6731
  "endIndex": 6
@@ -7140,7 +7140,7 @@
7140
7140
  "text": ";"
7141
7141
  }
7142
7142
  ],
7143
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
7143
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
7144
7144
  "returnTypeTokenRange": {
7145
7145
  "startIndex": 3,
7146
7146
  "endIndex": 4
@@ -7510,6 +7510,41 @@
7510
7510
  ],
7511
7511
  "name": "cylinderMesh"
7512
7512
  },
7513
+ {
7514
+ "kind": "TypeAlias",
7515
+ "canonicalReference": "@zylem/game-lib!DebugEntityResolver:type",
7516
+ "docComment": "/**\n * Resolves a UUID to the live entity owned by the active stage.\n */\n",
7517
+ "excerptTokens": [
7518
+ {
7519
+ "kind": "Content",
7520
+ "text": "type DebugEntityResolver = "
7521
+ },
7522
+ {
7523
+ "kind": "Content",
7524
+ "text": "(uuid: string) => "
7525
+ },
7526
+ {
7527
+ "kind": "Reference",
7528
+ "text": "GameEntity",
7529
+ "canonicalReference": "@zylem/game-lib!GameEntity:class"
7530
+ },
7531
+ {
7532
+ "kind": "Content",
7533
+ "text": "<any> | null"
7534
+ },
7535
+ {
7536
+ "kind": "Content",
7537
+ "text": ";"
7538
+ }
7539
+ ],
7540
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
7541
+ "releaseTag": "Public",
7542
+ "name": "DebugEntityResolver",
7543
+ "typeTokenRange": {
7544
+ "startIndex": 1,
7545
+ "endIndex": 4
7546
+ }
7547
+ },
7513
7548
  {
7514
7549
  "kind": "Variable",
7515
7550
  "canonicalReference": "@zylem/game-lib!debugState:var",
@@ -7525,7 +7560,7 @@
7525
7560
  "canonicalReference": "@zylem/game-lib!~DebugState:interface"
7526
7561
  }
7527
7562
  ],
7528
- "fileUrlPath": "dist/debug-state-DRoeasG2.d.ts",
7563
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
7529
7564
  "isReadonly": true,
7530
7565
  "releaseTag": "Public",
7531
7566
  "name": "debugState",
@@ -7545,14 +7580,14 @@
7545
7580
  },
7546
7581
  {
7547
7582
  "kind": "Content",
7548
- "text": "'select' | 'translate' | 'rotate' | 'scale' | 'delete' | 'none'"
7583
+ "text": "'select' | 'translate' | 'rotate' | 'scale' | 'delete' | 'add' | 'none'"
7549
7584
  },
7550
7585
  {
7551
7586
  "kind": "Content",
7552
7587
  "text": ";"
7553
7588
  }
7554
7589
  ],
7555
- "fileUrlPath": "dist/debug-state-DRoeasG2.d.ts",
7590
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
7556
7591
  "releaseTag": "Public",
7557
7592
  "name": "DebugTools",
7558
7593
  "typeTokenRange": {
@@ -8019,7 +8054,7 @@
8019
8054
  "text": ";"
8020
8055
  }
8021
8056
  ],
8022
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
8057
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
8023
8058
  "releaseTag": "Public",
8024
8059
  "name": "DeviceProfile",
8025
8060
  "typeTokenRange": {
@@ -8260,240 +8295,6 @@
8260
8295
  "endIndex": 5
8261
8296
  }
8262
8297
  },
8263
- {
8264
- "kind": "Interface",
8265
- "canonicalReference": "@zylem/game-lib!EntityConfigPayload:interface",
8266
- "docComment": "/**\n * Payload for entity configuration sent to editor.\n */\n",
8267
- "excerptTokens": [
8268
- {
8269
- "kind": "Content",
8270
- "text": "interface EntityConfigPayload "
8271
- }
8272
- ],
8273
- "fileUrlPath": "dist/events.d.ts",
8274
- "releaseTag": "Public",
8275
- "name": "EntityConfigPayload",
8276
- "preserveMemberOrder": false,
8277
- "members": [
8278
- {
8279
- "kind": "PropertySignature",
8280
- "canonicalReference": "@zylem/game-lib!EntityConfigPayload#bounds:member",
8281
- "docComment": "/**\n * World-space AABB size used for thumbnail rulers.\n */\n",
8282
- "excerptTokens": [
8283
- {
8284
- "kind": "Content",
8285
- "text": "bounds?: "
8286
- },
8287
- {
8288
- "kind": "Content",
8289
- "text": "{\n width: number;\n height: number;\n depth: number;\n }"
8290
- },
8291
- {
8292
- "kind": "Content",
8293
- "text": ";"
8294
- }
8295
- ],
8296
- "isReadonly": false,
8297
- "isOptional": true,
8298
- "releaseTag": "Public",
8299
- "name": "bounds",
8300
- "propertyTypeTokenRange": {
8301
- "startIndex": 1,
8302
- "endIndex": 2
8303
- }
8304
- },
8305
- {
8306
- "kind": "PropertySignature",
8307
- "canonicalReference": "@zylem/game-lib!EntityConfigPayload#name:member",
8308
- "docComment": "",
8309
- "excerptTokens": [
8310
- {
8311
- "kind": "Content",
8312
- "text": "name: "
8313
- },
8314
- {
8315
- "kind": "Content",
8316
- "text": "string"
8317
- },
8318
- {
8319
- "kind": "Content",
8320
- "text": ";"
8321
- }
8322
- ],
8323
- "isReadonly": false,
8324
- "isOptional": false,
8325
- "releaseTag": "Public",
8326
- "name": "name",
8327
- "propertyTypeTokenRange": {
8328
- "startIndex": 1,
8329
- "endIndex": 2
8330
- }
8331
- },
8332
- {
8333
- "kind": "PropertySignature",
8334
- "canonicalReference": "@zylem/game-lib!EntityConfigPayload#position:member",
8335
- "docComment": "",
8336
- "excerptTokens": [
8337
- {
8338
- "kind": "Content",
8339
- "text": "position: "
8340
- },
8341
- {
8342
- "kind": "Content",
8343
- "text": "{\n x: number;\n y: number;\n z: number;\n }"
8344
- },
8345
- {
8346
- "kind": "Content",
8347
- "text": ";"
8348
- }
8349
- ],
8350
- "isReadonly": false,
8351
- "isOptional": false,
8352
- "releaseTag": "Public",
8353
- "name": "position",
8354
- "propertyTypeTokenRange": {
8355
- "startIndex": 1,
8356
- "endIndex": 2
8357
- }
8358
- },
8359
- {
8360
- "kind": "PropertySignature",
8361
- "canonicalReference": "@zylem/game-lib!EntityConfigPayload#rotation:member",
8362
- "docComment": "",
8363
- "excerptTokens": [
8364
- {
8365
- "kind": "Content",
8366
- "text": "rotation: "
8367
- },
8368
- {
8369
- "kind": "Content",
8370
- "text": "{\n x: number;\n y: number;\n z: number;\n }"
8371
- },
8372
- {
8373
- "kind": "Content",
8374
- "text": ";"
8375
- }
8376
- ],
8377
- "isReadonly": false,
8378
- "isOptional": false,
8379
- "releaseTag": "Public",
8380
- "name": "rotation",
8381
- "propertyTypeTokenRange": {
8382
- "startIndex": 1,
8383
- "endIndex": 2
8384
- }
8385
- },
8386
- {
8387
- "kind": "PropertySignature",
8388
- "canonicalReference": "@zylem/game-lib!EntityConfigPayload#scale:member",
8389
- "docComment": "",
8390
- "excerptTokens": [
8391
- {
8392
- "kind": "Content",
8393
- "text": "scale: "
8394
- },
8395
- {
8396
- "kind": "Content",
8397
- "text": "{\n x: number;\n y: number;\n z: number;\n }"
8398
- },
8399
- {
8400
- "kind": "Content",
8401
- "text": ";"
8402
- }
8403
- ],
8404
- "isReadonly": false,
8405
- "isOptional": false,
8406
- "releaseTag": "Public",
8407
- "name": "scale",
8408
- "propertyTypeTokenRange": {
8409
- "startIndex": 1,
8410
- "endIndex": 2
8411
- }
8412
- },
8413
- {
8414
- "kind": "PropertySignature",
8415
- "canonicalReference": "@zylem/game-lib!EntityConfigPayload#thumbnail:member",
8416
- "docComment": "/**\n * PNG data URL of a framed entity preview, when available.\n */\n",
8417
- "excerptTokens": [
8418
- {
8419
- "kind": "Content",
8420
- "text": "thumbnail?: "
8421
- },
8422
- {
8423
- "kind": "Content",
8424
- "text": "string | null"
8425
- },
8426
- {
8427
- "kind": "Content",
8428
- "text": ";"
8429
- }
8430
- ],
8431
- "isReadonly": false,
8432
- "isOptional": true,
8433
- "releaseTag": "Public",
8434
- "name": "thumbnail",
8435
- "propertyTypeTokenRange": {
8436
- "startIndex": 1,
8437
- "endIndex": 2
8438
- }
8439
- },
8440
- {
8441
- "kind": "PropertySignature",
8442
- "canonicalReference": "@zylem/game-lib!EntityConfigPayload#type:member",
8443
- "docComment": "",
8444
- "excerptTokens": [
8445
- {
8446
- "kind": "Content",
8447
- "text": "type: "
8448
- },
8449
- {
8450
- "kind": "Content",
8451
- "text": "string"
8452
- },
8453
- {
8454
- "kind": "Content",
8455
- "text": ";"
8456
- }
8457
- ],
8458
- "isReadonly": false,
8459
- "isOptional": false,
8460
- "releaseTag": "Public",
8461
- "name": "type",
8462
- "propertyTypeTokenRange": {
8463
- "startIndex": 1,
8464
- "endIndex": 2
8465
- }
8466
- },
8467
- {
8468
- "kind": "PropertySignature",
8469
- "canonicalReference": "@zylem/game-lib!EntityConfigPayload#uuid:member",
8470
- "docComment": "",
8471
- "excerptTokens": [
8472
- {
8473
- "kind": "Content",
8474
- "text": "uuid: "
8475
- },
8476
- {
8477
- "kind": "Content",
8478
- "text": "string"
8479
- },
8480
- {
8481
- "kind": "Content",
8482
- "text": ";"
8483
- }
8484
- ],
8485
- "isReadonly": false,
8486
- "isOptional": false,
8487
- "releaseTag": "Public",
8488
- "name": "uuid",
8489
- "propertyTypeTokenRange": {
8490
- "startIndex": 1,
8491
- "endIndex": 2
8492
- }
8493
- }
8494
- ],
8495
- "extendsTokenRanges": []
8496
- },
8497
8298
  {
8498
8299
  "kind": "TypeAlias",
8499
8300
  "canonicalReference": "@zylem/game-lib!EntityEvents:type",
@@ -9723,6 +9524,14 @@
9723
9524
  "kind": "Content",
9724
9525
  "text": "number"
9725
9526
  },
9527
+ {
9528
+ "kind": "Content",
9529
+ "text": ", maxEntries?: "
9530
+ },
9531
+ {
9532
+ "kind": "Content",
9533
+ "text": "number"
9534
+ },
9726
9535
  {
9727
9536
  "kind": "Content",
9728
9537
  "text": ");"
@@ -9739,9 +9548,47 @@
9739
9548
  "endIndex": 2
9740
9549
  },
9741
9550
  "isOptional": true
9551
+ },
9552
+ {
9553
+ "parameterName": "maxEntries",
9554
+ "parameterTypeTokenRange": {
9555
+ "startIndex": 3,
9556
+ "endIndex": 4
9557
+ },
9558
+ "isOptional": true
9742
9559
  }
9743
9560
  ]
9744
9561
  },
9562
+ {
9563
+ "kind": "Property",
9564
+ "canonicalReference": "@zylem/game-lib!EntityThumbnailCache#cacheSize:member",
9565
+ "docComment": "/**\n * Number of thumbnails currently cached.\n */\n",
9566
+ "excerptTokens": [
9567
+ {
9568
+ "kind": "Content",
9569
+ "text": "get cacheSize(): "
9570
+ },
9571
+ {
9572
+ "kind": "Content",
9573
+ "text": "number"
9574
+ },
9575
+ {
9576
+ "kind": "Content",
9577
+ "text": ";"
9578
+ }
9579
+ ],
9580
+ "isReadonly": true,
9581
+ "isOptional": false,
9582
+ "releaseTag": "Public",
9583
+ "name": "cacheSize",
9584
+ "propertyTypeTokenRange": {
9585
+ "startIndex": 1,
9586
+ "endIndex": 2
9587
+ },
9588
+ "isStatic": false,
9589
+ "isProtected": false,
9590
+ "isAbstract": false
9591
+ },
9745
9592
  {
9746
9593
  "kind": "Method",
9747
9594
  "canonicalReference": "@zylem/game-lib!EntityThumbnailCache#clear:member(1)",
@@ -9776,7 +9623,7 @@
9776
9623
  {
9777
9624
  "kind": "Method",
9778
9625
  "canonicalReference": "@zylem/game-lib!EntityThumbnailCache#ensure:member(1)",
9779
- "docComment": "/**\n * Return a cached thumbnail or generate one asynchronously.\n */\n",
9626
+ "docComment": "/**\n * Return a cached thumbnail, or schedule one. Renders are throttled to {@link MAX_CONCURRENT_RENDERS} at a time behind a bounded queue, so a burst of spawns cannot flood the renderer with pixel readbacks.\n */\n",
9780
9627
  "excerptTokens": [
9781
9628
  {
9782
9629
  "kind": "Content",
@@ -9957,6 +9804,36 @@
9957
9804
  "isAbstract": false,
9958
9805
  "name": "invalidate"
9959
9806
  },
9807
+ {
9808
+ "kind": "Property",
9809
+ "canonicalReference": "@zylem/game-lib!EntityThumbnailCache#pendingCount:member",
9810
+ "docComment": "/**\n * Entities waiting for a render slot.\n */\n",
9811
+ "excerptTokens": [
9812
+ {
9813
+ "kind": "Content",
9814
+ "text": "get pendingCount(): "
9815
+ },
9816
+ {
9817
+ "kind": "Content",
9818
+ "text": "number"
9819
+ },
9820
+ {
9821
+ "kind": "Content",
9822
+ "text": ";"
9823
+ }
9824
+ ],
9825
+ "isReadonly": true,
9826
+ "isOptional": false,
9827
+ "releaseTag": "Public",
9828
+ "name": "pendingCount",
9829
+ "propertyTypeTokenRange": {
9830
+ "startIndex": 1,
9831
+ "endIndex": 2
9832
+ },
9833
+ "isStatic": false,
9834
+ "isProtected": false,
9835
+ "isAbstract": false
9836
+ },
9960
9837
  {
9961
9838
  "kind": "Method",
9962
9839
  "canonicalReference": "@zylem/game-lib!EntityThumbnailCache#setRenderer:member(1)",
@@ -10155,7 +10032,7 @@
10155
10032
  {
10156
10033
  "kind": "PropertySignature",
10157
10034
  "canonicalReference": "@zylem/game-lib!EntityThumbnailResult#dataUrl:member",
10158
- "docComment": "",
10035
+ "docComment": "/**\n * Preview image URL. Blob URL when the payload worker is available (encoded off-thread), PNG data URL on the synchronous fallback path.\n */\n",
10159
10036
  "excerptTokens": [
10160
10037
  {
10161
10038
  "kind": "Content",
@@ -11353,7 +11230,7 @@
11353
11230
  "text": "interface FirstPersonOptions "
11354
11231
  }
11355
11232
  ],
11356
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
11233
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
11357
11234
  "releaseTag": "Public",
11358
11235
  "name": "FirstPersonOptions",
11359
11236
  "preserveMemberOrder": false,
@@ -11625,7 +11502,7 @@
11625
11502
  "text": " "
11626
11503
  }
11627
11504
  ],
11628
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
11505
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
11629
11506
  "releaseTag": "Public",
11630
11507
  "isAbstract": false,
11631
11508
  "name": "FirstPersonPerspective",
@@ -12268,7 +12145,7 @@
12268
12145
  "text": "interface Fixed2DOptions "
12269
12146
  }
12270
12147
  ],
12271
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
12148
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
12272
12149
  "releaseTag": "Public",
12273
12150
  "name": "Fixed2DOptions",
12274
12151
  "preserveMemberOrder": false,
@@ -12350,7 +12227,7 @@
12350
12227
  "text": " "
12351
12228
  }
12352
12229
  ],
12353
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
12230
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
12354
12231
  "releaseTag": "Public",
12355
12232
  "isAbstract": false,
12356
12233
  "name": "Fixed2DPerspective",
@@ -12711,7 +12588,7 @@
12711
12588
  "text": " "
12712
12589
  }
12713
12590
  ],
12714
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
12591
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
12715
12592
  "releaseTag": "Public",
12716
12593
  "typeParameters": [
12717
12594
  {
@@ -14247,25 +14124,862 @@
14247
14124
  "overloadIndex": 1,
14248
14125
  "parameters": [
14249
14126
  {
14250
- "parameterName": "deltaTime",
14127
+ "parameterName": "deltaTime",
14128
+ "parameterTypeTokenRange": {
14129
+ "startIndex": 1,
14130
+ "endIndex": 2
14131
+ },
14132
+ "isOptional": true
14133
+ }
14134
+ ],
14135
+ "isOptional": false,
14136
+ "isAbstract": false,
14137
+ "name": "step"
14138
+ }
14139
+ ],
14140
+ "implementsTokenRanges": [
14141
+ {
14142
+ "startIndex": 3,
14143
+ "endIndex": 5
14144
+ }
14145
+ ]
14146
+ },
14147
+ {
14148
+ "kind": "Class",
14149
+ "canonicalReference": "@zylem/game-lib!GameBridge:class",
14150
+ "docComment": "",
14151
+ "excerptTokens": [
14152
+ {
14153
+ "kind": "Content",
14154
+ "text": "declare class GameBridge "
14155
+ }
14156
+ ],
14157
+ "fileUrlPath": "dist/bridge.d.ts",
14158
+ "releaseTag": "Public",
14159
+ "isAbstract": false,
14160
+ "name": "GameBridge",
14161
+ "preserveMemberOrder": false,
14162
+ "members": [
14163
+ {
14164
+ "kind": "Constructor",
14165
+ "canonicalReference": "@zylem/game-lib!GameBridge:constructor(1)",
14166
+ "docComment": "/**\n * Constructs a new instance of the `GameBridge` class\n */\n",
14167
+ "excerptTokens": [
14168
+ {
14169
+ "kind": "Content",
14170
+ "text": "constructor();"
14171
+ }
14172
+ ],
14173
+ "releaseTag": "Public",
14174
+ "isProtected": false,
14175
+ "overloadIndex": 1,
14176
+ "parameters": []
14177
+ },
14178
+ {
14179
+ "kind": "Method",
14180
+ "canonicalReference": "@zylem/game-lib!GameBridge#connect:member(1)",
14181
+ "docComment": "/**\n * Subscribe to editor commands and announce the game side as ready.\n *\n * @param host - Live-game context for entity/stage lookups\n *\n * @param announceTarget - DOM node the `zylem:bridge:ready` event bubbles from\n */\n",
14182
+ "excerptTokens": [
14183
+ {
14184
+ "kind": "Content",
14185
+ "text": "connect(host: "
14186
+ },
14187
+ {
14188
+ "kind": "Reference",
14189
+ "text": "GameBridgeHost",
14190
+ "canonicalReference": "@zylem/game-lib!GameBridgeHost:interface"
14191
+ },
14192
+ {
14193
+ "kind": "Content",
14194
+ "text": ", announceTarget?: "
14195
+ },
14196
+ {
14197
+ "kind": "Reference",
14198
+ "text": "EventTarget",
14199
+ "canonicalReference": "!EventTarget:interface"
14200
+ },
14201
+ {
14202
+ "kind": "Content",
14203
+ "text": "): "
14204
+ },
14205
+ {
14206
+ "kind": "Content",
14207
+ "text": "void"
14208
+ },
14209
+ {
14210
+ "kind": "Content",
14211
+ "text": ";"
14212
+ }
14213
+ ],
14214
+ "isStatic": false,
14215
+ "returnTypeTokenRange": {
14216
+ "startIndex": 5,
14217
+ "endIndex": 6
14218
+ },
14219
+ "releaseTag": "Public",
14220
+ "isProtected": false,
14221
+ "overloadIndex": 1,
14222
+ "parameters": [
14223
+ {
14224
+ "parameterName": "host",
14225
+ "parameterTypeTokenRange": {
14226
+ "startIndex": 1,
14227
+ "endIndex": 2
14228
+ },
14229
+ "isOptional": false
14230
+ },
14231
+ {
14232
+ "parameterName": "announceTarget",
14233
+ "parameterTypeTokenRange": {
14234
+ "startIndex": 3,
14235
+ "endIndex": 4
14236
+ },
14237
+ "isOptional": true
14238
+ }
14239
+ ],
14240
+ "isOptional": false,
14241
+ "isAbstract": false,
14242
+ "name": "connect"
14243
+ },
14244
+ {
14245
+ "kind": "Method",
14246
+ "canonicalReference": "@zylem/game-lib!GameBridge#disconnect:member(1)",
14247
+ "docComment": "",
14248
+ "excerptTokens": [
14249
+ {
14250
+ "kind": "Content",
14251
+ "text": "disconnect(): "
14252
+ },
14253
+ {
14254
+ "kind": "Content",
14255
+ "text": "void"
14256
+ },
14257
+ {
14258
+ "kind": "Content",
14259
+ "text": ";"
14260
+ }
14261
+ ],
14262
+ "isStatic": false,
14263
+ "returnTypeTokenRange": {
14264
+ "startIndex": 1,
14265
+ "endIndex": 2
14266
+ },
14267
+ "releaseTag": "Public",
14268
+ "isProtected": false,
14269
+ "overloadIndex": 1,
14270
+ "parameters": [],
14271
+ "isOptional": false,
14272
+ "isAbstract": false,
14273
+ "name": "disconnect"
14274
+ },
14275
+ {
14276
+ "kind": "Method",
14277
+ "canonicalReference": "@zylem/game-lib!GameBridge#onEditorAttached:member(1)",
14278
+ "docComment": "/**\n * Run a callback when an editor first subscribes to entity data, so the game can backfill state produced while nothing was listening.\n *\n * @returns An unsubscribe function.\n */\n",
14279
+ "excerptTokens": [
14280
+ {
14281
+ "kind": "Content",
14282
+ "text": "onEditorAttached(callback: "
14283
+ },
14284
+ {
14285
+ "kind": "Content",
14286
+ "text": "() => void"
14287
+ },
14288
+ {
14289
+ "kind": "Content",
14290
+ "text": "): "
14291
+ },
14292
+ {
14293
+ "kind": "Content",
14294
+ "text": "() => void"
14295
+ },
14296
+ {
14297
+ "kind": "Content",
14298
+ "text": ";"
14299
+ }
14300
+ ],
14301
+ "isStatic": false,
14302
+ "returnTypeTokenRange": {
14303
+ "startIndex": 3,
14304
+ "endIndex": 4
14305
+ },
14306
+ "releaseTag": "Public",
14307
+ "isProtected": false,
14308
+ "overloadIndex": 1,
14309
+ "parameters": [
14310
+ {
14311
+ "parameterName": "callback",
14312
+ "parameterTypeTokenRange": {
14313
+ "startIndex": 1,
14314
+ "endIndex": 2
14315
+ },
14316
+ "isOptional": false
14317
+ }
14318
+ ],
14319
+ "isOptional": false,
14320
+ "isAbstract": false,
14321
+ "name": "onEditorAttached"
14322
+ },
14323
+ {
14324
+ "kind": "Method",
14325
+ "canonicalReference": "@zylem/game-lib!GameBridge#publishConfig:member(1)",
14326
+ "docComment": "",
14327
+ "excerptTokens": [
14328
+ {
14329
+ "kind": "Content",
14330
+ "text": "publishConfig(config: "
14331
+ },
14332
+ {
14333
+ "kind": "Reference",
14334
+ "text": "GameConfigPayload",
14335
+ "canonicalReference": "@zylem/bridge!GameConfigPayload:interface"
14336
+ },
14337
+ {
14338
+ "kind": "Content",
14339
+ "text": "): "
14340
+ },
14341
+ {
14342
+ "kind": "Content",
14343
+ "text": "void"
14344
+ },
14345
+ {
14346
+ "kind": "Content",
14347
+ "text": ";"
14348
+ }
14349
+ ],
14350
+ "isStatic": false,
14351
+ "returnTypeTokenRange": {
14352
+ "startIndex": 3,
14353
+ "endIndex": 4
14354
+ },
14355
+ "releaseTag": "Public",
14356
+ "isProtected": false,
14357
+ "overloadIndex": 1,
14358
+ "parameters": [
14359
+ {
14360
+ "parameterName": "config",
14361
+ "parameterTypeTokenRange": {
14362
+ "startIndex": 1,
14363
+ "endIndex": 2
14364
+ },
14365
+ "isOptional": false
14366
+ }
14367
+ ],
14368
+ "isOptional": false,
14369
+ "isAbstract": false,
14370
+ "name": "publishConfig"
14371
+ },
14372
+ {
14373
+ "kind": "Method",
14374
+ "canonicalReference": "@zylem/game-lib!GameBridge#publishLoading:member(1)",
14375
+ "docComment": "",
14376
+ "excerptTokens": [
14377
+ {
14378
+ "kind": "Content",
14379
+ "text": "publishLoading(payload: "
14380
+ },
14381
+ {
14382
+ "kind": "Reference",
14383
+ "text": "GameLoadingPayload",
14384
+ "canonicalReference": "@zylem/bridge!GameLoadingPayload:interface"
14385
+ },
14386
+ {
14387
+ "kind": "Content",
14388
+ "text": "): "
14389
+ },
14390
+ {
14391
+ "kind": "Content",
14392
+ "text": "void"
14393
+ },
14394
+ {
14395
+ "kind": "Content",
14396
+ "text": ";"
14397
+ }
14398
+ ],
14399
+ "isStatic": false,
14400
+ "returnTypeTokenRange": {
14401
+ "startIndex": 3,
14402
+ "endIndex": 4
14403
+ },
14404
+ "releaseTag": "Public",
14405
+ "isProtected": false,
14406
+ "overloadIndex": 1,
14407
+ "parameters": [
14408
+ {
14409
+ "parameterName": "payload",
14410
+ "parameterTypeTokenRange": {
14411
+ "startIndex": 1,
14412
+ "endIndex": 2
14413
+ },
14414
+ "isOptional": false
14415
+ }
14416
+ ],
14417
+ "isOptional": false,
14418
+ "isAbstract": false,
14419
+ "name": "publishLoading"
14420
+ },
14421
+ {
14422
+ "kind": "Method",
14423
+ "canonicalReference": "@zylem/game-lib!GameBridge#publishNotice:member(1)",
14424
+ "docComment": "/**\n * Surface a diagnostic message in the editor console.\n */\n",
14425
+ "excerptTokens": [
14426
+ {
14427
+ "kind": "Content",
14428
+ "text": "publishNotice(level: "
14429
+ },
14430
+ {
14431
+ "kind": "Reference",
14432
+ "text": "GameNoticePayload",
14433
+ "canonicalReference": "@zylem/bridge!GameNoticePayload:interface"
14434
+ },
14435
+ {
14436
+ "kind": "Content",
14437
+ "text": "['level']"
14438
+ },
14439
+ {
14440
+ "kind": "Content",
14441
+ "text": ", message: "
14442
+ },
14443
+ {
14444
+ "kind": "Content",
14445
+ "text": "string"
14446
+ },
14447
+ {
14448
+ "kind": "Content",
14449
+ "text": "): "
14450
+ },
14451
+ {
14452
+ "kind": "Content",
14453
+ "text": "void"
14454
+ },
14455
+ {
14456
+ "kind": "Content",
14457
+ "text": ";"
14458
+ }
14459
+ ],
14460
+ "isStatic": false,
14461
+ "returnTypeTokenRange": {
14462
+ "startIndex": 6,
14463
+ "endIndex": 7
14464
+ },
14465
+ "releaseTag": "Public",
14466
+ "isProtected": false,
14467
+ "overloadIndex": 1,
14468
+ "parameters": [
14469
+ {
14470
+ "parameterName": "level",
14471
+ "parameterTypeTokenRange": {
14472
+ "startIndex": 1,
14473
+ "endIndex": 3
14474
+ },
14475
+ "isOptional": false
14476
+ },
14477
+ {
14478
+ "parameterName": "message",
14479
+ "parameterTypeTokenRange": {
14480
+ "startIndex": 4,
14481
+ "endIndex": 5
14482
+ },
14483
+ "isOptional": false
14484
+ }
14485
+ ],
14486
+ "isOptional": false,
14487
+ "isAbstract": false,
14488
+ "name": "publishNotice"
14489
+ },
14490
+ {
14491
+ "kind": "Method",
14492
+ "canonicalReference": "@zylem/game-lib!GameBridge#publishStageSnapshot:member(1)",
14493
+ "docComment": "",
14494
+ "excerptTokens": [
14495
+ {
14496
+ "kind": "Content",
14497
+ "text": "publishStageSnapshot(snapshot: "
14498
+ },
14499
+ {
14500
+ "kind": "Reference",
14501
+ "text": "StageSnapshotPayload",
14502
+ "canonicalReference": "@zylem/bridge!StageSnapshotPayload:interface"
14503
+ },
14504
+ {
14505
+ "kind": "Content",
14506
+ "text": "): "
14507
+ },
14508
+ {
14509
+ "kind": "Content",
14510
+ "text": "void"
14511
+ },
14512
+ {
14513
+ "kind": "Content",
14514
+ "text": ";"
14515
+ }
14516
+ ],
14517
+ "isStatic": false,
14518
+ "returnTypeTokenRange": {
14519
+ "startIndex": 3,
14520
+ "endIndex": 4
14521
+ },
14522
+ "releaseTag": "Public",
14523
+ "isProtected": false,
14524
+ "overloadIndex": 1,
14525
+ "parameters": [
14526
+ {
14527
+ "parameterName": "snapshot",
14528
+ "parameterTypeTokenRange": {
14529
+ "startIndex": 1,
14530
+ "endIndex": 2
14531
+ },
14532
+ "isOptional": false
14533
+ }
14534
+ ],
14535
+ "isOptional": false,
14536
+ "isAbstract": false,
14537
+ "name": "publishStageSnapshot"
14538
+ },
14539
+ {
14540
+ "kind": "Method",
14541
+ "canonicalReference": "@zylem/game-lib!GameBridge#publishStatus:member(1)",
14542
+ "docComment": "",
14543
+ "excerptTokens": [
14544
+ {
14545
+ "kind": "Content",
14546
+ "text": "publishStatus(status: "
14547
+ },
14548
+ {
14549
+ "kind": "Content",
14550
+ "text": "{\n paused?: boolean;\n debug?: boolean;\n }"
14551
+ },
14552
+ {
14553
+ "kind": "Content",
14554
+ "text": "): "
14555
+ },
14556
+ {
14557
+ "kind": "Content",
14558
+ "text": "void"
14559
+ },
14560
+ {
14561
+ "kind": "Content",
14562
+ "text": ";"
14563
+ }
14564
+ ],
14565
+ "isStatic": false,
14566
+ "returnTypeTokenRange": {
14567
+ "startIndex": 3,
14568
+ "endIndex": 4
14569
+ },
14570
+ "releaseTag": "Public",
14571
+ "isProtected": false,
14572
+ "overloadIndex": 1,
14573
+ "parameters": [
14574
+ {
14575
+ "parameterName": "status",
14576
+ "parameterTypeTokenRange": {
14577
+ "startIndex": 1,
14578
+ "endIndex": 2
14579
+ },
14580
+ "isOptional": false
14581
+ }
14582
+ ],
14583
+ "isOptional": false,
14584
+ "isAbstract": false,
14585
+ "name": "publishStatus"
14586
+ },
14587
+ {
14588
+ "kind": "Method",
14589
+ "canonicalReference": "@zylem/game-lib!GameBridge#publishVariable:member(1)",
14590
+ "docComment": "",
14591
+ "excerptTokens": [
14592
+ {
14593
+ "kind": "Content",
14594
+ "text": "publishVariable(payload: "
14595
+ },
14596
+ {
14597
+ "kind": "Reference",
14598
+ "text": "GameVariablePayload",
14599
+ "canonicalReference": "@zylem/bridge!GameVariablePayload:interface"
14600
+ },
14601
+ {
14602
+ "kind": "Content",
14603
+ "text": "): "
14604
+ },
14605
+ {
14606
+ "kind": "Content",
14607
+ "text": "void"
14608
+ },
14609
+ {
14610
+ "kind": "Content",
14611
+ "text": ";"
14612
+ }
14613
+ ],
14614
+ "isStatic": false,
14615
+ "returnTypeTokenRange": {
14616
+ "startIndex": 3,
14617
+ "endIndex": 4
14618
+ },
14619
+ "releaseTag": "Public",
14620
+ "isProtected": false,
14621
+ "overloadIndex": 1,
14622
+ "parameters": [
14623
+ {
14624
+ "parameterName": "payload",
14625
+ "parameterTypeTokenRange": {
14626
+ "startIndex": 1,
14627
+ "endIndex": 2
14628
+ },
14629
+ "isOptional": false
14630
+ }
14631
+ ],
14632
+ "isOptional": false,
14633
+ "isAbstract": false,
14634
+ "name": "publishVariable"
14635
+ },
14636
+ {
14637
+ "kind": "Method",
14638
+ "canonicalReference": "@zylem/game-lib!GameBridge#queueEntityRemoved:member(1)",
14639
+ "docComment": "/**\n * RAF-coalesced entity removal stream.\n */\n",
14640
+ "excerptTokens": [
14641
+ {
14642
+ "kind": "Content",
14643
+ "text": "queueEntityRemoved(uuids: "
14644
+ },
14645
+ {
14646
+ "kind": "Content",
14647
+ "text": "string[]"
14648
+ },
14649
+ {
14650
+ "kind": "Content",
14651
+ "text": "): "
14652
+ },
14653
+ {
14654
+ "kind": "Content",
14655
+ "text": "void"
14656
+ },
14657
+ {
14658
+ "kind": "Content",
14659
+ "text": ";"
14660
+ }
14661
+ ],
14662
+ "isStatic": false,
14663
+ "returnTypeTokenRange": {
14664
+ "startIndex": 3,
14665
+ "endIndex": 4
14666
+ },
14667
+ "releaseTag": "Public",
14668
+ "isProtected": false,
14669
+ "overloadIndex": 1,
14670
+ "parameters": [
14671
+ {
14672
+ "parameterName": "uuids",
14251
14673
  "parameterTypeTokenRange": {
14252
14674
  "startIndex": 1,
14253
14675
  "endIndex": 2
14254
14676
  },
14255
- "isOptional": true
14677
+ "isOptional": false
14256
14678
  }
14257
14679
  ],
14258
14680
  "isOptional": false,
14259
14681
  "isAbstract": false,
14260
- "name": "step"
14682
+ "name": "queueEntityRemoved"
14683
+ },
14684
+ {
14685
+ "kind": "Method",
14686
+ "canonicalReference": "@zylem/game-lib!GameBridge#queueEntityUpsert:member(1)",
14687
+ "docComment": "/**\n * RAF-coalesced entity add/update stream; merged by uuid per frame.\n */\n",
14688
+ "excerptTokens": [
14689
+ {
14690
+ "kind": "Content",
14691
+ "text": "queueEntityUpsert(entities: "
14692
+ },
14693
+ {
14694
+ "kind": "Reference",
14695
+ "text": "EntitySummaryPayload",
14696
+ "canonicalReference": "@zylem/bridge!EntitySummaryPayload:interface"
14697
+ },
14698
+ {
14699
+ "kind": "Content",
14700
+ "text": "[]"
14701
+ },
14702
+ {
14703
+ "kind": "Content",
14704
+ "text": "): "
14705
+ },
14706
+ {
14707
+ "kind": "Content",
14708
+ "text": "void"
14709
+ },
14710
+ {
14711
+ "kind": "Content",
14712
+ "text": ";"
14713
+ }
14714
+ ],
14715
+ "isStatic": false,
14716
+ "returnTypeTokenRange": {
14717
+ "startIndex": 4,
14718
+ "endIndex": 5
14719
+ },
14720
+ "releaseTag": "Public",
14721
+ "isProtected": false,
14722
+ "overloadIndex": 1,
14723
+ "parameters": [
14724
+ {
14725
+ "parameterName": "entities",
14726
+ "parameterTypeTokenRange": {
14727
+ "startIndex": 1,
14728
+ "endIndex": 3
14729
+ },
14730
+ "isOptional": false
14731
+ }
14732
+ ],
14733
+ "isOptional": false,
14734
+ "isAbstract": false,
14735
+ "name": "queueEntityUpsert"
14736
+ },
14737
+ {
14738
+ "kind": "Method",
14739
+ "canonicalReference": "@zylem/game-lib!GameBridge#queueThumbnails:member(1)",
14740
+ "docComment": "/**\n * RAF-coalesced thumbnail stream; merged by uuid per frame.\n */\n",
14741
+ "excerptTokens": [
14742
+ {
14743
+ "kind": "Content",
14744
+ "text": "queueThumbnails(thumbnails: "
14745
+ },
14746
+ {
14747
+ "kind": "Reference",
14748
+ "text": "EntityThumbnailPayload",
14749
+ "canonicalReference": "@zylem/bridge!EntityThumbnailPayload:interface"
14750
+ },
14751
+ {
14752
+ "kind": "Content",
14753
+ "text": "[]"
14754
+ },
14755
+ {
14756
+ "kind": "Content",
14757
+ "text": "): "
14758
+ },
14759
+ {
14760
+ "kind": "Content",
14761
+ "text": "void"
14762
+ },
14763
+ {
14764
+ "kind": "Content",
14765
+ "text": ";"
14766
+ }
14767
+ ],
14768
+ "isStatic": false,
14769
+ "returnTypeTokenRange": {
14770
+ "startIndex": 4,
14771
+ "endIndex": 5
14772
+ },
14773
+ "releaseTag": "Public",
14774
+ "isProtected": false,
14775
+ "overloadIndex": 1,
14776
+ "parameters": [
14777
+ {
14778
+ "parameterName": "thumbnails",
14779
+ "parameterTypeTokenRange": {
14780
+ "startIndex": 1,
14781
+ "endIndex": 3
14782
+ },
14783
+ "isOptional": false
14784
+ }
14785
+ ],
14786
+ "isOptional": false,
14787
+ "isAbstract": false,
14788
+ "name": "queueThumbnails"
14789
+ },
14790
+ {
14791
+ "kind": "Method",
14792
+ "canonicalReference": "@zylem/game-lib!GameBridge#wantsEntityUpdates:member(1)",
14793
+ "docComment": "/**\n * Whether anything is listening for entity list updates. Building entity summaries is pure editor overhead, so publishers skip it when no editor is attached.\n */\n",
14794
+ "excerptTokens": [
14795
+ {
14796
+ "kind": "Content",
14797
+ "text": "wantsEntityUpdates(): "
14798
+ },
14799
+ {
14800
+ "kind": "Content",
14801
+ "text": "boolean"
14802
+ },
14803
+ {
14804
+ "kind": "Content",
14805
+ "text": ";"
14806
+ }
14807
+ ],
14808
+ "isStatic": false,
14809
+ "returnTypeTokenRange": {
14810
+ "startIndex": 1,
14811
+ "endIndex": 2
14812
+ },
14813
+ "releaseTag": "Public",
14814
+ "isProtected": false,
14815
+ "overloadIndex": 1,
14816
+ "parameters": [],
14817
+ "isOptional": false,
14818
+ "isAbstract": false,
14819
+ "name": "wantsEntityUpdates"
14820
+ },
14821
+ {
14822
+ "kind": "Method",
14823
+ "canonicalReference": "@zylem/game-lib!GameBridge#wantsThumbnails:member(1)",
14824
+ "docComment": "/**\n * Whether anything is listening for thumbnails. Each thumbnail costs an offscreen render plus a pixel readback on the renderer the game draws with, so this gate matters far more than the others.\n */\n",
14825
+ "excerptTokens": [
14826
+ {
14827
+ "kind": "Content",
14828
+ "text": "wantsThumbnails(): "
14829
+ },
14830
+ {
14831
+ "kind": "Content",
14832
+ "text": "boolean"
14833
+ },
14834
+ {
14835
+ "kind": "Content",
14836
+ "text": ";"
14837
+ }
14838
+ ],
14839
+ "isStatic": false,
14840
+ "returnTypeTokenRange": {
14841
+ "startIndex": 1,
14842
+ "endIndex": 2
14843
+ },
14844
+ "releaseTag": "Public",
14845
+ "isProtected": false,
14846
+ "overloadIndex": 1,
14847
+ "parameters": [],
14848
+ "isOptional": false,
14849
+ "isAbstract": false,
14850
+ "name": "wantsThumbnails"
14261
14851
  }
14262
14852
  ],
14263
- "implementsTokenRanges": [
14853
+ "implementsTokenRanges": []
14854
+ },
14855
+ {
14856
+ "kind": "Interface",
14857
+ "canonicalReference": "@zylem/game-lib!GameBridgeHost:interface",
14858
+ "docComment": "/**\n * Host context supplied by the running game so bridge commands can act on live stage state without the bridge importing game internals.\n */\n",
14859
+ "excerptTokens": [
14264
14860
  {
14265
- "startIndex": 3,
14266
- "endIndex": 5
14861
+ "kind": "Content",
14862
+ "text": "interface GameBridgeHost "
14267
14863
  }
14268
- ]
14864
+ ],
14865
+ "fileUrlPath": "dist/bridge.d.ts",
14866
+ "releaseTag": "Public",
14867
+ "name": "GameBridgeHost",
14868
+ "preserveMemberOrder": false,
14869
+ "members": [
14870
+ {
14871
+ "kind": "MethodSignature",
14872
+ "canonicalReference": "@zylem/game-lib!GameBridgeHost#resolveEntity:member(1)",
14873
+ "docComment": "/**\n * Resolve a live entity by UUID from the current stage.\n */\n",
14874
+ "excerptTokens": [
14875
+ {
14876
+ "kind": "Content",
14877
+ "text": "resolveEntity(uuid: "
14878
+ },
14879
+ {
14880
+ "kind": "Content",
14881
+ "text": "string"
14882
+ },
14883
+ {
14884
+ "kind": "Content",
14885
+ "text": "): "
14886
+ },
14887
+ {
14888
+ "kind": "Reference",
14889
+ "text": "GameEntity",
14890
+ "canonicalReference": "@zylem/game-lib!GameEntity:class"
14891
+ },
14892
+ {
14893
+ "kind": "Content",
14894
+ "text": "<any> | null"
14895
+ },
14896
+ {
14897
+ "kind": "Content",
14898
+ "text": ";"
14899
+ }
14900
+ ],
14901
+ "isOptional": false,
14902
+ "returnTypeTokenRange": {
14903
+ "startIndex": 3,
14904
+ "endIndex": 5
14905
+ },
14906
+ "releaseTag": "Public",
14907
+ "overloadIndex": 1,
14908
+ "parameters": [
14909
+ {
14910
+ "parameterName": "uuid",
14911
+ "parameterTypeTokenRange": {
14912
+ "startIndex": 1,
14913
+ "endIndex": 2
14914
+ },
14915
+ "isOptional": false
14916
+ }
14917
+ ],
14918
+ "name": "resolveEntity"
14919
+ },
14920
+ {
14921
+ "kind": "MethodSignature",
14922
+ "canonicalReference": "@zylem/game-lib!GameBridgeHost#setStageVariable:member(1)",
14923
+ "docComment": "/**\n * Write a stage variable (editor `stage:variable:set`).\n */\n",
14924
+ "excerptTokens": [
14925
+ {
14926
+ "kind": "Content",
14927
+ "text": "setStageVariable?(key: "
14928
+ },
14929
+ {
14930
+ "kind": "Content",
14931
+ "text": "string"
14932
+ },
14933
+ {
14934
+ "kind": "Content",
14935
+ "text": ", value: "
14936
+ },
14937
+ {
14938
+ "kind": "Content",
14939
+ "text": "unknown"
14940
+ },
14941
+ {
14942
+ "kind": "Content",
14943
+ "text": "): "
14944
+ },
14945
+ {
14946
+ "kind": "Content",
14947
+ "text": "void"
14948
+ },
14949
+ {
14950
+ "kind": "Content",
14951
+ "text": ";"
14952
+ }
14953
+ ],
14954
+ "isOptional": true,
14955
+ "returnTypeTokenRange": {
14956
+ "startIndex": 5,
14957
+ "endIndex": 6
14958
+ },
14959
+ "releaseTag": "Public",
14960
+ "overloadIndex": 1,
14961
+ "parameters": [
14962
+ {
14963
+ "parameterName": "key",
14964
+ "parameterTypeTokenRange": {
14965
+ "startIndex": 1,
14966
+ "endIndex": 2
14967
+ },
14968
+ "isOptional": false
14969
+ },
14970
+ {
14971
+ "parameterName": "value",
14972
+ "parameterTypeTokenRange": {
14973
+ "startIndex": 3,
14974
+ "endIndex": 4
14975
+ },
14976
+ "isOptional": false
14977
+ }
14978
+ ],
14979
+ "name": "setStageVariable"
14980
+ }
14981
+ ],
14982
+ "extendsTokenRanges": []
14269
14983
  },
14270
14984
  {
14271
14985
  "kind": "Function",
@@ -14295,7 +15009,7 @@
14295
15009
  "text": ";"
14296
15010
  }
14297
15011
  ],
14298
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
15012
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
14299
15013
  "returnTypeTokenRange": {
14300
15014
  "startIndex": 3,
14301
15015
  "endIndex": 4
@@ -16817,7 +17531,7 @@
16817
17531
  "text": ";"
16818
17532
  }
16819
17533
  ],
16820
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
17534
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
16821
17535
  "releaseTag": "Public",
16822
17536
  "name": "GameConfigLike",
16823
17537
  "typeTokenRange": {
@@ -16893,7 +17607,7 @@
16893
17607
  "text": ";"
16894
17608
  }
16895
17609
  ],
16896
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
17610
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
16897
17611
  "releaseTag": "Public",
16898
17612
  "name": "GameDeviceConfig",
16899
17613
  "typeTokenRange": {
@@ -20986,16 +21700,7 @@
20986
21700
  },
20987
21701
  {
20988
21702
  "kind": "Content",
20989
- "text": ";\n 'paused': {\n paused: boolean;\n };\n 'debug': {\n enabled: boolean;\n };\n 'state:dispatch': "
20990
- },
20991
- {
20992
- "kind": "Reference",
20993
- "text": "StateDispatchPayload",
20994
- "canonicalReference": "@zylem/game-lib!StateDispatchPayload:interface"
20995
- },
20996
- {
20997
- "kind": "Content",
20998
- "text": ";\n}"
21703
+ "text": ";\n 'paused': {\n paused: boolean;\n };\n 'debug': {\n enabled: boolean;\n };\n}"
20999
21704
  },
21000
21705
  {
21001
21706
  "kind": "Content",
@@ -21007,7 +21712,7 @@
21007
21712
  "name": "GameEvents",
21008
21713
  "typeTokenRange": {
21009
21714
  "startIndex": 1,
21010
- "endIndex": 10
21715
+ "endIndex": 8
21011
21716
  }
21012
21717
  },
21013
21718
  {
@@ -25249,7 +25954,7 @@
25249
25954
  "text": "interface GameLoadingEvent "
25250
25955
  }
25251
25956
  ],
25252
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
25957
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
25253
25958
  "releaseTag": "Public",
25254
25959
  "name": "GameLoadingEvent",
25255
25960
  "preserveMemberOrder": false,
@@ -25559,7 +26264,7 @@
25559
26264
  "text": ";"
25560
26265
  }
25561
26266
  ],
25562
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
26267
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
25563
26268
  "returnTypeTokenRange": {
25564
26269
  "startIndex": 3,
25565
26270
  "endIndex": 4
@@ -25698,6 +26403,67 @@
25698
26403
  ],
25699
26404
  "name": "getGlobals"
25700
26405
  },
26406
+ {
26407
+ "kind": "Function",
26408
+ "canonicalReference": "@zylem/game-lib!getHoveredEntity:function(1)",
26409
+ "docComment": "/**\n * The live hovered entity, resolved on demand through the active stage.\n */\n",
26410
+ "excerptTokens": [
26411
+ {
26412
+ "kind": "Content",
26413
+ "text": "declare function getHoveredEntity(): "
26414
+ },
26415
+ {
26416
+ "kind": "Reference",
26417
+ "text": "GameEntity",
26418
+ "canonicalReference": "@zylem/game-lib!GameEntity:class"
26419
+ },
26420
+ {
26421
+ "kind": "Content",
26422
+ "text": "<any> | null"
26423
+ },
26424
+ {
26425
+ "kind": "Content",
26426
+ "text": ";"
26427
+ }
26428
+ ],
26429
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
26430
+ "returnTypeTokenRange": {
26431
+ "startIndex": 1,
26432
+ "endIndex": 3
26433
+ },
26434
+ "releaseTag": "Public",
26435
+ "overloadIndex": 1,
26436
+ "parameters": [],
26437
+ "name": "getHoveredEntity"
26438
+ },
26439
+ {
26440
+ "kind": "Function",
26441
+ "canonicalReference": "@zylem/game-lib!getHoveredEntityId:function(1)",
26442
+ "docComment": "",
26443
+ "excerptTokens": [
26444
+ {
26445
+ "kind": "Content",
26446
+ "text": "declare function getHoveredEntityId(): "
26447
+ },
26448
+ {
26449
+ "kind": "Content",
26450
+ "text": "string | null"
26451
+ },
26452
+ {
26453
+ "kind": "Content",
26454
+ "text": ";"
26455
+ }
26456
+ ],
26457
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
26458
+ "returnTypeTokenRange": {
26459
+ "startIndex": 1,
26460
+ "endIndex": 2
26461
+ },
26462
+ "releaseTag": "Public",
26463
+ "overloadIndex": 1,
26464
+ "parameters": [],
26465
+ "name": "getHoveredEntityId"
26466
+ },
25701
26467
  {
25702
26468
  "kind": "Function",
25703
26469
  "canonicalReference": "@zylem/game-lib!getPresetResolution:function(1)",
@@ -25738,7 +26504,7 @@
25738
26504
  "text": ";"
25739
26505
  }
25740
26506
  ],
25741
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
26507
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
25742
26508
  "returnTypeTokenRange": {
25743
26509
  "startIndex": 5,
25744
26510
  "endIndex": 7
@@ -25811,6 +26577,67 @@
25811
26577
  ],
25812
26578
  "name": "getRotation"
25813
26579
  },
26580
+ {
26581
+ "kind": "Function",
26582
+ "canonicalReference": "@zylem/game-lib!getSelectedEntity:function(1)",
26583
+ "docComment": "/**\n * The live selected entity, resolved on demand through the active stage.\n */\n",
26584
+ "excerptTokens": [
26585
+ {
26586
+ "kind": "Content",
26587
+ "text": "declare function getSelectedEntity(): "
26588
+ },
26589
+ {
26590
+ "kind": "Reference",
26591
+ "text": "GameEntity",
26592
+ "canonicalReference": "@zylem/game-lib!GameEntity:class"
26593
+ },
26594
+ {
26595
+ "kind": "Content",
26596
+ "text": "<any> | null"
26597
+ },
26598
+ {
26599
+ "kind": "Content",
26600
+ "text": ";"
26601
+ }
26602
+ ],
26603
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
26604
+ "returnTypeTokenRange": {
26605
+ "startIndex": 1,
26606
+ "endIndex": 3
26607
+ },
26608
+ "releaseTag": "Public",
26609
+ "overloadIndex": 1,
26610
+ "parameters": [],
26611
+ "name": "getSelectedEntity"
26612
+ },
26613
+ {
26614
+ "kind": "Function",
26615
+ "canonicalReference": "@zylem/game-lib!getSelectedEntityId:function(1)",
26616
+ "docComment": "",
26617
+ "excerptTokens": [
26618
+ {
26619
+ "kind": "Content",
26620
+ "text": "declare function getSelectedEntityId(): "
26621
+ },
26622
+ {
26623
+ "kind": "Content",
26624
+ "text": "string | null"
26625
+ },
26626
+ {
26627
+ "kind": "Content",
26628
+ "text": ";"
26629
+ }
26630
+ ],
26631
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
26632
+ "returnTypeTokenRange": {
26633
+ "startIndex": 1,
26634
+ "endIndex": 2
26635
+ },
26636
+ "releaseTag": "Public",
26637
+ "overloadIndex": 1,
26638
+ "parameters": [],
26639
+ "name": "getSelectedEntityId"
26640
+ },
25814
26641
  {
25815
26642
  "kind": "Function",
25816
26643
  "canonicalReference": "@zylem/game-lib!getVariable:function(1)",
@@ -29879,7 +30706,7 @@
29879
30706
  "text": ";"
29880
30707
  }
29881
30708
  ],
29882
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
30709
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
29883
30710
  "returnTypeTokenRange": {
29884
30711
  "startIndex": 3,
29885
30712
  "endIndex": 4
@@ -29958,7 +30785,7 @@
29958
30785
  "text": ";"
29959
30786
  }
29960
30787
  ],
29961
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
30788
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
29962
30789
  "releaseTag": "Public",
29963
30790
  "name": "PerspectiveOptions",
29964
30791
  "typeTokenRange": {
@@ -30814,6 +31641,52 @@
30814
31641
  "endIndex": 2
30815
31642
  }
30816
31643
  },
31644
+ {
31645
+ "kind": "Function",
31646
+ "canonicalReference": "@zylem/game-lib!registerDebugEntityResolver:function(1)",
31647
+ "docComment": "/**\n * Register the active stage's entity resolver so `getSelectedEntity` / `getHoveredEntity` can hand back live entities without the reactive store ever holding one.\n *\n * @returns An unregister function.\n */\n",
31648
+ "excerptTokens": [
31649
+ {
31650
+ "kind": "Content",
31651
+ "text": "declare function registerDebugEntityResolver(resolver: "
31652
+ },
31653
+ {
31654
+ "kind": "Reference",
31655
+ "text": "DebugEntityResolver",
31656
+ "canonicalReference": "@zylem/game-lib!DebugEntityResolver:type"
31657
+ },
31658
+ {
31659
+ "kind": "Content",
31660
+ "text": "): "
31661
+ },
31662
+ {
31663
+ "kind": "Content",
31664
+ "text": "() => void"
31665
+ },
31666
+ {
31667
+ "kind": "Content",
31668
+ "text": ";"
31669
+ }
31670
+ ],
31671
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
31672
+ "returnTypeTokenRange": {
31673
+ "startIndex": 3,
31674
+ "endIndex": 4
31675
+ },
31676
+ "releaseTag": "Public",
31677
+ "overloadIndex": 1,
31678
+ "parameters": [
31679
+ {
31680
+ "parameterName": "resolver",
31681
+ "parameterTypeTokenRange": {
31682
+ "startIndex": 1,
31683
+ "endIndex": 2
31684
+ },
31685
+ "isOptional": false
31686
+ }
31687
+ ],
31688
+ "name": "registerDebugEntityResolver"
31689
+ },
30817
31690
  {
30818
31691
  "kind": "Function",
30819
31692
  "canonicalReference": "@zylem/game-lib!registerEntityFocusContext:function(1)",
@@ -30870,7 +31743,7 @@
30870
31743
  "text": "declare class RenderBundleManager "
30871
31744
  }
30872
31745
  ],
30873
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
31746
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
30874
31747
  "releaseTag": "Public",
30875
31748
  "isAbstract": false,
30876
31749
  "name": "RenderBundleManager",
@@ -31182,7 +32055,7 @@
31182
32055
  "text": "declare class RenderStrategyManager "
31183
32056
  }
31184
32057
  ],
31185
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
32058
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
31186
32059
  "releaseTag": "Public",
31187
32060
  "isAbstract": false,
31188
32061
  "name": "RenderStrategyManager",
@@ -31693,7 +32566,7 @@
31693
32566
  "text": ";"
31694
32567
  }
31695
32568
  ],
31696
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
32569
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
31697
32570
  "releaseTag": "Public",
31698
32571
  "name": "ResolutionInput",
31699
32572
  "typeTokenRange": {
@@ -31853,6 +32726,56 @@
31853
32726
  ],
31854
32727
  "name": "resolveButtonAccent"
31855
32728
  },
32729
+ {
32730
+ "kind": "Function",
32731
+ "canonicalReference": "@zylem/game-lib!resolveDebugEntity:function(1)",
32732
+ "docComment": "/**\n * Resolve a UUID through the active stage, or null when unavailable.\n */\n",
32733
+ "excerptTokens": [
32734
+ {
32735
+ "kind": "Content",
32736
+ "text": "declare function resolveDebugEntity(uuid: "
32737
+ },
32738
+ {
32739
+ "kind": "Content",
32740
+ "text": "string | null"
32741
+ },
32742
+ {
32743
+ "kind": "Content",
32744
+ "text": "): "
32745
+ },
32746
+ {
32747
+ "kind": "Reference",
32748
+ "text": "GameEntity",
32749
+ "canonicalReference": "@zylem/game-lib!GameEntity:class"
32750
+ },
32751
+ {
32752
+ "kind": "Content",
32753
+ "text": "<any> | null"
32754
+ },
32755
+ {
32756
+ "kind": "Content",
32757
+ "text": ";"
32758
+ }
32759
+ ],
32760
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
32761
+ "returnTypeTokenRange": {
32762
+ "startIndex": 3,
32763
+ "endIndex": 5
32764
+ },
32765
+ "releaseTag": "Public",
32766
+ "overloadIndex": 1,
32767
+ "parameters": [
32768
+ {
32769
+ "parameterName": "uuid",
32770
+ "parameterTypeTokenRange": {
32771
+ "startIndex": 1,
32772
+ "endIndex": 2
32773
+ },
32774
+ "isOptional": false
32775
+ }
32776
+ ],
32777
+ "name": "resolveDebugEntity"
32778
+ },
31856
32779
  {
31857
32780
  "kind": "Interface",
31858
32781
  "canonicalReference": "@zylem/game-lib!ResolveGameConfigRuntime:interface",
@@ -31863,7 +32786,7 @@
31863
32786
  "text": "interface ResolveGameConfigRuntime "
31864
32787
  }
31865
32788
  ],
31866
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
32789
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
31867
32790
  "releaseTag": "Public",
31868
32791
  "name": "ResolveGameConfigRuntime",
31869
32792
  "preserveMemberOrder": false,
@@ -32061,7 +32984,7 @@
32061
32984
  "text": ";"
32062
32985
  }
32063
32986
  ],
32064
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
32987
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
32065
32988
  "releaseTag": "Public",
32066
32989
  "name": "RetroPreset",
32067
32990
  "typeTokenRange": {
@@ -32092,7 +33015,7 @@
32092
33015
  "text": ";"
32093
33016
  }
32094
33017
  ],
32095
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
33018
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
32096
33019
  "releaseTag": "Public",
32097
33020
  "name": "RetroPresetKey",
32098
33021
  "typeTokenRange": {
@@ -32118,7 +33041,7 @@
32118
33041
  "text": ";"
32119
33042
  }
32120
33043
  ],
32121
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
33044
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
32122
33045
  "releaseTag": "Public",
32123
33046
  "name": "RetroResolution",
32124
33047
  "typeTokenRange": {
@@ -33799,7 +34722,7 @@
33799
34722
  "text": ";"
33800
34723
  }
33801
34724
  ],
33802
- "fileUrlPath": "dist/debug-state-DRoeasG2.d.ts",
34725
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
33803
34726
  "returnTypeTokenRange": {
33804
34727
  "startIndex": 3,
33805
34728
  "endIndex": 4
@@ -33879,6 +34802,51 @@
33879
34802
  ],
33880
34803
  "name": "setGlobal"
33881
34804
  },
34805
+ {
34806
+ "kind": "Function",
34807
+ "canonicalReference": "@zylem/game-lib!setHoveredEntityId:function(1)",
34808
+ "docComment": "",
34809
+ "excerptTokens": [
34810
+ {
34811
+ "kind": "Content",
34812
+ "text": "declare function setHoveredEntityId(uuid: "
34813
+ },
34814
+ {
34815
+ "kind": "Content",
34816
+ "text": "string | null"
34817
+ },
34818
+ {
34819
+ "kind": "Content",
34820
+ "text": "): "
34821
+ },
34822
+ {
34823
+ "kind": "Content",
34824
+ "text": "void"
34825
+ },
34826
+ {
34827
+ "kind": "Content",
34828
+ "text": ";"
34829
+ }
34830
+ ],
34831
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
34832
+ "returnTypeTokenRange": {
34833
+ "startIndex": 3,
34834
+ "endIndex": 4
34835
+ },
34836
+ "releaseTag": "Public",
34837
+ "overloadIndex": 1,
34838
+ "parameters": [
34839
+ {
34840
+ "parameterName": "uuid",
34841
+ "parameterTypeTokenRange": {
34842
+ "startIndex": 1,
34843
+ "endIndex": 2
34844
+ },
34845
+ "isOptional": false
34846
+ }
34847
+ ],
34848
+ "name": "setHoveredEntityId"
34849
+ },
33882
34850
  {
33883
34851
  "kind": "Function",
33884
34852
  "canonicalReference": "@zylem/game-lib!setPaused:function(1)",
@@ -33905,7 +34873,7 @@
33905
34873
  "text": ";"
33906
34874
  }
33907
34875
  ],
33908
- "fileUrlPath": "dist/debug-state-DRoeasG2.d.ts",
34876
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
33909
34877
  "returnTypeTokenRange": {
33910
34878
  "startIndex": 3,
33911
34879
  "endIndex": 4
@@ -34487,7 +35455,7 @@
34487
35455
  {
34488
35456
  "kind": "Function",
34489
35457
  "canonicalReference": "@zylem/game-lib!setSelectedEntity:function(1)",
34490
- "docComment": "",
35458
+ "docComment": "/**\n * @deprecated\n *\n * Pass a UUID to {@link setSelectedEntityId} instead. Accepts a live entity only to keep the previous public API working.\n */\n",
34491
35459
  "excerptTokens": [
34492
35460
  {
34493
35461
  "kind": "Content",
@@ -34500,7 +35468,7 @@
34500
35468
  },
34501
35469
  {
34502
35470
  "kind": "Content",
34503
- "text": "<any> | null"
35471
+ "text": "<any> | string | null"
34504
35472
  },
34505
35473
  {
34506
35474
  "kind": "Content",
@@ -34515,7 +35483,7 @@
34515
35483
  "text": ";"
34516
35484
  }
34517
35485
  ],
34518
- "fileUrlPath": "dist/debug-state-DRoeasG2.d.ts",
35486
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
34519
35487
  "returnTypeTokenRange": {
34520
35488
  "startIndex": 4,
34521
35489
  "endIndex": 5
@@ -34534,6 +35502,51 @@
34534
35502
  ],
34535
35503
  "name": "setSelectedEntity"
34536
35504
  },
35505
+ {
35506
+ "kind": "Function",
35507
+ "canonicalReference": "@zylem/game-lib!setSelectedEntityId:function(1)",
35508
+ "docComment": "",
35509
+ "excerptTokens": [
35510
+ {
35511
+ "kind": "Content",
35512
+ "text": "declare function setSelectedEntityId(uuid: "
35513
+ },
35514
+ {
35515
+ "kind": "Content",
35516
+ "text": "string | null"
35517
+ },
35518
+ {
35519
+ "kind": "Content",
35520
+ "text": "): "
35521
+ },
35522
+ {
35523
+ "kind": "Content",
35524
+ "text": "void"
35525
+ },
35526
+ {
35527
+ "kind": "Content",
35528
+ "text": ";"
35529
+ }
35530
+ ],
35531
+ "fileUrlPath": "dist/debug-state-Dp9CQQZ4.d.ts",
35532
+ "returnTypeTokenRange": {
35533
+ "startIndex": 3,
35534
+ "endIndex": 4
35535
+ },
35536
+ "releaseTag": "Public",
35537
+ "overloadIndex": 1,
35538
+ "parameters": [
35539
+ {
35540
+ "parameterName": "uuid",
35541
+ "parameterTypeTokenRange": {
35542
+ "startIndex": 1,
35543
+ "endIndex": 2
35544
+ },
35545
+ "isOptional": false
35546
+ }
35547
+ ],
35548
+ "name": "setSelectedEntityId"
35549
+ },
34537
35550
  {
34538
35551
  "kind": "Function",
34539
35552
  "canonicalReference": "@zylem/game-lib!setStageFrameProfilerEnabled:function(1)",
@@ -36885,7 +37898,7 @@
36885
37898
  "text": ";"
36886
37899
  }
36887
37900
  ],
36888
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
37901
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
36889
37902
  "returnTypeTokenRange": {
36890
37903
  "startIndex": 3,
36891
37904
  "endIndex": 4
@@ -37373,7 +38386,7 @@
37373
38386
  "text": ";"
37374
38387
  }
37375
38388
  ],
37376
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
38389
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
37377
38390
  "releaseTag": "Public",
37378
38391
  "name": "StageConfigLike",
37379
38392
  "typeTokenRange": {
@@ -37381,196 +38394,6 @@
37381
38394
  "endIndex": 19
37382
38395
  }
37383
38396
  },
37384
- {
37385
- "kind": "Interface",
37386
- "canonicalReference": "@zylem/game-lib!StageConfigPayload:interface",
37387
- "docComment": "/**\n * Payload for stage configuration sent to editor.\n */\n",
37388
- "excerptTokens": [
37389
- {
37390
- "kind": "Content",
37391
- "text": "interface StageConfigPayload "
37392
- }
37393
- ],
37394
- "fileUrlPath": "dist/events.d.ts",
37395
- "releaseTag": "Public",
37396
- "name": "StageConfigPayload",
37397
- "preserveMemberOrder": false,
37398
- "members": [
37399
- {
37400
- "kind": "PropertySignature",
37401
- "canonicalReference": "@zylem/game-lib!StageConfigPayload#backgroundColor:member",
37402
- "docComment": "",
37403
- "excerptTokens": [
37404
- {
37405
- "kind": "Content",
37406
- "text": "backgroundColor: "
37407
- },
37408
- {
37409
- "kind": "Content",
37410
- "text": "string"
37411
- },
37412
- {
37413
- "kind": "Content",
37414
- "text": ";"
37415
- }
37416
- ],
37417
- "isReadonly": false,
37418
- "isOptional": false,
37419
- "releaseTag": "Public",
37420
- "name": "backgroundColor",
37421
- "propertyTypeTokenRange": {
37422
- "startIndex": 1,
37423
- "endIndex": 2
37424
- }
37425
- },
37426
- {
37427
- "kind": "PropertySignature",
37428
- "canonicalReference": "@zylem/game-lib!StageConfigPayload#backgroundImage:member",
37429
- "docComment": "",
37430
- "excerptTokens": [
37431
- {
37432
- "kind": "Content",
37433
- "text": "backgroundImage: "
37434
- },
37435
- {
37436
- "kind": "Content",
37437
- "text": "string | null"
37438
- },
37439
- {
37440
- "kind": "Content",
37441
- "text": ";"
37442
- }
37443
- ],
37444
- "isReadonly": false,
37445
- "isOptional": false,
37446
- "releaseTag": "Public",
37447
- "name": "backgroundImage",
37448
- "propertyTypeTokenRange": {
37449
- "startIndex": 1,
37450
- "endIndex": 2
37451
- }
37452
- },
37453
- {
37454
- "kind": "PropertySignature",
37455
- "canonicalReference": "@zylem/game-lib!StageConfigPayload#gravity:member",
37456
- "docComment": "",
37457
- "excerptTokens": [
37458
- {
37459
- "kind": "Content",
37460
- "text": "gravity: "
37461
- },
37462
- {
37463
- "kind": "Content",
37464
- "text": "{\n x: number;\n y: number;\n z: number;\n }"
37465
- },
37466
- {
37467
- "kind": "Content",
37468
- "text": ";"
37469
- }
37470
- ],
37471
- "isReadonly": false,
37472
- "isOptional": false,
37473
- "releaseTag": "Public",
37474
- "name": "gravity",
37475
- "propertyTypeTokenRange": {
37476
- "startIndex": 1,
37477
- "endIndex": 2
37478
- }
37479
- },
37480
- {
37481
- "kind": "PropertySignature",
37482
- "canonicalReference": "@zylem/game-lib!StageConfigPayload#id:member",
37483
- "docComment": "",
37484
- "excerptTokens": [
37485
- {
37486
- "kind": "Content",
37487
- "text": "id: "
37488
- },
37489
- {
37490
- "kind": "Content",
37491
- "text": "string"
37492
- },
37493
- {
37494
- "kind": "Content",
37495
- "text": ";"
37496
- }
37497
- ],
37498
- "isReadonly": false,
37499
- "isOptional": false,
37500
- "releaseTag": "Public",
37501
- "name": "id",
37502
- "propertyTypeTokenRange": {
37503
- "startIndex": 1,
37504
- "endIndex": 2
37505
- }
37506
- },
37507
- {
37508
- "kind": "PropertySignature",
37509
- "canonicalReference": "@zylem/game-lib!StageConfigPayload#inputs:member",
37510
- "docComment": "",
37511
- "excerptTokens": [
37512
- {
37513
- "kind": "Content",
37514
- "text": "inputs: "
37515
- },
37516
- {
37517
- "kind": "Reference",
37518
- "text": "Record",
37519
- "canonicalReference": "!Record:type"
37520
- },
37521
- {
37522
- "kind": "Content",
37523
- "text": "<string, string[]>"
37524
- },
37525
- {
37526
- "kind": "Content",
37527
- "text": ";"
37528
- }
37529
- ],
37530
- "isReadonly": false,
37531
- "isOptional": false,
37532
- "releaseTag": "Public",
37533
- "name": "inputs",
37534
- "propertyTypeTokenRange": {
37535
- "startIndex": 1,
37536
- "endIndex": 3
37537
- }
37538
- },
37539
- {
37540
- "kind": "PropertySignature",
37541
- "canonicalReference": "@zylem/game-lib!StageConfigPayload#variables:member",
37542
- "docComment": "",
37543
- "excerptTokens": [
37544
- {
37545
- "kind": "Content",
37546
- "text": "variables: "
37547
- },
37548
- {
37549
- "kind": "Reference",
37550
- "text": "Record",
37551
- "canonicalReference": "!Record:type"
37552
- },
37553
- {
37554
- "kind": "Content",
37555
- "text": "<string, unknown>"
37556
- },
37557
- {
37558
- "kind": "Content",
37559
- "text": ";"
37560
- }
37561
- ],
37562
- "isReadonly": false,
37563
- "isOptional": false,
37564
- "releaseTag": "Public",
37565
- "name": "variables",
37566
- "propertyTypeTokenRange": {
37567
- "startIndex": 1,
37568
- "endIndex": 3
37569
- }
37570
- }
37571
- ],
37572
- "extendsTokenRanges": []
37573
- },
37574
38397
  {
37575
38398
  "kind": "Interface",
37576
38399
  "canonicalReference": "@zylem/game-lib!StageEntity:interface",
@@ -39057,7 +39880,7 @@
39057
39880
  "text": ";"
39058
39881
  }
39059
39882
  ],
39060
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
39883
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
39061
39884
  "releaseTag": "Public",
39062
39885
  "name": "StageOptions",
39063
39886
  "typeTokenRange": {
@@ -39581,223 +40404,6 @@
39581
40404
  "endIndex": 2
39582
40405
  }
39583
40406
  },
39584
- {
39585
- "kind": "Interface",
39586
- "canonicalReference": "@zylem/game-lib!StateDispatchPayload:interface",
39587
- "docComment": "/**\n * Payload for state dispatch events from game to editor.\n */\n",
39588
- "excerptTokens": [
39589
- {
39590
- "kind": "Content",
39591
- "text": "interface StateDispatchPayload "
39592
- }
39593
- ],
39594
- "fileUrlPath": "dist/events.d.ts",
39595
- "releaseTag": "Public",
39596
- "name": "StateDispatchPayload",
39597
- "preserveMemberOrder": false,
39598
- "members": [
39599
- {
39600
- "kind": "PropertySignature",
39601
- "canonicalReference": "@zylem/game-lib!StateDispatchPayload#config:member",
39602
- "docComment": "",
39603
- "excerptTokens": [
39604
- {
39605
- "kind": "Content",
39606
- "text": "config?: "
39607
- },
39608
- {
39609
- "kind": "Content",
39610
- "text": "{\n id: string;\n aspectRatio: number;\n fullscreen: boolean;\n bodyBackground: string | undefined;\n internalResolution: {\n width: number;\n height: number;\n } | undefined;\n debug: boolean;\n } | null"
39611
- },
39612
- {
39613
- "kind": "Content",
39614
- "text": ";"
39615
- }
39616
- ],
39617
- "isReadonly": false,
39618
- "isOptional": true,
39619
- "releaseTag": "Public",
39620
- "name": "config",
39621
- "propertyTypeTokenRange": {
39622
- "startIndex": 1,
39623
- "endIndex": 2
39624
- }
39625
- },
39626
- {
39627
- "kind": "PropertySignature",
39628
- "canonicalReference": "@zylem/game-lib!StateDispatchPayload#entities:member",
39629
- "docComment": "",
39630
- "excerptTokens": [
39631
- {
39632
- "kind": "Content",
39633
- "text": "entities?: "
39634
- },
39635
- {
39636
- "kind": "Reference",
39637
- "text": "EntityConfigPayload",
39638
- "canonicalReference": "@zylem/game-lib!EntityConfigPayload:interface"
39639
- },
39640
- {
39641
- "kind": "Content",
39642
- "text": "[] | null"
39643
- },
39644
- {
39645
- "kind": "Content",
39646
- "text": ";"
39647
- }
39648
- ],
39649
- "isReadonly": false,
39650
- "isOptional": true,
39651
- "releaseTag": "Public",
39652
- "name": "entities",
39653
- "propertyTypeTokenRange": {
39654
- "startIndex": 1,
39655
- "endIndex": 3
39656
- }
39657
- },
39658
- {
39659
- "kind": "PropertySignature",
39660
- "canonicalReference": "@zylem/game-lib!StateDispatchPayload#path:member",
39661
- "docComment": "",
39662
- "excerptTokens": [
39663
- {
39664
- "kind": "Content",
39665
- "text": "path: "
39666
- },
39667
- {
39668
- "kind": "Content",
39669
- "text": "string"
39670
- },
39671
- {
39672
- "kind": "Content",
39673
- "text": ";"
39674
- }
39675
- ],
39676
- "isReadonly": false,
39677
- "isOptional": false,
39678
- "releaseTag": "Public",
39679
- "name": "path",
39680
- "propertyTypeTokenRange": {
39681
- "startIndex": 1,
39682
- "endIndex": 2
39683
- }
39684
- },
39685
- {
39686
- "kind": "PropertySignature",
39687
- "canonicalReference": "@zylem/game-lib!StateDispatchPayload#previousValue:member",
39688
- "docComment": "",
39689
- "excerptTokens": [
39690
- {
39691
- "kind": "Content",
39692
- "text": "previousValue?: "
39693
- },
39694
- {
39695
- "kind": "Content",
39696
- "text": "unknown"
39697
- },
39698
- {
39699
- "kind": "Content",
39700
- "text": ";"
39701
- }
39702
- ],
39703
- "isReadonly": false,
39704
- "isOptional": true,
39705
- "releaseTag": "Public",
39706
- "name": "previousValue",
39707
- "propertyTypeTokenRange": {
39708
- "startIndex": 1,
39709
- "endIndex": 2
39710
- }
39711
- },
39712
- {
39713
- "kind": "PropertySignature",
39714
- "canonicalReference": "@zylem/game-lib!StateDispatchPayload#scope:member",
39715
- "docComment": "",
39716
- "excerptTokens": [
39717
- {
39718
- "kind": "Content",
39719
- "text": "scope: "
39720
- },
39721
- {
39722
- "kind": "Content",
39723
- "text": "'game' | 'stage' | 'entity'"
39724
- },
39725
- {
39726
- "kind": "Content",
39727
- "text": ";"
39728
- }
39729
- ],
39730
- "isReadonly": false,
39731
- "isOptional": false,
39732
- "releaseTag": "Public",
39733
- "name": "scope",
39734
- "propertyTypeTokenRange": {
39735
- "startIndex": 1,
39736
- "endIndex": 2
39737
- }
39738
- },
39739
- {
39740
- "kind": "PropertySignature",
39741
- "canonicalReference": "@zylem/game-lib!StateDispatchPayload#stageConfig:member",
39742
- "docComment": "",
39743
- "excerptTokens": [
39744
- {
39745
- "kind": "Content",
39746
- "text": "stageConfig?: "
39747
- },
39748
- {
39749
- "kind": "Reference",
39750
- "text": "StageConfigPayload",
39751
- "canonicalReference": "@zylem/game-lib!StageConfigPayload:interface"
39752
- },
39753
- {
39754
- "kind": "Content",
39755
- "text": " | null"
39756
- },
39757
- {
39758
- "kind": "Content",
39759
- "text": ";"
39760
- }
39761
- ],
39762
- "isReadonly": false,
39763
- "isOptional": true,
39764
- "releaseTag": "Public",
39765
- "name": "stageConfig",
39766
- "propertyTypeTokenRange": {
39767
- "startIndex": 1,
39768
- "endIndex": 3
39769
- }
39770
- },
39771
- {
39772
- "kind": "PropertySignature",
39773
- "canonicalReference": "@zylem/game-lib!StateDispatchPayload#value:member",
39774
- "docComment": "",
39775
- "excerptTokens": [
39776
- {
39777
- "kind": "Content",
39778
- "text": "value: "
39779
- },
39780
- {
39781
- "kind": "Content",
39782
- "text": "unknown"
39783
- },
39784
- {
39785
- "kind": "Content",
39786
- "text": ";"
39787
- }
39788
- ],
39789
- "isReadonly": false,
39790
- "isOptional": false,
39791
- "releaseTag": "Public",
39792
- "name": "value",
39793
- "propertyTypeTokenRange": {
39794
- "startIndex": 1,
39795
- "endIndex": 2
39796
- }
39797
- }
39798
- ],
39799
- "extendsTokenRanges": []
39800
- },
39801
40407
  {
39802
40408
  "kind": "Interface",
39803
40409
  "canonicalReference": "@zylem/game-lib!TemplateFactory:interface",
@@ -40116,7 +40722,7 @@
40116
40722
  "text": "interface ThirdPersonOptions "
40117
40723
  }
40118
40724
  ],
40119
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
40725
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
40120
40726
  "releaseTag": "Public",
40121
40727
  "name": "ThirdPersonOptions",
40122
40728
  "preserveMemberOrder": false,
@@ -40442,7 +41048,7 @@
40442
41048
  "text": " "
40443
41049
  }
40444
41050
  ],
40445
- "fileUrlPath": "dist/game-DbqBQiFC.d.ts",
41051
+ "fileUrlPath": "dist/game-NHkubIfI.d.ts",
40446
41052
  "releaseTag": "Public",
40447
41053
  "isAbstract": false,
40448
41054
  "name": "ThirdPersonPerspective",