@dcl/playground-assets 7.32.0 → 7.32.1-41669733463.commit-b1b1d79

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.
@@ -2243,6 +2243,299 @@
2243
2243
  }
2244
2244
  ]
2245
2245
  },
2246
+ {
2247
+ "kind": "TypeAlias",
2248
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type",
2249
+ "docComment": "/**\n * @public\n */\n",
2250
+ "excerptTokens": [
2251
+ {
2252
+ "kind": "Content",
2253
+ "text": "export type AuthoritativePutComponentMessage = "
2254
+ },
2255
+ {
2256
+ "kind": "Reference",
2257
+ "text": "CrdtMessageHeader",
2258
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageHeader:type"
2259
+ },
2260
+ {
2261
+ "kind": "Content",
2262
+ "text": " & "
2263
+ },
2264
+ {
2265
+ "kind": "Reference",
2266
+ "text": "AuthoritativePutComponentMessageBody",
2267
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
2268
+ },
2269
+ {
2270
+ "kind": "Content",
2271
+ "text": ";"
2272
+ }
2273
+ ],
2274
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
2275
+ "releaseTag": "Public",
2276
+ "name": "AuthoritativePutComponentMessage",
2277
+ "typeTokenRange": {
2278
+ "startIndex": 1,
2279
+ "endIndex": 4
2280
+ }
2281
+ },
2282
+ {
2283
+ "kind": "TypeAlias",
2284
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type",
2285
+ "docComment": "/**\n * Server authoritative message - identical to PutComponentMessageBody but with forced processing\n * Min. length = header (8 bytes) + 16 bytes = 24 bytes\n *\n * @param entity - Uint32 number of the entity\n *\n * @param componentId - Uint32 number of id\n *\n * @param timestamp - Uint32 Lamport timestamp (server's authoritative timestamp)\n *\n * @param data - Uint8[] data of component => length(4 bytes) + block of bytes[0..length-1]\n *\n * @public\n */\n",
2286
+ "excerptTokens": [
2287
+ {
2288
+ "kind": "Content",
2289
+ "text": "export type AuthoritativePutComponentMessageBody = "
2290
+ },
2291
+ {
2292
+ "kind": "Content",
2293
+ "text": "{\n type: "
2294
+ },
2295
+ {
2296
+ "kind": "Reference",
2297
+ "text": "CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT",
2298
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member"
2299
+ },
2300
+ {
2301
+ "kind": "Content",
2302
+ "text": ";\n entityId: "
2303
+ },
2304
+ {
2305
+ "kind": "Reference",
2306
+ "text": "Entity",
2307
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
2308
+ },
2309
+ {
2310
+ "kind": "Content",
2311
+ "text": ";\n componentId: number;\n timestamp: number;\n data: "
2312
+ },
2313
+ {
2314
+ "kind": "Reference",
2315
+ "text": "Uint8Array",
2316
+ "canonicalReference": "!Uint8Array:interface"
2317
+ },
2318
+ {
2319
+ "kind": "Content",
2320
+ "text": ";\n}"
2321
+ },
2322
+ {
2323
+ "kind": "Content",
2324
+ "text": ";"
2325
+ }
2326
+ ],
2327
+ "fileUrlPath": "../ecs/dist/serialization/crdt/types.d.ts",
2328
+ "releaseTag": "Public",
2329
+ "name": "AuthoritativePutComponentMessageBody",
2330
+ "typeTokenRange": {
2331
+ "startIndex": 1,
2332
+ "endIndex": 8
2333
+ }
2334
+ },
2335
+ {
2336
+ "kind": "Namespace",
2337
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation:namespace",
2338
+ "docComment": "/**\n * @public\n */\n",
2339
+ "excerptTokens": [
2340
+ {
2341
+ "kind": "Content",
2342
+ "text": "export declare namespace AuthoritativePutComponentOperation "
2343
+ }
2344
+ ],
2345
+ "fileUrlPath": "../ecs/dist/serialization/crdt/authoritativePutComponent.d.ts",
2346
+ "releaseTag": "Public",
2347
+ "name": "AuthoritativePutComponentOperation",
2348
+ "preserveMemberOrder": false,
2349
+ "members": [
2350
+ {
2351
+ "kind": "Variable",
2352
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.MESSAGE_HEADER_LENGTH:var",
2353
+ "docComment": "",
2354
+ "excerptTokens": [
2355
+ {
2356
+ "kind": "Content",
2357
+ "text": "MESSAGE_HEADER_LENGTH = "
2358
+ },
2359
+ {
2360
+ "kind": "Content",
2361
+ "text": "16"
2362
+ }
2363
+ ],
2364
+ "initializerTokenRange": {
2365
+ "startIndex": 1,
2366
+ "endIndex": 2
2367
+ },
2368
+ "isReadonly": true,
2369
+ "releaseTag": "Public",
2370
+ "name": "MESSAGE_HEADER_LENGTH",
2371
+ "variableTypeTokenRange": {
2372
+ "startIndex": 0,
2373
+ "endIndex": 0
2374
+ }
2375
+ },
2376
+ {
2377
+ "kind": "Function",
2378
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.read:function(1)",
2379
+ "docComment": "",
2380
+ "excerptTokens": [
2381
+ {
2382
+ "kind": "Content",
2383
+ "text": "function read(buf: "
2384
+ },
2385
+ {
2386
+ "kind": "Reference",
2387
+ "text": "ByteBuffer",
2388
+ "canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
2389
+ },
2390
+ {
2391
+ "kind": "Content",
2392
+ "text": "): "
2393
+ },
2394
+ {
2395
+ "kind": "Reference",
2396
+ "text": "AuthoritativePutComponentMessage",
2397
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
2398
+ },
2399
+ {
2400
+ "kind": "Content",
2401
+ "text": " | null"
2402
+ },
2403
+ {
2404
+ "kind": "Content",
2405
+ "text": ";"
2406
+ }
2407
+ ],
2408
+ "returnTypeTokenRange": {
2409
+ "startIndex": 3,
2410
+ "endIndex": 5
2411
+ },
2412
+ "releaseTag": "Public",
2413
+ "overloadIndex": 1,
2414
+ "parameters": [
2415
+ {
2416
+ "parameterName": "buf",
2417
+ "parameterTypeTokenRange": {
2418
+ "startIndex": 1,
2419
+ "endIndex": 2
2420
+ },
2421
+ "isOptional": false
2422
+ }
2423
+ ],
2424
+ "name": "read"
2425
+ },
2426
+ {
2427
+ "kind": "Function",
2428
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentOperation.write:function(1)",
2429
+ "docComment": "/**\n * Call this function for an optimal writing data passing the ByteBuffer\n * already allocated\n */\n",
2430
+ "excerptTokens": [
2431
+ {
2432
+ "kind": "Content",
2433
+ "text": "function write(entity: "
2434
+ },
2435
+ {
2436
+ "kind": "Reference",
2437
+ "text": "Entity",
2438
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
2439
+ },
2440
+ {
2441
+ "kind": "Content",
2442
+ "text": ", timestamp: "
2443
+ },
2444
+ {
2445
+ "kind": "Content",
2446
+ "text": "number"
2447
+ },
2448
+ {
2449
+ "kind": "Content",
2450
+ "text": ", componentId: "
2451
+ },
2452
+ {
2453
+ "kind": "Content",
2454
+ "text": "number"
2455
+ },
2456
+ {
2457
+ "kind": "Content",
2458
+ "text": ", data: "
2459
+ },
2460
+ {
2461
+ "kind": "Reference",
2462
+ "text": "Uint8Array",
2463
+ "canonicalReference": "!Uint8Array:interface"
2464
+ },
2465
+ {
2466
+ "kind": "Content",
2467
+ "text": ", buf: "
2468
+ },
2469
+ {
2470
+ "kind": "Reference",
2471
+ "text": "ByteBuffer",
2472
+ "canonicalReference": "@dcl/playground-assets!ByteBuffer:interface"
2473
+ },
2474
+ {
2475
+ "kind": "Content",
2476
+ "text": "): "
2477
+ },
2478
+ {
2479
+ "kind": "Content",
2480
+ "text": "void"
2481
+ },
2482
+ {
2483
+ "kind": "Content",
2484
+ "text": ";"
2485
+ }
2486
+ ],
2487
+ "returnTypeTokenRange": {
2488
+ "startIndex": 11,
2489
+ "endIndex": 12
2490
+ },
2491
+ "releaseTag": "Public",
2492
+ "overloadIndex": 1,
2493
+ "parameters": [
2494
+ {
2495
+ "parameterName": "entity",
2496
+ "parameterTypeTokenRange": {
2497
+ "startIndex": 1,
2498
+ "endIndex": 2
2499
+ },
2500
+ "isOptional": false
2501
+ },
2502
+ {
2503
+ "parameterName": "timestamp",
2504
+ "parameterTypeTokenRange": {
2505
+ "startIndex": 3,
2506
+ "endIndex": 4
2507
+ },
2508
+ "isOptional": false
2509
+ },
2510
+ {
2511
+ "parameterName": "componentId",
2512
+ "parameterTypeTokenRange": {
2513
+ "startIndex": 5,
2514
+ "endIndex": 6
2515
+ },
2516
+ "isOptional": false
2517
+ },
2518
+ {
2519
+ "parameterName": "data",
2520
+ "parameterTypeTokenRange": {
2521
+ "startIndex": 7,
2522
+ "endIndex": 8
2523
+ },
2524
+ "isOptional": false
2525
+ },
2526
+ {
2527
+ "parameterName": "buf",
2528
+ "parameterTypeTokenRange": {
2529
+ "startIndex": 9,
2530
+ "endIndex": 10
2531
+ },
2532
+ "isOptional": false
2533
+ }
2534
+ ],
2535
+ "name": "write"
2536
+ }
2537
+ ]
2538
+ },
2246
2539
  {
2247
2540
  "kind": "Enum",
2248
2541
  "canonicalReference": "@dcl/playground-assets!AvatarAnchorPointType:enum",
@@ -3849,6 +4142,61 @@
3849
4142
  ],
