@dcl/playground-assets 7.12.3-19251638766.commit-26dce86 → 7.12.3-19269915433.commit-cbf59ef

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.
@@ -146,10 +146,8 @@ export const enum AvatarControlType {
146
146
  // @public (undocumented)
147
147
  export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
148
148
 
149
- // Warning: (ae-missing-release-tag) "AvatarEquippedData" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
150
- //
151
149
  // @public (undocumented)
152
- export const AvatarEquippedData: AvatarEquippedDataComponentDefinitionExtended;
150
+ export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
153
151
 
154
152
  // @public (undocumented)
155
153
  export type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
@@ -192,10 +190,8 @@ export namespace AvatarMovementSettings {
192
190
  export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
193
191
  }
194
192
 
195
- // Warning: (ae-missing-release-tag) "AvatarShape" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
196
- //
197
193
  // @public (undocumented)
198
- export const AvatarShape: AvatarShapeComponentDefinitionExtended;
194
+ export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
199
195
 
200
196
  // @public (undocumented)
201
197
  export type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
@@ -744,7 +740,7 @@ export const componentDefinitionByName: {
744
740
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
745
741
  "core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
746
742
  "core::TriggerArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerArea>>;
747
- "core::TriggerAreaResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTriggerAreaResult>>;
743
+ "core::TriggerAreaResult": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>>;
748
744
  "core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
749
745
  "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
750
746
  "core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
@@ -1376,6 +1372,7 @@ export interface IEngine {
1376
1372
  defineValueSetComponentFromSchema<T>(componentName: string, spec: ISchema<T>, options: ValueSetOptions<T>): GrowOnlyValueSetComponentDefinition<T>;
1377
1373
  getComponent<T>(componentId: number | string): ComponentDefinition<T>;
1378
1374
  getComponentOrNull<T>(componentId: number | string): ComponentDefinition<T> | null;
1375
+ getEntitiesByTag(tagName: string): Iterable<Entity>;
1379
1376
  getEntitiesWith<T extends [ComponentDefinition<any>, ...ComponentDefinition<any>[]]>(...components: T): Iterable<[Entity, ...ReadonlyComponentSchema<T>]>;
1380
1377
  getEntityByName<T = never, K = T>(value: K & (T extends never ? never : string)): Entity;
1381
1378
  // @alpha
@@ -1703,8 +1700,23 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
1703
1700
  getOrNull(entity: Entity): DeepReadonly<T> | null;
1704
1701
  }
1705
1702
 
1703
+ // Warning: (ae-missing-release-tag) "LightSource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1704
+ //
1705
+ // @public (undocumented)
1706
+ export const LightSource: LightSourceComponentDefinitionExtended;
1707
+
1706
1708
  // @public (undocumented)
1707
- export const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
1709
+ export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
1710
+ Type: LightSourceHelper;
1711
+ }
1712
+
1713
+ // @public (undocumented)
1714
+ export interface LightSourceHelper {
1715
+ // (undocumented)
1716
+ Point: (point: PBLightSource_Point) => PBLightSource['type'];
1717
+ // (undocumented)
1718
+ Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
1719
+ }
1708
1720
 
1709
1721
  // @public
1710
1722
  export type Listeners = {
@@ -4621,6 +4633,27 @@ export type SystemItem = {
4621
4633
  // @public (undocumented)
4622
4634
  export const SYSTEMS_REGULAR_PRIORITY = 100000;
4623
4635
 
4636
+ // Warning: (ae-missing-release-tag) "Tags" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
4637
+ //
4638
+ // @public (undocumented)
4639
+ export const Tags: TagsComponentDefinitionExtended;
4640
+
4641
+ // Warning: (ae-missing-release-tag) "TagsComponentDefinitionExtended" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
4642
+ //
4643
+ // @public (undocumented)
4644
+ export interface TagsComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<TagsType> {
4645
+ add(entity: Entity, tagName: string): boolean;
4646
+ remove(entity: Entity, tagName: string): boolean;
4647
+ }
4648
+
4649
+ // Warning: (ae-missing-release-tag) "TagsType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
4650
+ //
4651
+ // @public (undocumented)
4652
+ export interface TagsType {
4653
+ // (undocumented)
4654
+ tags: string[];
4655
+ }
4656
+
4624
4657
  // Warning: (ae-missing-release-tag) "TargetEntityRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
4625
4658
  //
4626
4659
  // @public (undocumented)
@@ -4867,8 +4900,32 @@ export type Transport = {
4867
4900
  // @public (undocumented)
4868
4901
  export type TransportMessage = Omit<ReceiveMessage, 'data'>;
4869
4902
 
4903
+ // Warning: (ae-missing-release-tag) "TriggerArea" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
4904
+ //
4905
+ // @public (undocumented)
4906
+ export const TriggerArea: TriggerAreaComponentDefinitionExtended;
4907
+
4908
+ // @public (undocumented)
4909
+ export interface TriggerAreaComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBTriggerArea> {
4910
+ setBox(entity: Entity, collisionMask?: ColliderLayer | ColliderLayer[]): void;
4911
+ setSphere(entity: Entity, collisionMask?: ColliderLayer | ColliderLayer[]): void;
4912
+ }
4913
+
4870
4914
  // @public (undocumented)
4871
- export const TriggerArea: LastWriteWinElementSetComponentDefinition<PBTriggerArea>;
4915
+ export interface TriggerAreaEventsSystem {
4916
+ onTriggerEnter(entity: Entity, cb: TriggerAreaEventSystemCallback): void;
4917
+ onTriggerExit(entity: Entity, cb: TriggerAreaEventSystemCallback): void;
4918
+ onTriggerStay(entity: Entity, cb: TriggerAreaEventSystemCallback): void;
4919
+ removeOnTriggerEnter(entity: Entity): void;
4920
+ removeOnTriggerExit(entity: Entity): void;
4921
+ removeOnTriggerStay(entity: Entity): void;
4922
+ }
4923
+
4924
+ // @public
4925
+ export const triggerAreaEventsSystem: TriggerAreaEventsSystem;
4926
+
4927
+ // @public (undocumented)
4928
+ export type TriggerAreaEventSystemCallback = (result: DeepReadonlyObject<PBTriggerAreaResult>) => void;
4872
4929
 
4873
4930
  // @public (undocumented)
4874
4931
  export const enum TriggerAreaEventType {
@@ -4889,7 +4946,7 @@ export const enum TriggerAreaMeshType {
4889
4946
  }
4890
4947
 
4891
4948
  // @public (undocumented)
4892
- export const TriggerAreaResult: LastWriteWinElementSetComponentDefinition<PBTriggerAreaResult>;
4949
+ export const TriggerAreaResult: GrowOnlyValueSetComponentDefinition<PBTriggerAreaResult>;
4893
4950
 
4894
4951
  // Warning: (ae-missing-release-tag) "Tween" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
4895
4952
  //
@@ -4899,6 +4956,13 @@ export const Tween: TweenComponentDefinitionExtended;
4899
4956
  // @public (undocumented)
4900
4957
  export interface TweenComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBTween> {
4901
4958
  Mode: TweenHelper;
4959
+ setMove(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
4960
+ setMoveContinuous(entity: Entity, direction: PBVector3, speed: number, duration?: number): void;
4961
+ setRotate(entity: Entity, start: PBQuaternion, end: PBQuaternion, duration: number, easingFunction?: EasingFunction): void;
4962
+ setRotateContinuous(entity: Entity, direction: PBQuaternion, speed: number, duration?: number): void;
4963
+ setScale(entity: Entity, start: PBVector3, end: PBVector3, duration: number, easingFunction?: EasingFunction): void;
4964
+ setTextureMove(entity: Entity, start: PBVector2, end: PBVector2, duration: number, movementType?: TextureMovementType, easingFunction?: EasingFunction): void;
4965
+ setTextureMoveContinuous(entity: Entity, direction: PBVector2, speed: number, movementType?: TextureMovementType, duration?: number): void;
4902
4966
  }
4903
4967
 
4904
4968
  // @public (undocumented)
@@ -4906,11 +4970,17 @@ export interface TweenHelper {
4906
4970
  // (undocumented)
4907
4971
  Move: (move: Move) => PBTween['mode'];
4908
4972
  // (undocumented)
4973
+ MoveContinuous: (move: MoveContinuous) => PBTween['mode'];
4974
+ // (undocumented)
4909
4975
  Rotate: (rotate: Rotate) => PBTween['mode'];
4910
4976
  // (undocumented)
4977
+ RotateContinuous: (rotate: RotateContinuous) => PBTween['mode'];
4978
+ // (undocumented)
4911
4979
  Scale: (scale: Scale) => PBTween['mode'];
4912
4980
  // (undocumented)
4913
4981
  TextureMove: (textureMove: TextureMove) => PBTween['mode'];
4982
+ // (undocumented)
4983
+ TextureMoveContinuous: (textureMove: TextureMoveContinuous) => PBTween['mode'];
4914
4984
  }
4915
4985
 
4916
4986
  // @public (undocumented)
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.12.3-19251638766.commit-26dce86",
4
+ "version": "7.12.3-19269915433.commit-cbf59ef",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.12.3-19251638766.commit-26dce86",
8
- "@dcl/sdk": "7.12.3-19251638766.commit-26dce86"
7
+ "@dcl/js-runtime": "7.12.3-19269915433.commit-cbf59ef",
8
+ "@dcl/sdk": "7.12.3-19269915433.commit-cbf59ef"
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": "26dce8611f7dab6ca834629df6c1c7357496d548"
35
+ "commit": "cbf59ef1058908f01a067d3044c09ffb804dd427"
36
36
  }