@dcl/playground-assets 7.1.1-4387338275.commit-167a7e2 → 7.1.1-4388004980.commit-d41e42b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alpha.d.ts +95 -0
- package/dist/beta.d.ts +95 -0
- package/dist/index.bundled.d.ts +95 -0
- package/dist/index.js +40 -7
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +95 -0
- package/etc/playground-assets.api.json +1172 -76
- package/etc/playground-assets.api.md +55 -0
- package/package.json +3 -3
|
@@ -626,6 +626,210 @@
|
|
|
626
626
|
"endIndex": 8
|
|
627
627
|
}
|
|
628
628
|
},
|
|
629
|
+
{
|
|
630
|
+
"kind": "Namespace",
|
|
631
|
+
"canonicalReference": "@dcl/playground-assets!AppendValueOperation:namespace",
|
|
632
|
+
"docComment": "/**\n * @public\n */\n",
|
|
633
|
+
"excerptTokens": [
|
|
634
|
+
{
|
|
635
|
+
"kind": "Content",
|
|
636
|
+
"text": "export declare namespace AppendValueOperation "
|
|
637
|
+
}
|
|
638
|
+
],
|
|
639
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/appendValue.d.ts",
|
|
640
|
+
"releaseTag": "Public",
|
|
641
|
+
"name": "AppendValueOperation",
|
|
642
|
+
"preserveMemberOrder": false,
|
|
643
|
+
"members": [
|
|
644
|
+
{
|
|
645
|
+
"kind": "Variable",
|
|
646
|
+
"canonicalReference": "@dcl/playground-assets!AppendValueOperation.MESSAGE_HEADER_LENGTH:var",
|
|
647
|
+
"docComment": "",
|
|
648
|
+
"excerptTokens": [
|
|
649
|
+
{
|
|
650
|
+
"kind": "Content",
|
|
651
|
+
"text": "MESSAGE_HEADER_LENGTH = "
|
|
652
|
+
},
|
|
653
|
+
{
|
|
654
|
+
"kind": "Content",
|
|
655
|
+
"text": "16"
|
|
656
|
+
}
|
|
657
|
+
],
|
|
658
|
+
"initializerTokenRange": {
|
|
659
|
+
"startIndex": 1,
|
|
660
|
+
"endIndex": 2
|
|
661
|
+
},
|
|
662
|
+
"isReadonly": true,
|
|
663
|
+
"releaseTag": "Public",
|
|
664
|
+
"name": "MESSAGE_HEADER_LENGTH",
|
|
665
|
+
"variableTypeTokenRange": {
|
|
666
|
+
"startIndex": 0,
|
|
667
|
+
"endIndex": 0
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"kind": "Function",
|
|
672
|
+
"canonicalReference": "@dcl/playground-assets!AppendValueOperation.read:function(1)",
|
|
673
|
+
"docComment": "",
|
|
674
|
+
"excerptTokens": [
|
|
675
|
+
{
|
|
676
|
+
"kind": "Content",
|
|
677
|
+
"text": "function read(buf: "
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"kind": "Reference",
|
|
681
|
+
"text": "ByteBuffer",
|
|
682
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"kind": "Content",
|
|
686
|
+
"text": "): "
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"kind": "Reference",
|
|
690
|
+
"text": "AppendValueMessage",
|
|
691
|
+
"canonicalReference": "@dcl/playground-assets!AppendValueMessage:type"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"kind": "Content",
|
|
695
|
+
"text": " | null"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"kind": "Content",
|
|
699
|
+
"text": ";"
|
|
700
|
+
}
|
|
701
|
+
],
|
|
702
|
+
"returnTypeTokenRange": {
|
|
703
|
+
"startIndex": 3,
|
|
704
|
+
"endIndex": 5
|
|
705
|
+
},
|
|
706
|
+
"releaseTag": "Public",
|
|
707
|
+
"overloadIndex": 1,
|
|
708
|
+
"parameters": [
|
|
709
|
+
{
|
|
710
|
+
"parameterName": "buf",
|
|
711
|
+
"parameterTypeTokenRange": {
|
|
712
|
+
"startIndex": 1,
|
|
713
|
+
"endIndex": 2
|
|
714
|
+
},
|
|
715
|
+
"isOptional": false
|
|
716
|
+
}
|
|
717
|
+
],
|
|
718
|
+
"name": "read"
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"kind": "Function",
|
|
722
|
+
"canonicalReference": "@dcl/playground-assets!AppendValueOperation.write:function(1)",
|
|
723
|
+
"docComment": "/**\n * Call this function for an optimal writing data passing the ByteBuffer already allocated\n */\n",
|
|
724
|
+
"excerptTokens": [
|
|
725
|
+
{
|
|
726
|
+
"kind": "Content",
|
|
727
|
+
"text": "function write(entity: "
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
"kind": "Reference",
|
|
731
|
+
"text": "Entity",
|
|
732
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"kind": "Content",
|
|
736
|
+
"text": ", timestamp: "
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
"kind": "Content",
|
|
740
|
+
"text": "number"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"kind": "Content",
|
|
744
|
+
"text": ", componentId: "
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"kind": "Content",
|
|
748
|
+
"text": "number"
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"kind": "Content",
|
|
752
|
+
"text": ", data: "
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"kind": "Reference",
|
|
756
|
+
"text": "Uint8Array",
|
|
757
|
+
"canonicalReference": "!Uint8Array:interface"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"kind": "Content",
|
|
761
|
+
"text": ", buf: "
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
"kind": "Reference",
|
|
765
|
+
"text": "ByteBuffer",
|
|
766
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"kind": "Content",
|
|
770
|
+
"text": "): "
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"kind": "Content",
|
|
774
|
+
"text": "void"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
"kind": "Content",
|
|
778
|
+
"text": ";"
|
|
779
|
+
}
|
|
780
|
+
],
|
|
781
|
+
"returnTypeTokenRange": {
|
|
782
|
+
"startIndex": 11,
|
|
783
|
+
"endIndex": 12
|
|
784
|
+
},
|
|
785
|
+
"releaseTag": "Public",
|
|
786
|
+
"overloadIndex": 1,
|
|
787
|
+
"parameters": [
|
|
788
|
+
{
|
|
789
|
+
"parameterName": "entity",
|
|
790
|
+
"parameterTypeTokenRange": {
|
|
791
|
+
"startIndex": 1,
|
|
792
|
+
"endIndex": 2
|
|
793
|
+
},
|
|
794
|
+
"isOptional": false
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"parameterName": "timestamp",
|
|
798
|
+
"parameterTypeTokenRange": {
|
|
799
|
+
"startIndex": 3,
|
|
800
|
+
"endIndex": 4
|
|
801
|
+
},
|
|
802
|
+
"isOptional": false
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"parameterName": "componentId",
|
|
806
|
+
"parameterTypeTokenRange": {
|
|
807
|
+
"startIndex": 5,
|
|
808
|
+
"endIndex": 6
|
|
809
|
+
},
|
|
810
|
+
"isOptional": false
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"parameterName": "data",
|
|
814
|
+
"parameterTypeTokenRange": {
|
|
815
|
+
"startIndex": 7,
|
|
816
|
+
"endIndex": 8
|
|
817
|
+
},
|
|
818
|
+
"isOptional": false
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"parameterName": "buf",
|
|
822
|
+
"parameterTypeTokenRange": {
|
|
823
|
+
"startIndex": 9,
|
|
824
|
+
"endIndex": 10
|
|
825
|
+
},
|
|
826
|
+
"isOptional": false
|
|
827
|
+
}
|
|
828
|
+
],
|
|
829
|
+
"name": "write"
|
|
830
|
+
}
|
|
831
|
+
]
|
|
832
|
+
},
|
|
629
833
|
{
|
|
630
834
|
"kind": "Variable",
|
|
631
835
|
"canonicalReference": "@dcl/playground-assets!AudioSource:var",
|
|
@@ -1272,25 +1476,17 @@
|
|
|
1272
1476
|
},
|
|
1273
1477
|
{
|
|
1274
1478
|
"kind": "MethodSignature",
|
|
1275
|
-
"canonicalReference": "@dcl/playground-assets!BaseComponent#
|
|
1276
|
-
"docComment": "/**\n *
|
|
1479
|
+
"canonicalReference": "@dcl/playground-assets!BaseComponent#dumpCrdtState:member(1)",
|
|
1480
|
+
"docComment": "/**\n * This function writes the whole state of the component into a ByteBuffer\n *\n * @public\n */\n",
|
|
1277
1481
|
"excerptTokens": [
|
|
1278
1482
|
{
|
|
1279
1483
|
"kind": "Content",
|
|
1280
|
-
"text": "
|
|
1484
|
+
"text": "dumpCrdtState(buffer: "
|
|
1281
1485
|
},
|
|
1282
1486
|
{
|
|
1283
1487
|
"kind": "Reference",
|
|
1284
|
-
"text": "
|
|
1285
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
1286
|
-
},
|
|
1287
|
-
{
|
|
1288
|
-
"kind": "Content",
|
|
1289
|
-
"text": ", markAsDirty: "
|
|
1290
|
-
},
|
|
1291
|
-
{
|
|
1292
|
-
"kind": "Content",
|
|
1293
|
-
"text": "boolean"
|
|
1488
|
+
"text": "ByteBuffer",
|
|
1489
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
1294
1490
|
},
|
|
1295
1491
|
{
|
|
1296
1492
|
"kind": "Content",
|
|
@@ -1307,52 +1503,52 @@
|
|
|
1307
1503
|
],
|
|
1308
1504
|
"isOptional": false,
|
|
1309
1505
|
"returnTypeTokenRange": {
|
|
1310
|
-
"startIndex":
|
|
1311
|
-
"endIndex":
|
|
1506
|
+
"startIndex": 3,
|
|
1507
|
+
"endIndex": 4
|
|
1312
1508
|
},
|
|
1313
1509
|
"releaseTag": "Public",
|
|
1314
1510
|
"overloadIndex": 1,
|
|
1315
1511
|
"parameters": [
|
|
1316
1512
|
{
|
|
1317
|
-
"parameterName": "
|
|
1513
|
+
"parameterName": "buffer",
|
|
1318
1514
|
"parameterTypeTokenRange": {
|
|
1319
1515
|
"startIndex": 1,
|
|
1320
1516
|
"endIndex": 2
|
|
1321
1517
|
},
|
|
1322
1518
|
"isOptional": false
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
"parameterName": "markAsDirty",
|
|
1326
|
-
"parameterTypeTokenRange": {
|
|
1327
|
-
"startIndex": 3,
|
|
1328
|
-
"endIndex": 4
|
|
1329
|
-
},
|
|
1330
|
-
"isOptional": false
|
|
1331
1519
|
}
|
|
1332
1520
|
],
|
|
1333
|
-
"name": "
|
|
1521
|
+
"name": "dumpCrdtState"
|
|
1334
1522
|
},
|
|
1335
1523
|
{
|
|
1336
1524
|
"kind": "MethodSignature",
|
|
1337
|
-
"canonicalReference": "@dcl/playground-assets!BaseComponent#
|
|
1338
|
-
"docComment": "/**\n *
|
|
1525
|
+
"canonicalReference": "@dcl/playground-assets!BaseComponent#entityDeleted:member(1)",
|
|
1526
|
+
"docComment": "/**\n * Marks the entity as deleted and signals it cannot be used ever again. It must clear the component internal state, produces a synchronization message to remove the component from the entity.\n *\n * @param entity - Entity ID that was deleted.\n *\n * @public\n */\n",
|
|
1339
1527
|
"excerptTokens": [
|
|
1340
1528
|
{
|
|
1341
1529
|
"kind": "Content",
|
|
1342
|
-
"text": "
|
|
1530
|
+
"text": "entityDeleted(entity: "
|
|
1343
1531
|
},
|
|
1344
1532
|
{
|
|
1345
1533
|
"kind": "Reference",
|
|
1346
1534
|
"text": "Entity",
|
|
1347
1535
|
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
1348
1536
|
},
|
|
1537
|
+
{
|
|
1538
|
+
"kind": "Content",
|
|
1539
|
+
"text": ", markAsDirty: "
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"kind": "Content",
|
|
1543
|
+
"text": "boolean"
|
|
1544
|
+
},
|
|
1349
1545
|
{
|
|
1350
1546
|
"kind": "Content",
|
|
1351
1547
|
"text": "): "
|
|
1352
1548
|
},
|
|
1353
1549
|
{
|
|
1354
1550
|
"kind": "Content",
|
|
1355
|
-
"text": "
|
|
1551
|
+
"text": "void"
|
|
1356
1552
|
},
|
|
1357
1553
|
{
|
|
1358
1554
|
"kind": "Content",
|
|
@@ -1361,8 +1557,8 @@
|
|
|
1361
1557
|
],
|
|
1362
1558
|
"isOptional": false,
|
|
1363
1559
|
"returnTypeTokenRange": {
|
|
1364
|
-
"startIndex":
|
|
1365
|
-
"endIndex":
|
|
1560
|
+
"startIndex": 5,
|
|
1561
|
+
"endIndex": 6
|
|
1366
1562
|
},
|
|
1367
1563
|
"releaseTag": "Public",
|
|
1368
1564
|
"overloadIndex": 1,
|
|
@@ -1374,60 +1570,26 @@
|
|
|
1374
1570
|
"endIndex": 2
|
|
1375
1571
|
},
|
|
1376
1572
|
"isOptional": false
|
|
1377
|
-
}
|
|
1378
|
-
],
|
|
1379
|
-
"name": "get"
|
|
1380
|
-
},
|
|
1381
|
-
{
|
|
1382
|
-
"kind": "MethodSignature",
|
|
1383
|
-
"canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtUpdates:member(1)",
|
|
1384
|
-
"docComment": "/**\n * This function returns an iterable with all the CRDT updates that need to be broadcasted to other actors in the system. After returning, this function clears the internal dirty state. Updates are produced only once.\n *\n * @public\n */\n",
|
|
1385
|
-
"excerptTokens": [
|
|
1386
|
-
{
|
|
1387
|
-
"kind": "Content",
|
|
1388
|
-
"text": "getCrdtUpdates(): "
|
|
1389
|
-
},
|
|
1390
|
-
{
|
|
1391
|
-
"kind": "Reference",
|
|
1392
|
-
"text": "Iterable",
|
|
1393
|
-
"canonicalReference": "!Iterable:interface"
|
|
1394
|
-
},
|
|
1395
|
-
{
|
|
1396
|
-
"kind": "Content",
|
|
1397
|
-
"text": "<"
|
|
1398
1573
|
},
|
|
1399
1574
|
{
|
|
1400
|
-
"
|
|
1401
|
-
"
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
"
|
|
1406
|
-
"text": ">"
|
|
1407
|
-
},
|
|
1408
|
-
{
|
|
1409
|
-
"kind": "Content",
|
|
1410
|
-
"text": ";"
|
|
1575
|
+
"parameterName": "markAsDirty",
|
|
1576
|
+
"parameterTypeTokenRange": {
|
|
1577
|
+
"startIndex": 3,
|
|
1578
|
+
"endIndex": 4
|
|
1579
|
+
},
|
|
1580
|
+
"isOptional": false
|
|
1411
1581
|
}
|
|
1412
1582
|
],
|
|
1413
|
-
"
|
|
1414
|
-
"returnTypeTokenRange": {
|
|
1415
|
-
"startIndex": 1,
|
|
1416
|
-
"endIndex": 5
|
|
1417
|
-
},
|
|
1418
|
-
"releaseTag": "Public",
|
|
1419
|
-
"overloadIndex": 1,
|
|
1420
|
-
"parameters": [],
|
|
1421
|
-
"name": "getCrdtUpdates"
|
|
1583
|
+
"name": "entityDeleted"
|
|
1422
1584
|
},
|
|
1423
1585
|
{
|
|
1424
1586
|
"kind": "MethodSignature",
|
|
1425
|
-
"canonicalReference": "@dcl/playground-assets!BaseComponent#
|
|
1426
|
-
"docComment": "/**\n * Get if the entity
|
|
1587
|
+
"canonicalReference": "@dcl/playground-assets!BaseComponent#get:member(1)",
|
|
1588
|
+
"docComment": "/**\n * Get the readonly component of the entity (to mutate it, use getMutable instead), throws an error if the entity doesn't have the component.\n *\n * @param entity - Entity that will be used to get the component\n *\n * @returns \n */\n",
|
|
1427
1589
|
"excerptTokens": [
|
|
1428
1590
|
{
|
|
1429
1591
|
"kind": "Content",
|
|
1430
|
-
"text": "
|
|
1592
|
+
"text": "get(entity: "
|
|
1431
1593
|
},
|
|
1432
1594
|
{
|
|
1433
1595
|
"kind": "Reference",
|
|
@@ -1440,7 +1602,95 @@
|
|
|
1440
1602
|
},
|
|
1441
1603
|
{
|
|
1442
1604
|
"kind": "Content",
|
|
1443
|
-
"text": "
|
|
1605
|
+
"text": "any"
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"kind": "Content",
|
|
1609
|
+
"text": ";"
|
|
1610
|
+
}
|
|
1611
|
+
],
|
|
1612
|
+
"isOptional": false,
|
|
1613
|
+
"returnTypeTokenRange": {
|
|
1614
|
+
"startIndex": 3,
|
|
1615
|
+
"endIndex": 4
|
|
1616
|
+
},
|
|
1617
|
+
"releaseTag": "Public",
|
|
1618
|
+
"overloadIndex": 1,
|
|
1619
|
+
"parameters": [
|
|
1620
|
+
{
|
|
1621
|
+
"parameterName": "entity",
|
|
1622
|
+
"parameterTypeTokenRange": {
|
|
1623
|
+
"startIndex": 1,
|
|
1624
|
+
"endIndex": 2
|
|
1625
|
+
},
|
|
1626
|
+
"isOptional": false
|
|
1627
|
+
}
|
|
1628
|
+
],
|
|
1629
|
+
"name": "get"
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"kind": "MethodSignature",
|
|
1633
|
+
"canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtUpdates:member(1)",
|
|
1634
|
+
"docComment": "/**\n * This function returns an iterable with all the CRDT updates that need to be broadcasted to other actors in the system. After returning, this function clears the internal dirty state. Updates are produced only once.\n *\n * @public\n */\n",
|
|
1635
|
+
"excerptTokens": [
|
|
1636
|
+
{
|
|
1637
|
+
"kind": "Content",
|
|
1638
|
+
"text": "getCrdtUpdates(): "
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"kind": "Reference",
|
|
1642
|
+
"text": "Iterable",
|
|
1643
|
+
"canonicalReference": "!Iterable:interface"
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"kind": "Content",
|
|
1647
|
+
"text": "<"
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
"kind": "Reference",
|
|
1651
|
+
"text": "CrdtMessageBody",
|
|
1652
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"kind": "Content",
|
|
1656
|
+
"text": ">"
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"kind": "Content",
|
|
1660
|
+
"text": ";"
|
|
1661
|
+
}
|
|
1662
|
+
],
|
|
1663
|
+
"isOptional": false,
|
|
1664
|
+
"returnTypeTokenRange": {
|
|
1665
|
+
"startIndex": 1,
|
|
1666
|
+
"endIndex": 5
|
|
1667
|
+
},
|
|
1668
|
+
"releaseTag": "Public",
|
|
1669
|
+
"overloadIndex": 1,
|
|
1670
|
+
"parameters": [],
|
|
1671
|
+
"name": "getCrdtUpdates"
|
|
1672
|
+
},
|
|
1673
|
+
{
|
|
1674
|
+
"kind": "MethodSignature",
|
|
1675
|
+
"canonicalReference": "@dcl/playground-assets!BaseComponent#has:member(1)",
|
|
1676
|
+
"docComment": "/**\n * Get if the entity has this component\n *\n * @param entity - entity to test\n */\n",
|
|
1677
|
+
"excerptTokens": [
|
|
1678
|
+
{
|
|
1679
|
+
"kind": "Content",
|
|
1680
|
+
"text": "has(entity: "
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"kind": "Reference",
|
|
1684
|
+
"text": "Entity",
|
|
1685
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
1686
|
+
},
|
|
1687
|
+
{
|
|
1688
|
+
"kind": "Content",
|
|
1689
|
+
"text": "): "
|
|
1690
|
+
},
|
|
1691
|
+
{
|
|
1692
|
+
"kind": "Content",
|
|
1693
|
+
"text": "boolean"
|
|
1444
1694
|
},
|
|
1445
1695
|
{
|
|
1446
1696
|
"kind": "Content",
|
|
@@ -9969,6 +10219,213 @@
|
|
|
9969
10219
|
"endIndex": 6
|
|
9970
10220
|
}
|
|
9971
10221
|
},
|
|
10222
|
+
{
|
|
10223
|
+
"kind": "Namespace",
|
|
10224
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageProtocol:namespace",
|
|
10225
|
+
"docComment": "/**\n * @public\n */\n",
|
|
10226
|
+
"excerptTokens": [
|
|
10227
|
+
{
|
|
10228
|
+
"kind": "Content",
|
|
10229
|
+
"text": "export declare namespace CrdtMessageProtocol "
|
|
10230
|
+
}
|
|
10231
|
+
],
|
|
10232
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/crdtMessageProtocol.d.ts",
|
|
10233
|
+
"releaseTag": "Public",
|
|
10234
|
+
"name": "CrdtMessageProtocol",
|
|
10235
|
+
"preserveMemberOrder": false,
|
|
10236
|
+
"members": [
|
|
10237
|
+
{
|
|
10238
|
+
"kind": "Function",
|
|
10239
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageProtocol.consumeMessage:function(1)",
|
|
10240
|
+
"docComment": "/**\n * Consume the incoming message without processing it.\n *\n * @param buf - ByteBuffer\n *\n * @returns true in case of success or false if there is no valid message.\n */\n",
|
|
10241
|
+
"excerptTokens": [
|
|
10242
|
+
{
|
|
10243
|
+
"kind": "Content",
|
|
10244
|
+
"text": "function consumeMessage(buf: "
|
|
10245
|
+
},
|
|
10246
|
+
{
|
|
10247
|
+
"kind": "Reference",
|
|
10248
|
+
"text": "ByteBuffer",
|
|
10249
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
10250
|
+
},
|
|
10251
|
+
{
|
|
10252
|
+
"kind": "Content",
|
|
10253
|
+
"text": "): "
|
|
10254
|
+
},
|
|
10255
|
+
{
|
|
10256
|
+
"kind": "Content",
|
|
10257
|
+
"text": "boolean"
|
|
10258
|
+
},
|
|
10259
|
+
{
|
|
10260
|
+
"kind": "Content",
|
|
10261
|
+
"text": ";"
|
|
10262
|
+
}
|
|
10263
|
+
],
|
|
10264
|
+
"returnTypeTokenRange": {
|
|
10265
|
+
"startIndex": 3,
|
|
10266
|
+
"endIndex": 4
|
|
10267
|
+
},
|
|
10268
|
+
"releaseTag": "Public",
|
|
10269
|
+
"overloadIndex": 1,
|
|
10270
|
+
"parameters": [
|
|
10271
|
+
{
|
|
10272
|
+
"parameterName": "buf",
|
|
10273
|
+
"parameterTypeTokenRange": {
|
|
10274
|
+
"startIndex": 1,
|
|
10275
|
+
"endIndex": 2
|
|
10276
|
+
},
|
|
10277
|
+
"isOptional": false
|
|
10278
|
+
}
|
|
10279
|
+
],
|
|
10280
|
+
"name": "consumeMessage"
|
|
10281
|
+
},
|
|
10282
|
+
{
|
|
10283
|
+
"kind": "Function",
|
|
10284
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageProtocol.getHeader:function(1)",
|
|
10285
|
+
"docComment": "/**\n * Get the current header, without consuming the bytes involved.\n *\n * @param buf - ByteBuffer\n *\n * @returns header or null if there is no validated message\n */\n",
|
|
10286
|
+
"excerptTokens": [
|
|
10287
|
+
{
|
|
10288
|
+
"kind": "Content",
|
|
10289
|
+
"text": "function getHeader(buf: "
|
|
10290
|
+
},
|
|
10291
|
+
{
|
|
10292
|
+
"kind": "Reference",
|
|
10293
|
+
"text": "ByteBuffer",
|
|
10294
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
10295
|
+
},
|
|
10296
|
+
{
|
|
10297
|
+
"kind": "Content",
|
|
10298
|
+
"text": "): "
|
|
10299
|
+
},
|
|
10300
|
+
{
|
|
10301
|
+
"kind": "Reference",
|
|
10302
|
+
"text": "CrdtMessageHeader",
|
|
10303
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
|
|
10304
|
+
},
|
|
10305
|
+
{
|
|
10306
|
+
"kind": "Content",
|
|
10307
|
+
"text": " | null"
|
|
10308
|
+
},
|
|
10309
|
+
{
|
|
10310
|
+
"kind": "Content",
|
|
10311
|
+
"text": ";"
|
|
10312
|
+
}
|
|
10313
|
+
],
|
|
10314
|
+
"returnTypeTokenRange": {
|
|
10315
|
+
"startIndex": 3,
|
|
10316
|
+
"endIndex": 5
|
|
10317
|
+
},
|
|
10318
|
+
"releaseTag": "Public",
|
|
10319
|
+
"overloadIndex": 1,
|
|
10320
|
+
"parameters": [
|
|
10321
|
+
{
|
|
10322
|
+
"parameterName": "buf",
|
|
10323
|
+
"parameterTypeTokenRange": {
|
|
10324
|
+
"startIndex": 1,
|
|
10325
|
+
"endIndex": 2
|
|
10326
|
+
},
|
|
10327
|
+
"isOptional": false
|
|
10328
|
+
}
|
|
10329
|
+
],
|
|
10330
|
+
"name": "getHeader"
|
|
10331
|
+
},
|
|
10332
|
+
{
|
|
10333
|
+
"kind": "Function",
|
|
10334
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageProtocol.readHeader:function(1)",
|
|
10335
|
+
"docComment": "/**\n * Get the current header, consuming the bytes involved.\n *\n * @param buf - ByteBuffer\n *\n * @returns header or null if there is no validated message\n */\n",
|
|
10336
|
+
"excerptTokens": [
|
|
10337
|
+
{
|
|
10338
|
+
"kind": "Content",
|
|
10339
|
+
"text": "function readHeader(buf: "
|
|
10340
|
+
},
|
|
10341
|
+
{
|
|
10342
|
+
"kind": "Reference",
|
|
10343
|
+
"text": "ByteBuffer",
|
|
10344
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
10345
|
+
},
|
|
10346
|
+
{
|
|
10347
|
+
"kind": "Content",
|
|
10348
|
+
"text": "): "
|
|
10349
|
+
},
|
|
10350
|
+
{
|
|
10351
|
+
"kind": "Reference",
|
|
10352
|
+
"text": "CrdtMessageHeader",
|
|
10353
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
|
|
10354
|
+
},
|
|
10355
|
+
{
|
|
10356
|
+
"kind": "Content",
|
|
10357
|
+
"text": " | null"
|
|
10358
|
+
},
|
|
10359
|
+
{
|
|
10360
|
+
"kind": "Content",
|
|
10361
|
+
"text": ";"
|
|
10362
|
+
}
|
|
10363
|
+
],
|
|
10364
|
+
"returnTypeTokenRange": {
|
|
10365
|
+
"startIndex": 3,
|
|
10366
|
+
"endIndex": 5
|
|
10367
|
+
},
|
|
10368
|
+
"releaseTag": "Public",
|
|
10369
|
+
"overloadIndex": 1,
|
|
10370
|
+
"parameters": [
|
|
10371
|
+
{
|
|
10372
|
+
"parameterName": "buf",
|
|
10373
|
+
"parameterTypeTokenRange": {
|
|
10374
|
+
"startIndex": 1,
|
|
10375
|
+
"endIndex": 2
|
|
10376
|
+
},
|
|
10377
|
+
"isOptional": false
|
|
10378
|
+
}
|
|
10379
|
+
],
|
|
10380
|
+
"name": "readHeader"
|
|
10381
|
+
},
|
|
10382
|
+
{
|
|
10383
|
+
"kind": "Function",
|
|
10384
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageProtocol.validate:function(1)",
|
|
10385
|
+
"docComment": "/**\n * Validate if the message incoming is completed\n *\n * @param buf - ByteBuffer\n */\n",
|
|
10386
|
+
"excerptTokens": [
|
|
10387
|
+
{
|
|
10388
|
+
"kind": "Content",
|
|
10389
|
+
"text": "function validate(buf: "
|
|
10390
|
+
},
|
|
10391
|
+
{
|
|
10392
|
+
"kind": "Reference",
|
|
10393
|
+
"text": "ByteBuffer",
|
|
10394
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
10395
|
+
},
|
|
10396
|
+
{
|
|
10397
|
+
"kind": "Content",
|
|
10398
|
+
"text": "): "
|
|
10399
|
+
},
|
|
10400
|
+
{
|
|
10401
|
+
"kind": "Content",
|
|
10402
|
+
"text": "boolean"
|
|
10403
|
+
},
|
|
10404
|
+
{
|
|
10405
|
+
"kind": "Content",
|
|
10406
|
+
"text": ";"
|
|
10407
|
+
}
|
|
10408
|
+
],
|
|
10409
|
+
"returnTypeTokenRange": {
|
|
10410
|
+
"startIndex": 3,
|
|
10411
|
+
"endIndex": 4
|
|
10412
|
+
},
|
|
10413
|
+
"releaseTag": "Public",
|
|
10414
|
+
"overloadIndex": 1,
|
|
10415
|
+
"parameters": [
|
|
10416
|
+
{
|
|
10417
|
+
"parameterName": "buf",
|
|
10418
|
+
"parameterTypeTokenRange": {
|
|
10419
|
+
"startIndex": 1,
|
|
10420
|
+
"endIndex": 2
|
|
10421
|
+
},
|
|
10422
|
+
"isOptional": false
|
|
10423
|
+
}
|
|
10424
|
+
],
|
|
10425
|
+
"name": "validate"
|
|
10426
|
+
}
|
|
10427
|
+
]
|
|
10428
|
+
},
|
|
9972
10429
|
{
|
|
9973
10430
|
"kind": "Enum",
|
|
9974
10431
|
"canonicalReference": "@dcl/playground-assets!CrdtMessageType:enum",
|
|
@@ -10530,6 +10987,193 @@
|
|
|
10530
10987
|
"endIndex": 2
|
|
10531
10988
|
}
|
|
10532
10989
|
},
|
|
10990
|
+
{
|
|
10991
|
+
"kind": "Namespace",
|
|
10992
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponent:namespace",
|
|
10993
|
+
"docComment": "/**\n * @public\n */\n",
|
|
10994
|
+
"excerptTokens": [
|
|
10995
|
+
{
|
|
10996
|
+
"kind": "Content",
|
|
10997
|
+
"text": "export declare namespace DeleteComponent "
|
|
10998
|
+
}
|
|
10999
|
+
],
|
|
11000
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/deleteComponent.d.ts",
|
|
11001
|
+
"releaseTag": "Public",
|
|
11002
|
+
"name": "DeleteComponent",
|
|
11003
|
+
"preserveMemberOrder": false,
|
|
11004
|
+
"members": [
|
|
11005
|
+
{
|
|
11006
|
+
"kind": "Variable",
|
|
11007
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponent.MESSAGE_HEADER_LENGTH:var",
|
|
11008
|
+
"docComment": "",
|
|
11009
|
+
"excerptTokens": [
|
|
11010
|
+
{
|
|
11011
|
+
"kind": "Content",
|
|
11012
|
+
"text": "MESSAGE_HEADER_LENGTH = "
|
|
11013
|
+
},
|
|
11014
|
+
{
|
|
11015
|
+
"kind": "Content",
|
|
11016
|
+
"text": "12"
|
|
11017
|
+
}
|
|
11018
|
+
],
|
|
11019
|
+
"initializerTokenRange": {
|
|
11020
|
+
"startIndex": 1,
|
|
11021
|
+
"endIndex": 2
|
|
11022
|
+
},
|
|
11023
|
+
"isReadonly": true,
|
|
11024
|
+
"releaseTag": "Public",
|
|
11025
|
+
"name": "MESSAGE_HEADER_LENGTH",
|
|
11026
|
+
"variableTypeTokenRange": {
|
|
11027
|
+
"startIndex": 0,
|
|
11028
|
+
"endIndex": 0
|
|
11029
|
+
}
|
|
11030
|
+
},
|
|
11031
|
+
{
|
|
11032
|
+
"kind": "Function",
|
|
11033
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponent.read:function(1)",
|
|
11034
|
+
"docComment": "",
|
|
11035
|
+
"excerptTokens": [
|
|
11036
|
+
{
|
|
11037
|
+
"kind": "Content",
|
|
11038
|
+
"text": "function read(buf: "
|
|
11039
|
+
},
|
|
11040
|
+
{
|
|
11041
|
+
"kind": "Reference",
|
|
11042
|
+
"text": "ByteBuffer",
|
|
11043
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
11044
|
+
},
|
|
11045
|
+
{
|
|
11046
|
+
"kind": "Content",
|
|
11047
|
+
"text": "): "
|
|
11048
|
+
},
|
|
11049
|
+
{
|
|
11050
|
+
"kind": "Reference",
|
|
11051
|
+
"text": "DeleteComponentMessage",
|
|
11052
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponentMessage:type"
|
|
11053
|
+
},
|
|
11054
|
+
{
|
|
11055
|
+
"kind": "Content",
|
|
11056
|
+
"text": " | null"
|
|
11057
|
+
},
|
|
11058
|
+
{
|
|
11059
|
+
"kind": "Content",
|
|
11060
|
+
"text": ";"
|
|
11061
|
+
}
|
|
11062
|
+
],
|
|
11063
|
+
"returnTypeTokenRange": {
|
|
11064
|
+
"startIndex": 3,
|
|
11065
|
+
"endIndex": 5
|
|
11066
|
+
},
|
|
11067
|
+
"releaseTag": "Public",
|
|
11068
|
+
"overloadIndex": 1,
|
|
11069
|
+
"parameters": [
|
|
11070
|
+
{
|
|
11071
|
+
"parameterName": "buf",
|
|
11072
|
+
"parameterTypeTokenRange": {
|
|
11073
|
+
"startIndex": 1,
|
|
11074
|
+
"endIndex": 2
|
|
11075
|
+
},
|
|
11076
|
+
"isOptional": false
|
|
11077
|
+
}
|
|
11078
|
+
],
|
|
11079
|
+
"name": "read"
|
|
11080
|
+
},
|
|
11081
|
+
{
|
|
11082
|
+
"kind": "Function",
|
|
11083
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponent.write:function(1)",
|
|
11084
|
+
"docComment": "/**\n * Write DeleteComponent message\n */\n",
|
|
11085
|
+
"excerptTokens": [
|
|
11086
|
+
{
|
|
11087
|
+
"kind": "Content",
|
|
11088
|
+
"text": "function write(entity: "
|
|
11089
|
+
},
|
|
11090
|
+
{
|
|
11091
|
+
"kind": "Reference",
|
|
11092
|
+
"text": "Entity",
|
|
11093
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
11094
|
+
},
|
|
11095
|
+
{
|
|
11096
|
+
"kind": "Content",
|
|
11097
|
+
"text": ", componentId: "
|
|
11098
|
+
},
|
|
11099
|
+
{
|
|
11100
|
+
"kind": "Content",
|
|
11101
|
+
"text": "number"
|
|
11102
|
+
},
|
|
11103
|
+
{
|
|
11104
|
+
"kind": "Content",
|
|
11105
|
+
"text": ", timestamp: "
|
|
11106
|
+
},
|
|
11107
|
+
{
|
|
11108
|
+
"kind": "Content",
|
|
11109
|
+
"text": "number"
|
|
11110
|
+
},
|
|
11111
|
+
{
|
|
11112
|
+
"kind": "Content",
|
|
11113
|
+
"text": ", buf: "
|
|
11114
|
+
},
|
|
11115
|
+
{
|
|
11116
|
+
"kind": "Reference",
|
|
11117
|
+
"text": "ByteBuffer",
|
|
11118
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
11119
|
+
},
|
|
11120
|
+
{
|
|
11121
|
+
"kind": "Content",
|
|
11122
|
+
"text": "): "
|
|
11123
|
+
},
|
|
11124
|
+
{
|
|
11125
|
+
"kind": "Content",
|
|
11126
|
+
"text": "void"
|
|
11127
|
+
},
|
|
11128
|
+
{
|
|
11129
|
+
"kind": "Content",
|
|
11130
|
+
"text": ";"
|
|
11131
|
+
}
|
|
11132
|
+
],
|
|
11133
|
+
"returnTypeTokenRange": {
|
|
11134
|
+
"startIndex": 9,
|
|
11135
|
+
"endIndex": 10
|
|
11136
|
+
},
|
|
11137
|
+
"releaseTag": "Public",
|
|
11138
|
+
"overloadIndex": 1,
|
|
11139
|
+
"parameters": [
|
|
11140
|
+
{
|
|
11141
|
+
"parameterName": "entity",
|
|
11142
|
+
"parameterTypeTokenRange": {
|
|
11143
|
+
"startIndex": 1,
|
|
11144
|
+
"endIndex": 2
|
|
11145
|
+
},
|
|
11146
|
+
"isOptional": false
|
|
11147
|
+
},
|
|
11148
|
+
{
|
|
11149
|
+
"parameterName": "componentId",
|
|
11150
|
+
"parameterTypeTokenRange": {
|
|
11151
|
+
"startIndex": 3,
|
|
11152
|
+
"endIndex": 4
|
|
11153
|
+
},
|
|
11154
|
+
"isOptional": false
|
|
11155
|
+
},
|
|
11156
|
+
{
|
|
11157
|
+
"parameterName": "timestamp",
|
|
11158
|
+
"parameterTypeTokenRange": {
|
|
11159
|
+
"startIndex": 5,
|
|
11160
|
+
"endIndex": 6
|
|
11161
|
+
},
|
|
11162
|
+
"isOptional": false
|
|
11163
|
+
},
|
|
11164
|
+
{
|
|
11165
|
+
"parameterName": "buf",
|
|
11166
|
+
"parameterTypeTokenRange": {
|
|
11167
|
+
"startIndex": 7,
|
|
11168
|
+
"endIndex": 8
|
|
11169
|
+
},
|
|
11170
|
+
"isOptional": false
|
|
11171
|
+
}
|
|
11172
|
+
],
|
|
11173
|
+
"name": "write"
|
|
11174
|
+
}
|
|
11175
|
+
]
|
|
11176
|
+
},
|
|
10533
11177
|
{
|
|
10534
11178
|
"kind": "TypeAlias",
|
|
10535
11179
|
"canonicalReference": "@dcl/playground-assets!DeleteComponentMessage:type",
|
|
@@ -10610,6 +11254,161 @@
|
|
|
10610
11254
|
"endIndex": 6
|
|
10611
11255
|
}
|
|
10612
11256
|
},
|
|
11257
|
+
{
|
|
11258
|
+
"kind": "Namespace",
|
|
11259
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntity:namespace",
|
|
11260
|
+
"docComment": "/**\n * @public\n */\n",
|
|
11261
|
+
"excerptTokens": [
|
|
11262
|
+
{
|
|
11263
|
+
"kind": "Content",
|
|
11264
|
+
"text": "export declare namespace DeleteEntity "
|
|
11265
|
+
}
|
|
11266
|
+
],
|
|
11267
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/deleteEntity.d.ts",
|
|
11268
|
+
"releaseTag": "Public",
|
|
11269
|
+
"name": "DeleteEntity",
|
|
11270
|
+
"preserveMemberOrder": false,
|
|
11271
|
+
"members": [
|
|
11272
|
+
{
|
|
11273
|
+
"kind": "Variable",
|
|
11274
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntity.MESSAGE_HEADER_LENGTH:var",
|
|
11275
|
+
"docComment": "",
|
|
11276
|
+
"excerptTokens": [
|
|
11277
|
+
{
|
|
11278
|
+
"kind": "Content",
|
|
11279
|
+
"text": "MESSAGE_HEADER_LENGTH = "
|
|
11280
|
+
},
|
|
11281
|
+
{
|
|
11282
|
+
"kind": "Content",
|
|
11283
|
+
"text": "4"
|
|
11284
|
+
}
|
|
11285
|
+
],
|
|
11286
|
+
"initializerTokenRange": {
|
|
11287
|
+
"startIndex": 1,
|
|
11288
|
+
"endIndex": 2
|
|
11289
|
+
},
|
|
11290
|
+
"isReadonly": true,
|
|
11291
|
+
"releaseTag": "Public",
|
|
11292
|
+
"name": "MESSAGE_HEADER_LENGTH",
|
|
11293
|
+
"variableTypeTokenRange": {
|
|
11294
|
+
"startIndex": 0,
|
|
11295
|
+
"endIndex": 0
|
|
11296
|
+
}
|
|
11297
|
+
},
|
|
11298
|
+
{
|
|
11299
|
+
"kind": "Function",
|
|
11300
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntity.read:function(1)",
|
|
11301
|
+
"docComment": "",
|
|
11302
|
+
"excerptTokens": [
|
|
11303
|
+
{
|
|
11304
|
+
"kind": "Content",
|
|
11305
|
+
"text": "function read(buf: "
|
|
11306
|
+
},
|
|
11307
|
+
{
|
|
11308
|
+
"kind": "Reference",
|
|
11309
|
+
"text": "ByteBuffer",
|
|
11310
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
11311
|
+
},
|
|
11312
|
+
{
|
|
11313
|
+
"kind": "Content",
|
|
11314
|
+
"text": "): "
|
|
11315
|
+
},
|
|
11316
|
+
{
|
|
11317
|
+
"kind": "Reference",
|
|
11318
|
+
"text": "DeleteEntityMessage",
|
|
11319
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntityMessage:type"
|
|
11320
|
+
},
|
|
11321
|
+
{
|
|
11322
|
+
"kind": "Content",
|
|
11323
|
+
"text": " | null"
|
|
11324
|
+
},
|
|
11325
|
+
{
|
|
11326
|
+
"kind": "Content",
|
|
11327
|
+
"text": ";"
|
|
11328
|
+
}
|
|
11329
|
+
],
|
|
11330
|
+
"returnTypeTokenRange": {
|
|
11331
|
+
"startIndex": 3,
|
|
11332
|
+
"endIndex": 5
|
|
11333
|
+
},
|
|
11334
|
+
"releaseTag": "Public",
|
|
11335
|
+
"overloadIndex": 1,
|
|
11336
|
+
"parameters": [
|
|
11337
|
+
{
|
|
11338
|
+
"parameterName": "buf",
|
|
11339
|
+
"parameterTypeTokenRange": {
|
|
11340
|
+
"startIndex": 1,
|
|
11341
|
+
"endIndex": 2
|
|
11342
|
+
},
|
|
11343
|
+
"isOptional": false
|
|
11344
|
+
}
|
|
11345
|
+
],
|
|
11346
|
+
"name": "read"
|
|
11347
|
+
},
|
|
11348
|
+
{
|
|
11349
|
+
"kind": "Function",
|
|
11350
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntity.write:function(1)",
|
|
11351
|
+
"docComment": "",
|
|
11352
|
+
"excerptTokens": [
|
|
11353
|
+
{
|
|
11354
|
+
"kind": "Content",
|
|
11355
|
+
"text": "function write(entity: "
|
|
11356
|
+
},
|
|
11357
|
+
{
|
|
11358
|
+
"kind": "Reference",
|
|
11359
|
+
"text": "Entity",
|
|
11360
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
11361
|
+
},
|
|
11362
|
+
{
|
|
11363
|
+
"kind": "Content",
|
|
11364
|
+
"text": ", buf: "
|
|
11365
|
+
},
|
|
11366
|
+
{
|
|
11367
|
+
"kind": "Reference",
|
|
11368
|
+
"text": "ByteBuffer",
|
|
11369
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
11370
|
+
},
|
|
11371
|
+
{
|
|
11372
|
+
"kind": "Content",
|
|
11373
|
+
"text": "): "
|
|
11374
|
+
},
|
|
11375
|
+
{
|
|
11376
|
+
"kind": "Content",
|
|
11377
|
+
"text": "void"
|
|
11378
|
+
},
|
|
11379
|
+
{
|
|
11380
|
+
"kind": "Content",
|
|
11381
|
+
"text": ";"
|
|
11382
|
+
}
|
|
11383
|
+
],
|
|
11384
|
+
"returnTypeTokenRange": {
|
|
11385
|
+
"startIndex": 5,
|
|
11386
|
+
"endIndex": 6
|
|
11387
|
+
},
|
|
11388
|
+
"releaseTag": "Public",
|
|
11389
|
+
"overloadIndex": 1,
|
|
11390
|
+
"parameters": [
|
|
11391
|
+
{
|
|
11392
|
+
"parameterName": "entity",
|
|
11393
|
+
"parameterTypeTokenRange": {
|
|
11394
|
+
"startIndex": 1,
|
|
11395
|
+
"endIndex": 2
|
|
11396
|
+
},
|
|
11397
|
+
"isOptional": false
|
|
11398
|
+
},
|
|
11399
|
+
{
|
|
11400
|
+
"parameterName": "buf",
|
|
11401
|
+
"parameterTypeTokenRange": {
|
|
11402
|
+
"startIndex": 3,
|
|
11403
|
+
"endIndex": 4
|
|
11404
|
+
},
|
|
11405
|
+
"isOptional": false
|
|
11406
|
+
}
|
|
11407
|
+
],
|
|
11408
|
+
"name": "write"
|
|
11409
|
+
}
|
|
11410
|
+
]
|
|
11411
|
+
},
|
|
10613
11412
|
{
|
|
10614
11413
|
"kind": "TypeAlias",
|
|
10615
11414
|
"canonicalReference": "@dcl/playground-assets!DeleteEntityMessage:type",
|
|
@@ -10840,6 +11639,53 @@
|
|
|
10840
11639
|
],
|
|
10841
11640
|
"extendsTokenRanges": []
|
|
10842
11641
|
},
|
|
11642
|
+
{
|
|
11643
|
+
"kind": "Function",
|
|
11644
|
+
"canonicalReference": "@dcl/playground-assets!Engine:function(1)",
|
|
11645
|
+
"docComment": "/**\n * Internal constructor of new engines, this is an internal API\n *\n * @deprecated\n *\n * Prevent manual usage prefer \"engine\" for scene development\n *\n * @public\n */\n",
|
|
11646
|
+
"excerptTokens": [
|
|
11647
|
+
{
|
|
11648
|
+
"kind": "Content",
|
|
11649
|
+
"text": "export declare function Engine(options?: "
|
|
11650
|
+
},
|
|
11651
|
+
{
|
|
11652
|
+
"kind": "Reference",
|
|
11653
|
+
"text": "IEngineOptions",
|
|
11654
|
+
"canonicalReference": "@dcl/playground-assets!IEngineOptions:interface"
|
|
11655
|
+
},
|
|
11656
|
+
{
|
|
11657
|
+
"kind": "Content",
|
|
11658
|
+
"text": "): "
|
|
11659
|
+
},
|
|
11660
|
+
{
|
|
11661
|
+
"kind": "Reference",
|
|
11662
|
+
"text": "IEngine",
|
|
11663
|
+
"canonicalReference": "@dcl/playground-assets!IEngine:interface"
|
|
11664
|
+
},
|
|
11665
|
+
{
|
|
11666
|
+
"kind": "Content",
|
|
11667
|
+
"text": ";"
|
|
11668
|
+
}
|
|
11669
|
+
],
|
|
11670
|
+
"fileUrlPath": "../ecs/dist/engine/index.d.ts",
|
|
11671
|
+
"returnTypeTokenRange": {
|
|
11672
|
+
"startIndex": 3,
|
|
11673
|
+
"endIndex": 4
|
|
11674
|
+
},
|
|
11675
|
+
"releaseTag": "Public",
|
|
11676
|
+
"overloadIndex": 1,
|
|
11677
|
+
"parameters": [
|
|
11678
|
+
{
|
|
11679
|
+
"parameterName": "options",
|
|
11680
|
+
"parameterTypeTokenRange": {
|
|
11681
|
+
"startIndex": 1,
|
|
11682
|
+
"endIndex": 2
|
|
11683
|
+
},
|
|
11684
|
+
"isOptional": true
|
|
11685
|
+
}
|
|
11686
|
+
],
|
|
11687
|
+
"name": "Engine"
|
|
11688
|
+
},
|
|
10843
11689
|
{
|
|
10844
11690
|
"kind": "Variable",
|
|
10845
11691
|
"canonicalReference": "@dcl/playground-assets!engine:var",
|
|
@@ -13313,6 +14159,52 @@
|
|
|
13313
14159
|
],
|
|
13314
14160
|
"extendsTokenRanges": []
|
|
13315
14161
|
},
|
|
14162
|
+
{
|
|
14163
|
+
"kind": "Interface",
|
|
14164
|
+
"canonicalReference": "@dcl/playground-assets!IEngineOptions:interface",
|
|
14165
|
+
"docComment": "/**\n * @public\n */\n",
|
|
14166
|
+
"excerptTokens": [
|
|
14167
|
+
{
|
|
14168
|
+
"kind": "Content",
|
|
14169
|
+
"text": "export interface IEngineOptions "
|
|
14170
|
+
}
|
|
14171
|
+
],
|
|
14172
|
+
"fileUrlPath": "../ecs/dist/engine/types.d.ts",
|
|
14173
|
+
"releaseTag": "Public",
|
|
14174
|
+
"name": "IEngineOptions",
|
|
14175
|
+
"preserveMemberOrder": false,
|
|
14176
|
+
"members": [
|
|
14177
|
+
{
|
|
14178
|
+
"kind": "PropertySignature",
|
|
14179
|
+
"canonicalReference": "@dcl/playground-assets!IEngineOptions#onChangeFunction:member",
|
|
14180
|
+
"docComment": "",
|
|
14181
|
+
"excerptTokens": [
|
|
14182
|
+
{
|
|
14183
|
+
"kind": "Content",
|
|
14184
|
+
"text": "onChangeFunction: "
|
|
14185
|
+
},
|
|
14186
|
+
{
|
|
14187
|
+
"kind": "Reference",
|
|
14188
|
+
"text": "OnChangeFunction",
|
|
14189
|
+
"canonicalReference": "@dcl/playground-assets!OnChangeFunction:type"
|
|
14190
|
+
},
|
|
14191
|
+
{
|
|
14192
|
+
"kind": "Content",
|
|
14193
|
+
"text": ";"
|
|
14194
|
+
}
|
|
14195
|
+
],
|
|
14196
|
+
"isReadonly": false,
|
|
14197
|
+
"isOptional": false,
|
|
14198
|
+
"releaseTag": "Public",
|
|
14199
|
+
"name": "onChangeFunction",
|
|
14200
|
+
"propertyTypeTokenRange": {
|
|
14201
|
+
"startIndex": 1,
|
|
14202
|
+
"endIndex": 2
|
|
14203
|
+
}
|
|
14204
|
+
}
|
|
14205
|
+
],
|
|
14206
|
+
"extendsTokenRanges": []
|
|
14207
|
+
},
|
|
13316
14208
|
{
|
|
13317
14209
|
"kind": "TypeAlias",
|
|
13318
14210
|
"canonicalReference": "@dcl/playground-assets!IEventNames:type",
|
|
@@ -36567,6 +37459,210 @@
|
|
|
36567
37459
|
"endIndex": 8
|
|
36568
37460
|
}
|
|
36569
37461
|
},
|
|
37462
|
+
{
|
|
37463
|
+
"kind": "Namespace",
|
|
37464
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentOperation:namespace",
|
|
37465
|
+
"docComment": "/**\n * @public\n */\n",
|
|
37466
|
+
"excerptTokens": [
|
|
37467
|
+
{
|
|
37468
|
+
"kind": "Content",
|
|
37469
|
+
"text": "export declare namespace PutComponentOperation "
|
|
37470
|
+
}
|
|
37471
|
+
],
|
|
37472
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/putComponent.d.ts",
|
|
37473
|
+
"releaseTag": "Public",
|
|
37474
|
+
"name": "PutComponentOperation",
|
|
37475
|
+
"preserveMemberOrder": false,
|
|
37476
|
+
"members": [
|
|
37477
|
+
{
|
|
37478
|
+
"kind": "Variable",
|
|
37479
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentOperation.MESSAGE_HEADER_LENGTH:var",
|
|
37480
|
+
"docComment": "",
|
|
37481
|
+
"excerptTokens": [
|
|
37482
|
+
{
|
|
37483
|
+
"kind": "Content",
|
|
37484
|
+
"text": "MESSAGE_HEADER_LENGTH = "
|
|
37485
|
+
},
|
|
37486
|
+
{
|
|
37487
|
+
"kind": "Content",
|
|
37488
|
+
"text": "16"
|
|
37489
|
+
}
|
|
37490
|
+
],
|
|
37491
|
+
"initializerTokenRange": {
|
|
37492
|
+
"startIndex": 1,
|
|
37493
|
+
"endIndex": 2
|
|
37494
|
+
},
|
|
37495
|
+
"isReadonly": true,
|
|
37496
|
+
"releaseTag": "Public",
|
|
37497
|
+
"name": "MESSAGE_HEADER_LENGTH",
|
|
37498
|
+
"variableTypeTokenRange": {
|
|
37499
|
+
"startIndex": 0,
|
|
37500
|
+
"endIndex": 0
|
|
37501
|
+
}
|
|
37502
|
+
},
|
|
37503
|
+
{
|
|
37504
|
+
"kind": "Function",
|
|
37505
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentOperation.read:function(1)",
|
|
37506
|
+
"docComment": "",
|
|
37507
|
+
"excerptTokens": [
|
|
37508
|
+
{
|
|
37509
|
+
"kind": "Content",
|
|
37510
|
+
"text": "function read(buf: "
|
|
37511
|
+
},
|
|
37512
|
+
{
|
|
37513
|
+
"kind": "Reference",
|
|
37514
|
+
"text": "ByteBuffer",
|
|
37515
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
37516
|
+
},
|
|
37517
|
+
{
|
|
37518
|
+
"kind": "Content",
|
|
37519
|
+
"text": "): "
|
|
37520
|
+
},
|
|
37521
|
+
{
|
|
37522
|
+
"kind": "Reference",
|
|
37523
|
+
"text": "PutComponentMessage",
|
|
37524
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentMessage:type"
|
|
37525
|
+
},
|
|
37526
|
+
{
|
|
37527
|
+
"kind": "Content",
|
|
37528
|
+
"text": " | null"
|
|
37529
|
+
},
|
|
37530
|
+
{
|
|
37531
|
+
"kind": "Content",
|
|
37532
|
+
"text": ";"
|
|
37533
|
+
}
|
|
37534
|
+
],
|
|
37535
|
+
"returnTypeTokenRange": {
|
|
37536
|
+
"startIndex": 3,
|
|
37537
|
+
"endIndex": 5
|
|
37538
|
+
},
|
|
37539
|
+
"releaseTag": "Public",
|
|
37540
|
+
"overloadIndex": 1,
|
|
37541
|
+
"parameters": [
|
|
37542
|
+
{
|
|
37543
|
+
"parameterName": "buf",
|
|
37544
|
+
"parameterTypeTokenRange": {
|
|
37545
|
+
"startIndex": 1,
|
|
37546
|
+
"endIndex": 2
|
|
37547
|
+
},
|
|
37548
|
+
"isOptional": false
|
|
37549
|
+
}
|
|
37550
|
+
],
|
|
37551
|
+
"name": "read"
|
|
37552
|
+
},
|
|
37553
|
+
{
|
|
37554
|
+
"kind": "Function",
|
|
37555
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentOperation.write:function(1)",
|
|
37556
|
+
"docComment": "/**\n * Call this function for an optimal writing data passing the ByteBuffer already allocated\n */\n",
|
|
37557
|
+
"excerptTokens": [
|
|
37558
|
+
{
|
|
37559
|
+
"kind": "Content",
|
|
37560
|
+
"text": "function write(entity: "
|
|
37561
|
+
},
|
|
37562
|
+
{
|
|
37563
|
+
"kind": "Reference",
|
|
37564
|
+
"text": "Entity",
|
|
37565
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
37566
|
+
},
|
|
37567
|
+
{
|
|
37568
|
+
"kind": "Content",
|
|
37569
|
+
"text": ", timestamp: "
|
|
37570
|
+
},
|
|
37571
|
+
{
|
|
37572
|
+
"kind": "Content",
|
|
37573
|
+
"text": "number"
|
|
37574
|
+
},
|
|
37575
|
+
{
|
|
37576
|
+
"kind": "Content",
|
|
37577
|
+
"text": ", componentId: "
|
|
37578
|
+
},
|
|
37579
|
+
{
|
|
37580
|
+
"kind": "Content",
|
|
37581
|
+
"text": "number"
|
|
37582
|
+
},
|
|
37583
|
+
{
|
|
37584
|
+
"kind": "Content",
|
|
37585
|
+
"text": ", data: "
|
|
37586
|
+
},
|
|
37587
|
+
{
|
|
37588
|
+
"kind": "Reference",
|
|
37589
|
+
"text": "Uint8Array",
|
|
37590
|
+
"canonicalReference": "!Uint8Array:interface"
|
|
37591
|
+
},
|
|
37592
|
+
{
|
|
37593
|
+
"kind": "Content",
|
|
37594
|
+
"text": ", buf: "
|
|
37595
|
+
},
|
|
37596
|
+
{
|
|
37597
|
+
"kind": "Reference",
|
|
37598
|
+
"text": "ByteBuffer",
|
|
37599
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
|
|
37600
|
+
},
|
|
37601
|
+
{
|
|
37602
|
+
"kind": "Content",
|
|
37603
|
+
"text": "): "
|
|
37604
|
+
},
|
|
37605
|
+
{
|
|
37606
|
+
"kind": "Content",
|
|
37607
|
+
"text": "void"
|
|
37608
|
+
},
|
|
37609
|
+
{
|
|
37610
|
+
"kind": "Content",
|
|
37611
|
+
"text": ";"
|
|
37612
|
+
}
|
|
37613
|
+
],
|
|
37614
|
+
"returnTypeTokenRange": {
|
|
37615
|
+
"startIndex": 11,
|
|
37616
|
+
"endIndex": 12
|
|
37617
|
+
},
|
|
37618
|
+
"releaseTag": "Public",
|
|
37619
|
+
"overloadIndex": 1,
|
|
37620
|
+
"parameters": [
|
|
37621
|
+
{
|
|
37622
|
+
"parameterName": "entity",
|
|
37623
|
+
"parameterTypeTokenRange": {
|
|
37624
|
+
"startIndex": 1,
|
|
37625
|
+
"endIndex": 2
|
|
37626
|
+
},
|
|
37627
|
+
"isOptional": false
|
|
37628
|
+
},
|
|
37629
|
+
{
|
|
37630
|
+
"parameterName": "timestamp",
|
|
37631
|
+
"parameterTypeTokenRange": {
|
|
37632
|
+
"startIndex": 3,
|
|
37633
|
+
"endIndex": 4
|
|
37634
|
+
},
|
|
37635
|
+
"isOptional": false
|
|
37636
|
+
},
|
|
37637
|
+
{
|
|
37638
|
+
"parameterName": "componentId",
|
|
37639
|
+
"parameterTypeTokenRange": {
|
|
37640
|
+
"startIndex": 5,
|
|
37641
|
+
"endIndex": 6
|
|
37642
|
+
},
|
|
37643
|
+
"isOptional": false
|
|
37644
|
+
},
|
|
37645
|
+
{
|
|
37646
|
+
"parameterName": "data",
|
|
37647
|
+
"parameterTypeTokenRange": {
|
|
37648
|
+
"startIndex": 7,
|
|
37649
|
+
"endIndex": 8
|
|
37650
|
+
},
|
|
37651
|
+
"isOptional": false
|
|
37652
|
+
},
|
|
37653
|
+
{
|
|
37654
|
+
"parameterName": "buf",
|
|
37655
|
+
"parameterTypeTokenRange": {
|
|
37656
|
+
"startIndex": 9,
|
|
37657
|
+
"endIndex": 10
|
|
37658
|
+
},
|
|
37659
|
+
"isOptional": false
|
|
37660
|
+
}
|
|
37661
|
+
],
|
|
37662
|
+
"name": "write"
|
|
37663
|
+
}
|
|
37664
|
+
]
|
|
37665
|
+
},
|
|
36570
37666
|
{
|
|
36571
37667
|
"kind": "Namespace",
|
|
36572
37668
|
"canonicalReference": "@dcl/playground-assets!Quaternion:namespace",
|