3850
4143
  "name": "get"
3851
4144
  },
4145
+ {
4146
+ "kind": "MethodSignature",
4147
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtState:member(1)",
4148
+ "docComment": "/**\n * Get the CRDT state for an entity (serialized data and timestamp)\n *\n * @param entity - Entity to get the CRDT state for\n *\n * @returns Object with serialized data and timestamp, or null if entity doesn't have the component\n *\n * @public\n */\n",
4149
+ "excerptTokens": [
4150
+ {
4151
+ "kind": "Content",
4152
+ "text": "getCrdtState(entity: "
4153
+ },
4154
+ {
4155
+ "kind": "Reference",
4156
+ "text": "Entity",
4157
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
4158
+ },
4159
+ {
4160
+ "kind": "Content",
4161
+ "text": "): "
4162
+ },
4163
+ {
4164
+ "kind": "Content",
4165
+ "text": "{\n data: "
4166
+ },
4167
+ {
4168
+ "kind": "Reference",
4169
+ "text": "Uint8Array",
4170
+ "canonicalReference": "!Uint8Array:interface"
4171
+ },
4172
+ {
4173
+ "kind": "Content",
4174
+ "text": ";\n timestamp: number;\n } | null"
4175
+ },
4176
+ {
4177
+ "kind": "Content",
4178
+ "text": ";"
4179
+ }
4180
+ ],
4181
+ "isOptional": false,
4182
+ "returnTypeTokenRange": {
4183
+ "startIndex": 3,
4184
+ "endIndex": 6
4185
+ },
4186
+ "releaseTag": "Public",
4187
+ "overloadIndex": 1,
4188
+ "parameters": [
4189
+ {
4190
+ "parameterName": "entity",
4191
+ "parameterTypeTokenRange": {
4192
+ "startIndex": 1,
4193
+ "endIndex": 2
4194
+ },
4195
+ "isOptional": false
4196
+ }
4197
+ ],
4198
+ "name": "getCrdtState"
4199
+ },
3852
4200
  {
3853
4201
  "kind": "MethodSignature",
3854
4202
  "canonicalReference": "@dcl/playground-assets!BaseComponent#getCrdtUpdates:member(1)",
@@ -4085,6 +4433,123 @@
4085
4433
  }
