@dcl/playground-assets 7.0.6-3808797047.commit-ee7ea04 → 7.0.6-3808892339.commit-e47ed81

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
- "version": "7.0.6-3808797047.commit-ee7ea04",
3
+ "version": "7.0.6-3808892339.commit-e47ed81",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
@@ -31,5 +31,5 @@
31
31
  "displayName": "SDK",
32
32
  "tsconfig": "./tsconfig.json"
33
33
  },
34
- "commit": "ee7ea0434ecbd9e92db737237a67cd02af989b73"
34
+ "commit": "e47ed813e0b5bd0e5fd6a0fd9e2eeb80783dab27"
35
35
  }
@@ -1,5 +1,7 @@
1
1
  import _m0 from 'protobufjs/minimal';
2
2
 
3
+ export declare const AMOUNT_VERSION_AVAILABLE: number;
4
+
3
5
  export declare const Animator: AnimatorComponentDefinitionExtended;
4
6
 
5
7
  /**
@@ -1182,9 +1184,20 @@ export declare type EngineEvent<T extends IEventNames = IEventNames, V = IEvents
1182
1184
  };
1183
1185
 
1184
1186
  /**
1185
- * @public
1187
+ * @public The Entity is a number type, the cast is only for typescript, the final javascript code treat as a number
1188
+ * version number
1189
+ * [31...16][15...0]
1190
+ *
1191
+ * Convertion from entity to its compound numbers:
1192
+ * To get the version => ((entity & MASK_UPPER_16_ON_32) >> 16) & MAX_U16
1193
+ * To get the number => entity & MAX_U16
1194
+ *
1195
+ * Convertion from its compound numbers to entity:
1196
+ * entity = (entityNumber & MAX_U16) | ((entityVersion & MAX_U16) << 16)
1186
1197
  */
1187
- export declare type Entity = unknown;
1198
+ export declare type Entity = uint32 & {
1199
+ __entity_type: '';
1200
+ };
1188
1201
 
