@dcl/playground-assets 7.0.6-3823801200.commit-32470bd → 7.0.6-3830539086.commit-6152fbd
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 +162 -42
- package/dist/beta.d.ts +162 -42
- package/dist/index.bundled.d.ts +162 -42
- package/dist/index.js +776 -291
- 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 +162 -42
- package/etc/playground-assets.api.json +1607 -430
- package/etc/playground-assets.api.md +166 -45
- package/package.json +3 -3
|
@@ -7431,6 +7431,496 @@
|
|
|
7431
7431
|
"endIndex": 12
|
|
7432
7432
|
}
|
|
7433
7433
|
},
|
|
7434
|
+
{
|
|
7435
|
+
"kind": "Variable",
|
|
7436
|
+
"canonicalReference": "@dcl/playground-assets!CRDT_MESSAGE_HEADER_LENGTH:var",
|
|
7437
|
+
"docComment": "",
|
|
7438
|
+
"excerptTokens": [
|
|
7439
|
+
{
|
|
7440
|
+
"kind": "Content",
|
|
7441
|
+
"text": "CRDT_MESSAGE_HEADER_LENGTH = "
|
|
7442
|
+
},
|
|
7443
|
+
{
|
|
7444
|
+
"kind": "Content",
|
|
7445
|
+
"text": "8"
|
|
7446
|
+
}
|
|
7447
|
+
],
|
|
7448
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
7449
|
+
"initializerTokenRange": {
|
|
7450
|
+
"startIndex": 1,
|
|
7451
|
+
"endIndex": 2
|
|
7452
|
+
},
|
|
7453
|
+
"isReadonly": true,
|
|
7454
|
+
"releaseTag": "Public",
|
|
7455
|
+
"name": "CRDT_MESSAGE_HEADER_LENGTH",
|
|
7456
|
+
"variableTypeTokenRange": {
|
|
7457
|
+
"startIndex": 0,
|
|
7458
|
+
"endIndex": 0
|
|
7459
|
+
}
|
|
7460
|
+
},
|
|
7461
|
+
{
|
|
7462
|
+
"kind": "TypeAlias",
|
|
7463
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessage:type",
|
|
7464
|
+
"docComment": "",
|
|
7465
|
+
"excerptTokens": [
|
|
7466
|
+
{
|
|
7467
|
+
"kind": "Content",
|
|
7468
|
+
"text": "export declare type CrdtMessage = "
|
|
7469
|
+
},
|
|
7470
|
+
{
|
|
7471
|
+
"kind": "Reference",
|
|
7472
|
+
"text": "PutComponentMessage",
|
|
7473
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentMessage:type"
|
|
7474
|
+
},
|
|
7475
|
+
{
|
|
7476
|
+
"kind": "Content",
|
|
7477
|
+
"text": " | "
|
|
7478
|
+
},
|
|
7479
|
+
{
|
|
7480
|
+
"kind": "Reference",
|
|
7481
|
+
"text": "DeleteComponentMessage",
|
|
7482
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponentMessage:type"
|
|
7483
|
+
},
|
|
7484
|
+
{
|
|
7485
|
+
"kind": "Content",
|
|
7486
|
+
"text": " | "
|
|
7487
|
+
},
|
|
7488
|
+
{
|
|
7489
|
+
"kind": "Reference",
|
|
7490
|
+
"text": "DeleteEntityMessage",
|
|
7491
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntityMessage:type"
|
|
7492
|
+
},
|
|
7493
|
+
{
|
|
7494
|
+
"kind": "Content",
|
|
7495
|
+
"text": ";"
|
|
7496
|
+
}
|
|
7497
|
+
],
|
|
7498
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
7499
|
+
"releaseTag": "Public",
|
|
7500
|
+
"name": "CrdtMessage",
|
|
7501
|
+
"typeTokenRange": {
|
|
7502
|
+
"startIndex": 1,
|
|
7503
|
+
"endIndex": 6
|
|
7504
|
+
}
|
|
7505
|
+
},
|
|
7506
|
+
{
|
|
7507
|
+
"kind": "TypeAlias",
|
|
7508
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type",
|
|
7509
|
+
"docComment": "",
|
|
7510
|
+
"excerptTokens": [
|
|
7511
|
+
{
|
|
7512
|
+
"kind": "Content",
|
|
7513
|
+
"text": "export declare type CrdtMessageBody = "
|
|
7514
|
+
},
|
|
7515
|
+
{
|
|
7516
|
+
"kind": "Reference",
|
|
7517
|
+
"text": "PutComponentMessageBody",
|
|
7518
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type"
|
|
7519
|
+
},
|
|
7520
|
+
{
|
|
7521
|
+
"kind": "Content",
|
|
7522
|
+
"text": " | "
|
|
7523
|
+
},
|
|
7524
|
+
{
|
|
7525
|
+
"kind": "Reference",
|
|
7526
|
+
"text": "DeleteComponentMessageBody",
|
|
7527
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type"
|
|
7528
|
+
},
|
|
7529
|
+
{
|
|
7530
|
+
"kind": "Content",
|
|
7531
|
+
"text": " | "
|
|
7532
|
+
},
|
|
7533
|
+
{
|
|
7534
|
+
"kind": "Reference",
|
|
7535
|
+
"text": "DeleteEntityMessage",
|
|
7536
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntityMessage:type"
|
|
7537
|
+
},
|
|
7538
|
+
{
|
|
7539
|
+
"kind": "Content",
|
|
7540
|
+
"text": ";"
|
|
7541
|
+
}
|
|
7542
|
+
],
|
|
7543
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
7544
|
+
"releaseTag": "Public",
|
|
7545
|
+
"name": "CrdtMessageBody",
|
|
7546
|
+
"typeTokenRange": {
|
|
7547
|
+
"startIndex": 1,
|
|
7548
|
+
"endIndex": 6
|
|
7549
|
+
}
|
|
7550
|
+
},
|
|
7551
|
+
{
|
|
7552
|
+
"kind": "TypeAlias",
|
|
7553
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type",
|
|
7554
|
+
"docComment": "/**\n * Min length = 8 bytes All message length including\n *\n * @param length - Uint32 the length of all message (including the header)\n *\n * @param type - define the function which handles the data\n */\n",
|
|
7555
|
+
"excerptTokens": [
|
|
7556
|
+
{
|
|
7557
|
+
"kind": "Content",
|
|
7558
|
+
"text": "export declare type CrdtMessageHeader = "
|
|
7559
|
+
},
|
|
7560
|
+
{
|
|
7561
|
+
"kind": "Content",
|
|
7562
|
+
"text": "{\n length: "
|
|
7563
|
+
},
|
|
7564
|
+
{
|
|
7565
|
+
"kind": "Reference",
|
|
7566
|
+
"text": "Uint32",
|
|
7567
|
+
"canonicalReference": "@dcl/playground-assets!Uint32:type"
|
|
7568
|
+
},
|
|
7569
|
+
{
|
|
7570
|
+
"kind": "Content",
|
|
7571
|
+
"text": ";\n type: "
|
|
7572
|
+
},
|
|
7573
|
+
{
|
|
7574
|
+
"kind": "Reference",
|
|
7575
|
+
"text": "Uint32",
|
|
7576
|
+
"canonicalReference": "@dcl/playground-assets!Uint32:type"
|
|
7577
|
+
},
|
|
7578
|
+
{
|
|
7579
|
+
"kind": "Content",
|
|
7580
|
+
"text": ";\n}"
|
|
7581
|
+
},
|
|
7582
|
+
{
|
|
7583
|
+
"kind": "Content",
|
|
7584
|
+
"text": ";"
|
|
7585
|
+
}
|
|
7586
|
+
],
|
|
7587
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
7588
|
+
"releaseTag": "Public",
|
|
7589
|
+
"name": "CrdtMessageHeader",
|
|
7590
|
+
"typeTokenRange": {
|
|
7591
|
+
"startIndex": 1,
|
|
7592
|
+
"endIndex": 6
|
|
7593
|
+
}
|
|
7594
|
+
},
|
|
7595
|
+
{
|
|
7596
|
+
"kind": "Namespace",
|
|
7597
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageProtocol:namespace",
|
|
7598
|
+
"docComment": "",
|
|
7599
|
+
"excerptTokens": [
|
|
7600
|
+
{
|
|
7601
|
+
"kind": "Content",
|
|
7602
|
+
"text": "export declare namespace CrdtMessageProtocol "
|
|
7603
|
+
}
|
|
7604
|
+
],
|
|
7605
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/index.d.ts",
|
|
7606
|
+
"releaseTag": "Public",
|
|
7607
|
+
"name": "CrdtMessageProtocol",
|
|
7608
|
+
"preserveMemberOrder": false,
|
|
7609
|
+
"members": [
|
|
7610
|
+
{
|
|
7611
|
+
"kind": "Function",
|
|
7612
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageProtocol.consumeMessage:function(1)",
|
|
7613
|
+
"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",
|
|
7614
|
+
"excerptTokens": [
|
|
7615
|
+
{
|
|
7616
|
+
"kind": "Content",
|
|
7617
|
+
"text": "function consumeMessage(buf: "
|
|
7618
|
+
},
|
|
7619
|
+
{
|
|
7620
|
+
"kind": "Reference",
|
|
7621
|
+
"text": "ByteBuffer",
|
|
7622
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
7623
|
+
},
|
|
7624
|
+
{
|
|
7625
|
+
"kind": "Content",
|
|
7626
|
+
"text": "): "
|
|
7627
|
+
},
|
|
7628
|
+
{
|
|
7629
|
+
"kind": "Content",
|
|
7630
|
+
"text": "boolean"
|
|
7631
|
+
},
|
|
7632
|
+
{
|
|
7633
|
+
"kind": "Content",
|
|
7634
|
+
"text": ";"
|
|
7635
|
+
}
|
|
7636
|
+
],
|
|
7637
|
+
"returnTypeTokenRange": {
|
|
7638
|
+
"startIndex": 3,
|
|
7639
|
+
"endIndex": 4
|
|
7640
|
+
},
|
|
7641
|
+
"releaseTag": "Public",
|
|
7642
|
+
"overloadIndex": 1,
|
|
7643
|
+
"parameters": [
|
|
7644
|
+
{
|
|
7645
|
+
"parameterName": "buf",
|
|
7646
|
+
"parameterTypeTokenRange": {
|
|
7647
|
+
"startIndex": 1,
|
|
7648
|
+
"endIndex": 2
|
|
7649
|
+
},
|
|
7650
|
+
"isOptional": false
|
|
7651
|
+
}
|
|
7652
|
+
],
|
|
7653
|
+
"name": "consumeMessage"
|
|
7654
|
+
},
|
|
7655
|
+
{
|
|
7656
|
+
"kind": "Function",
|
|
7657
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageProtocol.getHeader:function(1)",
|
|
7658
|
+
"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",
|
|
7659
|
+
"excerptTokens": [
|
|
7660
|
+
{
|
|
7661
|
+
"kind": "Content",
|
|
7662
|
+
"text": "function getHeader(buf: "
|
|
7663
|
+
},
|
|
7664
|
+
{
|
|
7665
|
+
"kind": "Reference",
|
|
7666
|
+
"text": "ByteBuffer",
|
|
7667
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
7668
|
+
},
|
|
7669
|
+
{
|
|
7670
|
+
"kind": "Content",
|
|
7671
|
+
"text": "): "
|
|
7672
|
+
},
|
|
7673
|
+
{
|
|
7674
|
+
"kind": "Reference",
|
|
7675
|
+
"text": "CrdtMessageHeader",
|
|
7676
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
|
|
7677
|
+
},
|
|
7678
|
+
{
|
|
7679
|
+
"kind": "Content",
|
|
7680
|
+
"text": " | null"
|
|
7681
|
+
},
|
|
7682
|
+
{
|
|
7683
|
+
"kind": "Content",
|
|
7684
|
+
"text": ";"
|
|
7685
|
+
}
|
|
7686
|
+
],
|
|
7687
|
+
"returnTypeTokenRange": {
|
|
7688
|
+
"startIndex": 3,
|
|
7689
|
+
"endIndex": 5
|
|
7690
|
+
},
|
|
7691
|
+
"releaseTag": "Public",
|
|
7692
|
+
"overloadIndex": 1,
|
|
7693
|
+
"parameters": [
|
|
7694
|
+
{
|
|
7695
|
+
"parameterName": "buf",
|
|
7696
|
+
"parameterTypeTokenRange": {
|
|
7697
|
+
"startIndex": 1,
|
|
7698
|
+
"endIndex": 2
|
|
7699
|
+
},
|
|
7700
|
+
"isOptional": false
|
|
7701
|
+
}
|
|
7702
|
+
],
|
|
7703
|
+
"name": "getHeader"
|
|
7704
|
+
},
|
|
7705
|
+
{
|
|
7706
|
+
"kind": "Function",
|
|
7707
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageProtocol.readHeader:function(1)",
|
|
7708
|
+
"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",
|
|
7709
|
+
"excerptTokens": [
|
|
7710
|
+
{
|
|
7711
|
+
"kind": "Content",
|
|
7712
|
+
"text": "function readHeader(buf: "
|
|
7713
|
+
},
|
|
7714
|
+
{
|
|
7715
|
+
"kind": "Reference",
|
|
7716
|
+
"text": "ByteBuffer",
|
|
7717
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
7718
|
+
},
|
|
7719
|
+
{
|
|
7720
|
+
"kind": "Content",
|
|
7721
|
+
"text": "): "
|
|
7722
|
+
},
|
|
7723
|
+
{
|
|
7724
|
+
"kind": "Reference",
|
|
7725
|
+
"text": "CrdtMessageHeader",
|
|
7726
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
|
|
7727
|
+
},
|
|
7728
|
+
{
|
|
7729
|
+
"kind": "Content",
|
|
7730
|
+
"text": " | null"
|
|
7731
|
+
},
|
|
7732
|
+
{
|
|
7733
|
+
"kind": "Content",
|
|
7734
|
+
"text": ";"
|
|
7735
|
+
}
|
|
7736
|
+
],
|
|
7737
|
+
"returnTypeTokenRange": {
|
|
7738
|
+
"startIndex": 3,
|
|
7739
|
+
"endIndex": 5
|
|
7740
|
+
},
|
|
7741
|
+
"releaseTag": "Public",
|
|
7742
|
+
"overloadIndex": 1,
|
|
7743
|
+
"parameters": [
|
|
7744
|
+
{
|
|
7745
|
+
"parameterName": "buf",
|
|
7746
|
+
"parameterTypeTokenRange": {
|
|
7747
|
+
"startIndex": 1,
|
|
7748
|
+
"endIndex": 2
|
|
7749
|
+
},
|
|
7750
|
+
"isOptional": false
|
|
7751
|
+
}
|
|
7752
|
+
],
|
|
7753
|
+
"name": "readHeader"
|
|
7754
|
+
},
|
|
7755
|
+
{
|
|
7756
|
+
"kind": "Function",
|
|
7757
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageProtocol.validate:function(1)",
|
|
7758
|
+
"docComment": "/**\n * Validate if the message incoming is completed\n *\n * @param buf - ByteBuffer\n */\n",
|
|
7759
|
+
"excerptTokens": [
|
|
7760
|
+
{
|
|
7761
|
+
"kind": "Content",
|
|
7762
|
+
"text": "function validate(buf: "
|
|
7763
|
+
},
|
|
7764
|
+
{
|
|
7765
|
+
"kind": "Reference",
|
|
7766
|
+
"text": "ByteBuffer",
|
|
7767
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
7768
|
+
},
|
|
7769
|
+
{
|
|
7770
|
+
"kind": "Content",
|
|
7771
|
+
"text": "): "
|
|
7772
|
+
},
|
|
7773
|
+
{
|
|
7774
|
+
"kind": "Content",
|
|
7775
|
+
"text": "boolean"
|
|
7776
|
+
},
|
|
7777
|
+
{
|
|
7778
|
+
"kind": "Content",
|
|
7779
|
+
"text": ";"
|
|
7780
|
+
}
|
|
7781
|
+
],
|
|
7782
|
+
"returnTypeTokenRange": {
|
|
7783
|
+
"startIndex": 3,
|
|
7784
|
+
"endIndex": 4
|
|
7785
|
+
},
|
|
7786
|
+
"releaseTag": "Public",
|
|
7787
|
+
"overloadIndex": 1,
|
|
7788
|
+
"parameters": [
|
|
7789
|
+
{
|
|
7790
|
+
"parameterName": "buf",
|
|
7791
|
+
"parameterTypeTokenRange": {
|
|
7792
|
+
"startIndex": 1,
|
|
7793
|
+
"endIndex": 2
|
|
7794
|
+
},
|
|
7795
|
+
"isOptional": false
|
|
7796
|
+
}
|
|
7797
|
+
],
|
|
7798
|
+
"name": "validate"
|
|
7799
|
+
}
|
|
7800
|
+
]
|
|
7801
|
+
},
|
|
7802
|
+
{
|
|
7803
|
+
"kind": "Enum",
|
|
7804
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageType:enum",
|
|
7805
|
+
"docComment": "",
|
|
7806
|
+
"excerptTokens": [
|
|
7807
|
+
{
|
|
7808
|
+
"kind": "Content",
|
|
7809
|
+
"text": "export declare enum CrdtMessageType "
|
|
7810
|
+
}
|
|
7811
|
+
],
|
|
7812
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
7813
|
+
"releaseTag": "Public",
|
|
7814
|
+
"name": "CrdtMessageType",
|
|
7815
|
+
"preserveMemberOrder": false,
|
|
7816
|
+
"members": [
|
|
7817
|
+
{
|
|
7818
|
+
"kind": "EnumMember",
|
|
7819
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
|
|
7820
|
+
"docComment": "",
|
|
7821
|
+
"excerptTokens": [
|
|
7822
|
+
{
|
|
7823
|
+
"kind": "Content",
|
|
7824
|
+
"text": "DELETE_COMPONENT = "
|
|
7825
|
+
},
|
|
7826
|
+
{
|
|
7827
|
+
"kind": "Content",
|
|
7828
|
+
"text": "2"
|
|
7829
|
+
}
|
|
7830
|
+
],
|
|
7831
|
+
"initializerTokenRange": {
|
|
7832
|
+
"startIndex": 1,
|
|
7833
|
+
"endIndex": 2
|
|
7834
|
+
},
|
|
7835
|
+
"releaseTag": "Public",
|
|
7836
|
+
"name": "DELETE_COMPONENT"
|
|
7837
|
+
},
|
|
7838
|
+
{
|
|
7839
|
+
"kind": "EnumMember",
|
|
7840
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_ENTITY:member",
|
|
7841
|
+
"docComment": "",
|
|
7842
|
+
"excerptTokens": [
|
|
7843
|
+
{
|
|
7844
|
+
"kind": "Content",
|
|
7845
|
+
"text": "DELETE_ENTITY = "
|
|
7846
|
+
},
|
|
7847
|
+
{
|
|
7848
|
+
"kind": "Content",
|
|
7849
|
+
"text": "3"
|
|
7850
|
+
}
|
|
7851
|
+
],
|
|
7852
|
+
"initializerTokenRange": {
|
|
7853
|
+
"startIndex": 1,
|
|
7854
|
+
"endIndex": 2
|
|
7855
|
+
},
|
|
7856
|
+
"releaseTag": "Public",
|
|
7857
|
+
"name": "DELETE_ENTITY"
|
|
7858
|
+
},
|
|
7859
|
+
{
|
|
7860
|
+
"kind": "EnumMember",
|
|
7861
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageType.MAX_MESSAGE_TYPE:member",
|
|
7862
|
+
"docComment": "",
|
|
7863
|
+
"excerptTokens": [
|
|
7864
|
+
{
|
|
7865
|
+
"kind": "Content",
|
|
7866
|
+
"text": "MAX_MESSAGE_TYPE = "
|
|
7867
|
+
},
|
|
7868
|
+
{
|
|
7869
|
+
"kind": "Content",
|
|
7870
|
+
"text": "4"
|
|
7871
|
+
}
|
|
7872
|
+
],
|
|
7873
|
+
"initializerTokenRange": {
|
|
7874
|
+
"startIndex": 1,
|
|
7875
|
+
"endIndex": 2
|
|
7876
|
+
},
|
|
7877
|
+
"releaseTag": "Public",
|
|
7878
|
+
"name": "MAX_MESSAGE_TYPE"
|
|
7879
|
+
},
|
|
7880
|
+
{
|
|
7881
|
+
"kind": "EnumMember",
|
|
7882
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageType.PUT_COMPONENT:member",
|
|
7883
|
+
"docComment": "",
|
|
7884
|
+
"excerptTokens": [
|
|
7885
|
+
{
|
|
7886
|
+
"kind": "Content",
|
|
7887
|
+
"text": "PUT_COMPONENT = "
|
|
7888
|
+
},
|
|
7889
|
+
{
|
|
7890
|
+
"kind": "Content",
|
|
7891
|
+
"text": "1"
|
|
7892
|
+
}
|
|
7893
|
+
],
|
|
7894
|
+
"initializerTokenRange": {
|
|
7895
|
+
"startIndex": 1,
|
|
7896
|
+
"endIndex": 2
|
|
7897
|
+
},
|
|
7898
|
+
"releaseTag": "Public",
|
|
7899
|
+
"name": "PUT_COMPONENT"
|
|
7900
|
+
},
|
|
7901
|
+
{
|
|
7902
|
+
"kind": "EnumMember",
|
|
7903
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageType.RESERVED:member",
|
|
7904
|
+
"docComment": "",
|
|
7905
|
+
"excerptTokens": [
|
|
7906
|
+
{
|
|
7907
|
+
"kind": "Content",
|
|
7908
|
+
"text": "RESERVED = "
|
|
7909
|
+
},
|
|
7910
|
+
{
|
|
7911
|
+
"kind": "Content",
|
|
7912
|
+
"text": "0"
|
|
7913
|
+
}
|
|
7914
|
+
],
|
|
7915
|
+
"initializerTokenRange": {
|
|
7916
|
+
"startIndex": 1,
|
|
7917
|
+
"endIndex": 2
|
|
7918
|
+
},
|
|
7919
|
+
"releaseTag": "Public",
|
|
7920
|
+
"name": "RESERVED"
|
|
7921
|
+
}
|
|
7922
|
+
]
|
|
7923
|
+
},
|
|
7434
7924
|
{
|
|
7435
7925
|
"kind": "Function",
|
|
7436
7926
|
"canonicalReference": "@dcl/playground-assets!createEthereumProvider:function(1)",
|
|
@@ -8279,6 +8769,508 @@
|
|
|
8279
8769
|
"endIndex": 2
|
|
8280
8770
|
}
|
|
8281
8771
|
},
|
|
8772
|
+
{
|
|
8773
|
+
"kind": "Namespace",
|
|
8774
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponent:namespace",
|
|
8775
|
+
"docComment": "",
|
|
8776
|
+
"excerptTokens": [
|
|
8777
|
+
{
|
|
8778
|
+
"kind": "Content",
|
|
8779
|
+
"text": "export declare namespace DeleteComponent "
|
|
8780
|
+
}
|
|
8781
|
+
],
|
|
8782
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/deleteComponent.d.ts",
|
|
8783
|
+
"releaseTag": "Public",
|
|
8784
|
+
"name": "DeleteComponent",
|
|
8785
|
+
"preserveMemberOrder": false,
|
|
8786
|
+
"members": [
|
|
8787
|
+
{
|
|
8788
|
+
"kind": "Variable",
|
|
8789
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponent.MESSAGE_HEADER_LENGTH:var",
|
|
8790
|
+
"docComment": "",
|
|
8791
|
+
"excerptTokens": [
|
|
8792
|
+
{
|
|
8793
|
+
"kind": "Content",
|
|
8794
|
+
"text": "MESSAGE_HEADER_LENGTH = "
|
|
8795
|
+
},
|
|
8796
|
+
{
|
|
8797
|
+
"kind": "Content",
|
|
8798
|
+
"text": "20"
|
|
8799
|
+
}
|
|
8800
|
+
],
|
|
8801
|
+
"initializerTokenRange": {
|
|
8802
|
+
"startIndex": 1,
|
|
8803
|
+
"endIndex": 2
|
|
8804
|
+
},
|
|
8805
|
+
"isReadonly": true,
|
|
8806
|
+
"releaseTag": "Public",
|
|
8807
|
+
"name": "MESSAGE_HEADER_LENGTH",
|
|
8808
|
+
"variableTypeTokenRange": {
|
|
8809
|
+
"startIndex": 0,
|
|
8810
|
+
"endIndex": 0
|
|
8811
|
+
}
|
|
8812
|
+
},
|
|
8813
|
+
{
|
|
8814
|
+
"kind": "Function",
|
|
8815
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponent.read:function(1)",
|
|
8816
|
+
"docComment": "",
|
|
8817
|
+
"excerptTokens": [
|
|
8818
|
+
{
|
|
8819
|
+
"kind": "Content",
|
|
8820
|
+
"text": "function read(buf: "
|
|
8821
|
+
},
|
|
8822
|
+
{
|
|
8823
|
+
"kind": "Reference",
|
|
8824
|
+
"text": "ByteBuffer",
|
|
8825
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
8826
|
+
},
|
|
8827
|
+
{
|
|
8828
|
+
"kind": "Content",
|
|
8829
|
+
"text": "): "
|
|
8830
|
+
},
|
|
8831
|
+
{
|
|
8832
|
+
"kind": "Reference",
|
|
8833
|
+
"text": "DeleteComponentMessage",
|
|
8834
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponentMessage:type"
|
|
8835
|
+
},
|
|
8836
|
+
{
|
|
8837
|
+
"kind": "Content",
|
|
8838
|
+
"text": " | null"
|
|
8839
|
+
},
|
|
8840
|
+
{
|
|
8841
|
+
"kind": "Content",
|
|
8842
|
+
"text": ";"
|
|
8843
|
+
}
|
|
8844
|
+
],
|
|
8845
|
+
"returnTypeTokenRange": {
|
|
8846
|
+
"startIndex": 3,
|
|
8847
|
+
"endIndex": 5
|
|
8848
|
+
},
|
|
8849
|
+
"releaseTag": "Public",
|
|
8850
|
+
"overloadIndex": 1,
|
|
8851
|
+
"parameters": [
|
|
8852
|
+
{
|
|
8853
|
+
"parameterName": "buf",
|
|
8854
|
+
"parameterTypeTokenRange": {
|
|
8855
|
+
"startIndex": 1,
|
|
8856
|
+
"endIndex": 2
|
|
8857
|
+
},
|
|
8858
|
+
"isOptional": false
|
|
8859
|
+
}
|
|
8860
|
+
],
|
|
8861
|
+
"name": "read"
|
|
8862
|
+
},
|
|
8863
|
+
{
|
|
8864
|
+
"kind": "Function",
|
|
8865
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponent.write:function(1)",
|
|
8866
|
+
"docComment": "/**\n * Write DeleteComponent message\n */\n",
|
|
8867
|
+
"excerptTokens": [
|
|
8868
|
+
{
|
|
8869
|
+
"kind": "Content",
|
|
8870
|
+
"text": "function write(entity: "
|
|
8871
|
+
},
|
|
8872
|
+
{
|
|
8873
|
+
"kind": "Reference",
|
|
8874
|
+
"text": "Entity",
|
|
8875
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
8876
|
+
},
|
|
8877
|
+
{
|
|
8878
|
+
"kind": "Content",
|
|
8879
|
+
"text": ", componentId: "
|
|
8880
|
+
},
|
|
8881
|
+
{
|
|
8882
|
+
"kind": "Content",
|
|
8883
|
+
"text": "number"
|
|
8884
|
+
},
|
|
8885
|
+
{
|
|
8886
|
+
"kind": "Content",
|
|
8887
|
+
"text": ", timestamp: "
|
|
8888
|
+
},
|
|
8889
|
+
{
|
|
8890
|
+
"kind": "Content",
|
|
8891
|
+
"text": "number"
|
|
8892
|
+
},
|
|
8893
|
+
{
|
|
8894
|
+
"kind": "Content",
|
|
8895
|
+
"text": ", buf: "
|
|
8896
|
+
},
|
|
8897
|
+
{
|
|
8898
|
+
"kind": "Reference",
|
|
8899
|
+
"text": "ByteBuffer",
|
|
8900
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
8901
|
+
},
|
|
8902
|
+
{
|
|
8903
|
+
"kind": "Content",
|
|
8904
|
+
"text": "): "
|
|
8905
|
+
},
|
|
8906
|
+
{
|
|
8907
|
+
"kind": "Content",
|
|
8908
|
+
"text": "void"
|
|
8909
|
+
},
|
|
8910
|
+
{
|
|
8911
|
+
"kind": "Content",
|
|
8912
|
+
"text": ";"
|
|
8913
|
+
}
|
|
8914
|
+
],
|
|
8915
|
+
"returnTypeTokenRange": {
|
|
8916
|
+
"startIndex": 9,
|
|
8917
|
+
"endIndex": 10
|
|
8918
|
+
},
|
|
8919
|
+
"releaseTag": "Public",
|
|
8920
|
+
"overloadIndex": 1,
|
|
8921
|
+
"parameters": [
|
|
8922
|
+
{
|
|
8923
|
+
"parameterName": "entity",
|
|
8924
|
+
"parameterTypeTokenRange": {
|
|
8925
|
+
"startIndex": 1,
|
|
8926
|
+
"endIndex": 2
|
|
8927
|
+
},
|
|
8928
|
+
"isOptional": false
|
|
8929
|
+
},
|
|
8930
|
+
{
|
|
8931
|
+
"parameterName": "componentId",
|
|
8932
|
+
"parameterTypeTokenRange": {
|
|
8933
|
+
"startIndex": 3,
|
|
8934
|
+
"endIndex": 4
|
|
8935
|
+
},
|
|
8936
|
+
"isOptional": false
|
|
8937
|
+
},
|
|
8938
|
+
{
|
|
8939
|
+
"parameterName": "timestamp",
|
|
8940
|
+
"parameterTypeTokenRange": {
|
|
8941
|
+
"startIndex": 5,
|
|
8942
|
+
"endIndex": 6
|
|
8943
|
+
},
|
|
8944
|
+
"isOptional": false
|
|
8945
|
+
},
|
|
8946
|
+
{
|
|
8947
|
+
"parameterName": "buf",
|
|
8948
|
+
"parameterTypeTokenRange": {
|
|
8949
|
+
"startIndex": 7,
|
|
8950
|
+
"endIndex": 8
|
|
8951
|
+
},
|
|
8952
|
+
"isOptional": false
|
|
8953
|
+
}
|
|
8954
|
+
],
|
|
8955
|
+
"name": "write"
|
|
8956
|
+
}
|
|
8957
|
+
]
|
|
8958
|
+
},
|
|
8959
|
+
{
|
|
8960
|
+
"kind": "TypeAlias",
|
|
8961
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponentMessage:type",
|
|
8962
|
+
"docComment": "",
|
|
8963
|
+
"excerptTokens": [
|
|
8964
|
+
{
|
|
8965
|
+
"kind": "Content",
|
|
8966
|
+
"text": "export declare type DeleteComponentMessage = "
|
|
8967
|
+
},
|
|
8968
|
+
{
|
|
8969
|
+
"kind": "Reference",
|
|
8970
|
+
"text": "CrdtMessageHeader",
|
|
8971
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
|
|
8972
|
+
},
|
|
8973
|
+
{
|
|
8974
|
+
"kind": "Content",
|
|
8975
|
+
"text": " & "
|
|
8976
|
+
},
|
|
8977
|
+
{
|
|
8978
|
+
"kind": "Reference",
|
|
8979
|
+
"text": "DeleteComponentMessageBody",
|
|
8980
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type"
|
|
8981
|
+
},
|
|
8982
|
+
{
|
|
8983
|
+
"kind": "Content",
|
|
8984
|
+
"text": ";"
|
|
8985
|
+
}
|
|
8986
|
+
],
|
|
8987
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
8988
|
+
"releaseTag": "Public",
|
|
8989
|
+
"name": "DeleteComponentMessage",
|
|
8990
|
+
"typeTokenRange": {
|
|
8991
|
+
"startIndex": 1,
|
|
8992
|
+
"endIndex": 4
|
|
8993
|
+
}
|
|
8994
|
+
},
|
|
8995
|
+
{
|
|
8996
|
+
"kind": "TypeAlias",
|
|
8997
|
+
"canonicalReference": "@dcl/playground-assets!DeleteComponentMessageBody:type",
|
|
8998
|
+
"docComment": "",
|
|
8999
|
+
"excerptTokens": [
|
|
9000
|
+
{
|
|
9001
|
+
"kind": "Content",
|
|
9002
|
+
"text": "export declare type DeleteComponentMessageBody = "
|
|
9003
|
+
},
|
|
9004
|
+
{
|
|
9005
|
+
"kind": "Content",
|
|
9006
|
+
"text": "{\n type: "
|
|
9007
|
+
},
|
|
9008
|
+
{
|
|
9009
|
+
"kind": "Reference",
|
|
9010
|
+
"text": "CrdtMessageType.DELETE_COMPONENT",
|
|
9011
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member"
|
|
9012
|
+
},
|
|
9013
|
+
{
|
|
9014
|
+
"kind": "Content",
|
|
9015
|
+
"text": ";\n entityId: "
|
|
9016
|
+
},
|
|
9017
|
+
{
|
|
9018
|
+
"kind": "Reference",
|
|
9019
|
+
"text": "Entity",
|
|
9020
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
9021
|
+
},
|
|
9022
|
+
{
|
|
9023
|
+
"kind": "Content",
|
|
9024
|
+
"text": ";\n componentId: number;\n timestamp: number;\n}"
|
|
9025
|
+
},
|
|
9026
|
+
{
|
|
9027
|
+
"kind": "Content",
|
|
9028
|
+
"text": ";"
|
|
9029
|
+
}
|
|
9030
|
+
],
|
|
9031
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
9032
|
+
"releaseTag": "Public",
|
|
9033
|
+
"name": "DeleteComponentMessageBody",
|
|
9034
|
+
"typeTokenRange": {
|
|
9035
|
+
"startIndex": 1,
|
|
9036
|
+
"endIndex": 6
|
|
9037
|
+
}
|
|
9038
|
+
},
|
|
9039
|
+
{
|
|
9040
|
+
"kind": "Namespace",
|
|
9041
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntity:namespace",
|
|
9042
|
+
"docComment": "",
|
|
9043
|
+
"excerptTokens": [
|
|
9044
|
+
{
|
|
9045
|
+
"kind": "Content",
|
|
9046
|
+
"text": "export declare namespace DeleteEntity "
|
|
9047
|
+
}
|
|
9048
|
+
],
|
|
9049
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/deleteEntity.d.ts",
|
|
9050
|
+
"releaseTag": "Public",
|
|
9051
|
+
"name": "DeleteEntity",
|
|
9052
|
+
"preserveMemberOrder": false,
|
|
9053
|
+
"members": [
|
|
9054
|
+
{
|
|
9055
|
+
"kind": "Variable",
|
|
9056
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntity.MESSAGE_HEADER_LENGTH:var",
|
|
9057
|
+
"docComment": "",
|
|
9058
|
+
"excerptTokens": [
|
|
9059
|
+
{
|
|
9060
|
+
"kind": "Content",
|
|
9061
|
+
"text": "MESSAGE_HEADER_LENGTH = "
|
|
9062
|
+
},
|
|
9063
|
+
{
|
|
9064
|
+
"kind": "Content",
|
|
9065
|
+
"text": "4"
|
|
9066
|
+
}
|
|
9067
|
+
],
|
|
9068
|
+
"initializerTokenRange": {
|
|
9069
|
+
"startIndex": 1,
|
|
9070
|
+
"endIndex": 2
|
|
9071
|
+
},
|
|
9072
|
+
"isReadonly": true,
|
|
9073
|
+
"releaseTag": "Public",
|
|
9074
|
+
"name": "MESSAGE_HEADER_LENGTH",
|
|
9075
|
+
"variableTypeTokenRange": {
|
|
9076
|
+
"startIndex": 0,
|
|
9077
|
+
"endIndex": 0
|
|
9078
|
+
}
|
|
9079
|
+
},
|
|
9080
|
+
{
|
|
9081
|
+
"kind": "Function",
|
|
9082
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntity.read:function(1)",
|
|
9083
|
+
"docComment": "",
|
|
9084
|
+
"excerptTokens": [
|
|
9085
|
+
{
|
|
9086
|
+
"kind": "Content",
|
|
9087
|
+
"text": "function read(buf: "
|
|
9088
|
+
},
|
|
9089
|
+
{
|
|
9090
|
+
"kind": "Reference",
|
|
9091
|
+
"text": "ByteBuffer",
|
|
9092
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
9093
|
+
},
|
|
9094
|
+
{
|
|
9095
|
+
"kind": "Content",
|
|
9096
|
+
"text": "): "
|
|
9097
|
+
},
|
|
9098
|
+
{
|
|
9099
|
+
"kind": "Reference",
|
|
9100
|
+
"text": "DeleteEntityMessage",
|
|
9101
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntityMessage:type"
|
|
9102
|
+
},
|
|
9103
|
+
{
|
|
9104
|
+
"kind": "Content",
|
|
9105
|
+
"text": " | null"
|
|
9106
|
+
},
|
|
9107
|
+
{
|
|
9108
|
+
"kind": "Content",
|
|
9109
|
+
"text": ";"
|
|
9110
|
+
}
|
|
9111
|
+
],
|
|
9112
|
+
"returnTypeTokenRange": {
|
|
9113
|
+
"startIndex": 3,
|
|
9114
|
+
"endIndex": 5
|
|
9115
|
+
},
|
|
9116
|
+
"releaseTag": "Public",
|
|
9117
|
+
"overloadIndex": 1,
|
|
9118
|
+
"parameters": [
|
|
9119
|
+
{
|
|
9120
|
+
"parameterName": "buf",
|
|
9121
|
+
"parameterTypeTokenRange": {
|
|
9122
|
+
"startIndex": 1,
|
|
9123
|
+
"endIndex": 2
|
|
9124
|
+
},
|
|
9125
|
+
"isOptional": false
|
|
9126
|
+
}
|
|
9127
|
+
],
|
|
9128
|
+
"name": "read"
|
|
9129
|
+
},
|
|
9130
|
+
{
|
|
9131
|
+
"kind": "Function",
|
|
9132
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntity.write:function(1)",
|
|
9133
|
+
"docComment": "",
|
|
9134
|
+
"excerptTokens": [
|
|
9135
|
+
{
|
|
9136
|
+
"kind": "Content",
|
|
9137
|
+
"text": "function write(entity: "
|
|
9138
|
+
},
|
|
9139
|
+
{
|
|
9140
|
+
"kind": "Reference",
|
|
9141
|
+
"text": "Entity",
|
|
9142
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
9143
|
+
},
|
|
9144
|
+
{
|
|
9145
|
+
"kind": "Content",
|
|
9146
|
+
"text": ", buf: "
|
|
9147
|
+
},
|
|
9148
|
+
{
|
|
9149
|
+
"kind": "Reference",
|
|
9150
|
+
"text": "ByteBuffer",
|
|
9151
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
9152
|
+
},
|
|
9153
|
+
{
|
|
9154
|
+
"kind": "Content",
|
|
9155
|
+
"text": "): "
|
|
9156
|
+
},
|
|
9157
|
+
{
|
|
9158
|
+
"kind": "Content",
|
|
9159
|
+
"text": "void"
|
|
9160
|
+
},
|
|
9161
|
+
{
|
|
9162
|
+
"kind": "Content",
|
|
9163
|
+
"text": ";"
|
|
9164
|
+
}
|
|
9165
|
+
],
|
|
9166
|
+
"returnTypeTokenRange": {
|
|
9167
|
+
"startIndex": 5,
|
|
9168
|
+
"endIndex": 6
|
|
9169
|
+
},
|
|
9170
|
+
"releaseTag": "Public",
|
|
9171
|
+
"overloadIndex": 1,
|
|
9172
|
+
"parameters": [
|
|
9173
|
+
{
|
|
9174
|
+
"parameterName": "entity",
|
|
9175
|
+
"parameterTypeTokenRange": {
|
|
9176
|
+
"startIndex": 1,
|
|
9177
|
+
"endIndex": 2
|
|
9178
|
+
},
|
|
9179
|
+
"isOptional": false
|
|
9180
|
+
},
|
|
9181
|
+
{
|
|
9182
|
+
"parameterName": "buf",
|
|
9183
|
+
"parameterTypeTokenRange": {
|
|
9184
|
+
"startIndex": 3,
|
|
9185
|
+
"endIndex": 4
|
|
9186
|
+
},
|
|
9187
|
+
"isOptional": false
|
|
9188
|
+
}
|
|
9189
|
+
],
|
|
9190
|
+
"name": "write"
|
|
9191
|
+
}
|
|
9192
|
+
]
|
|
9193
|
+
},
|
|
9194
|
+
{
|
|
9195
|
+
"kind": "TypeAlias",
|
|
9196
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntityMessage:type",
|
|
9197
|
+
"docComment": "",
|
|
9198
|
+
"excerptTokens": [
|
|
9199
|
+
{
|
|
9200
|
+
"kind": "Content",
|
|
9201
|
+
"text": "export declare type DeleteEntityMessage = "
|
|
9202
|
+
},
|
|
9203
|
+
{
|
|
9204
|
+
"kind": "Reference",
|
|
9205
|
+
"text": "CrdtMessageHeader",
|
|
9206
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
|
|
9207
|
+
},
|
|
9208
|
+
{
|
|
9209
|
+
"kind": "Content",
|
|
9210
|
+
"text": " & "
|
|
9211
|
+
},
|
|
9212
|
+
{
|
|
9213
|
+
"kind": "Reference",
|
|
9214
|
+
"text": "DeleteEntityMessageBody",
|
|
9215
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntityMessageBody:type"
|
|
9216
|
+
},
|
|
9217
|
+
{
|
|
9218
|
+
"kind": "Content",
|
|
9219
|
+
"text": ";"
|
|
9220
|
+
}
|
|
9221
|
+
],
|
|
9222
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
9223
|
+
"releaseTag": "Public",
|
|
9224
|
+
"name": "DeleteEntityMessage",
|
|
9225
|
+
"typeTokenRange": {
|
|
9226
|
+
"startIndex": 1,
|
|
9227
|
+
"endIndex": 4
|
|
9228
|
+
}
|
|
9229
|
+
},
|
|
9230
|
+
{
|
|
9231
|
+
"kind": "TypeAlias",
|
|
9232
|
+
"canonicalReference": "@dcl/playground-assets!DeleteEntityMessageBody:type",
|
|
9233
|
+
"docComment": "/**\n * @param entity - Uint32 number of the entity\n */\n",
|
|
9234
|
+
"excerptTokens": [
|
|
9235
|
+
{
|
|
9236
|
+
"kind": "Content",
|
|
9237
|
+
"text": "export declare type DeleteEntityMessageBody = "
|
|
9238
|
+
},
|
|
9239
|
+
{
|
|
9240
|
+
"kind": "Content",
|
|
9241
|
+
"text": "{\n type: "
|
|
9242
|
+
},
|
|
9243
|
+
{
|
|
9244
|
+
"kind": "Reference",
|
|
9245
|
+
"text": "CrdtMessageType.DELETE_ENTITY",
|
|
9246
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_ENTITY:member"
|
|
9247
|
+
},
|
|
9248
|
+
{
|
|
9249
|
+
"kind": "Content",
|
|
9250
|
+
"text": ";\n entityId: "
|
|
9251
|
+
},
|
|
9252
|
+
{
|
|
9253
|
+
"kind": "Reference",
|
|
9254
|
+
"text": "Entity",
|
|
9255
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
9256
|
+
},
|
|
9257
|
+
{
|
|
9258
|
+
"kind": "Content",
|
|
9259
|
+
"text": ";\n}"
|
|
9260
|
+
},
|
|
9261
|
+
{
|
|
9262
|
+
"kind": "Content",
|
|
9263
|
+
"text": ";"
|
|
9264
|
+
}
|
|
9265
|
+
],
|
|
9266
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
9267
|
+
"releaseTag": "Public",
|
|
9268
|
+
"name": "DeleteEntityMessageBody",
|
|
9269
|
+
"typeTokenRange": {
|
|
9270
|
+
"startIndex": 1,
|
|
9271
|
+
"endIndex": 6
|
|
9272
|
+
}
|
|
9273
|
+
},
|
|
8282
9274
|
{
|
|
8283
9275
|
"kind": "Function",
|
|
8284
9276
|
"canonicalReference": "@dcl/playground-assets!Dropdown:function(1)",
|
|
@@ -8558,14 +9550,9 @@
|
|
|
8558
9550
|
"kind": "Content",
|
|
8559
9551
|
"text": "export declare type Entity = "
|
|
8560
9552
|
},
|
|
8561
|
-
{
|
|
8562
|
-
"kind": "Reference",
|
|
8563
|
-
"text": "uint32",
|
|
8564
|
-
"canonicalReference": "@dcl/playground-assets!uint32:type"
|
|
8565
|
-
},
|
|
8566
9553
|
{
|
|
8567
9554
|
"kind": "Content",
|
|
8568
|
-
"text": " & {\n __entity_type: '';\n}"
|
|
9555
|
+
"text": "number & {\n __entity_type: '';\n}"
|
|
8569
9556
|
},
|
|
8570
9557
|
{
|
|
8571
9558
|
"kind": "Content",
|
|
@@ -8577,7 +9564,7 @@
|
|
|
8577
9564
|
"name": "Entity",
|
|
8578
9565
|
"typeTokenRange": {
|
|
8579
9566
|
"startIndex": 1,
|
|
8580
|
-
"endIndex":
|
|
9567
|
+
"endIndex": 2
|
|
8581
9568
|
}
|
|
8582
9569
|
},
|
|
8583
9570
|
{
|
|
@@ -8678,6 +9665,35 @@
|
|
|
8678
9665
|
"kind": "Content",
|
|
8679
9666
|
"text": "export declare function EntityContainer(): "
|
|
8680
9667
|
},
|
|
9668
|
+
{
|
|
9669
|
+
"kind": "Reference",
|
|
9670
|
+
"text": "EntityContainer",
|
|
9671
|
+
"canonicalReference": "@dcl/playground-assets!EntityContainer:type"
|
|
9672
|
+
},
|
|
9673
|
+
{
|
|
9674
|
+
"kind": "Content",
|
|
9675
|
+
"text": ";"
|
|
9676
|
+
}
|
|
9677
|
+
],
|
|
9678
|
+
"fileUrlPath": "../ecs/dist/engine/entity.d.ts",
|
|
9679
|
+
"returnTypeTokenRange": {
|
|
9680
|
+
"startIndex": 1,
|
|
9681
|
+
"endIndex": 2
|
|
9682
|
+
},
|
|
9683
|
+
"releaseTag": "Public",
|
|
9684
|
+
"overloadIndex": 1,
|
|
9685
|
+
"parameters": [],
|
|
9686
|
+
"name": "EntityContainer"
|
|
9687
|
+
},
|
|
9688
|
+
{
|
|
9689
|
+
"kind": "TypeAlias",
|
|
9690
|
+
"canonicalReference": "@dcl/playground-assets!EntityContainer:type",
|
|
9691
|
+
"docComment": "",
|
|
9692
|
+
"excerptTokens": [
|
|
9693
|
+
{
|
|
9694
|
+
"kind": "Content",
|
|
9695
|
+
"text": "export declare type EntityContainer = "
|
|
9696
|
+
},
|
|
8681
9697
|
{
|
|
8682
9698
|
"kind": "Content",
|
|
8683
9699
|
"text": "{\n generateEntity(): "
|
|
@@ -8698,7 +9714,7 @@
|
|
|
8698
9714
|
},
|
|
8699
9715
|
{
|
|
8700
9716
|
"kind": "Content",
|
|
8701
|
-
"text": "): boolean;\n
|
|
9717
|
+
"text": "): boolean;\n getEntityState(entity: "
|
|
8702
9718
|
},
|
|
8703
9719
|
{
|
|
8704
9720
|
"kind": "Reference",
|
|
@@ -8707,7 +9723,16 @@
|
|
|
8707
9723
|
},
|
|
8708
9724
|
{
|
|
8709
9725
|
"kind": "Content",
|
|
8710
|
-
"text": "):
|
|
9726
|
+
"text": "): "
|
|
9727
|
+
},
|
|
9728
|
+
{
|
|
9729
|
+
"kind": "Reference",
|
|
9730
|
+
"text": "EntityState",
|
|
9731
|
+
"canonicalReference": "@dcl/playground-assets!EntityState:enum"
|
|
9732
|
+
},
|
|
9733
|
+
{
|
|
9734
|
+
"kind": "Content",
|
|
9735
|
+
"text": ";\n getExistingEntities(): "
|
|
8711
9736
|
},
|
|
8712
9737
|
{
|
|
8713
9738
|
"kind": "Reference",
|
|
@@ -8725,7 +9750,7 @@
|
|
|
8725
9750
|
},
|
|
8726
9751
|
{
|
|
8727
9752
|
"kind": "Content",
|
|
8728
|
-
"text": ">;\n
|
|
9753
|
+
"text": ">;\n releaseRemovedEntities(): "
|
|
8729
9754
|
},
|
|
8730
9755
|
{
|
|
8731
9756
|
"kind": "Reference",
|
|
@@ -8734,7 +9759,7 @@
|
|
|
8734
9759
|
},
|
|
8735
9760
|
{
|
|
8736
9761
|
"kind": "Content",
|
|
8737
|
-
"text": "
|
|
9762
|
+
"text": "[];\n updateRemovedEntity(entity: "
|
|
8738
9763
|
},
|
|
8739
9764
|
{
|
|
8740
9765
|
"kind": "Reference",
|
|
@@ -8743,7 +9768,7 @@
|
|
|
8743
9768
|
},
|
|
8744
9769
|
{
|
|
8745
9770
|
"kind": "Content",
|
|
8746
|
-
"text": ")
|
|
9771
|
+
"text": "): boolean;\n updateUsedEntity(entity: "
|
|
8747
9772
|
},
|
|
8748
9773
|
{
|
|
8749
9774
|
"kind": "Reference",
|
|
@@ -8752,7 +9777,7 @@
|
|
|
8752
9777
|
},
|
|
8753
9778
|
{
|
|
8754
9779
|
"kind": "Content",
|
|
8755
|
-
"text": ";\n}"
|
|
9780
|
+
"text": "): boolean;\n}"
|
|
8756
9781
|
},
|
|
8757
9782
|
{
|
|
8758
9783
|
"kind": "Content",
|
|
@@ -8760,14 +9785,12 @@
|
|
|
8760
9785
|
}
|
|
8761
9786
|
],
|
|
8762
9787
|
"fileUrlPath": "../ecs/dist/engine/entity.d.ts",
|
|
8763
|
-
"returnTypeTokenRange": {
|
|
8764
|
-
"startIndex": 1,
|
|
8765
|
-
"endIndex": 18
|
|
8766
|
-
},
|
|
8767
9788
|
"releaseTag": "Public",
|
|
8768
|
-
"
|
|
8769
|
-
"
|
|
8770
|
-
|
|
9789
|
+
"name": "EntityContainer",
|
|
9790
|
+
"typeTokenRange": {
|
|
9791
|
+
"startIndex": 1,
|
|
9792
|
+
"endIndex": 20
|
|
9793
|
+
}
|
|
8771
9794
|
},
|
|
8772
9795
|
{
|
|
8773
9796
|
"kind": "TypeAlias",
|
|
@@ -8840,6 +9863,230 @@
|
|
|
8840
9863
|
"endIndex": 12
|
|
8841
9864
|
}
|
|
8842
9865
|
},
|
|
9866
|
+
{
|
|
9867
|
+
"kind": "Enum",
|
|
9868
|
+
"canonicalReference": "@dcl/playground-assets!EntityState:enum",
|
|
9869
|
+
"docComment": "/**\n * @public\n */\n",
|
|
9870
|
+
"excerptTokens": [
|
|
9871
|
+
{
|
|
9872
|
+
"kind": "Content",
|
|
9873
|
+
"text": "export declare enum EntityState "
|
|
9874
|
+
}
|
|
9875
|
+
],
|
|
9876
|
+
"fileUrlPath": "../ecs/dist/engine/entity.d.ts",
|
|
9877
|
+
"releaseTag": "Public",
|
|
9878
|
+
"name": "EntityState",
|
|
9879
|
+
"preserveMemberOrder": false,
|
|
9880
|
+
"members": [
|
|
9881
|
+
{
|
|
9882
|
+
"kind": "EnumMember",
|
|
9883
|
+
"canonicalReference": "@dcl/playground-assets!EntityState.Removed:member",
|
|
9884
|
+
"docComment": "/**\n * The entity was removed from current engine or remotely\n */\n",
|
|
9885
|
+
"excerptTokens": [
|
|
9886
|
+
{
|
|
9887
|
+
"kind": "Content",
|
|
9888
|
+
"text": "Removed = "
|
|
9889
|
+
},
|
|
9890
|
+
{
|
|
9891
|
+
"kind": "Content",
|
|
9892
|
+
"text": "2"
|
|
9893
|
+
}
|
|
9894
|
+
],
|
|
9895
|
+
"initializerTokenRange": {
|
|
9896
|
+
"startIndex": 1,
|
|
9897
|
+
"endIndex": 2
|
|
9898
|
+
},
|
|
9899
|
+
"releaseTag": "Public",
|
|
9900
|
+
"name": "Removed"
|
|
9901
|
+
},
|
|
9902
|
+
{
|
|
9903
|
+
"kind": "EnumMember",
|
|
9904
|
+
"canonicalReference": "@dcl/playground-assets!EntityState.Reserved:member",
|
|
9905
|
+
"docComment": "/**\n * The entity is reserved number.\n */\n",
|
|
9906
|
+
"excerptTokens": [
|
|
9907
|
+
{
|
|
9908
|
+
"kind": "Content",
|
|
9909
|
+
"text": "Reserved = "
|
|
9910
|
+
},
|
|
9911
|
+
{
|
|
9912
|
+
"kind": "Content",
|
|
9913
|
+
"text": "3"
|
|
9914
|
+
}
|
|
9915
|
+
],
|
|
9916
|
+
"initializerTokenRange": {
|
|
9917
|
+
"startIndex": 1,
|
|
9918
|
+
"endIndex": 2
|
|
9919
|
+
},
|
|
9920
|
+
"releaseTag": "Public",
|
|
9921
|
+
"name": "Reserved"
|
|
9922
|
+
},
|
|
9923
|
+
{
|
|
9924
|
+
"kind": "EnumMember",
|
|
9925
|
+
"canonicalReference": "@dcl/playground-assets!EntityState.Unknown:member",
|
|
9926
|
+
"docComment": "",
|
|
9927
|
+
"excerptTokens": [
|
|
9928
|
+
{
|
|
9929
|
+
"kind": "Content",
|
|
9930
|
+
"text": "Unknown = "
|
|
9931
|
+
},
|
|
9932
|
+
{
|
|
9933
|
+
"kind": "Content",
|
|
9934
|
+
"text": "0"
|
|
9935
|
+
}
|
|
9936
|
+
],
|
|
9937
|
+
"initializerTokenRange": {
|
|
9938
|
+
"startIndex": 1,
|
|
9939
|
+
"endIndex": 2
|
|
9940
|
+
},
|
|
9941
|
+
"releaseTag": "Public",
|
|
9942
|
+
"name": "Unknown"
|
|
9943
|
+
},
|
|
9944
|
+
{
|
|
9945
|
+
"kind": "EnumMember",
|
|
9946
|
+
"canonicalReference": "@dcl/playground-assets!EntityState.UsedEntity:member",
|
|
9947
|
+
"docComment": "/**\n * The entity was generated and added to the usedEntities set\n */\n",
|
|
9948
|
+
"excerptTokens": [
|
|
9949
|
+
{
|
|
9950
|
+
"kind": "Content",
|
|
9951
|
+
"text": "UsedEntity = "
|
|
9952
|
+
},
|
|
9953
|
+
{
|
|
9954
|
+
"kind": "Content",
|
|
9955
|
+
"text": "1"
|
|
9956
|
+
}
|
|
9957
|
+
],
|
|
9958
|
+
"initializerTokenRange": {
|
|
9959
|
+
"startIndex": 1,
|
|
9960
|
+
"endIndex": 2
|
|
9961
|
+
},
|
|
9962
|
+
"releaseTag": "Public",
|
|
9963
|
+
"name": "UsedEntity"
|
|
9964
|
+
}
|
|
9965
|
+
]
|
|
9966
|
+
},
|
|
9967
|
+
{
|
|
9968
|
+
"kind": "Namespace",
|
|
9969
|
+
"canonicalReference": "@dcl/playground-assets!EntityUtils:namespace",
|
|
9970
|
+
"docComment": "",
|
|
9971
|
+
"excerptTokens": [
|
|
9972
|
+
{
|
|
9973
|
+
"kind": "Content",
|
|
9974
|
+
"text": "export declare namespace EntityUtils "
|
|
9975
|
+
}
|
|
9976
|
+
],
|
|
9977
|
+
"fileUrlPath": "../ecs/dist/engine/entity.d.ts",
|
|
9978
|
+
"releaseTag": "Public",
|
|
9979
|
+
"name": "EntityUtils",
|
|
9980
|
+
"preserveMemberOrder": false,
|
|
9981
|
+
"members": [
|
|
9982
|
+
{
|
|
9983
|
+
"kind": "Function",
|
|
9984
|
+
"canonicalReference": "@dcl/playground-assets!EntityUtils.fromEntityId:function(1)",
|
|
9985
|
+
"docComment": "/**\n * @returns [entityNumber, entityVersion]\n */\n",
|
|
9986
|
+
"excerptTokens": [
|
|
9987
|
+
{
|
|
9988
|
+
"kind": "Content",
|
|
9989
|
+
"text": "function fromEntityId(entityId: "
|
|
9990
|
+
},
|
|
9991
|
+
{
|
|
9992
|
+
"kind": "Reference",
|
|
9993
|
+
"text": "Entity",
|
|
9994
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
9995
|
+
},
|
|
9996
|
+
{
|
|
9997
|
+
"kind": "Content",
|
|
9998
|
+
"text": "): "
|
|
9999
|
+
},
|
|
10000
|
+
{
|
|
10001
|
+
"kind": "Content",
|
|
10002
|
+
"text": "[number, number]"
|
|
10003
|
+
},
|
|
10004
|
+
{
|
|
10005
|
+
"kind": "Content",
|
|
10006
|
+
"text": ";"
|
|
10007
|
+
}
|
|
10008
|
+
],
|
|
10009
|
+
"returnTypeTokenRange": {
|
|
10010
|
+
"startIndex": 3,
|
|
10011
|
+
"endIndex": 4
|
|
10012
|
+
},
|
|
10013
|
+
"releaseTag": "Public",
|
|
10014
|
+
"overloadIndex": 1,
|
|
10015
|
+
"parameters": [
|
|
10016
|
+
{
|
|
10017
|
+
"parameterName": "entityId",
|
|
10018
|
+
"parameterTypeTokenRange": {
|
|
10019
|
+
"startIndex": 1,
|
|
10020
|
+
"endIndex": 2
|
|
10021
|
+
},
|
|
10022
|
+
"isOptional": false
|
|
10023
|
+
}
|
|
10024
|
+
],
|
|
10025
|
+
"name": "fromEntityId"
|
|
10026
|
+
},
|
|
10027
|
+
{
|
|
10028
|
+
"kind": "Function",
|
|
10029
|
+
"canonicalReference": "@dcl/playground-assets!EntityUtils.toEntityId:function(1)",
|
|
10030
|
+
"docComment": "/**\n * @returns compound number from entityNumber and entityVerison\n */\n",
|
|
10031
|
+
"excerptTokens": [
|
|
10032
|
+
{
|
|
10033
|
+
"kind": "Content",
|
|
10034
|
+
"text": "function toEntityId(entityNumber: "
|
|
10035
|
+
},
|
|
10036
|
+
{
|
|
10037
|
+
"kind": "Content",
|
|
10038
|
+
"text": "number"
|
|
10039
|
+
},
|
|
10040
|
+
{
|
|
10041
|
+
"kind": "Content",
|
|
10042
|
+
"text": ", entityVersion: "
|
|
10043
|
+
},
|
|
10044
|
+
{
|
|
10045
|
+
"kind": "Content",
|
|
10046
|
+
"text": "number"
|
|
10047
|
+
},
|
|
10048
|
+
{
|
|
10049
|
+
"kind": "Content",
|
|
10050
|
+
"text": "): "
|
|
10051
|
+
},
|
|
10052
|
+
{
|
|
10053
|
+
"kind": "Reference",
|
|
10054
|
+
"text": "Entity",
|
|
10055
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
10056
|
+
},
|
|
10057
|
+
{
|
|
10058
|
+
"kind": "Content",
|
|
10059
|
+
"text": ";"
|
|
10060
|
+
}
|
|
10061
|
+
],
|
|
10062
|
+
"returnTypeTokenRange": {
|
|
10063
|
+
"startIndex": 5,
|
|
10064
|
+
"endIndex": 6
|
|
10065
|
+
},
|
|
10066
|
+
"releaseTag": "Public",
|
|
10067
|
+
"overloadIndex": 1,
|
|
10068
|
+
"parameters": [
|
|
10069
|
+
{
|
|
10070
|
+
"parameterName": "entityNumber",
|
|
10071
|
+
"parameterTypeTokenRange": {
|
|
10072
|
+
"startIndex": 1,
|
|
10073
|
+
"endIndex": 2
|
|
10074
|
+
},
|
|
10075
|
+
"isOptional": false
|
|
10076
|
+
},
|
|
10077
|
+
{
|
|
10078
|
+
"parameterName": "entityVersion",
|
|
10079
|
+
"parameterTypeTokenRange": {
|
|
10080
|
+
"startIndex": 3,
|
|
10081
|
+
"endIndex": 4
|
|
10082
|
+
},
|
|
10083
|
+
"isOptional": false
|
|
10084
|
+
}
|
|
10085
|
+
],
|
|
10086
|
+
"name": "toEntityId"
|
|
10087
|
+
}
|
|
10088
|
+
]
|
|
10089
|
+
},
|
|
8843
10090
|
{
|
|
8844
10091
|
"kind": "Variable",
|
|
8845
10092
|
"canonicalReference": "@dcl/playground-assets!Epsilon:var",
|
|
@@ -9385,7 +10632,7 @@
|
|
|
9385
10632
|
},
|
|
9386
10633
|
{
|
|
9387
10634
|
"kind": "Content",
|
|
9388
|
-
"text": "): void;\n
|
|
10635
|
+
"text": "): void;\n getEntityState(entity: "
|
|
9389
10636
|
},
|
|
9390
10637
|
{
|
|
9391
10638
|
"kind": "Reference",
|
|
@@ -9394,7 +10641,16 @@
|
|
|
9394
10641
|
},
|
|
9395
10642
|
{
|
|
9396
10643
|
"kind": "Content",
|
|
9397
|
-
"text": "):
|
|
10644
|
+
"text": "): "
|
|
10645
|
+
},
|
|
10646
|
+
{
|
|
10647
|
+
"kind": "Reference",
|
|
10648
|
+
"text": "EntityState",
|
|
10649
|
+
"canonicalReference": "@dcl/playground-assets!EntityState:enum"
|
|
10650
|
+
},
|
|
10651
|
+
{
|
|
10652
|
+
"kind": "Content",
|
|
10653
|
+
"text": ";\n addSystem(system: "
|
|
9398
10654
|
},
|
|
9399
10655
|
{
|
|
9400
10656
|
"kind": "Reference",
|
|
@@ -9601,7 +10857,16 @@
|
|
|
9601
10857
|
},
|
|
9602
10858
|
{
|
|
9603
10859
|
"kind": "Content",
|
|
9604
|
-
"text": "): void;\n
|
|
10860
|
+
"text": "): void;\n entityContainer: "
|
|
10861
|
+
},
|
|
10862
|
+
{
|
|
10863
|
+
"kind": "Reference",
|
|
10864
|
+
"text": "EntityContainer",
|
|
10865
|
+
"canonicalReference": "@dcl/playground-assets!EntityContainer:type"
|
|
10866
|
+
},
|
|
10867
|
+
{
|
|
10868
|
+
"kind": "Content",
|
|
10869
|
+
"text": ";\n componentsIter(): "
|
|
9605
10870
|
},
|
|
9606
10871
|
{
|
|
9607
10872
|
"kind": "Reference",
|
|
@@ -9631,7 +10896,7 @@
|
|
|
9631
10896
|
"name": "IEngine",
|
|
9632
10897
|
"typeTokenRange": {
|
|
9633
10898
|
"startIndex": 1,
|
|
9634
|
-
"endIndex":
|
|
10899
|
+
"endIndex": 64
|
|
9635
10900
|
}
|
|
9636
10901
|
},
|
|
9637
10902
|
{
|
|
@@ -22852,25 +24117,25 @@
|
|
|
22852
24117
|
},
|
|
22853
24118
|
{
|
|
22854
24119
|
"kind": "Content",
|
|
22855
|
-
"text": ",
|
|
24120
|
+
"text": ", operation: "
|
|
22856
24121
|
},
|
|
22857
24122
|
{
|
|
22858
24123
|
"kind": "Reference",
|
|
22859
|
-
"text": "
|
|
22860
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
24124
|
+
"text": "CrdtMessageType",
|
|
24125
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageType:enum"
|
|
22861
24126
|
},
|
|
22862
24127
|
{
|
|
22863
24128
|
"kind": "Content",
|
|
22864
|
-
"text": "
|
|
24129
|
+
"text": ", component?: "
|
|
22865
24130
|
},
|
|
22866
24131
|
{
|
|
22867
24132
|
"kind": "Reference",
|
|
22868
|
-
"text": "
|
|
22869
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
24133
|
+
"text": "ComponentDefinition",
|
|
24134
|
+
"canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
|
|
22870
24135
|
},
|
|
22871
24136
|
{
|
|
22872
24137
|
"kind": "Content",
|
|
22873
|
-
"text": ") => void"
|
|
24138
|
+
"text": "<any>) => void"
|
|
22874
24139
|
},
|
|
22875
24140
|
{
|
|
22876
24141
|
"kind": "Content",
|
|
@@ -35341,6 +36606,287 @@
|
|
|
35341
36606
|
"endIndex": 2
|
|
35342
36607
|
}
|
|
35343
36608
|
},
|
|
36609
|
+
{
|
|
36610
|
+
"kind": "TypeAlias",
|
|
36611
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentMessage:type",
|
|
36612
|
+
"docComment": "",
|
|
36613
|
+
"excerptTokens": [
|
|
36614
|
+
{
|
|
36615
|
+
"kind": "Content",
|
|
36616
|
+
"text": "export declare type PutComponentMessage = "
|
|
36617
|
+
},
|
|
36618
|
+
{
|
|
36619
|
+
"kind": "Reference",
|
|
36620
|
+
"text": "CrdtMessageHeader",
|
|
36621
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
|
|
36622
|
+
},
|
|
36623
|
+
{
|
|
36624
|
+
"kind": "Content",
|
|
36625
|
+
"text": " & "
|
|
36626
|
+
},
|
|
36627
|
+
{
|
|
36628
|
+
"kind": "Reference",
|
|
36629
|
+
"text": "PutComponentMessageBody",
|
|
36630
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type"
|
|
36631
|
+
},
|
|
36632
|
+
{
|
|
36633
|
+
"kind": "Content",
|
|
36634
|
+
"text": ";"
|
|
36635
|
+
}
|
|
36636
|
+
],
|
|
36637
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
36638
|
+
"releaseTag": "Public",
|
|
36639
|
+
"name": "PutComponentMessage",
|
|
36640
|
+
"typeTokenRange": {
|
|
36641
|
+
"startIndex": 1,
|
|
36642
|
+
"endIndex": 4
|
|
36643
|
+
}
|
|
36644
|
+
},
|
|
36645
|
+
{
|
|
36646
|
+
"kind": "TypeAlias",
|
|
36647
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentMessageBody:type",
|
|
36648
|
+
"docComment": "/**\n * Min. length = header (8 bytes) + 20 bytes = 28 bytes\n *\n * @param entity - Uint32 number of the entity\n *\n * @param componentId - Uint32 number of id\n *\n * @param timestamp - Uint64 Lamport timestamp\n *\n * @param data - Uint8[] data of component => length(4 bytes) + block of bytes[0..length-1]\n */\n",
|
|
36649
|
+
"excerptTokens": [
|
|
36650
|
+
{
|
|
36651
|
+
"kind": "Content",
|
|
36652
|
+
"text": "export declare type PutComponentMessageBody = "
|
|
36653
|
+
},
|
|
36654
|
+
{
|
|
36655
|
+
"kind": "Content",
|
|
36656
|
+
"text": "{\n type: "
|
|
36657
|
+
},
|
|
36658
|
+
{
|
|
36659
|
+
"kind": "Reference",
|
|
36660
|
+
"text": "CrdtMessageType.PUT_COMPONENT",
|
|
36661
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageType.PUT_COMPONENT:member"
|
|
36662
|
+
},
|
|
36663
|
+
{
|
|
36664
|
+
"kind": "Content",
|
|
36665
|
+
"text": ";\n entityId: "
|
|
36666
|
+
},
|
|
36667
|
+
{
|
|
36668
|
+
"kind": "Reference",
|
|
36669
|
+
"text": "Entity",
|
|
36670
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
36671
|
+
},
|
|
36672
|
+
{
|
|
36673
|
+
"kind": "Content",
|
|
36674
|
+
"text": ";\n componentId: number;\n timestamp: number;\n data: "
|
|
36675
|
+
},
|
|
36676
|
+
{
|
|
36677
|
+
"kind": "Reference",
|
|
36678
|
+
"text": "Uint8Array",
|
|
36679
|
+
"canonicalReference": "!Uint8Array:interface"
|
|
36680
|
+
},
|
|
36681
|
+
{
|
|
36682
|
+
"kind": "Content",
|
|
36683
|
+
"text": ";\n}"
|
|
36684
|
+
},
|
|
36685
|
+
{
|
|
36686
|
+
"kind": "Content",
|
|
36687
|
+
"text": ";"
|
|
36688
|
+
}
|
|
36689
|
+
],
|
|
36690
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
36691
|
+
"releaseTag": "Public",
|
|
36692
|
+
"name": "PutComponentMessageBody",
|
|
36693
|
+
"typeTokenRange": {
|
|
36694
|
+
"startIndex": 1,
|
|
36695
|
+
"endIndex": 8
|
|
36696
|
+
}
|
|
36697
|
+
},
|
|
36698
|
+
{
|
|
36699
|
+
"kind": "Namespace",
|
|
36700
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentOperation:namespace",
|
|
36701
|
+
"docComment": "",
|
|
36702
|
+
"excerptTokens": [
|
|
36703
|
+
{
|
|
36704
|
+
"kind": "Content",
|
|
36705
|
+
"text": "export declare namespace PutComponentOperation "
|
|
36706
|
+
}
|
|
36707
|
+
],
|
|
36708
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/putComponent.d.ts",
|
|
36709
|
+
"releaseTag": "Public",
|
|
36710
|
+
"name": "PutComponentOperation",
|
|
36711
|
+
"preserveMemberOrder": false,
|
|
36712
|
+
"members": [
|
|
36713
|
+
{
|
|
36714
|
+
"kind": "Variable",
|
|
36715
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentOperation.MESSAGE_HEADER_LENGTH:var",
|
|
36716
|
+
"docComment": "",
|
|
36717
|
+
"excerptTokens": [
|
|
36718
|
+
{
|
|
36719
|
+
"kind": "Content",
|
|
36720
|
+
"text": "MESSAGE_HEADER_LENGTH = "
|
|
36721
|
+
},
|
|
36722
|
+
{
|
|
36723
|
+
"kind": "Content",
|
|
36724
|
+
"text": "20"
|
|
36725
|
+
}
|
|
36726
|
+
],
|
|
36727
|
+
"initializerTokenRange": {
|
|
36728
|
+
"startIndex": 1,
|
|
36729
|
+
"endIndex": 2
|
|
36730
|
+
},
|
|
36731
|
+
"isReadonly": true,
|
|
36732
|
+
"releaseTag": "Public",
|
|
36733
|
+
"name": "MESSAGE_HEADER_LENGTH",
|
|
36734
|
+
"variableTypeTokenRange": {
|
|
36735
|
+
"startIndex": 0,
|
|
36736
|
+
"endIndex": 0
|
|
36737
|
+
}
|
|
36738
|
+
},
|
|
36739
|
+
{
|
|
36740
|
+
"kind": "Function",
|
|
36741
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentOperation.read:function(1)",
|
|
36742
|
+
"docComment": "",
|
|
36743
|
+
"excerptTokens": [
|
|
36744
|
+
{
|
|
36745
|
+
"kind": "Content",
|
|
36746
|
+
"text": "function read(buf: "
|
|
36747
|
+
},
|
|
36748
|
+
{
|
|
36749
|
+
"kind": "Reference",
|
|
36750
|
+
"text": "ByteBuffer",
|
|
36751
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
36752
|
+
},
|
|
36753
|
+
{
|
|
36754
|
+
"kind": "Content",
|
|
36755
|
+
"text": "): "
|
|
36756
|
+
},
|
|
36757
|
+
{
|
|
36758
|
+
"kind": "Reference",
|
|
36759
|
+
"text": "PutComponentMessage",
|
|
36760
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentMessage:type"
|
|
36761
|
+
},
|
|
36762
|
+
{
|
|
36763
|
+
"kind": "Content",
|
|
36764
|
+
"text": " | null"
|
|
36765
|
+
},
|
|
36766
|
+
{
|
|
36767
|
+
"kind": "Content",
|
|
36768
|
+
"text": ";"
|
|
36769
|
+
}
|
|
36770
|
+
],
|
|
36771
|
+
"returnTypeTokenRange": {
|
|
36772
|
+
"startIndex": 3,
|
|
36773
|
+
"endIndex": 5
|
|
36774
|
+
},
|
|
36775
|
+
"releaseTag": "Public",
|
|
36776
|
+
"overloadIndex": 1,
|
|
36777
|
+
"parameters": [
|
|
36778
|
+
{
|
|
36779
|
+
"parameterName": "buf",
|
|
36780
|
+
"parameterTypeTokenRange": {
|
|
36781
|
+
"startIndex": 1,
|
|
36782
|
+
"endIndex": 2
|
|
36783
|
+
},
|
|
36784
|
+
"isOptional": false
|
|
36785
|
+
}
|
|
36786
|
+
],
|
|
36787
|
+
"name": "read"
|
|
36788
|
+
},
|
|
36789
|
+
{
|
|
36790
|
+
"kind": "Function",
|
|
36791
|
+
"canonicalReference": "@dcl/playground-assets!PutComponentOperation.write:function(1)",
|
|
36792
|
+
"docComment": "/**\n * Call this function for an optimal writing data passing the ByteBuffer already allocated\n */\n",
|
|
36793
|
+
"excerptTokens": [
|
|
36794
|
+
{
|
|
36795
|
+
"kind": "Content",
|
|
36796
|
+
"text": "function write(entity: "
|
|
36797
|
+
},
|
|
36798
|
+
{
|
|
36799
|
+
"kind": "Reference",
|
|
36800
|
+
"text": "Entity",
|
|
36801
|
+
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
36802
|
+
},
|
|
36803
|
+
{
|
|
36804
|
+
"kind": "Content",
|
|
36805
|
+
"text": ", timestamp: "
|
|
36806
|
+
},
|
|
36807
|
+
{
|
|
36808
|
+
"kind": "Content",
|
|
36809
|
+
"text": "number"
|
|
36810
|
+
},
|
|
36811
|
+
{
|
|
36812
|
+
"kind": "Content",
|
|
36813
|
+
"text": ", componentDefinition: "
|
|
36814
|
+
},
|
|
36815
|
+
{
|
|
36816
|
+
"kind": "Reference",
|
|
36817
|
+
"text": "ComponentDefinition",
|
|
36818
|
+
"canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
|
|
36819
|
+
},
|
|
36820
|
+
{
|
|
36821
|
+
"kind": "Content",
|
|
36822
|
+
"text": "<unknown>"
|
|
36823
|
+
},
|
|
36824
|
+
{
|
|
36825
|
+
"kind": "Content",
|
|
36826
|
+
"text": ", buf: "
|
|
36827
|
+
},
|
|
36828
|
+
{
|
|
36829
|
+
"kind": "Reference",
|
|
36830
|
+
"text": "ByteBuffer",
|
|
36831
|
+
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
36832
|
+
},
|
|
36833
|
+
{
|
|
36834
|
+
"kind": "Content",
|
|
36835
|
+
"text": "): "
|
|
36836
|
+
},
|
|
36837
|
+
{
|
|
36838
|
+
"kind": "Content",
|
|
36839
|
+
"text": "void"
|
|
36840
|
+
},
|
|
36841
|
+
{
|
|
36842
|
+
"kind": "Content",
|
|
36843
|
+
"text": ";"
|
|
36844
|
+
}
|
|
36845
|
+
],
|
|
36846
|
+
"returnTypeTokenRange": {
|
|
36847
|
+
"startIndex": 10,
|
|
36848
|
+
"endIndex": 11
|
|
36849
|
+
},
|
|
36850
|
+
"releaseTag": "Public",
|
|
36851
|
+
"overloadIndex": 1,
|
|
36852
|
+
"parameters": [
|
|
36853
|
+
{
|
|
36854
|
+
"parameterName": "entity",
|
|
36855
|
+
"parameterTypeTokenRange": {
|
|
36856
|
+
"startIndex": 1,
|
|
36857
|
+
"endIndex": 2
|
|
36858
|
+
},
|
|
36859
|
+
"isOptional": false
|
|
36860
|
+
},
|
|
36861
|
+
{
|
|
36862
|
+
"parameterName": "timestamp",
|
|
36863
|
+
"parameterTypeTokenRange": {
|
|
36864
|
+
"startIndex": 3,
|
|
36865
|
+
"endIndex": 4
|
|
36866
|
+
},
|
|
36867
|
+
"isOptional": false
|
|
36868
|
+
},
|
|
36869
|
+
{
|
|
36870
|
+
"parameterName": "componentDefinition",
|
|
36871
|
+
"parameterTypeTokenRange": {
|
|
36872
|
+
"startIndex": 5,
|
|
36873
|
+
"endIndex": 7
|
|
36874
|
+
},
|
|
36875
|
+
"isOptional": false
|
|
36876
|
+
},
|
|
36877
|
+
{
|
|
36878
|
+
"parameterName": "buf",
|
|
36879
|
+
"parameterTypeTokenRange": {
|
|
36880
|
+
"startIndex": 8,
|
|
36881
|
+
"endIndex": 9
|
|
36882
|
+
},
|
|
36883
|
+
"isOptional": false
|
|
36884
|
+
}
|
|
36885
|
+
],
|
|
36886
|
+
"name": "write"
|
|
36887
|
+
}
|
|
36888
|
+
]
|
|
36889
|
+
},
|
|
35344
36890
|
{
|
|
35345
36891
|
"kind": "Namespace",
|
|
35346
36892
|
"canonicalReference": "@dcl/playground-assets!Quaternion:namespace",
|
|
@@ -38072,36 +39618,14 @@
|
|
|
38072
39618
|
"kind": "Content",
|
|
38073
39619
|
"text": "export declare type ReceiveMessage = "
|
|
38074
39620
|
},
|
|
38075
|
-
{
|
|
38076
|
-
"kind": "Content",
|
|
38077
|
-
"text": "{\n type: "
|
|
38078
|
-
},
|
|
38079
39621
|
{
|
|
38080
39622
|
"kind": "Reference",
|
|
38081
|
-
"text": "
|
|
38082
|
-
"canonicalReference": "@dcl/playground-assets!
|
|
39623
|
+
"text": "CrdtMessageBody",
|
|
39624
|
+
"canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
|
|
38083
39625
|
},
|
|
38084
39626
|
{
|
|
38085
39627
|
"kind": "Content",
|
|
38086
|
-
"text": ";\n
|
|
38087
|
-
},
|
|
38088
|
-
{
|
|
38089
|
-
"kind": "Reference",
|
|
38090
|
-
"text": "Entity",
|
|
38091
|
-
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
38092
|
-
},
|
|
38093
|
-
{
|
|
38094
|
-
"kind": "Content",
|
|
38095
|
-
"text": ";\n componentId: number;\n timestamp: number;\n transportId?: number;\n data?: "
|
|
38096
|
-
},
|
|
38097
|
-
{
|
|
38098
|
-
"kind": "Reference",
|
|
38099
|
-
"text": "Uint8Array",
|
|
38100
|
-
"canonicalReference": "!Uint8Array:interface"
|
|
38101
|
-
},
|
|
38102
|
-
{
|
|
38103
|
-
"kind": "Content",
|
|
38104
|
-
"text": ";\n messageBuffer: "
|
|
39628
|
+
"text": " & {\n transportId?: number;\n messageBuffer: "
|
|
38105
39629
|
},
|
|
38106
39630
|
{
|
|
38107
39631
|
"kind": "Reference",
|
|
@@ -38122,7 +39646,7 @@
|
|
|
38122
39646
|
"name": "ReceiveMessage",
|
|
38123
39647
|
"typeTokenRange": {
|
|
38124
39648
|
"startIndex": 1,
|
|
38125
|
-
"endIndex":
|
|
39649
|
+
"endIndex": 5
|
|
38126
39650
|
}
|
|
38127
39651
|
},
|
|
38128
39652
|
{
|
|
@@ -42238,6 +43762,32 @@
|
|
|
42238
43762
|
"endIndex": 2
|
|
42239
43763
|
}
|
|
42240
43764
|
},
|
|
43765
|
+
{
|
|
43766
|
+
"kind": "TypeAlias",
|
|
43767
|
+
"canonicalReference": "@dcl/playground-assets!Uint32:type",
|
|
43768
|
+
"docComment": "",
|
|
43769
|
+
"excerptTokens": [
|
|
43770
|
+
{
|
|
43771
|
+
"kind": "Content",
|
|
43772
|
+
"text": "export declare type Uint32 = "
|
|
43773
|
+
},
|
|
43774
|
+
{
|
|
43775
|
+
"kind": "Content",
|
|
43776
|
+
"text": "number"
|
|
43777
|
+
},
|
|
43778
|
+
{
|
|
43779
|
+
"kind": "Content",
|
|
43780
|
+
"text": ";"
|
|
43781
|
+
}
|
|
43782
|
+
],
|
|
43783
|
+
"fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
|
|
43784
|
+
"releaseTag": "Public",
|
|
43785
|
+
"name": "Uint32",
|
|
43786
|
+
"typeTokenRange": {
|
|
43787
|
+
"startIndex": 1,
|
|
43788
|
+
"endIndex": 2
|
|
43789
|
+
}
|
|
43790
|
+
},
|
|
42241
43791
|
{
|
|
42242
43792
|
"kind": "Variable",
|
|
42243
43793
|
"canonicalReference": "@dcl/playground-assets!UiText:var",
|
|
@@ -48427,379 +49977,6 @@
|
|
|
48427
49977
|
"endIndex": 5
|
|
48428
49978
|
}
|
|
48429
49979
|
},
|
|
48430
|
-
{
|
|
48431
|
-
"kind": "Namespace",
|
|
48432
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage:namespace",
|
|
48433
|
-
"docComment": "",
|
|
48434
|
-
"excerptTokens": [
|
|
48435
|
-
{
|
|
48436
|
-
"kind": "Content",
|
|
48437
|
-
"text": "export declare namespace WireMessage "
|
|
48438
|
-
}
|
|
48439
|
-
],
|
|
48440
|
-
"fileUrlPath": "../ecs/dist/serialization/wireMessage.d.ts",
|
|
48441
|
-
"releaseTag": "Public",
|
|
48442
|
-
"name": "WireMessage",
|
|
48443
|
-
"preserveMemberOrder": false,
|
|
48444
|
-
"members": [
|
|
48445
|
-
{
|
|
48446
|
-
"kind": "Enum",
|
|
48447
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.Enum:enum",
|
|
48448
|
-
"docComment": "",
|
|
48449
|
-
"excerptTokens": [
|
|
48450
|
-
{
|
|
48451
|
-
"kind": "Content",
|
|
48452
|
-
"text": "enum Enum "
|
|
48453
|
-
}
|
|
48454
|
-
],
|
|
48455
|
-
"releaseTag": "Public",
|
|
48456
|
-
"name": "Enum",
|
|
48457
|
-
"preserveMemberOrder": false,
|
|
48458
|
-
"members": [
|
|
48459
|
-
{
|
|
48460
|
-
"kind": "EnumMember",
|
|
48461
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.Enum.DELETE_COMPONENT:member",
|
|
48462
|
-
"docComment": "",
|
|
48463
|
-
"excerptTokens": [
|
|
48464
|
-
{
|
|
48465
|
-
"kind": "Content",
|
|
48466
|
-
"text": "DELETE_COMPONENT = "
|
|
48467
|
-
},
|
|
48468
|
-
{
|
|
48469
|
-
"kind": "Content",
|
|
48470
|
-
"text": "2"
|
|
48471
|
-
}
|
|
48472
|
-
],
|
|
48473
|
-
"initializerTokenRange": {
|
|
48474
|
-
"startIndex": 1,
|
|
48475
|
-
"endIndex": 2
|
|
48476
|
-
},
|
|
48477
|
-
"releaseTag": "Public",
|
|
48478
|
-
"name": "DELETE_COMPONENT"
|
|
48479
|
-
},
|
|
48480
|
-
{
|
|
48481
|
-
"kind": "EnumMember",
|
|
48482
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.Enum.MAX_MESSAGE_TYPE:member",
|
|
48483
|
-
"docComment": "",
|
|
48484
|
-
"excerptTokens": [
|
|
48485
|
-
{
|
|
48486
|
-
"kind": "Content",
|
|
48487
|
-
"text": "MAX_MESSAGE_TYPE = "
|
|
48488
|
-
},
|
|
48489
|
-
{
|
|
48490
|
-
"kind": "Content",
|
|
48491
|
-
"text": "3"
|
|
48492
|
-
}
|
|
48493
|
-
],
|
|
48494
|
-
"initializerTokenRange": {
|
|
48495
|
-
"startIndex": 1,
|
|
48496
|
-
"endIndex": 2
|
|
48497
|
-
},
|
|
48498
|
-
"releaseTag": "Public",
|
|
48499
|
-
"name": "MAX_MESSAGE_TYPE"
|
|
48500
|
-
},
|
|
48501
|
-
{
|
|
48502
|
-
"kind": "EnumMember",
|
|
48503
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.Enum.PUT_COMPONENT:member",
|
|
48504
|
-
"docComment": "",
|
|
48505
|
-
"excerptTokens": [
|
|
48506
|
-
{
|
|
48507
|
-
"kind": "Content",
|
|
48508
|
-
"text": "PUT_COMPONENT = "
|
|
48509
|
-
},
|
|
48510
|
-
{
|
|
48511
|
-
"kind": "Content",
|
|
48512
|
-
"text": "1"
|
|
48513
|
-
}
|
|
48514
|
-
],
|
|
48515
|
-
"initializerTokenRange": {
|
|
48516
|
-
"startIndex": 1,
|
|
48517
|
-
"endIndex": 2
|
|
48518
|
-
},
|
|
48519
|
-
"releaseTag": "Public",
|
|
48520
|
-
"name": "PUT_COMPONENT"
|
|
48521
|
-
},
|
|
48522
|
-
{
|
|
48523
|
-
"kind": "EnumMember",
|
|
48524
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.Enum.RESERVED:member",
|
|
48525
|
-
"docComment": "",
|
|
48526
|
-
"excerptTokens": [
|
|
48527
|
-
{
|
|
48528
|
-
"kind": "Content",
|
|
48529
|
-
"text": "RESERVED = "
|
|
48530
|
-
},
|
|
48531
|
-
{
|
|
48532
|
-
"kind": "Content",
|
|
48533
|
-
"text": "0"
|
|
48534
|
-
}
|
|
48535
|
-
],
|
|
48536
|
-
"initializerTokenRange": {
|
|
48537
|
-
"startIndex": 1,
|
|
48538
|
-
"endIndex": 2
|
|
48539
|
-
},
|
|
48540
|
-
"releaseTag": "Public",
|
|
48541
|
-
"name": "RESERVED"
|
|
48542
|
-
}
|
|
48543
|
-
]
|
|
48544
|
-
},
|
|
48545
|
-
{
|
|
48546
|
-
"kind": "Function",
|
|
48547
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.getType:function(1)",
|
|
48548
|
-
"docComment": "",
|
|
48549
|
-
"excerptTokens": [
|
|
48550
|
-
{
|
|
48551
|
-
"kind": "Content",
|
|
48552
|
-
"text": "function getType(component: "
|
|
48553
|
-
},
|
|
48554
|
-
{
|
|
48555
|
-
"kind": "Reference",
|
|
48556
|
-
"text": "ComponentDefinition",
|
|
48557
|
-
"canonicalReference": "@dcl/playground-assets!ComponentDefinition:type"
|
|
48558
|
-
},
|
|
48559
|
-
{
|
|
48560
|
-
"kind": "Content",
|
|
48561
|
-
"text": "<unknown>"
|
|
48562
|
-
},
|
|
48563
|
-
{
|
|
48564
|
-
"kind": "Content",
|
|
48565
|
-
"text": ", entity: "
|
|
48566
|
-
},
|
|
48567
|
-
{
|
|
48568
|
-
"kind": "Reference",
|
|
48569
|
-
"text": "Entity",
|
|
48570
|
-
"canonicalReference": "@dcl/playground-assets!Entity:type"
|
|
48571
|
-
},
|
|
48572
|
-
{
|
|
48573
|
-
"kind": "Content",
|
|
48574
|
-
"text": "): "
|
|
48575
|
-
},
|
|
48576
|
-
{
|
|
48577
|
-
"kind": "Reference",
|
|
48578
|
-
"text": "Enum",
|
|
48579
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.Enum:enum"
|
|
48580
|
-
},
|
|
48581
|
-
{
|
|
48582
|
-
"kind": "Content",
|
|
48583
|
-
"text": ";"
|
|
48584
|
-
}
|
|
48585
|
-
],
|
|
48586
|
-
"returnTypeTokenRange": {
|
|
48587
|
-
"startIndex": 6,
|
|
48588
|
-
"endIndex": 7
|
|
48589
|
-
},
|
|
48590
|
-
"releaseTag": "Public",
|
|
48591
|
-
"overloadIndex": 1,
|
|
48592
|
-
"parameters": [
|
|
48593
|
-
{
|
|
48594
|
-
"parameterName": "component",
|
|
48595
|
-
"parameterTypeTokenRange": {
|
|
48596
|
-
"startIndex": 1,
|
|
48597
|
-
"endIndex": 3
|
|
48598
|
-
},
|
|
48599
|
-
"isOptional": false
|
|
48600
|
-
},
|
|
48601
|
-
{
|
|
48602
|
-
"parameterName": "entity",
|
|
48603
|
-
"parameterTypeTokenRange": {
|
|
48604
|
-
"startIndex": 4,
|
|
48605
|
-
"endIndex": 5
|
|
48606
|
-
},
|
|
48607
|
-
"isOptional": false
|
|
48608
|
-
}
|
|
48609
|
-
],
|
|
48610
|
-
"name": "getType"
|
|
48611
|
-
},
|
|
48612
|
-
{
|
|
48613
|
-
"kind": "Variable",
|
|
48614
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.HEADER_LENGTH:var",
|
|
48615
|
-
"docComment": "",
|
|
48616
|
-
"excerptTokens": [
|
|
48617
|
-
{
|
|
48618
|
-
"kind": "Content",
|
|
48619
|
-
"text": "HEADER_LENGTH = "
|
|
48620
|
-
},
|
|
48621
|
-
{
|
|
48622
|
-
"kind": "Content",
|
|
48623
|
-
"text": "8"
|
|
48624
|
-
}
|
|
48625
|
-
],
|
|
48626
|
-
"initializerTokenRange": {
|
|
48627
|
-
"startIndex": 1,
|
|
48628
|
-
"endIndex": 2
|
|
48629
|
-
},
|
|
48630
|
-
"isReadonly": true,
|
|
48631
|
-
"releaseTag": "Public",
|
|
48632
|
-
"name": "HEADER_LENGTH",
|
|
48633
|
-
"variableTypeTokenRange": {
|
|
48634
|
-
"startIndex": 0,
|
|
48635
|
-
"endIndex": 0
|
|
48636
|
-
}
|
|
48637
|
-
},
|
|
48638
|
-
{
|
|
48639
|
-
"kind": "TypeAlias",
|
|
48640
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.Header:type",
|
|
48641
|
-
"docComment": "/**\n * @param length - Uint32 the length of all message (including the header)\n *\n * @param type - define the function which handles the data\n */\n",
|
|
48642
|
-
"excerptTokens": [
|
|
48643
|
-
{
|
|
48644
|
-
"kind": "Content",
|
|
48645
|
-
"text": "type Header = "
|
|
48646
|
-
},
|
|
48647
|
-
{
|
|
48648
|
-
"kind": "Content",
|
|
48649
|
-
"text": "{\n length: "
|
|
48650
|
-
},
|
|
48651
|
-
{
|
|
48652
|
-
"kind": "Reference",
|
|
48653
|
-
"text": "Uint32",
|
|
48654
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.Uint32:type"
|
|
48655
|
-
},
|
|
48656
|
-
{
|
|
48657
|
-
"kind": "Content",
|
|
48658
|
-
"text": ";\n type: "
|
|
48659
|
-
},
|
|
48660
|
-
{
|
|
48661
|
-
"kind": "Reference",
|
|
48662
|
-
"text": "Uint32",
|
|
48663
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.Uint32:type"
|
|
48664
|
-
},
|
|
48665
|
-
{
|
|
48666
|
-
"kind": "Content",
|
|
48667
|
-
"text": ";\n }"
|
|
48668
|
-
},
|
|
48669
|
-
{
|
|
48670
|
-
"kind": "Content",
|
|
48671
|
-
"text": ";"
|
|
48672
|
-
}
|
|
48673
|
-
],
|
|
48674
|
-
"releaseTag": "Public",
|
|
48675
|
-
"name": "Header",
|
|
48676
|
-
"typeTokenRange": {
|
|
48677
|
-
"startIndex": 1,
|
|
48678
|
-
"endIndex": 6
|
|
48679
|
-
}
|
|
48680
|
-
},
|
|
48681
|
-
{
|
|
48682
|
-
"kind": "Function",
|
|
48683
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.readHeader:function(1)",
|
|
48684
|
-
"docComment": "",
|
|
48685
|
-
"excerptTokens": [
|
|
48686
|
-
{
|
|
48687
|
-
"kind": "Content",
|
|
48688
|
-
"text": "function readHeader(buf: "
|
|
48689
|
-
},
|
|
48690
|
-
{
|
|
48691
|
-
"kind": "Reference",
|
|
48692
|
-
"text": "ByteBuffer",
|
|
48693
|
-
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
48694
|
-
},
|
|
48695
|
-
{
|
|
48696
|
-
"kind": "Content",
|
|
48697
|
-
"text": "): "
|
|
48698
|
-
},
|
|
48699
|
-
{
|
|
48700
|
-
"kind": "Reference",
|
|
48701
|
-
"text": "Header",
|
|
48702
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.Header:type"
|
|
48703
|
-
},
|
|
48704
|
-
{
|
|
48705
|
-
"kind": "Content",
|
|
48706
|
-
"text": " | null"
|
|
48707
|
-
},
|
|
48708
|
-
{
|
|
48709
|
-
"kind": "Content",
|
|
48710
|
-
"text": ";"
|
|
48711
|
-
}
|
|
48712
|
-
],
|
|
48713
|
-
"returnTypeTokenRange": {
|
|
48714
|
-
"startIndex": 3,
|
|
48715
|
-
"endIndex": 5
|
|
48716
|
-
},
|
|
48717
|
-
"releaseTag": "Public",
|
|
48718
|
-
"overloadIndex": 1,
|
|
48719
|
-
"parameters": [
|
|
48720
|
-
{
|
|
48721
|
-
"parameterName": "buf",
|
|
48722
|
-
"parameterTypeTokenRange": {
|
|
48723
|
-
"startIndex": 1,
|
|
48724
|
-
"endIndex": 2
|
|
48725
|
-
},
|
|
48726
|
-
"isOptional": false
|
|
48727
|
-
}
|
|
48728
|
-
],
|
|
48729
|
-
"name": "readHeader"
|
|
48730
|
-
},
|
|
48731
|
-
{
|
|
48732
|
-
"kind": "TypeAlias",
|
|
48733
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.Uint32:type",
|
|
48734
|
-
"docComment": "",
|
|
48735
|
-
"excerptTokens": [
|
|
48736
|
-
{
|
|
48737
|
-
"kind": "Content",
|
|
48738
|
-
"text": "type Uint32 = "
|
|
48739
|
-
},
|
|
48740
|
-
{
|
|
48741
|
-
"kind": "Content",
|
|
48742
|
-
"text": "number"
|
|
48743
|
-
},
|
|
48744
|
-
{
|
|
48745
|
-
"kind": "Content",
|
|
48746
|
-
"text": ";"
|
|
48747
|
-
}
|
|
48748
|
-
],
|
|
48749
|
-
"releaseTag": "Public",
|
|
48750
|
-
"name": "Uint32",
|
|
48751
|
-
"typeTokenRange": {
|
|
48752
|
-
"startIndex": 1,
|
|
48753
|
-
"endIndex": 2
|
|
48754
|
-
}
|
|
48755
|
-
},
|
|
48756
|
-
{
|
|
48757
|
-
"kind": "Function",
|
|
48758
|
-
"canonicalReference": "@dcl/playground-assets!WireMessage.validate:function(1)",
|
|
48759
|
-
"docComment": "/**\n * Validate if the message incoming is completed\n *\n * @param buf - ByteBuffer\n */\n",
|
|
48760
|
-
"excerptTokens": [
|
|
48761
|
-
{
|
|
48762
|
-
"kind": "Content",
|
|
48763
|
-
"text": "function validate(buf: "
|
|
48764
|
-
},
|
|
48765
|
-
{
|
|
48766
|
-
"kind": "Reference",
|
|
48767
|
-
"text": "ByteBuffer",
|
|
48768
|
-
"canonicalReference": "@dcl/playground-assets!ByteBuffer:type"
|
|
48769
|
-
},
|
|
48770
|
-
{
|
|
48771
|
-
"kind": "Content",
|
|
48772
|
-
"text": "): "
|
|
48773
|
-
},
|
|
48774
|
-
{
|
|
48775
|
-
"kind": "Content",
|
|
48776
|
-
"text": "boolean"
|
|
48777
|
-
},
|
|
48778
|
-
{
|
|
48779
|
-
"kind": "Content",
|
|
48780
|
-
"text": ";"
|
|
48781
|
-
}
|
|
48782
|
-
],
|
|
48783
|
-
"returnTypeTokenRange": {
|
|
48784
|
-
"startIndex": 3,
|
|
48785
|
-
"endIndex": 4
|
|
48786
|
-
},
|
|
48787
|
-
"releaseTag": "Public",
|
|
48788
|
-
"overloadIndex": 1,
|
|
48789
|
-
"parameters": [
|
|
48790
|
-
{
|
|
48791
|
-
"parameterName": "buf",
|
|
48792
|
-
"parameterTypeTokenRange": {
|
|
48793
|
-
"startIndex": 1,
|
|
48794
|
-
"endIndex": 2
|
|
48795
|
-
},
|
|
48796
|
-
"isOptional": false
|
|
48797
|
-
}
|
|
48798
|
-
],
|
|
48799
|
-
"name": "validate"
|
|
48800
|
-
}
|
|
48801
|
-
]
|
|
48802
|
-
},
|
|
48803
49980
|
{
|
|
48804
49981
|
"kind": "Enum",
|
|
48805
49982
|
"canonicalReference": "@dcl/playground-assets!YGAlign:enum",
|