4086
4434
  ],
4087
4435
  "name": "updateFromCrdt"
4436
+ },
4437
+ {
4438
+ "kind": "MethodSignature",
4439
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(1)",
4440
+ "docComment": "/**\n * @public\n */\n",
4441
+ "excerptTokens": [
4442
+ {
4443
+ "kind": "Content",
4444
+ "text": "validateBeforeChange(entity: "
4445
+ },
4446
+ {
4447
+ "kind": "Reference",
4448
+ "text": "Entity",
4449
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
4450
+ },
4451
+ {
4452
+ "kind": "Content",
4453
+ "text": ", cb: "
4454
+ },
4455
+ {
4456
+ "kind": "Reference",
4457
+ "text": "ValidateCallback",
4458
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
4459
+ },
4460
+ {
4461
+ "kind": "Content",
4462
+ "text": "<T>"
4463
+ },
4464
+ {
4465
+ "kind": "Content",
4466
+ "text": "): "
4467
+ },
4468
+ {
4469
+ "kind": "Content",
4470
+ "text": "void"
4471
+ },
4472
+ {
4473
+ "kind": "Content",
4474
+ "text": ";"
4475
+ }
4476
+ ],
4477
+ "isOptional": false,
4478
+ "returnTypeTokenRange": {
4479
+ "startIndex": 6,
4480
+ "endIndex": 7
4481
+ },
4482
+ "releaseTag": "Public",
4483
+ "overloadIndex": 1,
4484
+ "parameters": [
4485
+ {
4486
+ "parameterName": "entity",
4487
+ "parameterTypeTokenRange": {
4488
+ "startIndex": 1,
4489
+ "endIndex": 2
4490
+ },
4491
+ "isOptional": false
4492
+ },
4493
+ {
4494
+ "parameterName": "cb",
4495
+ "parameterTypeTokenRange": {
4496
+ "startIndex": 3,
4497
+ "endIndex": 5
4498
+ },
4499
+ "isOptional": false
4500
+ }
4501
+ ],
4502
+ "name": "validateBeforeChange"
4503
+ },
4504
+ {
4505
+ "kind": "MethodSignature",
4506
+ "canonicalReference": "@dcl/playground-assets!BaseComponent#validateBeforeChange:member(2)",
4507
+ "docComment": "",
4508
+ "excerptTokens": [
4509
+ {
4510
+ "kind": "Content",
4511
+ "text": "validateBeforeChange(cb: "
4512
+ },
4513
+ {
4514
+ "kind": "Reference",
4515
+ "text": "ValidateCallback",
4516
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type"
4517
+ },
4518
+ {
4519
+ "kind": "Content",
4520
+ "text": "<T>"
4521
+ },
4522
+ {
4523
+ "kind": "Content",
4524
+ "text": "): "
4525
+ },
4526
+ {
4527
+ "kind": "Content",
4528
+ "text": "void"
4529
+ },
4530
+ {
4531
+ "kind": "Content",
4532
+ "text": ";"
4533
+ }
4534
+ ],
4535
+ "isOptional": false,
4536
+ "returnTypeTokenRange": {
4537
+ "startIndex": 4,
4538
+ "endIndex": 5
4539
+ },
4540
+ "releaseTag": "Public",
4541
+ "overloadIndex": 2,
4542
+ "parameters": [
4543
+ {
4544
+ "parameterName": "cb",
4545
+ "parameterTypeTokenRange": {
4546
+ "startIndex": 1,
4547
+ "endIndex": 3
4548
+ },
4549
+ "isOptional": false
4550
+ }
4551
+ ],
4552
+ "name": "validateBeforeChange"
4088
4553
  }
