@dcl/playground-assets 7.4.16-8634981775.commit-0048266 → 7.4.16-8693217507.commit-f417f2c

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,6 +50,9 @@ export namespace AppendValueOperation {
50
50
  // @public
51
51
  export function areConnected(parcels: Coords[]): boolean;
52
52
 
53
+ // @public (undocumented)
54
+ export const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
55
+
53
56
  // Warning: (ae-missing-release-tag) "AudioSource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
54
57
  //
55
58
  // @public (undocumented)
@@ -61,8 +64,15 @@ export interface AudioSourceComponentDefinitionExtended extends LastWriteWinElem
61
64
  stopSound(entity: Entity, resetCursor?: boolean): boolean;
62
65
  }
63
66
 
67
+ // Warning: (ae-missing-release-tag) "AudioStream" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
68
+ //
64
69
  // @public (undocumented)
65
- export const AudioStream: LastWriteWinElementSetComponentDefinition<PBAudioStream>;
70
+ export const AudioStream: AudioStreamComponentDefinitionExtended;
71
+
72
+ // @public (undocumented)
73
+ export interface AudioStreamComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAudioStream> {
74
+ getAudioState(entity: Entity): PBAudioEvent | undefined;
75
+ }
66
76
 
67
77
  // @public (undocumented)
68
78
  export const enum AvatarAnchorPointType {
@@ -529,6 +539,7 @@ export type ComponentDefinition<T> = LastWriteWinElementSetComponentDefinition<T
529
539
  // @public
530
540
  export const componentDefinitionByName: {
531
541
  "core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
542
+ "core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
532
543
  "core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
533
544
  "core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
534
545
  "core::AvatarAttach": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarAttach>>;
@@ -1787,6 +1798,26 @@ export namespace Matrix {
1787
1798
  export function Zero(): MutableMatrix;
1788
1799
  }
1789
1800
 
1801
+ // @public (undocumented)
1802
+ export const enum MediaState {
1803
+ // (undocumented)
1804
+ MS_BUFFERING = 5,
1805
+ // (undocumented)
1806
+ MS_ERROR = 1,
1807
+ // (undocumented)
1808
+ MS_LOADING = 2,
1809
+ // (undocumented)
1810
+ MS_NONE = 0,
1811
+ // (undocumented)
1812
+ MS_PAUSED = 7,
1813
+ // (undocumented)
1814
+ MS_PLAYING = 4,
1815
+ // (undocumented)
1816
+ MS_READY = 3,
1817
+ // (undocumented)
1818
+ MS_SEEKING = 6
1819
+ }
1820
+
1790
1821
  // 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)
1791
1822
  //
1792
1823
  // @public (undocumented)
@@ -2080,6 +2111,21 @@ export namespace PBAnimator {
2080
2111
  export function encode(message: PBAnimator, writer?: _m0.Writer): _m0.Writer;
2081
2112
  }
2082
2113
 
2114
+ // @public (undocumented)
2115
+ export interface PBAudioEvent {
2116
+ // (undocumented)
2117
+ state: MediaState;
2118
+ timestamp: number;
2119
+ }
2120
+
2121
+ // @public (undocumented)
2122
+ export namespace PBAudioEvent {
2123
+ // (undocumented)
2124
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioEvent;
2125
+ // (undocumented)
2126
+ export function encode(message: PBAudioEvent, writer?: _m0.Writer): _m0.Writer;
2127
+ }
2128
+
2083
2129
  // @public (undocumented)
2084
2130
  export interface PBAudioSource {
2085
2131
  audioClipUrl: string;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.4.16-8634981775.commit-0048266",
4
+ "version": "7.4.16-8693217507.commit-f417f2c",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.4.16-8634981775.commit-0048266",
8
- "@dcl/sdk": "7.4.16-8634981775.commit-0048266"
7
+ "@dcl/js-runtime": "7.4.16-8693217507.commit-f417f2c",
8
+ "@dcl/sdk": "7.4.16-8693217507.commit-f417f2c"
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": "0048266545ab01ec21db4c037c68afd99531ee08"
35
+ "commit": "f417f2cb6dd3f14edead0807fc0676f7a6c5daff"
36
36
  }