@dcl/playground-assets 7.3.20 → 7.3.21-6473833811.commit-9a3a718

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.
@@ -532,6 +532,9 @@ export const componentDefinitionByName: {
532
532
  "core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
533
533
  "core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
534
534
  "core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
535
+ "core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
536
+ "core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
537
+ "core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
535
538
  "core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
536
539
  "core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
537
540
  "core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
@@ -800,6 +803,71 @@ export type DisplayType = 'flex' | 'none';
800
803
  // @public
801
804
  export function Dropdown(props: UiDropdownProps): ReactEcs.JSX.Element;
802
805
 
806
+ // @public (undocumented)
807
+ export const enum EasingFunction {
808
+ // (undocumented)
809
+ EF_EASEBACK = 30,
810
+ // (undocumented)
811
+ EF_EASEBOUNCE = 15,
812
+ // (undocumented)
813
+ EF_EASECIRC = 27,
814
+ // (undocumented)
815
+ EF_EASECUBIC = 18,
816
+ // (undocumented)
817
+ EF_EASEELASTIC = 12,
818
+ // (undocumented)
819
+ EF_EASEEXPO = 9,
820
+ // (undocumented)
821
+ EF_EASEINBACK = 28,
822
+ // (undocumented)
823
+ EF_EASEINBOUNCE = 13,
824
+ // (undocumented)
825
+ EF_EASEINCIRC = 25,
826
+ // (undocumented)
827
+ EF_EASEINCUBIC = 16,
828
+ // (undocumented)
829
+ EF_EASEINELASTIC = 10,
830
+ // (undocumented)
831
+ EF_EASEINEXPO = 7,
832
+ // (undocumented)
833
+ EF_EASEINQUAD = 1,
834
+ // (undocumented)
835
+ EF_EASEINQUART = 19,
836
+ // (undocumented)
837
+ EF_EASEINQUINT = 22,
838
+ // (undocumented)
839
+ EF_EASEINSINE = 4,
840
+ // (undocumented)
841
+ EF_EASEOUTBACK = 29,
842
+ // (undocumented)
843
+ EF_EASEOUTBOUNCE = 14,
844
+ // (undocumented)
845
+ EF_EASEOUTCIRC = 26,
846
+ // (undocumented)
847
+ EF_EASEOUTCUBIC = 17,
848
+ // (undocumented)
849
+ EF_EASEOUTELASTIC = 11,
850
+ // (undocumented)
851
+ EF_EASEOUTEXPO = 8,
852
+ // (undocumented)
853
+ EF_EASEOUTQUAD = 2,
854
+ // (undocumented)
855
+ EF_EASEOUTQUART = 20,
856
+ // (undocumented)
857
+ EF_EASEOUTQUINT = 23,
858
+ // (undocumented)
859
+ EF_EASEOUTSINE = 5,
860
+ // (undocumented)
861
+ EF_EASEQUAD = 3,
862
+ // (undocumented)
863
+ EF_EASEQUART = 21,
864
+ // (undocumented)
865
+ EF_EASEQUINT = 24,
866
+ // (undocumented)
867
+ EF_EASESINE = 6,
868
+ EF_LINEAR = 0
869
+ }
870
+
803
871
  // @public (undocumented)
804
872
  export interface EcsElements {
805
873
  // (undocumented)
@@ -1691,6 +1759,24 @@ export class MessageBus {
1691
1759
  on(message: string, callback: (value: any, sender: string) => void): Observer<IEvents['comms']>;
1692
1760
  }
1693
1761
 
1762
+ // @public (undocumented)
1763
+ export interface Move {
1764
+ // (undocumented)
1765
+ end: PBVector3 | undefined;
1766
+ // (undocumented)
1767
+ faceDirection?: boolean | undefined;
1768
+ // (undocumented)
1769
+ start: PBVector3 | undefined;
1770
+ }
1771
+
1772
+ // @public (undocumented)
1773
+ export namespace Move {
1774
+ // (undocumented)
1775
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): Move;
1776
+ // (undocumented)
1777
+ export function encode(message: Move, writer?: _m0.Writer): _m0.Writer;
1778
+ }
1779
+
1694
1780
  // Warning: (ae-missing-release-tag) "Name" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1695
1781
  //
1696
1782
  // @public (undocumented)
@@ -2507,6 +2593,26 @@ export namespace PBPosition {
2507
2593
  export function encode(message: PBPosition, writer?: _m0.Writer): _m0.Writer;
2508
2594
  }
2509
2595
 
2596
+ // @public (undocumented)
2597
+ export interface PBQuaternion {
2598
+ // (undocumented)
2599
+ w: number;
2600
+ // (undocumented)
2601
+ x: number;
2602
+ // (undocumented)
2603
+ y: number;
2604
+ // (undocumented)
2605
+ z: number;
2606
+ }
2607
+
2608
+ // @public (undocumented)
2609
+ export namespace PBQuaternion {
2610
+ // (undocumented)
2611
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBQuaternion;
2612
+ // (undocumented)
2613
+ export function encode(message: PBQuaternion, writer?: _m0.Writer): _m0.Writer;
2614
+ }
2615
+
2510
2616
  // @public (undocumented)
2511
2617
  export interface PBRaycast {
2512
2618
  collisionMask?: number | undefined;
@@ -2589,6 +2695,65 @@ export namespace PBTextShape {
2589
2695
  export function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
2590
2696
  }
2591
2697
 
2698
+ // @public (undocumented)
2699
+ export interface PBTween {
2700
+ currentTime?: number | undefined;
2701
+ duration: number;
2702
+ // (undocumented)
2703
+ easingFunction: EasingFunction;
2704
+ // (undocumented)
2705
+ mode?: {
2706
+ $case: "move";
2707
+ move: Move;
2708
+ } | {
2709
+ $case: "rotate";
2710
+ rotate: Rotate;
2711
+ } | {
2712
+ $case: "scale";
2713
+ scale: Scale;
2714
+ } | undefined;
2715
+ playing?: boolean | undefined;
2716
+ }
2717
+
2718
+ // @public (undocumented)
2719
+ export namespace PBTween {
2720
+ // (undocumented)
2721
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTween;
2722
+ // (undocumented)
2723
+ export function encode(message: PBTween, writer?: _m0.Writer): _m0.Writer;
2724
+ }
2725
+
2726
+ // @public (undocumented)
2727
+ export interface PBTweenSequence {
2728
+ // (undocumented)
2729
+ loop?: TweenLoop | undefined;
2730
+ // (undocumented)
2731
+ sequence: PBTween[];
2732
+ }
2733
+
2734
+ // @public (undocumented)
2735
+ export namespace PBTweenSequence {
2736
+ // (undocumented)
2737
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTweenSequence;
2738
+ // (undocumented)
2739
+ export function encode(message: PBTweenSequence, writer?: _m0.Writer): _m0.Writer;
2740
+ }
2741
+
2742
+ // @public (undocumented)
2743
+ export interface PBTweenState {
2744
+ currentTime: number;
2745
+ // (undocumented)
2746
+ state: TweenStateStatus;
2747
+ }
2748
+
2749
+ // @public (undocumented)
2750
+ export namespace PBTweenState {
2751
+ // (undocumented)
2752
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTweenState;
2753
+ // (undocumented)
2754
+ export function encode(message: PBTweenState, writer?: _m0.Writer): _m0.Writer;
2755
+ }
2756
+
2592
2757
  // @public (undocumented)
2593
2758
  export interface PBUiBackground {
2594
2759
  color?: PBColor4 | undefined;
@@ -3268,6 +3433,22 @@ export const RESERVED_LOCAL_ENTITIES = 65535;
3268
3433
  // @public
3269
3434
  export const RESERVED_STATIC_ENTITIES = 512;
3270
3435
 
3436
+ // @public (undocumented)
3437
+ export interface Rotate {
3438
+ // (undocumented)
3439
+ end: PBQuaternion | undefined;
3440
+ // (undocumented)
3441
+ start: PBQuaternion | undefined;
3442
+ }
3443
+
3444
+ // @public (undocumented)
3445
+ export namespace Rotate {
3446
+ // (undocumented)
3447
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): Rotate;
3448
+ // (undocumented)
3449
+ export function encode(message: Rotate, writer?: _m0.Writer): _m0.Writer;
3450
+ }
3451
+
3271
3452
  // 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)
3272
3453
  //
3273
3454
  // @public (undocumented)
@@ -3304,6 +3485,22 @@ export namespace Scalar {
3304
3485
  export function withinEpsilon(a: number, b: number, epsilon?: number): boolean;
3305
3486
  }
3306
3487
 
3488
+ // @public (undocumented)
3489
+ export interface Scale {
3490
+ // (undocumented)
3491
+ end: PBVector3 | undefined;
3492
+ // (undocumented)
3493
+ start: PBVector3 | undefined;
3494
+ }
3495
+
3496
+ // @public (undocumented)
3497
+ export namespace Scale {
3498
+ // (undocumented)
3499
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): Scale;
3500
+ // (undocumented)
3501
+ export function encode(message: Scale, writer?: _m0.Writer): _m0.Writer;
3502
+ }
3503
+
3307
3504
  // @public (undocumented)
3308
3505
  export namespace Schemas {
3309
3506
  // (undocumented)
@@ -3567,6 +3764,60 @@ export type Transport = {
3567
3764
  // @public (undocumented)
3568
3765
  export type TransportMessage = Omit<ReceiveMessage, 'data'>;
3569
3766
 
3767
+ // 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)
3768
+ //
3769
+ // @public (undocumented)
3770
+ export const Tween: TweenComponentDefinitionExtended;
3771
+
3772
+ // @public (undocumented)
3773
+ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBTween> {
3774
+ Mode: TweenHelper;
3775
+ }
3776
+
3777
+ // @public (undocumented)
3778
+ export interface TweenHelper {
3779
+ // (undocumented)
3780
+ Move: (move: Move) => PBTween['mode'];
3781
+ // (undocumented)
3782
+ Rotate: (rotate: Rotate) => PBTween['mode'];
3783
+ // (undocumented)
3784
+ Scale: (scale: Scale) => PBTween['mode'];
3785
+ }
3786
+
3787
+ // @public (undocumented)
3788
+ export const enum TweenLoop {
3789
+ // (undocumented)
3790
+ TL_RESTART = 0,
3791
+ // (undocumented)
3792
+ TL_YOYO = 1
3793
+ }
3794
+
3795
+ // @public (undocumented)
3796
+ export const TweenSequence: LastWriteWinElementSetComponentDefinition<PBTweenSequence>;
3797
+
3798
+ // @public (undocumented)
3799
+ export const TweenState: LastWriteWinElementSetComponentDefinition<PBTweenState>;
3800
+
3801
+ // @public (undocumented)
3802
+ export const enum TweenStateStatus {
3803
+ // (undocumented)
3804
+ TS_ACTIVE = 0,
3805
+ // (undocumented)
3806
+ TS_COMPLETED = 1,
3807
+ // (undocumented)
3808
+ TS_PAUSED = 2
3809
+ }
3810
+
3811
+ // Warning: (ae-missing-release-tag) "TweenSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
3812
+ //
3813
+ // @public (undocumented)
3814
+ export type TweenSystem = {
3815
+ tweenCompleted(entity: Entity): boolean;
3816
+ };
3817
+
3818
+ // @public
3819
+ export const tweenSystem: TweenSystem;
3820
+
3570
3821
  // @public
3571
3822
  export interface UiAvatarTexture {
3572
3823
  // (undocumented)
@@ -3821,8 +4072,6 @@ export interface VideoEventsSystem {
3821
4072
  removeVideoEventsEntity(entity: Entity): void;
3822
4073
  }
3823
4074
 
3824
- // Warning: (ae-extra-release-tag) The doc comment should not contain more than one release tag
3825
- //
3826
4075
  // @public
3827
4076
  export const videoEventsSystem: VideoEventsSystem;
3828
4077
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.3.20",
4
+ "version": "7.3.21-6473833811.commit-9a3a718",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.3.20",
8
- "@dcl/sdk": "7.3.20"
7
+ "@dcl/js-runtime": "7.3.21-6473833811.commit-9a3a718",
8
+ "@dcl/sdk": "7.3.21-6473833811.commit-9a3a718"
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": "658c448fba75b237f5b565d6d04cc85f579ba0fd"
35
+ "commit": "9a3a71835e9d0cecd0fe652929713f208d6d4aa8"
36
36
  }