4089
4554
  ],
4090
4555
  "extendsTokenRanges": []
@@ -17653,6 +18118,15 @@
17653
18118
  "kind": "Content",
17654
18119
  "text": " | "
17655
18120
  },
18121
+ {
18122
+ "kind": "Reference",
18123
+ "text": "AuthoritativePutComponentMessage",
18124
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessage:type"
18125
+ },
18126
+ {
18127
+ "kind": "Content",
18128
+ "text": " | "
18129
+ },
17656
18130
  {
17657
18131
  "kind": "Reference",
17658
18132
  "text": "DeleteComponentMessage",
@@ -17713,7 +18187,7 @@
17713
18187
  "name": "CrdtMessage",
17714
18188
  "typeTokenRange": {
17715
18189
  "startIndex": 1,
17716
- "endIndex": 14
18190
+ "endIndex": 16
17717
18191
  }
17718
18192
  },
17719
18193
  {
@@ -17734,6 +18208,15 @@
17734
18208
  "kind": "Content",
17735
18209
  "text": " | "
17736
18210
  },
18211
+ {
18212
+ "kind": "Reference",
18213
+ "text": "AuthoritativePutComponentMessageBody",
18214
+ "canonicalReference": "@dcl/playground-assets!AuthoritativePutComponentMessageBody:type"
18215
+ },
18216
+ {
18217
+ "kind": "Content",
18218
+ "text": " | "
18219
+ },
17737
18220
  {
17738
18221
  "kind": "Reference",
17739
18222
  "text": "DeleteComponentMessageBody",
@@ -17776,7 +18259,7 @@
17776
18259
  "name": "CrdtMessageBody",
17777
18260
  "typeTokenRange": {
17778
18261
  "startIndex": 1,
17779
- "endIndex": 10
18262
+ "endIndex": 12
17780
18263
  }
17781
18264
  },
17782
18265
  {
@@ -18066,6 +18549,27 @@
18066
18549
  "releaseTag": "Public",
18067
18550
  "name": "APPEND_VALUE"
18068
18551
  },
18552
+ {
18553
+ "kind": "EnumMember",
18554
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageType.AUTHORITATIVE_PUT_COMPONENT:member",
18555
+ "docComment": "",
18556
+ "excerptTokens": [
18557
+ {
18558
+ "kind": "Content",
18559
+ "text": "AUTHORITATIVE_PUT_COMPONENT = "
18560
+ },
18561
+ {
18562
+ "kind": "Content",
18563
+ "text": "8"
18564
+ }
18565
+ ],
18566
+ "initializerTokenRange": {
18567
+ "startIndex": 1,
18568
+ "endIndex": 2
18569
+ },
18570
+ "releaseTag": "Public",
18571
+ "name": "AUTHORITATIVE_PUT_COMPONENT"
18572
+ },
18069
18573
  {
18070
18574
  "kind": "EnumMember",
18071
18575
  "canonicalReference": "@dcl/playground-assets!CrdtMessageType.DELETE_COMPONENT:member",
@@ -18161,7 +18665,7 @@
18161
18665
  },
