@dcl/ecs 7.20.5-22670537517.commit-a403a9f → 7.20.5-22674879735.commit-6a30e67
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.
- package/dist/components/extended/AudioAnalysis.d.ts +55 -0
- package/dist/components/extended/AudioAnalysis.js +66 -0
- package/dist/components/extended/Tween.d.ts +48 -1
- package/dist/components/extended/Tween.js +66 -0
- package/dist/components/generated/AudioAnalysis.gen.d.ts +1 -0
- package/dist/components/generated/AudioAnalysis.gen.js +25 -0
- package/dist/components/generated/AvatarLocomotionSettings.gen.d.ts +1 -0
- package/dist/components/generated/AvatarLocomotionSettings.gen.js +25 -0
- package/dist/components/generated/component-names.gen.js +2 -0
- package/dist/components/generated/global.gen.d.ts +4 -0
- package/dist/components/generated/global.gen.js +2 -0
- package/dist/components/generated/index.gen.d.ts +8 -0
- package/dist/components/generated/index.gen.js +10 -0
- package/dist/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.d.ts +37 -0
- package/dist/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.js +161 -0
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +35 -0
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +123 -0
- package/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts +12 -2
- package/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.js +11 -0
- package/dist/components/generated/pb/decentraland/sdk/components/pointer_events.gen.d.ts +5 -1
- package/dist/components/generated/pb/decentraland/sdk/components/pointer_events.gen.js +20 -1
- package/dist/components/generated/pb/decentraland/sdk/components/tween.gen.d.ts +21 -0
- package/dist/components/generated/pb/decentraland/sdk/components/tween.gen.js +99 -0
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +3 -0
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +10 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +3 -0
- package/dist/components/types.d.ts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/systems/events.d.ts +65 -0
- package/dist/systems/events.js +70 -8
- package/dist-cjs/components/extended/AudioAnalysis.d.ts +55 -0
- package/dist-cjs/components/extended/AudioAnalysis.js +70 -0
- package/dist-cjs/components/extended/Tween.d.ts +48 -1
- package/dist-cjs/components/extended/Tween.js +66 -0
- package/dist-cjs/components/generated/AudioAnalysis.gen.d.ts +1 -0
- package/dist-cjs/components/generated/AudioAnalysis.gen.js +28 -0
- package/dist-cjs/components/generated/AvatarLocomotionSettings.gen.d.ts +1 -0
- package/dist-cjs/components/generated/AvatarLocomotionSettings.gen.js +28 -0
- package/dist-cjs/components/generated/component-names.gen.js +2 -0
- package/dist-cjs/components/generated/global.gen.d.ts +4 -0
- package/dist-cjs/components/generated/global.gen.js +4 -1
- package/dist-cjs/components/generated/index.gen.d.ts +8 -0
- package/dist-cjs/components/generated/index.gen.js +14 -2
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.d.ts +37 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.js +167 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +35 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +129 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts +12 -2
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/common/input_action.gen.js +12 -1
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/pointer_events.gen.d.ts +5 -1
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/pointer_events.gen.js +20 -1
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/tween.gen.d.ts +21 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/tween.gen.js +100 -1
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +3 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +10 -1
- package/dist-cjs/components/index.d.ts +4 -0
- package/dist-cjs/components/index.js +5 -1
- package/dist-cjs/components/types.d.ts +2 -1
- package/dist-cjs/index.d.ts +2 -1
- package/dist-cjs/index.js +2 -1
- package/dist-cjs/systems/events.d.ts +65 -0
- package/dist-cjs/systems/events.js +70 -8
- package/package.json +2 -2
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Entity, IEngine } from '../../engine';
|
|
2
|
+
import { LastWriteWinElementSetComponentDefinition } from '../../engine/component';
|
|
3
|
+
import { PBAudioAnalysis, PBAudioAnalysisMode } from '../generated/pb/decentraland/sdk/components/audio_analysis.gen';
|
|
4
|
+
export interface AudioAnalysisComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBAudioAnalysis> {
|
|
5
|
+
/**
|
|
6
|
+
* Reads the component data of `entity` into the provided `out` view.
|
|
7
|
+
*
|
|
8
|
+
* @throws Error if the entity does not have an AudioAnalysis component.
|
|
9
|
+
* @param entity - The entity whose AudioAnalysis data will be read.
|
|
10
|
+
* @param out - An existing AudioAnalysisView to populate with the latest values.
|
|
11
|
+
*/
|
|
12
|
+
readIntoView(entity: Entity, out: AudioAnalysisView): void;
|
|
13
|
+
/**
|
|
14
|
+
* Attempts to read the component data of `entity` into the provided `out` view.
|
|
15
|
+
*
|
|
16
|
+
* @returns `true` if the component exists and data was written into `out`,
|
|
17
|
+
* `false` if the entity does not have an AudioAnalysis component.
|
|
18
|
+
* @param entity - The entity whose AudioAnalysis data will be read.
|
|
19
|
+
* @param out - An existing AudioAnalysisView to populate.
|
|
20
|
+
*/
|
|
21
|
+
tryReadIntoView(entity: Entity, out: AudioAnalysisView): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Creates an AudioAnalysis component for the given `entity`.
|
|
24
|
+
*
|
|
25
|
+
* If a component already exists on the entity, this call fails (does not replace).
|
|
26
|
+
*
|
|
27
|
+
* @param entity - The entity to attach the component to.
|
|
28
|
+
* @param mode - Analysis mode. Defaults to `PBAudioAnalysisMode.MODE_LOGARITHMIC`.
|
|
29
|
+
* @param amplitudeGain - Optional amplitude gain multiplier.
|
|
30
|
+
* @param bandsGain - Optional gain multiplier applied to all frequency bands.
|
|
31
|
+
*/
|
|
32
|
+
createAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
33
|
+
amplitudeGain?: number, bandsGain?: number): void;
|
|
34
|
+
/**
|
|
35
|
+
* Creates the AudioAnalysis component if missing, or replaces the existing one.
|
|
36
|
+
*
|
|
37
|
+
* @param entity - The target entity.
|
|
38
|
+
* @param mode - Analysis mode. Defaults to `PBAudioAnalysisMode.MODE_LOGARITHMIC`.
|
|
39
|
+
* @param amplitudeGain - Optional amplitude gain multiplier.
|
|
40
|
+
* @param bandsGain - Optional gain multiplier applied to the frequency bands.
|
|
41
|
+
*/
|
|
42
|
+
createOrReplaceAudioAnalysis(entity: Entity, mode?: PBAudioAnalysisMode, // default is PBAudioAnalysisMode.MODE_LOGARITHMIC
|
|
43
|
+
amplitudeGain?: number, bandsGain?: number): void;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A read-only JavaScript-friendly view of AudioAnalysis ECS data.
|
|
47
|
+
*
|
|
48
|
+
* `amplitude` represents the aggregated signal strength.
|
|
49
|
+
* `bands` represents the processed frequency bands.
|
|
50
|
+
*/
|
|
51
|
+
export type AudioAnalysisView = {
|
|
52
|
+
amplitude: number;
|
|
53
|
+
bands: number[];
|
|
54
|
+
};
|
|
55
|
+
export declare function defineAudioAnalysisComponent(engine: Pick<IEngine, 'defineComponentFromSchema'>): AudioAnalysisComponentDefinitionExtended;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { AudioAnalysis } from '../generated/index.gen';
|
|
2
|
+
export function defineAudioAnalysisComponent(engine) {
|
|
3
|
+
const theComponent = AudioAnalysis(engine);
|
|
4
|
+
return {
|
|
5
|
+
...theComponent,
|
|
6
|
+
readIntoView(entity, out) {
|
|
7
|
+
const audioAnalysis = theComponent.get(entity);
|
|
8
|
+
out.amplitude = audioAnalysis.amplitude;
|
|
9
|
+
out.bands[0] = audioAnalysis.band0;
|
|
10
|
+
out.bands[1] = audioAnalysis.band1;
|
|
11
|
+
out.bands[2] = audioAnalysis.band2;
|
|
12
|
+
out.bands[3] = audioAnalysis.band3;
|
|
13
|
+
out.bands[4] = audioAnalysis.band4;
|
|
14
|
+
out.bands[5] = audioAnalysis.band5;
|
|
15
|
+
out.bands[6] = audioAnalysis.band6;
|
|
16
|
+
out.bands[7] = audioAnalysis.band7;
|
|
17
|
+
},
|
|
18
|
+
tryReadIntoView(entity, out) {
|
|
19
|
+
const audioAnalysis = theComponent.getOrNull(entity);
|
|
20
|
+
if (!audioAnalysis)
|
|
21
|
+
return false;
|
|
22
|
+
out.amplitude = audioAnalysis.amplitude;
|
|
23
|
+
out.bands[0] = audioAnalysis.band0;
|
|
24
|
+
out.bands[1] = audioAnalysis.band1;
|
|
25
|
+
out.bands[2] = audioAnalysis.band2;
|
|
26
|
+
out.bands[3] = audioAnalysis.band3;
|
|
27
|
+
out.bands[4] = audioAnalysis.band4;
|
|
28
|
+
out.bands[5] = audioAnalysis.band5;
|
|
29
|
+
out.bands[6] = audioAnalysis.band6;
|
|
30
|
+
out.bands[7] = audioAnalysis.band7;
|
|
31
|
+
return true;
|
|
32
|
+
},
|
|
33
|
+
createAudioAnalysis(entity, mode, amplitudeGain, bandsGain) {
|
|
34
|
+
theComponent.create(entity, {
|
|
35
|
+
mode: mode || 1 /* PBAudioAnalysisMode.MODE_LOGARITHMIC */,
|
|
36
|
+
amplitudeGain: amplitudeGain ?? undefined,
|
|
37
|
+
bandsGain: bandsGain ?? undefined,
|
|
38
|
+
amplitude: 0,
|
|
39
|
+
band0: 0,
|
|
40
|
+
band1: 0,
|
|
41
|
+
band2: 0,
|
|
42
|
+
band3: 0,
|
|
43
|
+
band4: 0,
|
|
44
|
+
band5: 0,
|
|
45
|
+
band6: 0,
|
|
46
|
+
band7: 0
|
|
47
|
+
});
|
|
48
|
+
},
|
|
49
|
+
createOrReplaceAudioAnalysis(entity, mode, amplitudeGain, bandsGain) {
|
|
50
|
+
theComponent.createOrReplace(entity, {
|
|
51
|
+
mode: mode || 1 /* PBAudioAnalysisMode.MODE_LOGARITHMIC */,
|
|
52
|
+
amplitudeGain: amplitudeGain ?? undefined,
|
|
53
|
+
bandsGain: bandsGain ?? undefined,
|
|
54
|
+
amplitude: 0,
|
|
55
|
+
band0: 0,
|
|
56
|
+
band1: 0,
|
|
57
|
+
band2: 0,
|
|
58
|
+
band3: 0,
|
|
59
|
+
band4: 0,
|
|
60
|
+
band5: 0,
|
|
61
|
+
band6: 0,
|
|
62
|
+
band7: 0
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -1,6 +1,38 @@
|
|
|
1
1
|
import { Entity, IEngine, LastWriteWinElementSetComponentDefinition } from '../../engine';
|
|
2
2
|
import { Quaternion, Vector2, Vector3 } from '../generated/pb/decentraland/common/vectors.gen';
|
|
3
3
|
import { EasingFunction, Move, MoveContinuous, PBTween, Rotate, RotateContinuous, Scale, TextureMove, TextureMoveContinuous, TextureMovementType } from '../generated/index.gen';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* Partial params for Tween.Mode.MoveRotateScale(). At least one of position, rotation, or scale must be provided.
|
|
7
|
+
* Use this when building a mode for Tween.createOrReplace() or TweenSequence (e.g. only positionStart/positionEnd).
|
|
8
|
+
*/
|
|
9
|
+
export interface MoveRotateScaleModeParams {
|
|
10
|
+
/** Position tween (start → end). Optional. */
|
|
11
|
+
position?: {
|
|
12
|
+
start: Vector3;
|
|
13
|
+
end: Vector3;
|
|
14
|
+
};
|
|
15
|
+
/** Rotation tween (start → end). Optional. */
|
|
16
|
+
rotation?: {
|
|
17
|
+
start: Quaternion;
|
|
18
|
+
end: Quaternion;
|
|
19
|
+
};
|
|
20
|
+
/** Scale tween (start → end). Optional. */
|
|
21
|
+
scale?: {
|
|
22
|
+
start: Vector3;
|
|
23
|
+
end: Vector3;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
* Parameters for setMoveRotateScale. At least one of position, rotation, or scale must be provided.
|
|
29
|
+
*/
|
|
30
|
+
export interface SetMoveRotateScaleParams extends MoveRotateScaleModeParams {
|
|
31
|
+
/** Duration of the tween in milliseconds. */
|
|
32
|
+
duration: number;
|
|
33
|
+
/** Easing function (defaults to EF_LINEAR). */
|
|
34
|
+
easingFunction?: EasingFunction;
|
|
35
|
+
}
|
|
4
36
|
/**
|
|
5
37
|
* @public
|
|
6
38
|
*/
|
|
@@ -33,13 +65,18 @@ export interface TweenHelper {
|
|
|
33
65
|
* @returns a texture-move-continuous mode tween
|
|
34
66
|
*/
|
|
35
67
|
TextureMoveContinuous: (textureMove: TextureMoveContinuous) => PBTween['mode'];
|
|
68
|
+
/**
|
|
69
|
+
* @returns a move-rotate-scale mode tween
|
|
70
|
+
* @param params - partial transform (at least one of position, rotation, scale); omit axes you don't need
|
|
71
|
+
*/
|
|
72
|
+
MoveRotateScale: (params: MoveRotateScaleModeParams) => PBTween['mode'];
|
|
36
73
|
}
|
|
37
74
|
/**
|
|
38
75
|
* @public
|
|
39
76
|
*/
|
|
40
77
|
export interface TweenComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBTween> {
|
|
41
78
|
/**
|
|
42
|
-
*
|
|
79
|
+
* Helpers with constructor
|
|
43
80
|
*/
|
|
44
81
|
Mode: TweenHelper;
|
|
45
82
|
/**
|
|
@@ -118,5 +155,15 @@ export interface TweenComponentDefinitionExtended extends LastWriteWinElementSet
|
|
|
118
155
|
* @param duration - duration of the tween in milliseconds (defaults to 0 for infinite)
|
|
119
156
|
*/
|
|
120
157
|
setTextureMoveContinuous(entity: Entity, direction: Vector2, speed: number, movementType?: TextureMovementType, duration?: number): void;
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*
|
|
161
|
+
* Creates or replaces a move-rotate-scale tween component that simultaneously animates
|
|
162
|
+
* an entity's position, rotation, and/or scale from start to end. Provide only the
|
|
163
|
+
* properties you need (at least one of position, rotation, or scale).
|
|
164
|
+
* @param entity - entity to apply the tween to
|
|
165
|
+
* @param params - object with optional position, rotation, scale (each with start/end), duration, and optional easingFunction
|
|
166
|
+
*/
|
|
167
|
+
setMoveRotateScale(entity: Entity, params: SetMoveRotateScaleParams): void;
|
|
121
168
|
}
|
|
122
169
|
export declare function defineTweenComponent(engine: Pick<IEngine, 'defineComponentFromSchema'>): TweenComponentDefinitionExtended;
|
|
@@ -1,4 +1,33 @@
|
|
|
1
1
|
import { Tween } from '../generated/index.gen';
|
|
2
|
+
function assertDuration(duration, apiName) {
|
|
3
|
+
if (!Number.isFinite(duration) || duration < 0) {
|
|
4
|
+
throw new Error(`${apiName}: duration must be a non-negative finite number`);
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
/** Shared validation for params that have optional position/rotation/scale with start & end. */
|
|
8
|
+
function assertMoveRotateScaleAxesStartEnd(params, apiName) {
|
|
9
|
+
if (!params.position && !params.rotation && !params.scale) {
|
|
10
|
+
throw new Error(`${apiName}: at least one of position, rotation, or scale must be provided`);
|
|
11
|
+
}
|
|
12
|
+
if (params.position) {
|
|
13
|
+
const pos = params.position;
|
|
14
|
+
if (!pos.start || !pos.end) {
|
|
15
|
+
throw new Error(`${apiName}: position must have both start and end`);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
if (params.rotation) {
|
|
19
|
+
const rot = params.rotation;
|
|
20
|
+
if (!rot.start || !rot.end) {
|
|
21
|
+
throw new Error(`${apiName}: rotation must have both start and end`);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
if (params.scale) {
|
|
25
|
+
const scl = params.scale;
|
|
26
|
+
if (!scl.start || !scl.end) {
|
|
27
|
+
throw new Error(`${apiName}: scale must have both start and end`);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
2
31
|
const TweenHelper = {
|
|
3
32
|
Move(move) {
|
|
4
33
|
return {
|
|
@@ -41,6 +70,21 @@ const TweenHelper = {
|
|
|
41
70
|
$case: 'textureMoveContinuous',
|
|
42
71
|
textureMoveContinuous
|
|
43
72
|
};
|
|
73
|
+
},
|
|
74
|
+
MoveRotateScale(params) {
|
|
75
|
+
assertMoveRotateScaleAxesStartEnd(params, 'Tween.Mode.MoveRotateScale');
|
|
76
|
+
const moveRotateScale = {
|
|
77
|
+
positionStart: params.position ? params.position.start : undefined,
|
|
78
|
+
positionEnd: params.position ? params.position.end : undefined,
|
|
79
|
+
rotationStart: params.rotation ? params.rotation.start : undefined,
|
|
80
|
+
rotationEnd: params.rotation ? params.rotation.end : undefined,
|
|
81
|
+
scaleStart: params.scale ? params.scale.start : undefined,
|
|
82
|
+
scaleEnd: params.scale ? params.scale.end : undefined
|
|
83
|
+
};
|
|
84
|
+
return {
|
|
85
|
+
$case: 'moveRotateScale',
|
|
86
|
+
moveRotateScale
|
|
87
|
+
};
|
|
44
88
|
}
|
|
45
89
|
};
|
|
46
90
|
export function defineTweenComponent(engine) {
|
|
@@ -147,6 +191,28 @@ export function defineTweenComponent(engine) {
|
|
|
147
191
|
easingFunction: 0 /* EasingFunction.EF_LINEAR */,
|
|
148
192
|
playing: true
|
|
149
193
|
});
|
|
194
|
+
},
|
|
195
|
+
setMoveRotateScale(entity, params) {
|
|
196
|
+
assertMoveRotateScaleAxesStartEnd(params, 'setMoveRotateScale');
|
|
197
|
+
assertDuration(params.duration, 'setMoveRotateScale');
|
|
198
|
+
const { position, rotation, scale, duration, easingFunction = 0 /* EasingFunction.EF_LINEAR */ } = params;
|
|
199
|
+
const moveRotateScale = {
|
|
200
|
+
positionStart: position ? position.start : undefined,
|
|
201
|
+
positionEnd: position ? position.end : undefined,
|
|
202
|
+
rotationStart: rotation ? rotation.start : undefined,
|
|
203
|
+
rotationEnd: rotation ? rotation.end : undefined,
|
|
204
|
+
scaleStart: scale ? scale.start : undefined,
|
|
205
|
+
scaleEnd: scale ? scale.end : undefined
|
|
206
|
+
};
|
|
207
|
+
theComponent.createOrReplace(entity, {
|
|
208
|
+
mode: {
|
|
209
|
+
$case: 'moveRotateScale',
|
|
210
|
+
moveRotateScale
|
|
211
|
+
},
|
|
212
|
+
duration,
|
|
213
|
+
easingFunction,
|
|
214
|
+
playing: true
|
|
215
|
+
});
|
|
150
216
|
}
|
|
151
217
|
};
|
|
152
218
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PBAudioAnalysis } from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export const AudioAnalysisSchema = {
|
|
6
|
+
COMPONENT_ID: 1212,
|
|
7
|
+
serialize(value, builder) {
|
|
8
|
+
const writer = PBAudioAnalysis.encode(value);
|
|
9
|
+
const buffer = new Uint8Array(writer.finish(), 0, writer.len);
|
|
10
|
+
builder.writeBuffer(buffer, false);
|
|
11
|
+
},
|
|
12
|
+
deserialize(reader) {
|
|
13
|
+
return PBAudioAnalysis.decode(reader.buffer(), reader.remainingBytes());
|
|
14
|
+
},
|
|
15
|
+
create() {
|
|
16
|
+
// TODO: this is a hack.
|
|
17
|
+
return PBAudioAnalysis.decode(new Uint8Array());
|
|
18
|
+
},
|
|
19
|
+
jsonSchema: {
|
|
20
|
+
type: "object",
|
|
21
|
+
properties: {},
|
|
22
|
+
serializationType: "protocol-buffer",
|
|
23
|
+
protocolBuffer: "PBAudioAnalysis"
|
|
24
|
+
}
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export const AvatarLocomotionSettingsSchema = {
|
|
6
|
+
COMPONENT_ID: 1211,
|
|
7
|
+
serialize(value, builder) {
|
|
8
|
+
const writer = PBAvatarLocomotionSettings.encode(value);
|
|
9
|
+
const buffer = new Uint8Array(writer.finish(), 0, writer.len);
|
|
10
|
+
builder.writeBuffer(buffer, false);
|
|
11
|
+
},
|
|
12
|
+
deserialize(reader) {
|
|
13
|
+
return PBAvatarLocomotionSettings.decode(reader.buffer(), reader.remainingBytes());
|
|
14
|
+
},
|
|
15
|
+
create() {
|
|
16
|
+
// TODO: this is a hack.
|
|
17
|
+
return PBAvatarLocomotionSettings.decode(new Uint8Array());
|
|
18
|
+
},
|
|
19
|
+
jsonSchema: {
|
|
20
|
+
type: "object",
|
|
21
|
+
properties: {},
|
|
22
|
+
serializationType: "protocol-buffer",
|
|
23
|
+
protocolBuffer: "PBAvatarLocomotionSettings"
|
|
24
|
+
}
|
|
25
|
+
};
|
|
@@ -6,6 +6,7 @@ export const coreComponentMappings = {
|
|
|
6
6
|
"core::Animator": 1042,
|
|
7
7
|
"core::AssetLoad": 1213,
|
|
8
8
|
"core::AssetLoadLoadingState": 1214,
|
|
9
|
+
"core::AudioAnalysis": 1212,
|
|
9
10
|
"core::AudioEvent": 1105,
|
|
10
11
|
"core::AudioSource": 1020,
|
|
11
12
|
"core::AudioStream": 1021,
|
|
@@ -13,6 +14,7 @@ export const coreComponentMappings = {
|
|
|
13
14
|
"core::AvatarBase": 1087,
|
|
14
15
|
"core::AvatarEmoteCommand": 1088,
|
|
15
16
|
"core::AvatarEquippedData": 1091,
|
|
17
|
+
"core::AvatarLocomotionSettings": 1211,
|
|
16
18
|
"core::AvatarModifierArea": 1070,
|
|
17
19
|
"core::AvatarShape": 1080,
|
|
18
20
|
"core::Billboard": 1090,
|
|
@@ -2,6 +2,7 @@ import { LastWriteWinElementSetComponentDefinition, GrowOnlyValueSetComponentDef
|
|
|
2
2
|
export * from './index.gen';
|
|
3
3
|
import { PBAssetLoad } from './pb/decentraland/sdk/components/asset_load.gen';
|
|
4
4
|
import { PBAssetLoadLoadingState } from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
|
|
5
|
+
import { PBAudioAnalysis } from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
5
6
|
import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
|
|
6
7
|
import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
|
|
7
8
|
import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -9,6 +10,7 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
|
|
|
9
10
|
import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
10
11
|
import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
11
12
|
import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
13
|
+
import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
12
14
|
import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
13
15
|
import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
14
16
|
import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -52,6 +54,7 @@ import { PBVirtualCamera } from './pb/decentraland/sdk/components/virtual_camera
|
|
|
52
54
|
import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
53
55
|
/** @public */ export declare const AssetLoad: LastWriteWinElementSetComponentDefinition<PBAssetLoad>;
|
|
54
56
|
/** @public */ export declare const AssetLoadLoadingState: GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>;
|
|
57
|
+
/** @public */ export declare const AudioAnalysis: LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>;
|
|
55
58
|
/** @public */ export declare const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
|
|
56
59
|
/** @public */ export declare const AudioSource: LastWriteWinElementSetComponentDefinition<PBAudioSource>;
|
|
57
60
|
/** @public */ export declare const AudioStream: LastWriteWinElementSetComponentDefinition<PBAudioStream>;
|
|
@@ -59,6 +62,7 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
59
62
|
/** @public */ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
60
63
|
/** @public */ export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
61
64
|
/** @public */ export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
65
|
+
/** @public */ export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
62
66
|
/** @public */ export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
63
67
|
/** @public */ export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
64
68
|
/** @public */ export declare const Billboard: LastWriteWinElementSetComponentDefinition<PBBillboard>;
|
|
@@ -3,6 +3,7 @@ import * as components from './index.gen';
|
|
|
3
3
|
export * from './index.gen';
|
|
4
4
|
/** @public */ export const AssetLoad = /* @__PURE__ */ components.AssetLoad(engine);
|
|
5
5
|
/** @public */ export const AssetLoadLoadingState = /* @__PURE__ */ components.AssetLoadLoadingState(engine);
|
|
6
|
+
/** @public */ export const AudioAnalysis = /* @__PURE__ */ components.AudioAnalysis(engine);
|
|
6
7
|
/** @public */ export const AudioEvent = /* @__PURE__ */ components.AudioEvent(engine);
|
|
7
8
|
/** @public */ export const AudioSource = /* @__PURE__ */ components.AudioSource(engine);
|
|
8
9
|
/** @public */ export const AudioStream = /* @__PURE__ */ components.AudioStream(engine);
|
|
@@ -10,6 +11,7 @@ export * from './index.gen';
|
|
|
10
11
|
/** @public */ export const AvatarBase = /* @__PURE__ */ components.AvatarBase(engine);
|
|
11
12
|
/** @public */ export const AvatarEmoteCommand = /* @__PURE__ */ components.AvatarEmoteCommand(engine);
|
|
12
13
|
/** @public */ export const AvatarEquippedData = /* @__PURE__ */ components.AvatarEquippedData(engine);
|
|
14
|
+
/** @public */ export const AvatarLocomotionSettings = /* @__PURE__ */ components.AvatarLocomotionSettings(engine);
|
|
13
15
|
/** @public */ export const AvatarModifierArea = /* @__PURE__ */ components.AvatarModifierArea(engine);
|
|
14
16
|
/** @public */ export const AvatarShape = /* @__PURE__ */ components.AvatarShape(engine);
|
|
15
17
|
/** @public */ export const Billboard = /* @__PURE__ */ components.Billboard(engine);
|
|
@@ -3,6 +3,7 @@ import { LastWriteWinElementSetComponentDefinition, GrowOnlyValueSetComponentDef
|
|
|
3
3
|
import { PBAnimator } from './pb/decentraland/sdk/components/animator.gen';
|
|
4
4
|
import { PBAssetLoad } from './pb/decentraland/sdk/components/asset_load.gen';
|
|
5
5
|
import { PBAssetLoadLoadingState } from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
|
|
6
|
+
import { PBAudioAnalysis } from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
6
7
|
import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
|
|
7
8
|
import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
|
|
8
9
|
import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -10,6 +11,7 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
|
|
|
10
11
|
import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
11
12
|
import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
12
13
|
import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
14
|
+
import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
13
15
|
import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
14
16
|
import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
15
17
|
import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -58,6 +60,7 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
58
60
|
export * from './pb/decentraland/sdk/components/animator.gen';
|
|
59
61
|
export * from './pb/decentraland/sdk/components/asset_load.gen';
|
|
60
62
|
export * from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
|
|
63
|
+
export * from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
61
64
|
export * from './pb/decentraland/sdk/components/audio_event.gen';
|
|
62
65
|
export * from './pb/decentraland/sdk/components/audio_source.gen';
|
|
63
66
|
export * from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -65,6 +68,7 @@ export * from './pb/decentraland/sdk/components/avatar_attach.gen';
|
|
|
65
68
|
export * from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
66
69
|
export * from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
67
70
|
export * from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
71
|
+
export * from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
68
72
|
export * from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
69
73
|
export * from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
70
74
|
export * from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -115,6 +119,7 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
115
119
|
/** @public */ export declare const Animator: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
116
120
|
/** @public */ export declare const AssetLoad: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
117
121
|
/** @public */ export declare const AssetLoadLoadingState: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
122
|
+
/** @public */ export declare const AudioAnalysis: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
118
123
|
/** @public */ export declare const AudioEvent: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
119
124
|
/** @public */ export declare const AudioSource: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
120
125
|
/** @public */ export declare const AudioStream: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -122,6 +127,7 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
122
127
|
/** @public */ export declare const AvatarBase: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
123
128
|
/** @public */ export declare const AvatarEmoteCommand: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
124
129
|
/** @public */ export declare const AvatarEquippedData: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
130
|
+
/** @public */ export declare const AvatarLocomotionSettings: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
125
131
|
/** @public */ export declare const AvatarModifierArea: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
126
132
|
/** @public */ export declare const AvatarShape: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
127
133
|
/** @public */ export declare const Billboard: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -172,6 +178,7 @@ export declare const componentDefinitionByName: {
|
|
|
172
178
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
173
179
|
"core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
174
180
|
"core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
181
|
+
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
175
182
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
176
183
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
177
184
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -179,6 +186,7 @@ export declare const componentDefinitionByName: {
|
|
|
179
186
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
180
187
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
181
188
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
189
|
+
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
182
190
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
183
191
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
184
192
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AnimatorSchema } from './Animator.gen';
|
|
2
2
|
import { AssetLoadSchema } from './AssetLoad.gen';
|
|
3
3
|
import { AssetLoadLoadingStateSchema } from './AssetLoadLoadingState.gen';
|
|
4
|
+
import { AudioAnalysisSchema } from './AudioAnalysis.gen';
|
|
4
5
|
import { AudioEventSchema } from './AudioEvent.gen';
|
|
5
6
|
import { AudioSourceSchema } from './AudioSource.gen';
|
|
6
7
|
import { AudioStreamSchema } from './AudioStream.gen';
|
|
@@ -8,6 +9,7 @@ import { AvatarAttachSchema } from './AvatarAttach.gen';
|
|
|
8
9
|
import { AvatarBaseSchema } from './AvatarBase.gen';
|
|
9
10
|
import { AvatarEmoteCommandSchema } from './AvatarEmoteCommand.gen';
|
|
10
11
|
import { AvatarEquippedDataSchema } from './AvatarEquippedData.gen';
|
|
12
|
+
import { AvatarLocomotionSettingsSchema } from './AvatarLocomotionSettings.gen';
|
|
11
13
|
import { AvatarModifierAreaSchema } from './AvatarModifierArea.gen';
|
|
12
14
|
import { AvatarShapeSchema } from './AvatarShape.gen';
|
|
13
15
|
import { BillboardSchema } from './Billboard.gen';
|
|
@@ -56,6 +58,7 @@ import { VisibilityComponentSchema } from './VisibilityComponent.gen';
|
|
|
56
58
|
export * from './pb/decentraland/sdk/components/animator.gen';
|
|
57
59
|
export * from './pb/decentraland/sdk/components/asset_load.gen';
|
|
58
60
|
export * from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
|
|
61
|
+
export * from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
59
62
|
export * from './pb/decentraland/sdk/components/audio_event.gen';
|
|
60
63
|
export * from './pb/decentraland/sdk/components/audio_source.gen';
|
|
61
64
|
export * from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -63,6 +66,7 @@ export * from './pb/decentraland/sdk/components/avatar_attach.gen';
|
|
|
63
66
|
export * from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
64
67
|
export * from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
65
68
|
export * from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
69
|
+
export * from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
66
70
|
export * from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
67
71
|
export * from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
68
72
|
export * from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -116,6 +120,8 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
116
120
|
timestampFunction: (t) => t.timestamp,
|
|
117
121
|
maxElements: 100
|
|
118
122
|
});
|
|
123
|
+
/** @public */ export const AudioAnalysis = engine =>
|
|
124
|
+
/* @__PURE__ */ engine.defineComponentFromSchema("core::AudioAnalysis", AudioAnalysisSchema);
|
|
119
125
|
/** @public */ export const AudioEvent = (engine) => /* @__PURE__ */ engine.defineValueSetComponentFromSchema("core::AudioEvent", AudioEventSchema, {
|
|
120
126
|
timestampFunction: (t) => t.timestamp,
|
|
121
127
|
maxElements: 100
|
|
@@ -134,6 +140,8 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
134
140
|
});
|
|
135
141
|
/** @public */ export const AvatarEquippedData = engine =>
|
|
136
142
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarEquippedData", AvatarEquippedDataSchema);
|
|
143
|
+
/** @public */ export const AvatarLocomotionSettings = engine =>
|
|
144
|
+
/* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarLocomotionSettings", AvatarLocomotionSettingsSchema);
|
|
137
145
|
/** @public */ export const AvatarModifierArea = engine =>
|
|
138
146
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarModifierArea", AvatarModifierAreaSchema);
|
|
139
147
|
/** @public */ export const AvatarShape = engine =>
|
|
@@ -235,6 +243,7 @@ export const componentDefinitionByName = /* @__PURE__ */ {
|
|
|
235
243
|
"core::Animator": Animator,
|
|
236
244
|
"core::AssetLoad": AssetLoad,
|
|
237
245
|
"core::AssetLoadLoadingState": AssetLoadLoadingState,
|
|
246
|
+
"core::AudioAnalysis": AudioAnalysis,
|
|
238
247
|
"core::AudioEvent": AudioEvent,
|
|
239
248
|
"core::AudioSource": AudioSource,
|
|
240
249
|
"core::AudioStream": AudioStream,
|
|
@@ -242,6 +251,7 @@ export const componentDefinitionByName = /* @__PURE__ */ {
|
|
|
242
251
|
"core::AvatarBase": AvatarBase,
|
|
243
252
|
"core::AvatarEmoteCommand": AvatarEmoteCommand,
|
|
244
253
|
"core::AvatarEquippedData": AvatarEquippedData,
|
|
254
|
+
"core::AvatarLocomotionSettings": AvatarLocomotionSettings,
|
|
245
255
|
"core::AvatarModifierArea": AvatarModifierArea,
|
|
246
256
|
"core::AvatarShape": AvatarShape,
|
|
247
257
|
"core::Billboard": Billboard,
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export declare const enum PBAudioAnalysisMode {
|
|
6
|
+
MODE_RAW = 0,
|
|
7
|
+
MODE_LOGARITHMIC = 1
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export interface PBAudioAnalysis {
|
|
13
|
+
/** Parameters section */
|
|
14
|
+
mode: PBAudioAnalysisMode;
|
|
15
|
+
/** Used only when mode == MODE_LOGARITHMIC */
|
|
16
|
+
amplitudeGain?: number | undefined;
|
|
17
|
+
/** End when mode == MODE_LOGARITHMIC */
|
|
18
|
+
bandsGain?: number | undefined;
|
|
19
|
+
/** Result section */
|
|
20
|
+
amplitude: number;
|
|
21
|
+
/** Protobuf doesn't support fixed arrays -> 8 band fields */
|
|
22
|
+
band0: number;
|
|
23
|
+
band1: number;
|
|
24
|
+
band2: number;
|
|
25
|
+
band3: number;
|
|
26
|
+
band4: number;
|
|
27
|
+
band5: number;
|
|
28
|
+
band6: number;
|
|
29
|
+
band7: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare namespace PBAudioAnalysis {
|
|
35
|
+
function encode(message: PBAudioAnalysis, writer?: _m0.Writer): _m0.Writer;
|
|
36
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioAnalysis;
|
|
37
|
+
}
|