1189
1202
  export declare type EntityComponents = {
1190
1203
  uiTransform: PBUiTransform;
@@ -1197,10 +1210,13 @@ export declare type EntityComponents = {
1197
1210
  };
1198
1211
 
1199
1212
  export declare function EntityContainer(): {
1200
- generateEntity(dynamic?: boolean): Entity;
1213
+ generateEntity(): Entity;
1201
1214
  removeEntity(entity: Entity): boolean;
1202
1215
  entityExists(entity: Entity): boolean;
1203
1216
  getExistingEntities(): Set<Entity>;
1217
+ entityVersion: (entity: Entity) => number;
1218
+ entityNumber: (entity: Entity) => number;
1219
+ entityId: (entityNumber: number, entityVersion: number) => Entity;
1204
1220
  };
1205
1221
 
1206
1222
  /**
@@ -1695,6 +1711,8 @@ export declare type MapResult<T extends Spec> = ToOptional<{
1695
1711
  [K in keyof T]: T[K] extends ISchema ? ReturnType<T[K]['deserialize']> : T[K] extends Spec ? MapResult<T[K]> : never;
1696
1712
  }>;
1697
1713
 
1714
+ export declare const MASK_UPPER_16_ON_32 = 4294901760;
1715
+
1698
1716
  export declare const Material: MaterialComponentDefinitionExtended;
1699
1717
 
1700
1718
  /**
@@ -2463,6 +2481,13 @@ export declare namespace Matrix {
2463
2481
  export function toggleProjectionMatrixHandInPlace(self: MutableMatrix): void;
2464
2482
  }
2465
2483
 
2484
+ /**
2485
+ * @public
2486
+ */
2487
+ export declare const MAX_ENTITY_NUMBER = 65535;
2488
+
2489
+ export declare const MAX_U16 = 65535;
2490
+
2466
2491
  export declare const MeshCollider: MeshColliderComponentDefinitionExtended;
2467
2492
 
2468
2493
  /**
@@ -3699,12 +3724,12 @@ export declare const PointerEventsResult: ComponentDefinition<PBPointerEventsRes
3699
3724
  export declare type PointerEventsSystem = ReturnType<typeof createPointerEventSystem>;
3700
3725
 
3701
3726
  export declare const pointerEventsSystem: {
3702
- removeOnClick(entity: unknown): void;
3703
- removeOnPointerDown(entity: unknown): void;
3704
- removeOnPointerUp(entity: unknown): void;
3705
- onClick(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3706
- onPointerDown(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3707
- onPointerUp(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3727
+ removeOnClick(entity: Entity): void;
3728
+ removeOnPointerDown(entity: Entity): void;
3729
+ removeOnPointerUp(entity: Entity): void;
3730
+ onClick(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3731
+ onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3732
+ onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
3708
3733
  };
3709
3734
 
3710
3735
  export declare const enum PointerEventType {
@@ -4067,6 +4092,11 @@ export declare type ReceiveMessage = {
4067
4092
  messageBuffer: Uint8Array;
4068
4093
  };
4069
4094
 
4095
+ /**
4096
+ * @public This first 512 entities are reserved by the renderer
4097
+ */
4098
+ export declare const RESERVED_STATIC_ENTITIES = 512;
4099
+
4070
4100
  export declare type RPCSendableMessage = {
4071
4101
  jsonrpc: '2.0';
4072
4102
  id: number;
@@ -4507,6 +4537,11 @@ export declare type UiInputProps = PBUiInput & {
4507
4537
  /** @public */
4508
4538
  export declare const UiInputResult: ComponentDefinition<PBUiInputResult>;
4509
4539
 
4540
+ /**
4541
+ * @public It only defines the type explicitly, no effects.
4542
+ */
4543
+ export declare type uint32 = number;
4544
+
4510
4545
  /** @public */
4511
4546
  export declare const UiText: ComponentDefinition<PBUiText>;
4512
4547
 
@@ -172,6 +172,29 @@
172
172
  "name": "",
173
173
  "preserveMemberOrder": false,
174
174
  "members": [
175
+ {
176
+ "kind": "Variable",
177
+ "canonicalReference": "@dcl/playground-assets!AMOUNT_VERSION_AVAILABLE:var",
178
+ "docComment": "",
179
+ "excerptTokens": [
180
+ {
181
+ "kind": "Content",
182
+ "text": "AMOUNT_VERSION_AVAILABLE: "
183
+ },
184
+ {
185
+ "kind": "Content",
186
+ "text": "number"
187
+ }
188
+ ],
189
+ "fileUrlPath": "../ecs/dist/engine/entity.d.ts",
190
+ "isReadonly": true,
191
+ "releaseTag": "Public",
192
+ "name": "AMOUNT_VERSION_AVAILABLE",
193
+ "variableTypeTokenRange": {
194
+ "startIndex": 1,
195
+ "endIndex": 2
196
+ }
197
+ },
175
198
  {
176
199
  "kind": "Variable",
177
200
  "canonicalReference": "@dcl/playground-assets!Animator:var",
@@ -8511,15 +8534,20 @@
8511
8534
  {
8512
8535
  "kind": "TypeAlias",
8513
8536
  "canonicalReference": "@dcl/playground-assets!Entity:type",
8514
- "docComment": "/**\n * @public\n */\n",
8537
+ "docComment": "/**\n * The Entity is a number type, the cast is only for typescript, the final javascript code treat as a number version number [31...16][15...0]\n *\n * Convertion from entity to its compound numbers: To get the version => ((entity & MASK_UPPER_16_ON_32) >> 16) & MAX_U16 To get the number => entity & MAX_U16\n *\n * Convertion from its compound numbers to entity: entity = (entityNumber & MAX_U16) | ((entityVersion & MAX_U16) << 16)\n *\n * @public\n */\n",
8515
8538
  "excerptTokens": [
8516
8539
  {
8517
8540
  "kind": "Content",
8518
8541
  "text": "export declare type Entity = "
8519
8542
  },
8543
+ {
8544
+ "kind": "Reference",
8545
+ "text": "uint32",
8546
+ "canonicalReference": "@dcl/playground-assets!uint32:type"
8547
+ },
8520
8548
  {
8521
8549
  "kind": "Content",
8522
- "text": "unknown"
8550
+ "text": " & {\n __entity_type: '';\n}"
8523
8551
  },
8524
8552
  {
8525
8553
  "kind": "Content",
@@ -8531,7 +8559,7 @@
8531
8559
  "name": "Entity",
8532
8560
  "typeTokenRange": {
8533
8561
  "startIndex": 1,
8534
- "endIndex": 2
8562
+ "endIndex": 3
8535
8563
  }
8536
8564
  },
8537
8565
  {
@@ -8634,7 +8662,7 @@
8634
8662
  },
8635
8663
  {
8636
8664
  "kind": "Content",
8637
- "text": "{\n generateEntity(dynamic?: boolean): "
8665
+ "text": "{\n generateEntity(): "
8638
8666
  },
8639
8667
  {
8640
8668
  "kind": "Reference",
@@ -8679,7 +8707,34 @@
8679
8707
  },
8680
8708
  {
8681
8709
  "kind": "Content",
8682
- "text": ">;\n}"
8710
+ "text": ">;\n entityVersion: (entity: "
8711
+ },
8712
+ {
8713
+ "kind": "Reference",
8714
+ "text": "Entity",
8715
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
8716
+ },
8717
+ {
8718
+ "kind": "Content",
8719
+ "text": ") => number;\n entityNumber: (entity: "
8720
+ },
8721
+ {
8722
+ "kind": "Reference",
8723
+ "text": "Entity",
8724
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
8725
+ },
8726
+ {
8727
+ "kind": "Content",
8728
+ "text": ") => number;\n entityId: (entityNumber: number, entityVersion: number) => "
8729
+ },
8730
+ {
8731
+ "kind": "Reference",
8732
+ "text": "Entity",
8733
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
8734
+ },
8735
+ {
8736
+ "kind": "Content",
8737
+ "text": ";\n}"
8683
8738
  },
8684
8739
  {
8685
8740
  "kind": "Content",
@@ -8689,7 +8744,7 @@
8689
8744
  "fileUrlPath": "../ecs/dist/engine/entity.d.ts",
8690
8745
  "returnTypeTokenRange": {
8691
8746
  "startIndex": 1,
8692
- "endIndex": 12
8747
+ "endIndex": 18
8693
8748
  },
8694
8749
  "releaseTag": "Public",
8695
8750
  "overloadIndex": 1,
@@ -12260,6 +12315,33 @@
12260
12315
  "endIndex": 13
12261
12316
  }
12262
12317
  },
12318
+ {
12319
+ "kind": "Variable",
12320
+ "canonicalReference": "@dcl/playground-assets!MASK_UPPER_16_ON_32:var",
12321
+ "docComment": "",
12322
+ "excerptTokens": [
12323
+ {
12324
+ "kind": "Content",
12325
+ "text": "MASK_UPPER_16_ON_32 = "
12326
+ },
12327
+ {
12328
+ "kind": "Content",
12329
+ "text": "4294901760"
12330
+ }
12331
+ ],
12332
+ "fileUrlPath": "../ecs/dist/engine/entity.d.ts",
12333
+ "initializerTokenRange": {
12334
+ "startIndex": 1,
12335
+ "endIndex": 2
12336
+ },
12337
+ "isReadonly": true,
12338
+ "releaseTag": "Public",
12339
+ "name": "MASK_UPPER_16_ON_32",
12340
+ "variableTypeTokenRange": {
12341
+ "startIndex": 0,
12342
+ "endIndex": 0
12343
+ }
12344
+ },
12263
12345
  {
12264
12346
  "kind": "Variable",
12265
12347
  "canonicalReference": "@dcl/playground-assets!Material:var",
@@ -19692,6 +19774,60 @@
19692
19774
  }
19693
19775
  ]
19694
19776
  },
19777
+ {
19778
+ "kind": "Variable",
19779
+ "canonicalReference": "@dcl/playground-assets!MAX_ENTITY_NUMBER:var",
19780
+ "docComment": "/**\n * @public\n */\n",
19781
+ "excerptTokens": [
19782
+ {
19783
+ "kind": "Content",
19784
+ "text": "MAX_ENTITY_NUMBER = "
19785
+ },
19786
+ {
19787
+ "kind": "Content",
19788
+ "text": "65535"
19789
+ }
19790
+ ],
19791
+ "fileUrlPath": "../ecs/dist/engine/entity.d.ts",
19792
+ "initializerTokenRange": {
19793
+ "startIndex": 1,
19794
+ "endIndex": 2
19795
+ },
19796
+ "isReadonly": true,
19797
+ "releaseTag": "Public",
19798
+ "name": "MAX_ENTITY_NUMBER",
19799
+ "variableTypeTokenRange": {
19800
+ "startIndex": 0,
19801
+ "endIndex": 0
19802
+ }
19803
+ },
19804
+ {
19805
+ "kind": "Variable",
19806
+ "canonicalReference": "@dcl/playground-assets!MAX_U16:var",
19807
+ "docComment": "",
19808
+ "excerptTokens": [
19809
+ {
19810
+ "kind": "Content",
19811
+ "text": "MAX_U16 = "
19812
+ },
19813
+ {
19814
+ "kind": "Content",
19815
+ "text": "65535"
19816
+ }
19817
+ ],
19818
+ "fileUrlPath": "../ecs/dist/engine/entity.d.ts",
19819
+ "initializerTokenRange": {
19820
+ "startIndex": 1,
19821
+ "endIndex": 2
19822
+ },
19823
+ "isReadonly": true,
19824
+ "releaseTag": "Public",
19825
+ "name": "MAX_U16",
19826
+ "variableTypeTokenRange": {
19827
+ "startIndex": 0,
19828
+ "endIndex": 0
19829
+ }
19830
+ },
19695
19831
  {
19696
19832
  "kind": "Variable",
19697
19833
  "canonicalReference": "@dcl/playground-assets!MeshCollider:var",
@@ -34686,7 +34822,43 @@
34686
34822
  },
34687
34823
  {
34688
34824
  "kind": "Content",
34689
- "text": "{\n removeOnClick(entity: unknown): void;\n removeOnPointerDown(entity: unknown): void;\n removeOnPointerUp(entity: unknown): void;\n onClick(entity: unknown, cb: import(\"../../systems/events\")."
34825
+ "text": "{\n removeOnClick(entity: import(\"../../engine\")."
34826
+ },
34827
+ {
34828
+ "kind": "Reference",
34829
+ "text": "Entity",
34830
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
34831
+ },
34832
+ {
34833
+ "kind": "Content",
34834
+ "text": "): void;\n removeOnPointerDown(entity: import(\"../../engine\")."
34835
+ },
34836
+ {
34837
+ "kind": "Reference",
34838
+ "text": "Entity",
34839
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
34840
+ },
34841
+ {
34842
+ "kind": "Content",
34843
+ "text": "): void;\n removeOnPointerUp(entity: import(\"../../engine\")."
34844
+ },
34845
+ {
34846
+ "kind": "Reference",
34847
+ "text": "Entity",
34848
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
34849
+ },
34850
+ {
34851
+ "kind": "Content",
34852
+ "text": "): void;\n onClick(entity: import(\"../../engine\")."
34853
+ },
34854
+ {
34855
+ "kind": "Reference",
34856
+ "text": "Entity",
34857
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
34858
+ },
34859
+ {
34860
+ "kind": "Content",
34861
+ "text": ", cb: import(\"../../systems/events\")."
34690
34862
  },
34691
34863
  {
34692
34864
  "kind": "Reference",
@@ -34713,7 +34885,16 @@
34713
34885
  },
34714
34886
  {
34715
34887
  "kind": "Content",
34716
- "text": "> | undefined): void;\n onPointerDown(entity: unknown, cb: import(\"../../systems/events\")."
34888
+ "text": "> | undefined): void;\n onPointerDown(entity: import(\"../../engine\")."
34889
+ },
34890
+ {
34891
+ "kind": "Reference",
34892
+ "text": "Entity",
34893
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
34894
+ },
34895
+ {
34896
+ "kind": "Content",
34897
+ "text": ", cb: import(\"../../systems/events\")."
34717
34898
  },
34718
34899
  {
34719
34900
  "kind": "Reference",
@@ -34740,7 +34921,16 @@
34740
34921
  },
34741
34922
  {
34742
34923
  "kind": "Content",
34743
- "text": "> | undefined): void;\n onPointerUp(entity: unknown, cb: import(\"../../systems/events\")."
34924
+ "text": "> | undefined): void;\n onPointerUp(entity: import(\"../../engine\")."
34925
+ },
34926
+ {
34927
+ "kind": "Reference",
34928
+ "text": "Entity",
34929
+ "canonicalReference": "@dcl/playground-assets!Entity:type"
34930
+ },
34931
+ {
34932
+ "kind": "Content",
34933
+ "text": ", cb: import(\"../../systems/events\")."
34744
34934
  },
34745
34935
  {
34746
34936
  "kind": "Reference",
@@ -34776,7 +34966,7 @@
34776
34966
  "name": "pointerEventsSystem",
34777
34967
  "variableTypeTokenRange": {
34778
34968
  "startIndex": 1,
34779
- "endIndex": 20
34969
+ "endIndex": 32
34780
34970
  }
34781
34971
  },
34782
34972
  {
@@ -37789,6 +37979,33 @@
37789
37979
  "endIndex": 10
37790
37980
  }
37791
37981
  },
37982
+ {
37983
+ "kind": "Variable",
37984
+ "canonicalReference": "@dcl/playground-assets!RESERVED_STATIC_ENTITIES:var",
37985
+ "docComment": "/**\n * This first 512 entities are reserved by the renderer\n *\n * @public\n */\n",
37986
+ "excerptTokens": [
37987
+ {
37988
+ "kind": "Content",
37989
+ "text": "RESERVED_STATIC_ENTITIES = "
37990
+ },
37991
+ {
37992
+ "kind": "Content",
37993
+ "text": "512"
37994
+ }
37995
+ ],
37996
+ "fileUrlPath": "../ecs/dist/engine/entity.d.ts",
37997
+ "initializerTokenRange": {
37998
+ "startIndex": 1,
37999
+ "endIndex": 2
38000
+ },
38001
+ "isReadonly": true,
38002
+ "releaseTag": "Public",
38003
+ "name": "RESERVED_STATIC_ENTITIES",
38004
+ "variableTypeTokenRange": {
38005
+ "startIndex": 0,
38006
+ "endIndex": 0
38007
+ }
38008
+ },
37792
38009
  {
37793
38010
  "kind": "TypeAlias",
37794
38011
  "canonicalReference": "@dcl/playground-assets!RPCSendableMessage:type",
@@ -41849,6 +42066,32 @@
41849
42066
  "endIndex": 5
41850
42067
  }
41851
42068
  },
42069
+ {
42070
+ "kind": "TypeAlias",
42071
+ "canonicalReference": "@dcl/playground-assets!uint32:type",
42072
+ "docComment": "/**\n * It only defines the type explicitly, no effects.\n *\n * @public\n */\n",
42073
+ "excerptTokens": [
42074
+ {
42075
+ "kind": "Content",
42076
+ "text": "export declare type uint32 = "
42077
+ },
42078
+ {
42079
+ "kind": "Content",
42080
+ "text": "number"
42081
+ },
42082
+ {
42083
+ "kind": "Content",
42084
+ "text": ";"
42085
+ }
42086
+ ],
42087
+ "fileUrlPath": "../ecs/dist/engine/entity.d.ts",
42088
+ "releaseTag": "Public",
42089
+ "name": "uint32",
42090
+ "typeTokenRange": {
42091
+ "startIndex": 1,
42092
+ "endIndex": 2
42093
+ }
42094
+ },
41852
42095
  {
41853
42096
  "kind": "Variable",
41854
42097
  "canonicalReference": "@dcl/playground-assets!UiText:var",
@@ -6,6 +6,11 @@
6
6
 
7
7
  import _m0 from 'protobufjs/minimal';
8
8
 
9
+ // Warning: (ae-missing-release-tag) "AMOUNT_VERSION_AVAILABLE" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
10
+ //
11
+ // @public (undocumented)
12
+ export const AMOUNT_VERSION_AVAILABLE: number;
13
+
9
14
  // Warning: (ae-missing-release-tag) "Animator" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
10
15
  //
11
16
  // @public (undocumented)
@@ -500,8 +505,17 @@ export type EngineEvent<T extends IEventNames = IEventNames, V = IEvents[T]> = {
500
505
  data: Readonly<V>;
501
506
  };
502
507
 
503
- // @public (undocumented)
504
- export type Entity = unknown;
508
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
509
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
510
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
511
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
512
+ // Warning: (tsdoc-malformed-html-name) Invalid HTML element: Expecting an HTML name
513
+ // Warning: (tsdoc-malformed-html-name) Invalid HTML element: A space is not allowed here
514
+ //
515
+ // @public
516
+ export type Entity = uint32 & {
517
+ __entity_type: '';
518
+ };
505
519
 
506
520
  // Warning: (ae-missing-release-tag) "EntityComponents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
507
521
  //
@@ -520,10 +534,13 @@ export type EntityComponents = {
520
534
  //
521
535
  // @public (undocumented)
522
536
  export function EntityContainer(): {
523
- generateEntity(dynamic?: boolean): Entity;
537
+ generateEntity(): Entity;
524
538
  removeEntity(entity: Entity): boolean;
525
539
  entityExists(entity: Entity): boolean;
526
540
  getExistingEntities(): Set<Entity>;
541
+ entityVersion: (entity: Entity) => number;
542
+ entityNumber: (entity: Entity) => number;
543
+ entityId: (entityNumber: number, entityVersion: number) => Entity;
527
544
  };
528
545
 
529
546
  // @public (undocumented)
@@ -951,6 +968,11 @@ export type MapResult<T extends Spec> = ToOptional<{
951
968
  [K in keyof T]: T[K] extends ISchema ? ReturnType<T[K]['deserialize']> : T[K] extends Spec ? MapResult<T[K]> : never;
952
969
  }>;
953
970
 
971
+ // Warning: (ae-missing-release-tag) "MASK_UPPER_16_ON_32" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
972
+ //
973
+ // @public (undocumented)
974
+ export const MASK_UPPER_16_ON_32 = 4294901760;
975
+
954
976
  // Warning: (ae-missing-release-tag) "Material" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
955
977
  //
956
978
  // @public (undocumented)
@@ -1119,6 +1141,14 @@ export namespace Matrix {
1119
1141
  export function Zero(): MutableMatrix;
1120
1142
  }
1121
1143
 
1144
+ // @public (undocumented)
1145
+ export const MAX_ENTITY_NUMBER = 65535;
1146
+
1147
+ // Warning: (ae-missing-release-tag) "MAX_U16" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1148
+ //
1149
+ // @public (undocumented)
1150
+ export const MAX_U16 = 65535;
1151
+
1122
1152
  // Warning: (ae-missing-release-tag) "MeshCollider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1123
1153
  //
1124
1154
  // @public (undocumented)
@@ -2401,12 +2431,12 @@ export type PointerEventsSystem = ReturnType<typeof createPointerEventSystem>;
2401
2431
  //
2402
2432
  // @public (undocumented)
2403
2433
  export const pointerEventsSystem: {
2404
- removeOnClick(entity: unknown): void;
2405
- removeOnPointerDown(entity: unknown): void;
2406
- removeOnPointerUp(entity: unknown): void;
2407
- onClick(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
2408
- onPointerDown(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
2409
- onPointerUp(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
2434
+ removeOnClick(entity: Entity): void;
2435
+ removeOnPointerDown(entity: Entity): void;
2436
+ removeOnPointerUp(entity: Entity): void;
2437
+ onClick(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
2438
+ onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
2439
+ onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
2410
2440
  };
2411
2441
 
2412
2442
  // Warning: (ae-missing-release-tag) "PointerEventType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -2605,6 +2635,9 @@ export type ReceiveMessage = {
2605
2635
  messageBuffer: Uint8Array;
2606
2636
  };
2607
2637
 
2638
+ // @public
2639
+ export const RESERVED_STATIC_ENTITIES = 512;
2640
+
2608
2641
  // Warning: (ae-missing-release-tag) "RPCSendableMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2609
2642
  //
2610
2643
  // @public (undocumented)
@@ -2914,6 +2947,9 @@ export type UiInputProps = PBUiInput & {
2914
2947
  // @public (undocumented)
2915
2948
  export const UiInputResult: ComponentDefinition<PBUiInputResult>;
2916
2949
 
2950
+ // @public
2951
+ export type uint32 = number;
2952
+
2917
2953
  // @public (undocumented)
2918
2954
  export const UiText: ComponentDefinition<PBUiText>;
2919
2955
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
- "version": "7.0.6-3808797047.commit-ee7ea04",
3
+ "version": "7.0.6-3808892339.commit-e47ed81",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -17,12 +17,12 @@
17
17
  "author": "Decentraland",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@dcl/sdk": "7.0.6-3808797047.commit-ee7ea04"
20
+ "@dcl/sdk": "7.0.6-3808892339.commit-e47ed81"
21
21
  },
22
22
  "minCliVersion": "3.12.3",
23
23
  "files": [
24
24
  "dist",
25
25
  "etc"
26
26
  ],
27
- "commit": "ee7ea0434ecbd9e92db737237a67cd02af989b73"
27
+ "commit": "e47ed813e0b5bd0e5fd6a0fd9e2eeb80783dab27"
28
28
  }