18162
18666
  {
18163
18667
  "kind": "Content",
18164
- "text": "8"
18668
+ "text": "9"
18165
18669
  }
18166
18670
  ],
18167
18671
  "initializerTokenRange": {
@@ -18281,6 +18785,30 @@
18281
18785
  "endIndex": 6
18282
18786
  }
18283
18787
  },
18788
+ {
18789
+ "kind": "Variable",
18790
+ "canonicalReference": "@dcl/playground-assets!CreatedBy:var",
18791
+ "docComment": "",
18792
+ "excerptTokens": [
18793
+ {
18794
+ "kind": "Content",
18795
+ "text": "CreatedBy: "
18796
+ },
18797
+ {
18798
+ "kind": "Reference",
18799
+ "text": "ICreatedBy",
18800
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type"
18801
+ }
18802
+ ],
18803
+ "fileUrlPath": "../ecs/dist/index.d.ts",
18804
+ "isReadonly": true,
18805
+ "releaseTag": "Public",
18806
+ "name": "CreatedBy",
18807
+ "variableTypeTokenRange": {
18808
+ "startIndex": 1,
18809
+ "endIndex": 2
18810
+ }
18811
+ },
18284
18812
  {
18285
18813
  "kind": "Function",
18286
18814
  "canonicalReference": "@dcl/playground-assets!createEntityContainer:function(1)",
@@ -24173,6 +24701,91 @@
24173
24701
  "endIndex": 9
24174
24702
  }
24175
24703
  },
24704
+ {
24705
+ "kind": "TypeAlias",
24706
+ "canonicalReference": "@dcl/playground-assets!ICreatedBy:type",
24707
+ "docComment": "",
24708
+ "excerptTokens": [
24709
+ {
24710
+ "kind": "Content",
24711
+ "text": "export type ICreatedBy = "
24712
+ },
24713
+ {
24714
+ "kind": "Reference",
24715
+ "text": "LastWriteWinElementSetComponentDefinition",
24716
+ "canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
24717
+ },
24718
+ {
24719
+ "kind": "Content",
24720
+ "text": "<"
24721
+ },
24722
+ {
24723
+ "kind": "Reference",
24724
+ "text": "ICreatedByType",
24725
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface"
24726
+ },
24727
+ {
24728
+ "kind": "Content",
24729
+ "text": ">"
24730
+ },
24731
+ {
24732
+ "kind": "Content",
24733
+ "text": ";"
24734
+ }
24735
+ ],
24736
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
24737
+ "releaseTag": "Public",
24738
+ "name": "ICreatedBy",
24739
+ "typeTokenRange": {
24740
+ "startIndex": 1,
24741
+ "endIndex": 5
24742
+ }
24743
+ },
24744
+ {
24745
+ "kind": "Interface",
24746
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType:interface",
24747
+ "docComment": "",
24748
+ "excerptTokens": [
24749
+ {
24750
+ "kind": "Content",
24751
+ "text": "export interface ICreatedByType "
24752
+ }
24753
+ ],
24754
+ "fileUrlPath": "../ecs/dist/components/manual/CreatedBy.d.ts",
24755
+ "releaseTag": "Public",
24756
+ "name": "ICreatedByType",
24757
+ "preserveMemberOrder": false,
24758
+ "members": [
24759
+ {
24760
+ "kind": "PropertySignature",
24761
+ "canonicalReference": "@dcl/playground-assets!ICreatedByType#address:member",
24762
+ "docComment": "",
24763
+ "excerptTokens": [
24764
+ {
24765
+ "kind": "Content",
24766
+ "text": "address: "
24767
+ },
24768
+ {
24769
+ "kind": "Content",
24770
+ "text": "string"
24771
+ },
24772
+ {
24773
+ "kind": "Content",
24774
+ "text": ";"
24775
+ }
24776
+ ],
24777
+ "isReadonly": false,
24778
+ "isOptional": false,
24779
+ "releaseTag": "Public",
24780
+ "name": "address",
24781
+ "propertyTypeTokenRange": {
24782
+ "startIndex": 1,
24783
+ "endIndex": 2
24784
+ }
24785
+ }
24786
+ ],
24787
+ "extendsTokenRanges": []
24788
+ },
24176
24789
  {
24177
24790
  "kind": "Interface",
24178
24791
  "canonicalReference": "@dcl/playground-assets!IEngine:interface",
@@ -27373,6 +27986,342 @@
27373
27986
  }
27374
27987
  ]
27375
27988
  },
