@dcl/playground-assets 7.26.1-31715266070.commit-0ddb8e7 → 7.26.1-32157237851.commit-e712ef7

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.26.1-31715266070.commit-0ddb8e7",
4
+ "version": "7.26.1-32157237851.commit-e712ef7",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
7
  "@dcl/ecs": "file:../ecs",
@@ -33,5 +33,5 @@
33
33
  },
34
34
  "types": "./index.d.ts",
35
35
  "typings": "./index.d.ts",
36
- "commit": "0ddb8e747bcf2d28e5bd201fe4e898d4ec08036d"
36
+ "commit": "e712ef71c81b53f1125e7b9658f3751ab455b63e"
37
37
  }
@@ -288,15 +288,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
288
288
  /** @public */
289
289
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
290
290
 
291
- /** Mask for which bones an animation applies to. */
292
- /**
293
- * @public
294
- */
295
- export declare const enum AvatarEmoteMask {
296
- AEM_FULL_BODY = 0,
297
- AEM_UPPER_BODY = 1
298
- }
299
-
300
291
  /** @public */
301
292
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
302
293
 
@@ -2519,11 +2510,18 @@ export declare interface IEngine {
2519
2510
  * @public
2520
2511
  * Remove all components of an entity
2521
2512
  * @param entity - entity
2513
+ * @returns whether the entity id was released for reuse. Ids in the renderer-reserved range
2514
+ * are never released, at any version. Components are still purged for
2515
+ * RootEntity/PlayerEntity/CameraEntity, but not for the avatar range.
2522
2516
  */
2523
- removeEntity(entity: Entity): void;
2517
+ removeEntity(entity: Entity): boolean;
2524
2518
  /**
2525
2519
  * Remove all components of each entity in the tree made with Transform parenting
2526
2520
  * @param entity - the root entity of the tree
2521
+ *
2522
+ * May complete only partially and does not report it: nodes in the renderer-reserved range
2523
+ * are refused by `removeEntity`, so a reserved node anywhere in the tree survives while its
2524
+ * descendants are removed — leaving its `Transform.parent` pointing at a removed entity.
2527
2525
  */
2528
2526
  removeEntityWithChildren(entity: Entity): void;
2529
2527
  /**
@@ -2917,65 +2917,6 @@
2917
2917
  "endIndex": 5
2918
2918
  }
2919
2919
  },
2920
- {
2921
- "kind": "Enum",
2922
- "canonicalReference": "@dcl/playground-assets!AvatarEmoteMask:enum",
2923
- "docComment": "/**\n * @public\n */\n",
2924
- "excerptTokens": [
2925
- {
2926
- "kind": "Content",
2927
- "text": "export declare const enum AvatarEmoteMask "
2928
- }
2929
- ],
2930
- "fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts",
2931
- "releaseTag": "Public",
2932
- "name": "AvatarEmoteMask",
2933
- "preserveMemberOrder": false,
2934
- "members": [
2935
- {
2936
- "kind": "EnumMember",
2937
- "canonicalReference": "@dcl/playground-assets!AvatarEmoteMask.AEM_FULL_BODY:member",
2938
- "docComment": "",
2939
- "excerptTokens": [
2940
- {
2941
- "kind": "Content",
2942
- "text": "AEM_FULL_BODY = "
2943
- },
2944
- {
2945
- "kind": "Content",
2946
- "text": "0"
2947
- }
2948
- ],
2949
- "initializerTokenRange": {
2950
- "startIndex": 1,
2951
- "endIndex": 2
2952
- },
2953
- "releaseTag": "Public",
2954
- "name": "AEM_FULL_BODY"
2955
- },
2956
- {
2957
- "kind": "EnumMember",
2958
- "canonicalReference": "@dcl/playground-assets!AvatarEmoteMask.AEM_UPPER_BODY:member",
2959
- "docComment": "",
2960
- "excerptTokens": [
2961
- {
2962
- "kind": "Content",
2963
- "text": "AEM_UPPER_BODY = "
2964
- },
2965
- {
2966
- "kind": "Content",
2967
- "text": "1"
2968
- }
2969
- ],
2970
- "initializerTokenRange": {
2971
- "startIndex": 1,
2972
- "endIndex": 2
2973
- },
2974
- "releaseTag": "Public",
2975
- "name": "AEM_UPPER_BODY"
2976
- }
2977
- ]
2978
- },
2979
2920
  {
2980
2921
  "kind": "Variable",
2981
2922
  "canonicalReference": "@dcl/playground-assets!AvatarEquippedData:var",
@@ -24773,7 +24714,7 @@
24773
24714
  {
24774
24715
  "kind": "MethodSignature",
24775
24716
  "canonicalReference": "@dcl/playground-assets!IEngine#removeEntity:member(1)",
24776
- "docComment": "/**\n * Remove all components of an entity\n *\n * @param entity - entity\n *\n * @public\n */\n",
24717
+ "docComment": "/**\n * Remove all components of an entity\n *\n * @param entity - entity\n *\n * @returns whether the entity id was released for reuse. Ids in the renderer-reserved range are never released, at any version. Components are still purged for RootEntity/PlayerEntity/CameraEntity, but not for the avatar range.\n *\n * @public\n */\n",
24777
24718
  "excerptTokens": [
24778
24719
  {
24779
24720
  "kind": "Content",
@@ -24790,7 +24731,7 @@
24790
24731
  },
24791
24732
  {
24792
24733
  "kind": "Content",
24793
- "text": "void"
24734
+ "text": "boolean"
24794
24735
  },
24795
24736
  {
24796
24737
  "kind": "Content",
@@ -24819,7 +24760,7 @@
24819
24760
  {
24820
24761
  "kind": "MethodSignature",
24821
24762
  "canonicalReference": "@dcl/playground-assets!IEngine#removeEntityWithChildren:member(1)",
24822
- "docComment": "/**\n * Remove all components of each entity in the tree made with Transform parenting\n *\n * @param entity - the root entity of the tree\n */\n",
24763
+ "docComment": "/**\n * Remove all components of each entity in the tree made with Transform parenting\n *\n * @param entity - the root entity of the tree\n *\n * May complete only partially and does not report it: nodes in the renderer-reserved range are refused by `removeEntity`, so a reserved node anywhere in the tree survives while its descendants are removed — leaving its `Transform.parent` pointing at a removed entity.\n */\n",
24823
24764
  "excerptTokens": [
24824
24765
  {
24825
24766
  "kind": "Content",
@@ -201,14 +201,6 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
201
201
  // @public (undocumented)
202
202
  export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
203
203
 
204
- // @public (undocumented)
205
- export const enum AvatarEmoteMask {
206
- // (undocumented)
207
- AEM_FULL_BODY = 0,
208
- // (undocumented)
209
- AEM_UPPER_BODY = 1
210
- }
211
-
212
204
  // @public (undocumented)
213
205
  export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
214
206
 
@@ -1469,7 +1461,7 @@ export interface IEngine {
1469
1461
  registerComponentDefinition<T>(componentName: string, componentDefinition: ComponentDefinition<T>): ComponentDefinition<T>;
1470
1462
  // (undocumented)
1471
1463
  removeComponentDefinition(componentId: number | string): void;
1472
- removeEntity(entity: Entity): void;
1464
+ removeEntity(entity: Entity): boolean;
1473
1465
  removeEntityWithChildren(entity: Entity): void;
1474
1466
  removeSystem(selector: string | SystemFn): boolean;
1475
1467
  readonly RootEntity: Entity;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.26.1-31715266070.commit-0ddb8e7",
4
+ "version": "7.26.1-32157237851.commit-e712ef7",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.26.1-31715266070.commit-0ddb8e7",
8
- "@dcl/sdk": "7.26.1-31715266070.commit-0ddb8e7"
7
+ "@dcl/js-runtime": "7.26.1-32157237851.commit-e712ef7",
8
+ "@dcl/sdk": "7.26.1-32157237851.commit-e712ef7"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@microsoft/api-extractor": "^7.33.8"
@@ -32,5 +32,5 @@
32
32
  },
33
33
  "types": "./dist/index.d.ts",
34
34
  "typings": "./dist/index.d.ts",
35
- "commit": "0ddb8e747bcf2d28e5bd201fe4e898d4ec08036d"
35
+ "commit": "e712ef71c81b53f1125e7b9658f3751ab455b63e"
36
36
  }