@dcl/playground-assets 7.15.2 → 7.15.3-20090667358.commit-8e697e3

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.
@@ -50,6 +50,31 @@ export namespace AppendValueOperation {
50
50
  // @public
51
51
  export function areConnected(parcels: Coords[]): boolean;
52
52
 
53
+ // Warning: (ae-missing-release-tag) "AudioAnalysis" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
54
+ //
55
+ // @public (undocumented)
56
+ export const AudioAnalysis: AudioAnalysisComponentDefinitionExtended;
57
+
58
+ // Warning: (ae-missing-release-tag) "AudioAnalysisComponentDefinitionExtended" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
59
+ //
60
+ // @public (undocumented)
61
+ export interface AudioAnalysisComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAudioAnalysis> {
62
+ createAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
63
+ amplitudeGain?: number, bandsGain?: number): void;
64
+ createOrReplaceAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
65
+ amplitudeGain?: number, bandsGain?: number): void;
66
+ readIntoView(entity: Entity, out: AudioAnalysisView): void;
67
+ tryReadIntoView(entity: Entity, out: AudioAnalysisView): boolean;
68
+ }
69
+
70
+ // Warning: (ae-missing-release-tag) "AudioAnalysisView" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
71
+ //
72
+ // @public
73
+ export type AudioAnalysisView = {
74
+ amplitude: number;
75
+ bands: number[];
76
+ };
77
+
53
78
  // @public (undocumented)
54
79
  export const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
55
80
 
@@ -142,6 +167,9 @@ export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmo
142
167
  // @public (undocumented)
143
168
  export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
144
169
 
170
+ // @public (undocumented)
171
+ export const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
172
+
145
173
  // @public (undocumented)
146
174
  export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
147
175
 
@@ -622,6 +650,7 @@ export type ComponentDefinition<T> = LastWriteWinElementSetComponentDefinition<T
622
650
  // @public
623
651
  export const componentDefinitionByName: {
624
652
  "core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
653
+ "core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
625
654
  "core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
626
655
  "core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
627
656
  "core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
@@ -629,6 +658,7 @@ export const componentDefinitionByName: {
629
658
  "core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
630
659
  "core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
631
660
  "core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
661
+ "core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
632
662
  "core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
633
663
  "core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
634
664
  "core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
@@ -1437,6 +1467,8 @@ export const enum InputAction {
1437
1467
  // (undocumented)
1438
1468
  IA_LEFT = 7,
1439
1469
  // (undocumented)
1470
+ IA_MODIFIER = 14,
1471
+ // (undocumented)
1440
1472
  IA_POINTER = 0,
1441
1473
  // (undocumented)
1442
1474
  IA_PRIMARY = 1,
@@ -2144,6 +2176,46 @@ export namespace PBAnimator {
2144
2176
  export function encode(message: PBAnimator, writer?: _m0.Writer): _m0.Writer;
2145
2177
  }
2146
2178
 
2179
+ // @public (undocumented)
2180
+ export interface PBAudioAnalysis {
2181
+ amplitude: number;
2182
+ amplitudeGain?: number | undefined;
2183
+ // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
2184
+ band0: number;
2185
+ // (undocumented)
2186
+ band1: number;
2187
+ // (undocumented)
2188
+ band2: number;
2189
+ // (undocumented)
2190
+ band3: number;
2191
+ // (undocumented)
2192
+ band4: number;
2193
+ // (undocumented)
2194
+ band5: number;
2195
+ // (undocumented)
2196
+ band6: number;
2197
+ // (undocumented)
2198
+ band7: number;
2199
+ bandsGain?: number | undefined;
2200
+ mode: PBAudioAnalysisMode;
2201
+ }
2202
+
2203
+ // @public (undocumented)
2204
+ export namespace PBAudioAnalysis {
2205
+ // (undocumented)
2206
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
2207
+ // (undocumented)
2208
+ export function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
2209
+ }
2210
+
2211
+ // @public (undocumented)
2212
+ export const enum PBAudioAnalysisMode {
2213
+ // (undocumented)
2214
+ MODE_LOGARITHMIC = 1,
2215
+ // (undocumented)
2216
+ MODE_RAW = 0
2217
+ }
2218
+
2147
2219
  // @public (undocumented)
2148
2220
  export interface PBAudioEvent {
2149
2221
  // (undocumented)
@@ -2265,6 +2337,24 @@ export namespace PBAvatarEquippedData {
2265
2337
  export function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
2266
2338
  }
2267
2339
 
2340
+ // @public (undocumented)
2341
+ export interface PBAvatarLocomotionSettings {
2342
+ hardLandingCooldown?: number | undefined;
2343
+ jogSpeed?: number | undefined;
2344
+ jumpHeight?: number | undefined;
2345
+ runJumpHeight?: number | undefined;
2346
+ runSpeed?: number | undefined;
2347
+ walkSpeed?: number | undefined;
2348
+ }
2349
+
2350
+ // @public (undocumented)
2351
+ export namespace PBAvatarLocomotionSettings {
2352
+ // (undocumented)
2353
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
2354
+ // (undocumented)
2355
+ export function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
2356
+ }
2357
+
2268
2358
  // @public (undocumented)
2269
2359
  export interface PBAvatarModifierArea {
2270
2360
  area: PBVector3 | undefined;
@@ -3506,6 +3596,7 @@ export namespace PBVideoPlayer {
3506
3596
  export interface PBVirtualCamera {
3507
3597
  // (undocumented)
3508
3598
  defaultTransition?: CameraTransition | undefined;
3599
+ fov?: number | undefined;
3509
3600
  // (undocumented)
3510
3601
  lookAtEntity?: number | undefined;
3511
3602
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.15.2",
4
+ "version": "7.15.3-20090667358.commit-8e697e3",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.15.2",
8
- "@dcl/sdk": "7.15.2"
7
+ "@dcl/js-runtime": "7.15.3-20090667358.commit-8e697e3",
8
+ "@dcl/sdk": "7.15.3-20090667358.commit-8e697e3"
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": "68db59f6f87e1f95c44b8b03df026723c6dbd00c"
35
+ "commit": "8e697e31e1234e1d00badc697f220ef8fe470486"
36
36
  }