27989
+ {
27990
+ "kind": "Interface",
27991
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent:interface",
27992
+ "docComment": "/**\n * Internal component interface that exposes all internal methods for SDK use\n * This is not exposed to users, only for internal SDK operations\n */\n",
27993
+ "excerptTokens": [
27994
+ {
27995
+ "kind": "Content",
27996
+ "text": "export interface InternalBaseComponent<T> extends "
27997
+ },
27998
+ {
27999
+ "kind": "Reference",
28000
+ "text": "BaseComponent",
28001
+ "canonicalReference": "@dcl/playground-assets!BaseComponent:interface"
28002
+ },
28003
+ {
28004
+ "kind": "Content",
28005
+ "text": "<T>"
28006
+ },
28007
+ {
28008
+ "kind": "Content",
28009
+ "text": " "
28010
+ }
28011
+ ],
28012
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
28013
+ "releaseTag": "Public",
28014
+ "typeParameters": [
28015
+ {
28016
+ "typeParameterName": "T",
28017
+ "constraintTokenRange": {
28018
+ "startIndex": 0,
28019
+ "endIndex": 0
28020
+ },
28021
+ "defaultTypeTokenRange": {
28022
+ "startIndex": 0,
28023
+ "endIndex": 0
28024
+ }
28025
+ }
28026
+ ],
28027
+ "name": "InternalBaseComponent",
28028
+ "preserveMemberOrder": false,
28029
+ "members": [
28030
+ {
28031
+ "kind": "MethodSignature",
28032
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__dry_run_updateFromCrdt:member(1)",
28033
+ "docComment": "/**\n * Dry run update to check if a CRDT message would be accepted without actually applying it\n *\n * @public\n */\n",
28034
+ "excerptTokens": [
28035
+ {
28036
+ "kind": "Content",
28037
+ "text": "__dry_run_updateFromCrdt(body: "
28038
+ },
28039
+ {
28040
+ "kind": "Reference",
28041
+ "text": "CrdtMessageBody",
28042
+ "canonicalReference": "@dcl/playground-assets!CrdtMessageBody:type"
28043
+ },
28044
+ {
28045
+ "kind": "Content",
28046
+ "text": "): "
28047
+ },
28048
+ {
28049
+ "kind": "Reference",
28050
+ "text": "ProcessMessageResultType",
28051
+ "canonicalReference": "@dcl/playground-assets!ProcessMessageResultType:enum"
28052
+ },
28053
+ {
28054
+ "kind": "Content",
28055
+ "text": ";"
28056
+ }
28057
+ ],
28058
+ "isOptional": false,
28059
+ "returnTypeTokenRange": {
28060
+ "startIndex": 3,
28061
+ "endIndex": 4
28062
+ },
28063
+ "releaseTag": "Public",
28064
+ "overloadIndex": 1,
28065
+ "parameters": [
28066
+ {
28067
+ "parameterName": "body",
28068
+ "parameterTypeTokenRange": {
28069
+ "startIndex": 1,
28070
+ "endIndex": 2
28071
+ },
28072
+ "isOptional": false
28073
+ }
28074
+ ],
28075
+ "name": "__dry_run_updateFromCrdt"
28076
+ },
28077
+ {
28078
+ "kind": "MethodSignature",
28079
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__onChangeCallbacks:member(1)",
28080
+ "docComment": "/**\n * @public\n */\n",
28081
+ "excerptTokens": [
28082
+ {
28083
+ "kind": "Content",
28084
+ "text": "__onChangeCallbacks(entity: "
28085
+ },
28086
+ {
28087
+ "kind": "Reference",
28088
+ "text": "Entity",
28089
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
28090
+ },
28091
+ {
28092
+ "kind": "Content",
28093
+ "text": ", value: "
28094
+ },
28095
+ {
28096
+ "kind": "Content",
28097
+ "text": "T"
28098
+ },
28099
+ {
28100
+ "kind": "Content",
28101
+ "text": "): "
28102
+ },
28103
+ {
28104
+ "kind": "Content",
28105
+ "text": "void"
28106
+ },
28107
+ {
28108
+ "kind": "Content",
28109
+ "text": ";"
28110
+ }
28111
+ ],
28112
+ "isOptional": false,
28113
+ "returnTypeTokenRange": {
28114
+ "startIndex": 5,
28115
+ "endIndex": 6
28116
+ },
28117
+ "releaseTag": "Public",
28118
+ "overloadIndex": 1,
28119
+ "parameters": [
28120
+ {
28121
+ "parameterName": "entity",
28122
+ "parameterTypeTokenRange": {
28123
+ "startIndex": 1,
28124
+ "endIndex": 2
28125
+ },
28126
+ "isOptional": false
28127
+ },
28128
+ {
28129
+ "parameterName": "value",
28130
+ "parameterTypeTokenRange": {
28131
+ "startIndex": 3,
28132
+ "endIndex": 4
28133
+ },
28134
+ "isOptional": false
28135
+ }
28136
+ ],
28137
+ "name": "__onChangeCallbacks"
28138
+ },
28139
+ {
28140
+ "kind": "MethodSignature",
28141
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#__run_validateBeforeChange:member(1)",
28142
+ "docComment": "/**\n * @public\n */\n",
28143
+ "excerptTokens": [
28144
+ {
28145
+ "kind": "Content",
28146
+ "text": "__run_validateBeforeChange(entity: "
28147
+ },
28148
+ {
28149
+ "kind": "Reference",
28150
+ "text": "Entity",
28151
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
28152
+ },
28153
+ {
28154
+ "kind": "Content",
28155
+ "text": ", newValue: "
28156
+ },
28157
+ {
28158
+ "kind": "Content",
28159
+ "text": "T | undefined"
28160
+ },
28161
+ {
28162
+ "kind": "Content",
28163
+ "text": ", senderAddress: "
28164
+ },
28165
+ {
28166
+ "kind": "Content",
28167
+ "text": "string"
28168
+ },
28169
+ {
28170
+ "kind": "Content",
28171
+ "text": ", createdBy: "
28172
+ },
28173
+ {
28174
+ "kind": "Content",
28175
+ "text": "string"
28176
+ },
28177
+ {
28178
+ "kind": "Content",
28179
+ "text": "): "
28180
+ },
28181
+ {
28182
+ "kind": "Content",
28183
+ "text": "boolean"
28184
+ },
28185
+ {
28186
+ "kind": "Content",
28187
+ "text": ";"
28188
+ }
28189
+ ],
28190
+ "isOptional": false,
28191
+ "returnTypeTokenRange": {
28192
+ "startIndex": 9,
28193
+ "endIndex": 10
28194
+ },
28195
+ "releaseTag": "Public",
28196
+ "overloadIndex": 1,
28197
+ "parameters": [
28198
+ {
28199
+ "parameterName": "entity",
28200
+ "parameterTypeTokenRange": {
28201
+ "startIndex": 1,
28202
+ "endIndex": 2
28203
+ },
28204
+ "isOptional": false
28205
+ },
28206
+ {
28207
+ "parameterName": "newValue",
28208
+ "parameterTypeTokenRange": {
28209
+ "startIndex": 3,
28210
+ "endIndex": 4
28211
+ },
28212
+ "isOptional": false
28213
+ },
28214
+ {
28215
+ "parameterName": "senderAddress",
28216
+ "parameterTypeTokenRange": {
28217
+ "startIndex": 5,
28218
+ "endIndex": 6
28219
+ },
28220
+ "isOptional": false
28221
+ },
28222
+ {
28223
+ "parameterName": "createdBy",
28224
+ "parameterTypeTokenRange": {
28225
+ "startIndex": 7,
28226
+ "endIndex": 8
28227
+ },
28228
+ "isOptional": false
28229
+ }
28230
+ ],
28231
+ "name": "__run_validateBeforeChange"
28232
+ },
28233
+ {
28234
+ "kind": "MethodSignature",
28235
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#dirtyIterator:member(1)",
28236
+ "docComment": "/**\n * @public\n */\n",
28237
+ "excerptTokens": [
28238
+ {
28239
+ "kind": "Content",
28240
+ "text": "dirtyIterator(): "
28241
+ },
28242
+ {
28243
+ "kind": "Reference",
28244
+ "text": "Iterable",
28245
+ "canonicalReference": "!Iterable:interface"
28246
+ },
28247
+ {
28248
+ "kind": "Content",
28249
+ "text": "<"
28250
+ },
28251
+ {
28252
+ "kind": "Reference",
28253
+ "text": "Entity",
28254
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
28255
+ },
28256
+ {
28257
+ "kind": "Content",
28258
+ "text": ">"
28259
+ },
28260
+ {
28261
+ "kind": "Content",
28262
+ "text": ";"
28263
+ }
28264
+ ],
28265
+ "isOptional": false,
28266
+ "returnTypeTokenRange": {
28267
+ "startIndex": 1,
28268
+ "endIndex": 5
28269
+ },
28270
+ "releaseTag": "Public",
28271
+ "overloadIndex": 1,
28272
+ "parameters": [],
28273
+ "name": "dirtyIterator"
28274
+ },
28275
+ {
28276
+ "kind": "MethodSignature",
28277
+ "canonicalReference": "@dcl/playground-assets!InternalBaseComponent#iterator:member(1)",
28278
+ "docComment": "/**\n * Get the iterator to every entity has the component\n *\n * @public\n */\n",
28279
+ "excerptTokens": [
28280
+ {
28281
+ "kind": "Content",
28282
+ "text": "iterator(): "
28283
+ },
28284
+ {
28285
+ "kind": "Reference",
28286
+ "text": "Iterable",
28287
+ "canonicalReference": "!Iterable:interface"
28288
+ },
28289
+ {
28290
+ "kind": "Content",
28291
+ "text": "<["
28292
+ },
28293
+ {
28294
+ "kind": "Reference",
28295
+ "text": "Entity",
28296
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
28297
+ },
28298
+ {
28299
+ "kind": "Content",
28300
+ "text": ", any]>"
28301
+ },
28302
+ {
28303
+ "kind": "Content",
28304
+ "text": ";"
28305
+ }
28306
+ ],
28307
+ "isOptional": false,
28308
+ "returnTypeTokenRange": {
28309
+ "startIndex": 1,
28310
+ "endIndex": 5
28311
+ },
28312
+ "releaseTag": "Public",
28313
+ "overloadIndex": 1,
28314
+ "parameters": [],
28315
+ "name": "iterator"
28316
+ }
28317
+ ],
28318
+ "extendsTokenRanges": [
28319
+ {
28320
+ "startIndex": 1,
28321
+ "endIndex": 3
28322
+ }
28323
+ ]
28324
+ },
27376
28325
  {
27377
28326
  "kind": "Interface",
27378
28327
  "canonicalReference": "@dcl/playground-assets!ISchema:interface",
@@ -91370,34 +92319,6 @@
91370
92319
  "parameters": [],
91371
92320
  "name": "showCrosshair"
91372
92321
  },
