@dcl/ecs 7.18.2-21458377493.commit-ea4f3b6 → 7.19.1-21526551025.commit-799f37f
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/generated/component-names.gen.js +0 -2
- package/dist/components/generated/global.gen.d.ts +0 -4
- package/dist/components/generated/global.gen.js +0 -2
- package/dist/components/generated/index.gen.d.ts +0 -8
- package/dist/components/generated/index.gen.js +0 -10
- package/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts +1 -2
- package/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.js +0 -1
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +0 -3
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +1 -10
- package/dist/components/index.d.ts +0 -4
- package/dist/components/index.js +0 -3
- package/dist/components/types.d.ts +0 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +0 -1
- package/dist/runtime/globals.d.ts +4 -0
- package/dist/runtime/globals.js +18 -0
- package/dist/runtime/initialization/index.js +5 -4
- package/dist/systems/tween.js +2 -1
- package/dist-cjs/components/generated/component-names.gen.js +0 -2
- package/dist-cjs/components/generated/global.gen.d.ts +0 -4
- package/dist-cjs/components/generated/global.gen.js +1 -3
- package/dist-cjs/components/generated/index.gen.d.ts +0 -8
- package/dist-cjs/components/generated/index.gen.js +2 -14
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts +1 -2
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/common/input_action.gen.js +0 -1
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +0 -3
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +1 -10
- package/dist-cjs/components/index.d.ts +0 -4
- package/dist-cjs/components/index.js +1 -5
- package/dist-cjs/components/types.d.ts +0 -1
- package/dist-cjs/index.d.ts +1 -2
- package/dist-cjs/index.js +1 -2
- package/dist-cjs/runtime/globals.d.ts +4 -0
- package/dist-cjs/runtime/globals.js +23 -0
- package/dist-cjs/runtime/initialization/index.js +5 -4
- package/dist-cjs/systems/tween.js +2 -1
- package/package.json +2 -2
- package/dist/components/extended/AudioAnalysis.d.ts +0 -55
- package/dist/components/extended/AudioAnalysis.js +0 -66
- package/dist/components/generated/AudioAnalysis.gen.d.ts +0 -1
- package/dist/components/generated/AudioAnalysis.gen.js +0 -25
- package/dist/components/generated/AvatarLocomotionSettings.gen.d.ts +0 -1
- package/dist/components/generated/AvatarLocomotionSettings.gen.js +0 -25
- package/dist/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.d.ts +0 -37
- package/dist/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.js +0 -161
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -29
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -93
- package/dist-cjs/components/extended/AudioAnalysis.d.ts +0 -55
- package/dist-cjs/components/extended/AudioAnalysis.js +0 -70
- package/dist-cjs/components/generated/AudioAnalysis.gen.d.ts +0 -1
- package/dist-cjs/components/generated/AudioAnalysis.gen.js +0 -28
- package/dist-cjs/components/generated/AvatarLocomotionSettings.gen.d.ts +0 -1
- package/dist-cjs/components/generated/AvatarLocomotionSettings.gen.js +0 -28
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.d.ts +0 -37
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/audio_analysis.gen.js +0 -167
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -29
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -99
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
export const coreComponentMappings = {
|
|
5
5
|
"core::Transform": 1,
|
|
6
6
|
"core::Animator": 1042,
|
|
7
|
-
"core::AudioAnalysis": 1212,
|
|
8
7
|
"core::AudioEvent": 1105,
|
|
9
8
|
"core::AudioSource": 1020,
|
|
10
9
|
"core::AudioStream": 1021,
|
|
@@ -12,7 +11,6 @@ export const coreComponentMappings = {
|
|
|
12
11
|
"core::AvatarBase": 1087,
|
|
13
12
|
"core::AvatarEmoteCommand": 1088,
|
|
14
13
|
"core::AvatarEquippedData": 1091,
|
|
15
|
-
"core::AvatarLocomotionSettings": 1211,
|
|
16
14
|
"core::AvatarModifierArea": 1070,
|
|
17
15
|
"core::AvatarShape": 1080,
|
|
18
16
|
"core::Billboard": 1090,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { LastWriteWinElementSetComponentDefinition, GrowOnlyValueSetComponentDefinition } from '../../engine/component';
|
|
2
2
|
export * from './index.gen';
|
|
3
|
-
import { PBAudioAnalysis } from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
4
3
|
import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
|
|
5
4
|
import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
|
|
6
5
|
import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -8,7 +7,6 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
|
|
|
8
7
|
import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
9
8
|
import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
10
9
|
import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
11
|
-
import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
12
10
|
import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
13
11
|
import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
14
12
|
import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -48,7 +46,6 @@ import { PBVideoEvent } from './pb/decentraland/sdk/components/video_event.gen';
|
|
|
48
46
|
import { PBVideoPlayer } from './pb/decentraland/sdk/components/video_player.gen';
|
|
49
47
|
import { PBVirtualCamera } from './pb/decentraland/sdk/components/virtual_camera.gen';
|
|
50
48
|
import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
51
|
-
/** @public */ export declare const AudioAnalysis: LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>;
|
|
52
49
|
/** @public */ export declare const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
|
|
53
50
|
/** @public */ export declare const AudioSource: LastWriteWinElementSetComponentDefinition<PBAudioSource>;
|
|
54
51
|
/** @public */ export declare const AudioStream: LastWriteWinElementSetComponentDefinition<PBAudioStream>;
|
|
@@ -56,7 +53,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
56
53
|
/** @public */ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
57
54
|
/** @public */ export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
58
55
|
/** @public */ export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
59
|
-
/** @public */ export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
60
56
|
/** @public */ export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
61
57
|
/** @public */ export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
62
58
|
/** @public */ export declare const Billboard: LastWriteWinElementSetComponentDefinition<PBBillboard>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { engine } from '../../runtime/initialization';
|
|
2
2
|
import * as components from './index.gen';
|
|
3
3
|
export * from './index.gen';
|
|
4
|
-
/** @public */ export const AudioAnalysis = /* @__PURE__ */ components.AudioAnalysis(engine);
|
|
5
4
|
/** @public */ export const AudioEvent = /* @__PURE__ */ components.AudioEvent(engine);
|
|
6
5
|
/** @public */ export const AudioSource = /* @__PURE__ */ components.AudioSource(engine);
|
|
7
6
|
/** @public */ export const AudioStream = /* @__PURE__ */ components.AudioStream(engine);
|
|
@@ -9,7 +8,6 @@ export * from './index.gen';
|
|
|
9
8
|
/** @public */ export const AvatarBase = /* @__PURE__ */ components.AvatarBase(engine);
|
|
10
9
|
/** @public */ export const AvatarEmoteCommand = /* @__PURE__ */ components.AvatarEmoteCommand(engine);
|
|
11
10
|
/** @public */ export const AvatarEquippedData = /* @__PURE__ */ components.AvatarEquippedData(engine);
|
|
12
|
-
/** @public */ export const AvatarLocomotionSettings = /* @__PURE__ */ components.AvatarLocomotionSettings(engine);
|
|
13
11
|
/** @public */ export const AvatarModifierArea = /* @__PURE__ */ components.AvatarModifierArea(engine);
|
|
14
12
|
/** @public */ export const AvatarShape = /* @__PURE__ */ components.AvatarShape(engine);
|
|
15
13
|
/** @public */ export const Billboard = /* @__PURE__ */ components.Billboard(engine);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { IEngine } from '../../engine/types';
|
|
2
2
|
import { LastWriteWinElementSetComponentDefinition, GrowOnlyValueSetComponentDefinition } from '../../engine/component';
|
|
3
3
|
import { PBAnimator } from './pb/decentraland/sdk/components/animator.gen';
|
|
4
|
-
import { PBAudioAnalysis } from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
5
4
|
import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
|
|
6
5
|
import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
|
|
7
6
|
import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -9,7 +8,6 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
|
|
|
9
8
|
import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
10
9
|
import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
11
10
|
import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
12
|
-
import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
13
11
|
import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
14
12
|
import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
15
13
|
import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -54,7 +52,6 @@ import { PBVideoPlayer } from './pb/decentraland/sdk/components/video_player.gen
|
|
|
54
52
|
import { PBVirtualCamera } from './pb/decentraland/sdk/components/virtual_camera.gen';
|
|
55
53
|
import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
56
54
|
export * from './pb/decentraland/sdk/components/animator.gen';
|
|
57
|
-
export * from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
58
55
|
export * from './pb/decentraland/sdk/components/audio_event.gen';
|
|
59
56
|
export * from './pb/decentraland/sdk/components/audio_source.gen';
|
|
60
57
|
export * from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -62,7 +59,6 @@ export * from './pb/decentraland/sdk/components/avatar_attach.gen';
|
|
|
62
59
|
export * from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
63
60
|
export * from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
64
61
|
export * from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
65
|
-
export * from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
66
62
|
export * from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
67
63
|
export * from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
68
64
|
export * from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -109,7 +105,6 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
109
105
|
export type LwwComponentGetter<T extends LastWriteWinElementSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineComponentFromSchema'>) => T;
|
|
110
106
|
export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
|
|
111
107
|
/** @public */ export declare const Animator: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
112
|
-
/** @public */ export declare const AudioAnalysis: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
113
108
|
/** @public */ export declare const AudioEvent: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
114
109
|
/** @public */ export declare const AudioSource: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
115
110
|
/** @public */ export declare const AudioStream: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -117,7 +112,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
117
112
|
/** @public */ export declare const AvatarBase: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
118
113
|
/** @public */ export declare const AvatarEmoteCommand: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
119
114
|
/** @public */ export declare const AvatarEquippedData: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
120
|
-
/** @public */ export declare const AvatarLocomotionSettings: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
121
115
|
/** @public */ export declare const AvatarModifierArea: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
122
116
|
/** @public */ export declare const AvatarShape: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
123
117
|
/** @public */ export declare const Billboard: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -164,7 +158,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
164
158
|
/** public */
|
|
165
159
|
export declare const componentDefinitionByName: {
|
|
166
160
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
167
|
-
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
168
161
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
169
162
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
170
163
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -172,7 +165,6 @@ export declare const componentDefinitionByName: {
|
|
|
172
165
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
173
166
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
174
167
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
175
|
-
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
176
168
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
177
169
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
178
170
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AnimatorSchema } from './Animator.gen';
|
|
2
|
-
import { AudioAnalysisSchema } from './AudioAnalysis.gen';
|
|
3
2
|
import { AudioEventSchema } from './AudioEvent.gen';
|
|
4
3
|
import { AudioSourceSchema } from './AudioSource.gen';
|
|
5
4
|
import { AudioStreamSchema } from './AudioStream.gen';
|
|
@@ -7,7 +6,6 @@ import { AvatarAttachSchema } from './AvatarAttach.gen';
|
|
|
7
6
|
import { AvatarBaseSchema } from './AvatarBase.gen';
|
|
8
7
|
import { AvatarEmoteCommandSchema } from './AvatarEmoteCommand.gen';
|
|
9
8
|
import { AvatarEquippedDataSchema } from './AvatarEquippedData.gen';
|
|
10
|
-
import { AvatarLocomotionSettingsSchema } from './AvatarLocomotionSettings.gen';
|
|
11
9
|
import { AvatarModifierAreaSchema } from './AvatarModifierArea.gen';
|
|
12
10
|
import { AvatarShapeSchema } from './AvatarShape.gen';
|
|
13
11
|
import { BillboardSchema } from './Billboard.gen';
|
|
@@ -52,7 +50,6 @@ import { VideoPlayerSchema } from './VideoPlayer.gen';
|
|
|
52
50
|
import { VirtualCameraSchema } from './VirtualCamera.gen';
|
|
53
51
|
import { VisibilityComponentSchema } from './VisibilityComponent.gen';
|
|
54
52
|
export * from './pb/decentraland/sdk/components/animator.gen';
|
|
55
|
-
export * from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
56
53
|
export * from './pb/decentraland/sdk/components/audio_event.gen';
|
|
57
54
|
export * from './pb/decentraland/sdk/components/audio_source.gen';
|
|
58
55
|
export * from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -60,7 +57,6 @@ export * from './pb/decentraland/sdk/components/avatar_attach.gen';
|
|
|
60
57
|
export * from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
61
58
|
export * from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
62
59
|
export * from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
63
|
-
export * from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
64
60
|
export * from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
65
61
|
export * from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
66
62
|
export * from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -106,8 +102,6 @@ export * from './pb/decentraland/sdk/components/virtual_camera.gen';
|
|
|
106
102
|
export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
107
103
|
/** @public */ export const Animator = engine =>
|
|
108
104
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::Animator", AnimatorSchema);
|
|
109
|
-
/** @public */ export const AudioAnalysis = engine =>
|
|
110
|
-
/* @__PURE__ */ engine.defineComponentFromSchema("core::AudioAnalysis", AudioAnalysisSchema);
|
|
111
105
|
/** @public */ export const AudioEvent = (engine) => /* @__PURE__ */ engine.defineValueSetComponentFromSchema("core::AudioEvent", AudioEventSchema, {
|
|
112
106
|
timestampFunction: (t) => t.timestamp,
|
|
113
107
|
maxElements: 100
|
|
@@ -126,8 +120,6 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
126
120
|
});
|
|
127
121
|
/** @public */ export const AvatarEquippedData = engine =>
|
|
128
122
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarEquippedData", AvatarEquippedDataSchema);
|
|
129
|
-
/** @public */ export const AvatarLocomotionSettings = engine =>
|
|
130
|
-
/* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarLocomotionSettings", AvatarLocomotionSettingsSchema);
|
|
131
123
|
/** @public */ export const AvatarModifierArea = engine =>
|
|
132
124
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarModifierArea", AvatarModifierAreaSchema);
|
|
133
125
|
/** @public */ export const AvatarShape = engine =>
|
|
@@ -223,7 +215,6 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
223
215
|
/** public */
|
|
224
216
|
export const componentDefinitionByName = /* @__PURE__ */ {
|
|
225
217
|
"core::Animator": Animator,
|
|
226
|
-
"core::AudioAnalysis": AudioAnalysis,
|
|
227
218
|
"core::AudioEvent": AudioEvent,
|
|
228
219
|
"core::AudioSource": AudioSource,
|
|
229
220
|
"core::AudioStream": AudioStream,
|
|
@@ -231,7 +222,6 @@ export const componentDefinitionByName = /* @__PURE__ */ {
|
|
|
231
222
|
"core::AvatarBase": AvatarBase,
|
|
232
223
|
"core::AvatarEmoteCommand": AvatarEmoteCommand,
|
|
233
224
|
"core::AvatarEquippedData": AvatarEquippedData,
|
|
234
|
-
"core::AvatarLocomotionSettings": AvatarLocomotionSettings,
|
|
235
225
|
"core::AvatarModifierArea": AvatarModifierArea,
|
|
236
226
|
"core::AvatarShape": AvatarShape,
|
|
237
227
|
"core::Billboard": Billboard,
|
|
@@ -19,7 +19,6 @@ export var InputAction;
|
|
|
19
19
|
InputAction[InputAction["IA_ACTION_4"] = 11] = "IA_ACTION_4";
|
|
20
20
|
InputAction[InputAction["IA_ACTION_5"] = 12] = "IA_ACTION_5";
|
|
21
21
|
InputAction[InputAction["IA_ACTION_6"] = 13] = "IA_ACTION_6";
|
|
22
|
-
InputAction[InputAction["IA_MODIFIER"] = 14] = "IA_MODIFIER";
|
|
23
22
|
})(InputAction || (InputAction = {}));
|
|
24
23
|
/** PointerEventType is a kind of interaction that can be detected. */
|
|
25
24
|
/**
|
|
@@ -6,7 +6,6 @@ import { CameraTransition } from "./common/camera_transition.gen";
|
|
|
6
6
|
* an 'instant' transition (like using speed/time = 0)
|
|
7
7
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
8
8
|
* the holding entity transform).
|
|
9
|
-
* * The fov defines the Field of View of the virtual camera
|
|
10
9
|
*/
|
|
11
10
|
/**
|
|
12
11
|
* @public
|
|
@@ -14,8 +13,6 @@ import { CameraTransition } from "./common/camera_transition.gen";
|
|
|
14
13
|
export interface PBVirtualCamera {
|
|
15
14
|
defaultTransition?: CameraTransition | undefined;
|
|
16
15
|
lookAtEntity?: number | undefined;
|
|
17
|
-
/** default: 60 */
|
|
18
|
-
fov?: number | undefined;
|
|
19
16
|
}
|
|
20
17
|
/**
|
|
21
18
|
* @public
|
|
@@ -3,7 +3,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
3
3
|
import { CameraTransition } from "./common/camera_transition.gen";
|
|
4
4
|
const protobufPackageSarasa = "decentraland.sdk.components";
|
|
5
5
|
function createBasePBVirtualCamera() {
|
|
6
|
-
return { defaultTransition: undefined, lookAtEntity: undefined
|
|
6
|
+
return { defaultTransition: undefined, lookAtEntity: undefined };
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -17,9 +17,6 @@ export var PBVirtualCamera;
|
|
|
17
17
|
if (message.lookAtEntity !== undefined) {
|
|
18
18
|
writer.uint32(16).uint32(message.lookAtEntity);
|
|
19
19
|
}
|
|
20
|
-
if (message.fov !== undefined) {
|
|
21
|
-
writer.uint32(29).float(message.fov);
|
|
22
|
-
}
|
|
23
20
|
return writer;
|
|
24
21
|
}
|
|
25
22
|
PBVirtualCamera.encode = encode;
|
|
@@ -42,12 +39,6 @@ export var PBVirtualCamera;
|
|
|
42
39
|
}
|
|
43
40
|
message.lookAtEntity = reader.uint32();
|
|
44
41
|
continue;
|
|
45
|
-
case 3:
|
|
46
|
-
if (tag !== 29) {
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
|
-
message.fov = reader.float();
|
|
50
|
-
continue;
|
|
51
42
|
}
|
|
52
43
|
if ((tag & 7) === 4 || tag === 0) {
|
|
53
44
|
break;
|
|
@@ -2,8 +2,6 @@ import { GrowOnlyValueSetComponentDefinition, LastWriteWinElementSetComponentDef
|
|
|
2
2
|
import { IEngine } from '../engine/types';
|
|
3
3
|
import { AnimatorComponentDefinitionExtended } from './extended/Animator';
|
|
4
4
|
import { AudioSourceComponentDefinitionExtended } from './extended/AudioSource';
|
|
5
|
-
import { AudioAnalysisComponentDefinitionExtended } from './extended/AudioAnalysis';
|
|
6
|
-
import type { AudioAnalysisView } from './extended/AudioAnalysis';
|
|
7
5
|
import { MaterialComponentDefinitionExtended } from './extended/Material';
|
|
8
6
|
import { MeshColliderComponentDefinitionExtended } from './extended/MeshCollider';
|
|
9
7
|
import { MeshRendererComponentDefinitionExtended } from './extended/MeshRenderer';
|
|
@@ -27,7 +25,6 @@ export declare const Transform: LwwComponentGetter<TransformComponentExtended>;
|
|
|
27
25
|
export declare const Material: LwwComponentGetter<MaterialComponentDefinitionExtended>;
|
|
28
26
|
export declare const Animator: LwwComponentGetter<AnimatorComponentDefinitionExtended>;
|
|
29
27
|
export declare const AudioSource: LwwComponentGetter<AudioSourceComponentDefinitionExtended>;
|
|
30
|
-
export declare const AudioAnalysis: LwwComponentGetter<AudioAnalysisComponentDefinitionExtended>;
|
|
31
28
|
export declare const AudioStream: (engine: Pick<IEngine, 'defineComponentFromSchema' | 'defineValueSetComponentFromSchema'>) => AudioStreamComponentDefinitionExtended;
|
|
32
29
|
export declare const MeshRenderer: LwwComponentGetter<MeshRendererComponentDefinitionExtended>;
|
|
33
30
|
export declare const MeshCollider: LwwComponentGetter<MeshColliderComponentDefinitionExtended>;
|
|
@@ -54,4 +51,3 @@ export declare const NetworkEntity: (engine: Pick<IEngine, 'defineComponent'>) =
|
|
|
54
51
|
*/
|
|
55
52
|
export declare const NetworkParent: (engine: Pick<IEngine, 'defineComponent'>) => LastWriteWinElementSetComponentDefinition<INetowrkParentType>;
|
|
56
53
|
export { MediaState };
|
|
57
|
-
export type { AudioAnalysisView };
|
package/dist/components/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { defineAnimatorComponent } from './extended/Animator';
|
|
2
2
|
import { defineAudioSourceComponent } from './extended/AudioSource';
|
|
3
|
-
import { defineAudioAnalysisComponent } from './extended/AudioAnalysis';
|
|
4
3
|
import { defineMaterialComponent } from './extended/Material';
|
|
5
4
|
import { defineMeshColliderComponent } from './extended/MeshCollider';
|
|
6
5
|
import { defineMeshRendererComponent } from './extended/MeshRenderer';
|
|
@@ -27,8 +26,6 @@ export const Animator = (engine) => defineAnimatorComponent(engine);
|
|
|
27
26
|
/* @__PURE__ */
|
|
28
27
|
export const AudioSource = (engine) => defineAudioSourceComponent(engine);
|
|
29
28
|
/* @__PURE__ */
|
|
30
|
-
export const AudioAnalysis = (engine) => defineAudioAnalysisComponent(engine);
|
|
31
|
-
/* @__PURE__ */
|
|
32
29
|
export const AudioStream = (engine) => defineAudioStreamComponent(engine);
|
|
33
30
|
/* @__PURE__ */
|
|
34
31
|
export const MeshRenderer = (engine) => defineMeshRendererComponent(engine);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export type { AnimatorComponentDefinitionExtended } from './extended/Animator';
|
|
2
2
|
export type { AudioSourceComponentDefinitionExtended } from './extended/AudioSource';
|
|
3
|
-
export type { AudioAnalysisComponentDefinitionExtended, AudioAnalysisView } from './extended/AudioAnalysis';
|
|
4
3
|
export type { AudioStreamComponentDefinitionExtended } from './extended/AudioStream';
|
|
5
4
|
export type { MeshRendererComponentDefinitionExtended } from './extended/MeshRenderer';
|
|
6
5
|
export type { MeshColliderComponentDefinitionExtended } from './extended/MeshCollider';
|
package/dist/index.d.ts
CHANGED
|
@@ -12,13 +12,12 @@ export * from './systems/tween';
|
|
|
12
12
|
export * from './systems/triggerArea';
|
|
13
13
|
export * from './engine/entity';
|
|
14
14
|
export * from './components/types';
|
|
15
|
-
import { MaterialComponentDefinitionExtended, MeshColliderComponentDefinitionExtended, MeshRendererComponentDefinitionExtended, TransformComponentExtended, AnimatorComponentDefinitionExtended, AudioSourceComponentDefinitionExtended,
|
|
15
|
+
import { MaterialComponentDefinitionExtended, MeshColliderComponentDefinitionExtended, MeshRendererComponentDefinitionExtended, TransformComponentExtended, AnimatorComponentDefinitionExtended, AudioSourceComponentDefinitionExtended, AudioStreamComponentDefinitionExtended, ISyncComponents, TweenComponentDefinitionExtended, INetowrkEntity, INetowrkParent, VirtualCameraComponentDefinitionExtended, InputModifierComponentDefinitionExtended, LightSourceComponentDefinitionExtended, TriggerAreaComponentDefinitionExtended } from './components/types';
|
|
16
16
|
import { NameComponent } from './components/manual/Name';
|
|
17
17
|
import { TagsComponentDefinitionExtended } from './components/manual/Tags';
|
|
18
18
|
export declare const Transform: TransformComponentExtended;
|
|
19
19
|
export declare const Animator: AnimatorComponentDefinitionExtended;
|
|
20
20
|
export declare const AudioSource: AudioSourceComponentDefinitionExtended;
|
|
21
|
-
export declare const AudioAnalysis: AudioAnalysisComponentDefinitionExtended;
|
|
22
21
|
export declare const AudioStream: AudioStreamComponentDefinitionExtended;
|
|
23
22
|
export declare const Material: MaterialComponentDefinitionExtended;
|
|
24
23
|
export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,6 @@ import { engine } from './runtime/initialization';
|
|
|
22
22
|
export const Transform = /* @__PURE__*/ components.Transform(engine);
|
|
23
23
|
export const Animator = /* @__PURE__*/ components.Animator(engine);
|
|
24
24
|
export const AudioSource = /* @__PURE__*/ components.AudioSource(engine);
|
|
25
|
-
export const AudioAnalysis = /* @__PURE__*/ components.AudioAnalysis(engine);
|
|
26
25
|
export const AudioStream = /* @__PURE__*/ components.AudioStream(engine);
|
|
27
26
|
export const Material = /* @__PURE__*/ components.Material(engine);
|
|
28
27
|
export const MeshRenderer = /* @__PURE__*/ components.MeshRenderer(engine);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Internal utilities for standardized globalThis access.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Type-safe globalThis property access.
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export function getGlobal(key) {
|
|
9
|
+
return globalThis[key];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Sets a globalThis property as a polyfill (only if undefined/null).
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export function setGlobalPolyfill(key, value) {
|
|
16
|
+
;
|
|
17
|
+
globalThis[key] = globalThis[key] ?? value;
|
|
18
|
+
}
|
|
@@ -12,6 +12,7 @@ import { createTweenSystem } from '../../systems/tween';
|
|
|
12
12
|
import { pointerEventColliderChecker } from '../../systems/pointer-event-collider-checker';
|
|
13
13
|
import { createTriggerAreaEventsSystem } from '../../systems/triggerArea';
|
|
14
14
|
import { createTimers } from '../helpers/timers';
|
|
15
|
+
import { setGlobalPolyfill } from '../globals';
|
|
15
16
|
/**
|
|
16
17
|
* @public
|
|
17
18
|
* The engine is the part of the scene that sits in the middle and manages all of the other parts.
|
|
@@ -65,10 +66,10 @@ export const triggerAreaEventsSystem = /* @__PURE__ */ createTriggerAreaEventsSy
|
|
|
65
66
|
*/
|
|
66
67
|
export const timers = /* @__PURE__ */ createTimers(engine);
|
|
67
68
|
export { createTimers };
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
setGlobalPolyfill('setTimeout', timers.setTimeout);
|
|
70
|
+
setGlobalPolyfill('clearTimeout', timers.clearTimeout);
|
|
71
|
+
setGlobalPolyfill('setInterval', timers.setInterval);
|
|
72
|
+
setGlobalPolyfill('clearInterval', timers.clearInterval);
|
|
72
73
|
/**
|
|
73
74
|
* Adds pointer event collider system only in DEV env
|
|
74
75
|
*/
|
package/dist/systems/tween.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as components from '../components';
|
|
2
2
|
import { ReadWriteByteBuffer } from '../serialization/ByteBuffer';
|
|
3
3
|
import { dataCompare } from './crdt/utils';
|
|
4
|
+
import { getGlobal } from '../runtime/globals';
|
|
4
5
|
/**
|
|
5
6
|
* Avoid creating multiple tween systems
|
|
6
7
|
*/
|
|
@@ -147,7 +148,7 @@ export function createTweenSystem(engine) {
|
|
|
147
148
|
}, Number.NEGATIVE_INFINITY);
|
|
148
149
|
}
|
|
149
150
|
// Some Explorers may not inject the flag and TweenSequence logic must be enabled in that case
|
|
150
|
-
const enableTweenSequenceLogic =
|
|
151
|
+
const enableTweenSequenceLogic = getGlobal('ENABLE_SDK_TWEEN_SEQUENCE');
|
|
151
152
|
if (enableTweenSequenceLogic !== false)
|
|
152
153
|
initializeTweenSequenceSystem();
|
|
153
154
|
const tweenSystem = {
|
|
@@ -7,7 +7,6 @@ exports.coreComponentMappings = void 0;
|
|
|
7
7
|
exports.coreComponentMappings = {
|
|
8
8
|
"core::Transform": 1,
|
|
9
9
|
"core::Animator": 1042,
|
|
10
|
-
"core::AudioAnalysis": 1212,
|
|
11
10
|
"core::AudioEvent": 1105,
|
|
12
11
|
"core::AudioSource": 1020,
|
|
13
12
|
"core::AudioStream": 1021,
|
|
@@ -15,7 +14,6 @@ exports.coreComponentMappings = {
|
|
|
15
14
|
"core::AvatarBase": 1087,
|
|
16
15
|
"core::AvatarEmoteCommand": 1088,
|
|
17
16
|
"core::AvatarEquippedData": 1091,
|
|
18
|
-
"core::AvatarLocomotionSettings": 1211,
|
|
19
17
|
"core::AvatarModifierArea": 1070,
|
|
20
18
|
"core::AvatarShape": 1080,
|
|
21
19
|
"core::Billboard": 1090,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { LastWriteWinElementSetComponentDefinition, GrowOnlyValueSetComponentDefinition } from '../../engine/component';
|
|
2
2
|
export * from './index.gen';
|
|
3
|
-
import { PBAudioAnalysis } from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
4
3
|
import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
|
|
5
4
|
import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
|
|
6
5
|
import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -8,7 +7,6 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
|
|
|
8
7
|
import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
9
8
|
import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
10
9
|
import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
11
|
-
import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
12
10
|
import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
13
11
|
import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
14
12
|
import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -48,7 +46,6 @@ import { PBVideoEvent } from './pb/decentraland/sdk/components/video_event.gen';
|
|
|
48
46
|
import { PBVideoPlayer } from './pb/decentraland/sdk/components/video_player.gen';
|
|
49
47
|
import { PBVirtualCamera } from './pb/decentraland/sdk/components/virtual_camera.gen';
|
|
50
48
|
import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
51
|
-
/** @public */ export declare const AudioAnalysis: LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>;
|
|
52
49
|
/** @public */ export declare const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
|
|
53
50
|
/** @public */ export declare const AudioSource: LastWriteWinElementSetComponentDefinition<PBAudioSource>;
|
|
54
51
|
/** @public */ export declare const AudioStream: LastWriteWinElementSetComponentDefinition<PBAudioStream>;
|
|
@@ -56,7 +53,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
56
53
|
/** @public */ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
57
54
|
/** @public */ export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
58
55
|
/** @public */ export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
59
|
-
/** @public */ export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
60
56
|
/** @public */ export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
61
57
|
/** @public */ export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
62
58
|
/** @public */ export declare const Billboard: LastWriteWinElementSetComponentDefinition<PBBillboard>;
|
|
@@ -26,11 +26,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.VisibilityComponent = exports.VirtualCamera = exports.VideoPlayer = exports.VideoEvent = exports.UiTransform = exports.UiText = exports.UiInputResult = exports.UiInput = exports.UiDropdownResult = exports.UiDropdown = exports.UiCanvasInformation = exports.UiBackground = exports.TweenState = exports.TweenSequence = exports.TriggerAreaResult = exports.TriggerArea = exports.TextShape = exports.SkyboxTime = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MainCamera = exports.LightSource = exports.InputModifier = exports.GltfNodeModifiers = exports.GltfContainerLoadingState = exports.GltfContainer = exports.EngineInfo = exports.CameraModeArea = exports.CameraMode = exports.Billboard = exports.AvatarShape = exports.AvatarModifierArea = exports.
|
|
29
|
+
exports.VisibilityComponent = exports.VirtualCamera = exports.VideoPlayer = exports.VideoEvent = exports.UiTransform = exports.UiText = exports.UiInputResult = exports.UiInput = exports.UiDropdownResult = exports.UiDropdown = exports.UiCanvasInformation = exports.UiBackground = exports.TweenState = exports.TweenSequence = exports.TriggerAreaResult = exports.TriggerArea = exports.TextShape = exports.SkyboxTime = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MainCamera = exports.LightSource = exports.InputModifier = exports.GltfNodeModifiers = exports.GltfContainerLoadingState = exports.GltfContainer = exports.EngineInfo = exports.CameraModeArea = exports.CameraMode = exports.Billboard = exports.AvatarShape = exports.AvatarModifierArea = exports.AvatarEquippedData = exports.AvatarEmoteCommand = exports.AvatarBase = exports.AvatarAttach = exports.AudioStream = exports.AudioSource = exports.AudioEvent = void 0;
|
|
30
30
|
const initialization_1 = require("../../runtime/initialization");
|
|
31
31
|
const components = __importStar(require("./index.gen"));
|
|
32
32
|
__exportStar(require("./index.gen"), exports);
|
|
33
|
-
/** @public */ exports.AudioAnalysis = components.AudioAnalysis(initialization_1.engine);
|
|
34
33
|
/** @public */ exports.AudioEvent = components.AudioEvent(initialization_1.engine);
|
|
35
34
|
/** @public */ exports.AudioSource = components.AudioSource(initialization_1.engine);
|
|
36
35
|
/** @public */ exports.AudioStream = components.AudioStream(initialization_1.engine);
|
|
@@ -38,7 +37,6 @@ __exportStar(require("./index.gen"), exports);
|
|
|
38
37
|
/** @public */ exports.AvatarBase = components.AvatarBase(initialization_1.engine);
|
|
39
38
|
/** @public */ exports.AvatarEmoteCommand = components.AvatarEmoteCommand(initialization_1.engine);
|
|
40
39
|
/** @public */ exports.AvatarEquippedData = components.AvatarEquippedData(initialization_1.engine);
|
|
41
|
-
/** @public */ exports.AvatarLocomotionSettings = components.AvatarLocomotionSettings(initialization_1.engine);
|
|
42
40
|
/** @public */ exports.AvatarModifierArea = components.AvatarModifierArea(initialization_1.engine);
|
|
43
41
|
/** @public */ exports.AvatarShape = components.AvatarShape(initialization_1.engine);
|
|
44
42
|
/** @public */ exports.Billboard = components.Billboard(initialization_1.engine);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { IEngine } from '../../engine/types';
|
|
2
2
|
import { LastWriteWinElementSetComponentDefinition, GrowOnlyValueSetComponentDefinition } from '../../engine/component';
|
|
3
3
|
import { PBAnimator } from './pb/decentraland/sdk/components/animator.gen';
|
|
4
|
-
import { PBAudioAnalysis } from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
5
4
|
import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
|
|
6
5
|
import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
|
|
7
6
|
import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -9,7 +8,6 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
|
|
|
9
8
|
import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
10
9
|
import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
11
10
|
import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
12
|
-
import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
13
11
|
import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
14
12
|
import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
15
13
|
import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -54,7 +52,6 @@ import { PBVideoPlayer } from './pb/decentraland/sdk/components/video_player.gen
|
|
|
54
52
|
import { PBVirtualCamera } from './pb/decentraland/sdk/components/virtual_camera.gen';
|
|
55
53
|
import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
56
54
|
export * from './pb/decentraland/sdk/components/animator.gen';
|
|
57
|
-
export * from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
58
55
|
export * from './pb/decentraland/sdk/components/audio_event.gen';
|
|
59
56
|
export * from './pb/decentraland/sdk/components/audio_source.gen';
|
|
60
57
|
export * from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -62,7 +59,6 @@ export * from './pb/decentraland/sdk/components/avatar_attach.gen';
|
|
|
62
59
|
export * from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
63
60
|
export * from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
64
61
|
export * from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
65
|
-
export * from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
66
62
|
export * from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
67
63
|
export * from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
68
64
|
export * from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -109,7 +105,6 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
109
105
|
export type LwwComponentGetter<T extends LastWriteWinElementSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineComponentFromSchema'>) => T;
|
|
110
106
|
export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineValueSetComponentFromSchema'>) => T;
|
|
111
107
|
/** @public */ export declare const Animator: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
112
|
-
/** @public */ export declare const AudioAnalysis: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
113
108
|
/** @public */ export declare const AudioEvent: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
114
109
|
/** @public */ export declare const AudioSource: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
115
110
|
/** @public */ export declare const AudioStream: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -117,7 +112,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
117
112
|
/** @public */ export declare const AvatarBase: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
118
113
|
/** @public */ export declare const AvatarEmoteCommand: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
119
114
|
/** @public */ export declare const AvatarEquippedData: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
120
|
-
/** @public */ export declare const AvatarLocomotionSettings: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
121
115
|
/** @public */ export declare const AvatarModifierArea: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
122
116
|
/** @public */ export declare const AvatarShape: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
123
117
|
/** @public */ export declare const Billboard: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -164,7 +158,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
164
158
|
/** public */
|
|
165
159
|
export declare const componentDefinitionByName: {
|
|
166
160
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
167
|
-
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
168
161
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
169
162
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
170
163
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -172,7 +165,6 @@ export declare const componentDefinitionByName: {
|
|
|
172
165
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
173
166
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
174
167
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
175
|
-
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
176
168
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
177
169
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
178
170
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|