91373
- {
91374
- "kind": "MethodSignature",
91375
- "canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended#showDefault:member(1)",
91376
- "docComment": "/**\n * Show the default button set: jump, pointer and primary visible, secondary and\n * actions 3-6 hidden. This is the state every scene starts in.\n * Does NOT change the joystick/crosshair, the main action or custom icons.\n */\n",
91377
- "excerptTokens": [
91378
- {
91379
- "kind": "Content",
91380
- "text": "showDefault(): "
91381
- },
91382
- {
91383
- "kind": "Content",
91384
- "text": "void"
91385
- },
91386
- {
91387
- "kind": "Content",
91388
- "text": ";"
91389
- }
91390
- ],
91391
- "isOptional": false,
91392
- "returnTypeTokenRange": {
91393
- "startIndex": 1,
91394
- "endIndex": 2
91395
- },
91396
- "releaseTag": "Public",
91397
- "overloadIndex": 1,
91398
- "parameters": [],
91399
- "name": "showDefault"
91400
- },
91401
92322
  {
91402
92323
  "kind": "MethodSignature",
91403
92324
  "canonicalReference": "@dcl/playground-assets!TouchScreenControlsComponentDefinitionExtended#showJoystick:member(1)",
@@ -91921,7 +92842,7 @@
91921
92842
  },
91922
92843
  {
91923
92844
  "kind": "Content",
91924
- "text": ", 'messageBuffer'>): boolean;\n type?: string;\n}"
92845
+ "text": ", 'messageBuffer'>): boolean;\n type?: string;\n allowReservedEntities?: boolean;\n}"
91925
92846
  },
91926
92847
  {
91927
92848
  "kind": "Content",
@@ -97121,6 +98042,54 @@
97121
98042
  "endIndex": 2
97122
98043
  }
97123
98044
  },
98045
+ {
98046
+ "kind": "TypeAlias",
98047
+ "canonicalReference": "@dcl/playground-assets!ValidateCallback:type",
98048
+ "docComment": "",
98049
+ "excerptTokens": [
98050
+ {
98051
+ "kind": "Content",
98052
+ "text": "export type ValidateCallback<T> = "
98053
+ },
98054
+ {
98055
+ "kind": "Content",
98056
+ "text": "(value: {\n entity: "
98057
+ },
98058
+ {
98059
+ "kind": "Reference",
98060
+ "text": "Entity",
98061
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
98062
+ },
98063
+ {
98064
+ "kind": "Content",
98065
+ "text": ";\n currentValue: T | undefined;\n newValue: T | undefined;\n senderAddress: string;\n createdBy: string;\n}) => boolean"
98066
+ },
98067
+ {
98068
+ "kind": "Content",
98069
+ "text": ";"
98070
+ }
98071
+ ],
98072
+ "fileUrlPath": "../ecs/dist/engine/component.d.ts",
98073
+ "releaseTag": "Public",
98074
+ "name": "ValidateCallback",
98075
+ "typeParameters": [
98076
+ {
98077
+ "typeParameterName": "T",
98078
+ "constraintTokenRange": {
98079
+ "startIndex": 0,
98080
+ "endIndex": 0
98081
+ },
98082
+ "defaultTypeTokenRange": {
98083
+ "startIndex": 0,
98084
+ "endIndex": 0
98085
+ }
98086
+ }
98087
+ ],
98088
+ "typeTokenRange": {
98089
+ "startIndex": 1,
98090
+ "endIndex": 4
98091
+ }
98092
+ },
97124
98093
  {
97125
98094
  "kind": "TypeAlias",
97126
98095
  "canonicalReference": "@dcl/playground-assets!ValueSetOptions:type",