@dcl/ecs 7.22.4-24525731607.commit-cda77a9 → 7.22.5-24776890516.commit-b10e9ab
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 -3
- package/dist/components/generated/global.gen.d.ts +0 -6
- package/dist/components/generated/global.gen.js +0 -3
- package/dist/components/generated/index.gen.d.ts +0 -12
- package/dist/components/generated/index.gen.js +0 -15
- package/dist/components/generated/pb/decentraland/common/colors.gen.d.ts +0 -15
- package/dist/components/generated/pb/decentraland/common/colors.gen.js +0 -47
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -8
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.js +0 -9
- package/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts +2 -12
- package/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.js +0 -11
- package/dist/components/generated/pb/decentraland/sdk/components/pointer_events.gen.d.ts +1 -5
- package/dist/components/generated/pb/decentraland/sdk/components/pointer_events.gen.js +1 -20
- 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/generated/types.gen.d.ts +0 -2
- package/dist/components/generated/types.gen.js +0 -3
- package/dist/components/index.d.ts +5 -6
- package/dist/components/index.js +5 -8
- package/dist/components/manual/CreatedBy.d.ts +9 -0
- package/dist/components/manual/CreatedBy.js +8 -0
- package/dist/components/manual/Transform.d.ts +9 -13
- package/dist/components/manual/Transform.js +3 -11
- package/dist/components/types.d.ts +1 -2
- package/dist/engine/component.d.ts +52 -1
- package/dist/engine/grow-only-value-set-component-definition.js +45 -2
- package/dist/engine/lww-element-set-component-definition.d.ts +5 -3
- package/dist/engine/lww-element-set-component-definition.js +70 -35
- package/dist/index.d.ts +2 -4
- package/dist/index.js +1 -4
- package/dist/runtime/helpers/index.d.ts +0 -1
- package/dist/runtime/helpers/index.js +0 -1
- package/dist/runtime/helpers/tree.d.ts +0 -6
- package/dist/runtime/helpers/tree.js +2 -2
- package/dist/runtime/initialization/index.d.ts +0 -7
- package/dist/runtime/initialization/index.js +0 -6
- package/dist/serialization/crdt/authoritativePutComponent.d.ts +15 -0
- package/dist/serialization/crdt/authoritativePutComponent.js +47 -0
- package/dist/serialization/crdt/index.d.ts +1 -0
- package/dist/serialization/crdt/index.js +1 -0
- package/dist/serialization/crdt/types.d.ts +25 -3
- package/dist/serialization/crdt/types.js +3 -1
- package/dist/systems/crdt/index.d.ts +0 -1
- package/dist/systems/crdt/index.js +55 -146
- package/dist/systems/events.d.ts +0 -65
- package/dist/systems/events.js +8 -70
- package/dist-cjs/components/generated/component-names.gen.js +0 -3
- package/dist-cjs/components/generated/global.gen.d.ts +0 -6
- package/dist-cjs/components/generated/global.gen.js +1 -5
- package/dist-cjs/components/generated/index.gen.d.ts +0 -12
- package/dist-cjs/components/generated/index.gen.js +2 -20
- package/dist-cjs/components/generated/pb/decentraland/common/colors.gen.d.ts +0 -15
- package/dist-cjs/components/generated/pb/decentraland/common/colors.gen.js +1 -48
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -8
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.js +1 -10
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts +2 -12
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/common/input_action.gen.js +1 -12
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/pointer_events.gen.d.ts +1 -5
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/pointer_events.gen.js +1 -20
- 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/generated/types.gen.d.ts +0 -2
- package/dist-cjs/components/generated/types.gen.js +0 -5
- package/dist-cjs/components/index.d.ts +5 -6
- package/dist-cjs/components/index.js +7 -11
- package/dist-cjs/components/manual/CreatedBy.d.ts +9 -0
- package/dist-cjs/components/manual/CreatedBy.js +10 -0
- package/dist-cjs/components/manual/Transform.d.ts +9 -13
- package/dist-cjs/components/manual/Transform.js +3 -34
- package/dist-cjs/components/types.d.ts +1 -2
- package/dist-cjs/engine/component.d.ts +52 -1
- package/dist-cjs/engine/grow-only-value-set-component-definition.js +44 -1
- package/dist-cjs/engine/lww-element-set-component-definition.d.ts +5 -3
- package/dist-cjs/engine/lww-element-set-component-definition.js +73 -36
- package/dist-cjs/index.d.ts +2 -4
- package/dist-cjs/index.js +2 -5
- package/dist-cjs/runtime/helpers/index.d.ts +0 -1
- package/dist-cjs/runtime/helpers/index.js +0 -1
- package/dist-cjs/runtime/helpers/tree.d.ts +0 -6
- package/dist-cjs/runtime/helpers/tree.js +2 -3
- package/dist-cjs/runtime/initialization/index.d.ts +0 -7
- package/dist-cjs/runtime/initialization/index.js +1 -7
- package/dist-cjs/serialization/crdt/authoritativePutComponent.d.ts +15 -0
- package/dist-cjs/serialization/crdt/authoritativePutComponent.js +50 -0
- package/dist-cjs/serialization/crdt/index.d.ts +1 -0
- package/dist-cjs/serialization/crdt/index.js +1 -0
- package/dist-cjs/serialization/crdt/types.d.ts +25 -3
- package/dist-cjs/serialization/crdt/types.js +3 -1
- package/dist-cjs/systems/crdt/index.d.ts +0 -1
- package/dist-cjs/systems/crdt/index.js +55 -169
- package/dist-cjs/systems/events.d.ts +0 -65
- package/dist-cjs/systems/events.js +8 -70
- package/package.json +2 -3
- package/dist/components/extended/AudioAnalysis.d.ts +0 -55
- package/dist/components/extended/AudioAnalysis.js +0 -66
- package/dist/components/extended/ParticleSystem.d.ts +0 -24
- package/dist/components/extended/ParticleSystem.js +0 -23
- 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/ParticleSystem.gen.d.ts +0 -1
- package/dist/components/generated/ParticleSystem.gen.js +0 -25
- package/dist/components/generated/pb/decentraland/common/floats.gen.d.ts +0 -16
- package/dist/components/generated/pb/decentraland/common/floats.gen.js +0 -50
- 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 -35
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -123
- package/dist/components/generated/pb/decentraland/sdk/components/particle_system.gen.d.ts +0 -241
- package/dist/components/generated/pb/decentraland/sdk/components/particle_system.gen.js +0 -717
- package/dist/runtime/helpers/vectors.d.ts +0 -1
- package/dist/runtime/helpers/vectors.js +0 -36
- package/dist/serialization/crdt/network/utils.d.ts +0 -9
- package/dist/serialization/crdt/network/utils.js +0 -60
- package/dist/systems/physics-force.d.ts +0 -1
- package/dist/systems/physics-force.js +0 -140
- package/dist/systems/physics-impulse.d.ts +0 -12
- package/dist/systems/physics-impulse.js +0 -85
- package/dist/systems/physics.d.ts +0 -77
- package/dist/systems/physics.js +0 -18
- package/dist-cjs/components/extended/AudioAnalysis.d.ts +0 -55
- package/dist-cjs/components/extended/AudioAnalysis.js +0 -70
- package/dist-cjs/components/extended/ParticleSystem.d.ts +0 -24
- package/dist-cjs/components/extended/ParticleSystem.js +0 -28
- 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/ParticleSystem.gen.d.ts +0 -1
- package/dist-cjs/components/generated/ParticleSystem.gen.js +0 -28
- package/dist-cjs/components/generated/pb/decentraland/common/floats.gen.d.ts +0 -16
- package/dist-cjs/components/generated/pb/decentraland/common/floats.gen.js +0 -56
- 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 -35
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -129
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/particle_system.gen.d.ts +0 -241
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/particle_system.gen.js +0 -723
- package/dist-cjs/runtime/helpers/vectors.d.ts +0 -1
- package/dist-cjs/runtime/helpers/vectors.js +0 -39
- package/dist-cjs/serialization/crdt/network/utils.d.ts +0 -9
- package/dist-cjs/serialization/crdt/network/utils.js +0 -67
- package/dist-cjs/systems/physics-force.d.ts +0 -1
- package/dist-cjs/systems/physics-force.js +0 -167
- package/dist-cjs/systems/physics-impulse.d.ts +0 -12
- package/dist-cjs/systems/physics-impulse.js +0 -112
- package/dist-cjs/systems/physics.d.ts +0 -77
- package/dist-cjs/systems/physics.js +0 -23
|
@@ -6,7 +6,6 @@ export const coreComponentMappings = {
|
|
|
6
6
|
"core::Animator": 1042,
|
|
7
7
|
"core::AssetLoad": 1213,
|
|
8
8
|
"core::AssetLoadLoadingState": 1214,
|
|
9
|
-
"core::AudioAnalysis": 1212,
|
|
10
9
|
"core::AudioEvent": 1105,
|
|
11
10
|
"core::AudioSource": 1020,
|
|
12
11
|
"core::AudioStream": 1021,
|
|
@@ -14,7 +13,6 @@ export const coreComponentMappings = {
|
|
|
14
13
|
"core::AvatarBase": 1087,
|
|
15
14
|
"core::AvatarEmoteCommand": 1088,
|
|
16
15
|
"core::AvatarEquippedData": 1091,
|
|
17
|
-
"core::AvatarLocomotionSettings": 1211,
|
|
18
16
|
"core::AvatarModifierArea": 1070,
|
|
19
17
|
"core::AvatarShape": 1080,
|
|
20
18
|
"core::Billboard": 1090,
|
|
@@ -32,7 +30,6 @@ export const coreComponentMappings = {
|
|
|
32
30
|
"core::MeshCollider": 1019,
|
|
33
31
|
"core::MeshRenderer": 1018,
|
|
34
32
|
"core::NftShape": 1040,
|
|
35
|
-
"core::ParticleSystem": 1217,
|
|
36
33
|
"core::PhysicsCombinedForce": 1216,
|
|
37
34
|
"core::PhysicsCombinedImpulse": 1215,
|
|
38
35
|
"core::PlayerIdentityData": 1089,
|
|
@@ -2,7 +2,6 @@ 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';
|
|
6
5
|
import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
|
|
7
6
|
import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
|
|
8
7
|
import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -10,7 +9,6 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
|
|
|
10
9
|
import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
11
10
|
import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
12
11
|
import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
13
|
-
import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
14
12
|
import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
15
13
|
import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
16
14
|
import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -24,7 +22,6 @@ import { PBInputModifier } from './pb/decentraland/sdk/components/input_modifier
|
|
|
24
22
|
import { PBLightSource } from './pb/decentraland/sdk/components/light_source.gen';
|
|
25
23
|
import { PBMainCamera } from './pb/decentraland/sdk/components/main_camera.gen';
|
|
26
24
|
import { PBNftShape } from './pb/decentraland/sdk/components/nft_shape.gen';
|
|
27
|
-
import { PBParticleSystem } from './pb/decentraland/sdk/components/particle_system.gen';
|
|
28
25
|
import { PBPhysicsCombinedForce } from './pb/decentraland/sdk/components/physics_combined_force.gen';
|
|
29
26
|
import { PBPhysicsCombinedImpulse } from './pb/decentraland/sdk/components/physics_combined_impulse.gen';
|
|
30
27
|
import { PBPlayerIdentityData } from './pb/decentraland/sdk/components/player_identity_data.gen';
|
|
@@ -55,7 +52,6 @@ import { PBVirtualCamera } from './pb/decentraland/sdk/components/virtual_camera
|
|
|
55
52
|
import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
56
53
|
/** @public */ export declare const AssetLoad: LastWriteWinElementSetComponentDefinition<PBAssetLoad>;
|
|
57
54
|
/** @public */ export declare const AssetLoadLoadingState: GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>;
|
|
58
|
-
/** @public */ export declare const AudioAnalysis: LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>;
|
|
59
55
|
/** @public */ export declare const AudioEvent: GrowOnlyValueSetComponentDefinition<PBAudioEvent>;
|
|
60
56
|
/** @public */ export declare const AudioSource: LastWriteWinElementSetComponentDefinition<PBAudioSource>;
|
|
61
57
|
/** @public */ export declare const AudioStream: LastWriteWinElementSetComponentDefinition<PBAudioStream>;
|
|
@@ -63,7 +59,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
63
59
|
/** @public */ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
64
60
|
/** @public */ export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
65
61
|
/** @public */ export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
66
|
-
/** @public */ export declare const AvatarLocomotionSettings: LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>;
|
|
67
62
|
/** @public */ export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
68
63
|
/** @public */ export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
69
64
|
/** @public */ export declare const Billboard: LastWriteWinElementSetComponentDefinition<PBBillboard>;
|
|
@@ -77,7 +72,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
77
72
|
/** @public */ export declare const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
|
|
78
73
|
/** @public */ export declare const MainCamera: LastWriteWinElementSetComponentDefinition<PBMainCamera>;
|
|
79
74
|
/** @public */ export declare const NftShape: LastWriteWinElementSetComponentDefinition<PBNftShape>;
|
|
80
|
-
/** @public */ export declare const ParticleSystem: LastWriteWinElementSetComponentDefinition<PBParticleSystem>;
|
|
81
75
|
/** @public */ export declare const PhysicsCombinedForce: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>;
|
|
82
76
|
/** @public */ export declare const PhysicsCombinedImpulse: LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>;
|
|
83
77
|
/** @public */ export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
|
|
@@ -3,7 +3,6 @@ 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);
|
|
7
6
|
/** @public */ export const AudioEvent = /* @__PURE__ */ components.AudioEvent(engine);
|
|
8
7
|
/** @public */ export const AudioSource = /* @__PURE__ */ components.AudioSource(engine);
|
|
9
8
|
/** @public */ export const AudioStream = /* @__PURE__ */ components.AudioStream(engine);
|
|
@@ -11,7 +10,6 @@ export * from './index.gen';
|
|
|
11
10
|
/** @public */ export const AvatarBase = /* @__PURE__ */ components.AvatarBase(engine);
|
|
12
11
|
/** @public */ export const AvatarEmoteCommand = /* @__PURE__ */ components.AvatarEmoteCommand(engine);
|
|
13
12
|
/** @public */ export const AvatarEquippedData = /* @__PURE__ */ components.AvatarEquippedData(engine);
|
|
14
|
-
/** @public */ export const AvatarLocomotionSettings = /* @__PURE__ */ components.AvatarLocomotionSettings(engine);
|
|
15
13
|
/** @public */ export const AvatarModifierArea = /* @__PURE__ */ components.AvatarModifierArea(engine);
|
|
16
14
|
/** @public */ export const AvatarShape = /* @__PURE__ */ components.AvatarShape(engine);
|
|
17
15
|
/** @public */ export const Billboard = /* @__PURE__ */ components.Billboard(engine);
|
|
@@ -25,7 +23,6 @@ export * from './index.gen';
|
|
|
25
23
|
/** @public */ export const LightSource = /* @__PURE__ */ components.LightSource(engine);
|
|
26
24
|
/** @public */ export const MainCamera = /* @__PURE__ */ components.MainCamera(engine);
|
|
27
25
|
/** @public */ export const NftShape = /* @__PURE__ */ components.NftShape(engine);
|
|
28
|
-
/** @public */ export const ParticleSystem = /* @__PURE__ */ components.ParticleSystem(engine);
|
|
29
26
|
/** @public */ export const PhysicsCombinedForce = /* @__PURE__ */ components.PhysicsCombinedForce(engine);
|
|
30
27
|
/** @public */ export const PhysicsCombinedImpulse = /* @__PURE__ */ components.PhysicsCombinedImpulse(engine);
|
|
31
28
|
/** @public */ export const PlayerIdentityData = /* @__PURE__ */ components.PlayerIdentityData(engine);
|
|
@@ -3,7 +3,6 @@ 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';
|
|
7
6
|
import { PBAudioEvent } from './pb/decentraland/sdk/components/audio_event.gen';
|
|
8
7
|
import { PBAudioSource } from './pb/decentraland/sdk/components/audio_source.gen';
|
|
9
8
|
import { PBAudioStream } from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -11,7 +10,6 @@ import { PBAvatarAttach } from './pb/decentraland/sdk/components/avatar_attach.g
|
|
|
11
10
|
import { PBAvatarBase } from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
12
11
|
import { PBAvatarEmoteCommand } from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
13
12
|
import { PBAvatarEquippedData } from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
14
|
-
import { PBAvatarLocomotionSettings } from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
15
13
|
import { PBAvatarModifierArea } from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
16
14
|
import { PBAvatarShape } from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
17
15
|
import { PBBillboard } from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -28,7 +26,6 @@ import { PBMaterial } from './pb/decentraland/sdk/components/material.gen';
|
|
|
28
26
|
import { PBMeshCollider } from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
29
27
|
import { PBMeshRenderer } from './pb/decentraland/sdk/components/mesh_renderer.gen';
|
|
30
28
|
import { PBNftShape } from './pb/decentraland/sdk/components/nft_shape.gen';
|
|
31
|
-
import { PBParticleSystem } from './pb/decentraland/sdk/components/particle_system.gen';
|
|
32
29
|
import { PBPhysicsCombinedForce } from './pb/decentraland/sdk/components/physics_combined_force.gen';
|
|
33
30
|
import { PBPhysicsCombinedImpulse } from './pb/decentraland/sdk/components/physics_combined_impulse.gen';
|
|
34
31
|
import { PBPlayerIdentityData } from './pb/decentraland/sdk/components/player_identity_data.gen';
|
|
@@ -61,7 +58,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
61
58
|
export * from './pb/decentraland/sdk/components/animator.gen';
|
|
62
59
|
export * from './pb/decentraland/sdk/components/asset_load.gen';
|
|
63
60
|
export * from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
|
|
64
|
-
export * from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
65
61
|
export * from './pb/decentraland/sdk/components/audio_event.gen';
|
|
66
62
|
export * from './pb/decentraland/sdk/components/audio_source.gen';
|
|
67
63
|
export * from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -69,7 +65,6 @@ export * from './pb/decentraland/sdk/components/avatar_attach.gen';
|
|
|
69
65
|
export * from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
70
66
|
export * from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
71
67
|
export * from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
72
|
-
export * from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
73
68
|
export * from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
74
69
|
export * from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
75
70
|
export * from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -86,7 +81,6 @@ export * from './pb/decentraland/sdk/components/material.gen';
|
|
|
86
81
|
export * from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
87
82
|
export * from './pb/decentraland/sdk/components/mesh_renderer.gen';
|
|
88
83
|
export * from './pb/decentraland/sdk/components/nft_shape.gen';
|
|
89
|
-
export * from './pb/decentraland/sdk/components/particle_system.gen';
|
|
90
84
|
export * from './pb/decentraland/sdk/components/physics_combined_force.gen';
|
|
91
85
|
export * from './pb/decentraland/sdk/components/physics_combined_impulse.gen';
|
|
92
86
|
export * from './pb/decentraland/sdk/components/player_identity_data.gen';
|
|
@@ -121,7 +115,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
121
115
|
/** @public */ export declare const Animator: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
122
116
|
/** @public */ export declare const AssetLoad: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
123
117
|
/** @public */ export declare const AssetLoadLoadingState: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
124
|
-
/** @public */ export declare const AudioAnalysis: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
125
118
|
/** @public */ export declare const AudioEvent: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
126
119
|
/** @public */ export declare const AudioSource: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
127
120
|
/** @public */ export declare const AudioStream: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -129,7 +122,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
129
122
|
/** @public */ export declare const AvatarBase: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
130
123
|
/** @public */ export declare const AvatarEmoteCommand: GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
131
124
|
/** @public */ export declare const AvatarEquippedData: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
132
|
-
/** @public */ export declare const AvatarLocomotionSettings: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
133
125
|
/** @public */ export declare const AvatarModifierArea: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
134
126
|
/** @public */ export declare const AvatarShape: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
135
127
|
/** @public */ export declare const Billboard: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -146,7 +138,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
146
138
|
/** @public */ export declare const MeshCollider: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
147
139
|
/** @public */ export declare const MeshRenderer: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
|
148
140
|
/** @public */ export declare const NftShape: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
|
149
|
-
/** @public */ export declare const ParticleSystem: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBParticleSystem>>;
|
|
150
141
|
/** @public */ export declare const PhysicsCombinedForce: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>>;
|
|
151
142
|
/** @public */ export declare const PhysicsCombinedImpulse: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>>;
|
|
152
143
|
/** @public */ export declare const PlayerIdentityData: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
|
@@ -181,7 +172,6 @@ export declare const componentDefinitionByName: {
|
|
|
181
172
|
"core::Animator": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAnimator>>;
|
|
182
173
|
"core::AssetLoad": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAssetLoad>>;
|
|
183
174
|
"core::AssetLoadLoadingState": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAssetLoadLoadingState>>;
|
|
184
|
-
"core::AudioAnalysis": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioAnalysis>>;
|
|
185
175
|
"core::AudioEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAudioEvent>>;
|
|
186
176
|
"core::AudioSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioSource>>;
|
|
187
177
|
"core::AudioStream": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAudioStream>>;
|
|
@@ -189,7 +179,6 @@ export declare const componentDefinitionByName: {
|
|
|
189
179
|
"core::AvatarBase": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarBase>>;
|
|
190
180
|
"core::AvatarEmoteCommand": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>>;
|
|
191
181
|
"core::AvatarEquippedData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>>;
|
|
192
|
-
"core::AvatarLocomotionSettings": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarLocomotionSettings>>;
|
|
193
182
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
194
183
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
195
184
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
@@ -206,7 +195,6 @@ export declare const componentDefinitionByName: {
|
|
|
206
195
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
207
196
|
"core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
|
|
208
197
|
"core::NftShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBNftShape>>;
|
|
209
|
-
"core::ParticleSystem": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBParticleSystem>>;
|
|
210
198
|
"core::PhysicsCombinedForce": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedForce>>;
|
|
211
199
|
"core::PhysicsCombinedImpulse": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPhysicsCombinedImpulse>>;
|
|
212
200
|
"core::PlayerIdentityData": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>>;
|
|
@@ -1,7 +1,6 @@
|
|
|
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';
|
|
5
4
|
import { AudioEventSchema } from './AudioEvent.gen';
|
|
6
5
|
import { AudioSourceSchema } from './AudioSource.gen';
|
|
7
6
|
import { AudioStreamSchema } from './AudioStream.gen';
|
|
@@ -9,7 +8,6 @@ import { AvatarAttachSchema } from './AvatarAttach.gen';
|
|
|
9
8
|
import { AvatarBaseSchema } from './AvatarBase.gen';
|
|
10
9
|
import { AvatarEmoteCommandSchema } from './AvatarEmoteCommand.gen';
|
|
11
10
|
import { AvatarEquippedDataSchema } from './AvatarEquippedData.gen';
|
|
12
|
-
import { AvatarLocomotionSettingsSchema } from './AvatarLocomotionSettings.gen';
|
|
13
11
|
import { AvatarModifierAreaSchema } from './AvatarModifierArea.gen';
|
|
14
12
|
import { AvatarShapeSchema } from './AvatarShape.gen';
|
|
15
13
|
import { BillboardSchema } from './Billboard.gen';
|
|
@@ -26,7 +24,6 @@ import { MaterialSchema } from './Material.gen';
|
|
|
26
24
|
import { MeshColliderSchema } from './MeshCollider.gen';
|
|
27
25
|
import { MeshRendererSchema } from './MeshRenderer.gen';
|
|
28
26
|
import { NftShapeSchema } from './NftShape.gen';
|
|
29
|
-
import { ParticleSystemSchema } from './ParticleSystem.gen';
|
|
30
27
|
import { PhysicsCombinedForceSchema } from './PhysicsCombinedForce.gen';
|
|
31
28
|
import { PhysicsCombinedImpulseSchema } from './PhysicsCombinedImpulse.gen';
|
|
32
29
|
import { PlayerIdentityDataSchema } from './PlayerIdentityData.gen';
|
|
@@ -59,7 +56,6 @@ import { VisibilityComponentSchema } from './VisibilityComponent.gen';
|
|
|
59
56
|
export * from './pb/decentraland/sdk/components/animator.gen';
|
|
60
57
|
export * from './pb/decentraland/sdk/components/asset_load.gen';
|
|
61
58
|
export * from './pb/decentraland/sdk/components/asset_load_loading_state.gen';
|
|
62
|
-
export * from './pb/decentraland/sdk/components/audio_analysis.gen';
|
|
63
59
|
export * from './pb/decentraland/sdk/components/audio_event.gen';
|
|
64
60
|
export * from './pb/decentraland/sdk/components/audio_source.gen';
|
|
65
61
|
export * from './pb/decentraland/sdk/components/audio_stream.gen';
|
|
@@ -67,7 +63,6 @@ export * from './pb/decentraland/sdk/components/avatar_attach.gen';
|
|
|
67
63
|
export * from './pb/decentraland/sdk/components/avatar_base.gen';
|
|
68
64
|
export * from './pb/decentraland/sdk/components/avatar_emote_command.gen';
|
|
69
65
|
export * from './pb/decentraland/sdk/components/avatar_equipped_data.gen';
|
|
70
|
-
export * from './pb/decentraland/sdk/components/avatar_locomotion_settings.gen';
|
|
71
66
|
export * from './pb/decentraland/sdk/components/avatar_modifier_area.gen';
|
|
72
67
|
export * from './pb/decentraland/sdk/components/avatar_shape.gen';
|
|
73
68
|
export * from './pb/decentraland/sdk/components/billboard.gen';
|
|
@@ -84,7 +79,6 @@ export * from './pb/decentraland/sdk/components/material.gen';
|
|
|
84
79
|
export * from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
85
80
|
export * from './pb/decentraland/sdk/components/mesh_renderer.gen';
|
|
86
81
|
export * from './pb/decentraland/sdk/components/nft_shape.gen';
|
|
87
|
-
export * from './pb/decentraland/sdk/components/particle_system.gen';
|
|
88
82
|
export * from './pb/decentraland/sdk/components/physics_combined_force.gen';
|
|
89
83
|
export * from './pb/decentraland/sdk/components/physics_combined_impulse.gen';
|
|
90
84
|
export * from './pb/decentraland/sdk/components/player_identity_data.gen';
|
|
@@ -122,8 +116,6 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
122
116
|
timestampFunction: (t) => t.timestamp,
|
|
123
117
|
maxElements: 100
|
|
124
118
|
});
|
|
125
|
-
/** @public */ export const AudioAnalysis = engine =>
|
|
126
|
-
/* @__PURE__ */ engine.defineComponentFromSchema("core::AudioAnalysis", AudioAnalysisSchema);
|
|
127
119
|
/** @public */ export const AudioEvent = (engine) => /* @__PURE__ */ engine.defineValueSetComponentFromSchema("core::AudioEvent", AudioEventSchema, {
|
|
128
120
|
timestampFunction: (t) => t.timestamp,
|
|
129
121
|
maxElements: 100
|
|
@@ -142,8 +134,6 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
142
134
|
});
|
|
143
135
|
/** @public */ export const AvatarEquippedData = engine =>
|
|
144
136
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarEquippedData", AvatarEquippedDataSchema);
|
|
145
|
-
/** @public */ export const AvatarLocomotionSettings = engine =>
|
|
146
|
-
/* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarLocomotionSettings", AvatarLocomotionSettingsSchema);
|
|
147
137
|
/** @public */ export const AvatarModifierArea = engine =>
|
|
148
138
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::AvatarModifierArea", AvatarModifierAreaSchema);
|
|
149
139
|
/** @public */ export const AvatarShape = engine =>
|
|
@@ -176,8 +166,6 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
176
166
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::MeshRenderer", MeshRendererSchema);
|
|
177
167
|
/** @public */ export const NftShape = engine =>
|
|
178
168
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::NftShape", NftShapeSchema);
|
|
179
|
-
/** @public */ export const ParticleSystem = engine =>
|
|
180
|
-
/* @__PURE__ */ engine.defineComponentFromSchema("core::ParticleSystem", ParticleSystemSchema);
|
|
181
169
|
/** @public */ export const PhysicsCombinedForce = engine =>
|
|
182
170
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::PhysicsCombinedForce", PhysicsCombinedForceSchema);
|
|
183
171
|
/** @public */ export const PhysicsCombinedImpulse = engine =>
|
|
@@ -247,7 +235,6 @@ export const componentDefinitionByName = /* @__PURE__ */ {
|
|
|
247
235
|
"core::Animator": Animator,
|
|
248
236
|
"core::AssetLoad": AssetLoad,
|
|
249
237
|
"core::AssetLoadLoadingState": AssetLoadLoadingState,
|
|
250
|
-
"core::AudioAnalysis": AudioAnalysis,
|
|
251
238
|
"core::AudioEvent": AudioEvent,
|
|
252
239
|
"core::AudioSource": AudioSource,
|
|
253
240
|
"core::AudioStream": AudioStream,
|
|
@@ -255,7 +242,6 @@ export const componentDefinitionByName = /* @__PURE__ */ {
|
|
|
255
242
|
"core::AvatarBase": AvatarBase,
|
|
256
243
|
"core::AvatarEmoteCommand": AvatarEmoteCommand,
|
|
257
244
|
"core::AvatarEquippedData": AvatarEquippedData,
|
|
258
|
-
"core::AvatarLocomotionSettings": AvatarLocomotionSettings,
|
|
259
245
|
"core::AvatarModifierArea": AvatarModifierArea,
|
|
260
246
|
"core::AvatarShape": AvatarShape,
|
|
261
247
|
"core::Billboard": Billboard,
|
|
@@ -272,7 +258,6 @@ export const componentDefinitionByName = /* @__PURE__ */ {
|
|
|
272
258
|
"core::MeshCollider": MeshCollider,
|
|
273
259
|
"core::MeshRenderer": MeshRenderer,
|
|
274
260
|
"core::NftShape": NftShape,
|
|
275
|
-
"core::ParticleSystem": ParticleSystem,
|
|
276
261
|
"core::PhysicsCombinedForce": PhysicsCombinedForce,
|
|
277
262
|
"core::PhysicsCombinedImpulse": PhysicsCombinedImpulse,
|
|
278
263
|
"core::PlayerIdentityData": PlayerIdentityData,
|
|
@@ -16,14 +16,6 @@ export interface Color4 {
|
|
|
16
16
|
b: number;
|
|
17
17
|
a: number;
|
|
18
18
|
}
|
|
19
|
-
/** A range of Color4 values. Randomized or lerped between start and end. */
|
|
20
|
-
/**
|
|
21
|
-
* @public
|
|
22
|
-
*/
|
|
23
|
-
export interface ColorRange {
|
|
24
|
-
start: Color4 | undefined;
|
|
25
|
-
end: Color4 | undefined;
|
|
26
|
-
}
|
|
27
19
|
/**
|
|
28
20
|
* @public
|
|
29
21
|
*/
|
|
@@ -38,10 +30,3 @@ export declare namespace Color4 {
|
|
|
38
30
|
function encode(message: Color4, writer?: _m0.Writer): _m0.Writer;
|
|
39
31
|
function decode(input: _m0.Reader | Uint8Array, length?: number): Color4;
|
|
40
32
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @public
|
|
43
|
-
*/
|
|
44
|
-
export declare namespace ColorRange {
|
|
45
|
-
function encode(message: ColorRange, writer?: _m0.Writer): _m0.Writer;
|
|
46
|
-
function decode(input: _m0.Reader | Uint8Array, length?: number): ColorRange;
|
|
47
|
-
}
|
|
@@ -122,50 +122,3 @@ export var Color4;
|
|
|
122
122
|
}
|
|
123
123
|
Color4.decode = decode;
|
|
124
124
|
})(Color4 || (Color4 = {}));
|
|
125
|
-
function createBaseColorRange() {
|
|
126
|
-
return { start: undefined, end: undefined };
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* @public
|
|
130
|
-
*/
|
|
131
|
-
export var ColorRange;
|
|
132
|
-
(function (ColorRange) {
|
|
133
|
-
function encode(message, writer = _m0.Writer.create()) {
|
|
134
|
-
if (message.start !== undefined) {
|
|
135
|
-
Color4.encode(message.start, writer.uint32(10).fork()).ldelim();
|
|
136
|
-
}
|
|
137
|
-
if (message.end !== undefined) {
|
|
138
|
-
Color4.encode(message.end, writer.uint32(18).fork()).ldelim();
|
|
139
|
-
}
|
|
140
|
-
return writer;
|
|
141
|
-
}
|
|
142
|
-
ColorRange.encode = encode;
|
|
143
|
-
function decode(input, length) {
|
|
144
|
-
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
145
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
146
|
-
const message = createBaseColorRange();
|
|
147
|
-
while (reader.pos < end) {
|
|
148
|
-
const tag = reader.uint32();
|
|
149
|
-
switch (tag >>> 3) {
|
|
150
|
-
case 1:
|
|
151
|
-
if (tag !== 10) {
|
|
152
|
-
break;
|
|
153
|
-
}
|
|
154
|
-
message.start = Color4.decode(reader, reader.uint32());
|
|
155
|
-
continue;
|
|
156
|
-
case 2:
|
|
157
|
-
if (tag !== 18) {
|
|
158
|
-
break;
|
|
159
|
-
}
|
|
160
|
-
message.end = Color4.decode(reader, reader.uint32());
|
|
161
|
-
continue;
|
|
162
|
-
}
|
|
163
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
164
|
-
break;
|
|
165
|
-
}
|
|
166
|
-
reader.skipType(tag & 7);
|
|
167
|
-
}
|
|
168
|
-
return message;
|
|
169
|
-
}
|
|
170
|
-
ColorRange.decode = decode;
|
|
171
|
-
})(ColorRange || (ColorRange = {}));
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
import { Color3 } from "../../common/colors.gen";
|
|
3
|
-
/** Mask for which bones an animation applies to. */
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export declare const enum AvatarEmoteMask {
|
|
8
|
-
AEM_FULL_BODY = 0,
|
|
9
|
-
AEM_UPPER_BODY = 1
|
|
10
|
-
}
|
|
11
3
|
/**
|
|
12
4
|
* The AvatarShape component contains the information required to draw and animate avatar, acting as
|
|
13
5
|
* a simplified GLTF container for this specific case.
|
|
@@ -3,15 +3,6 @@ import Long from "long";
|
|
|
3
3
|
import _m0 from "protobufjs/minimal";
|
|
4
4
|
import { Color3 } from "../../common/colors.gen";
|
|
5
5
|
const protobufPackageSarasa = "decentraland.sdk.components";
|
|
6
|
-
/** Mask for which bones an animation applies to. */
|
|
7
|
-
/**
|
|
8
|
-
* @public
|
|
9
|
-
*/
|
|
10
|
-
export var AvatarEmoteMask;
|
|
11
|
-
(function (AvatarEmoteMask) {
|
|
12
|
-
AvatarEmoteMask[AvatarEmoteMask["AEM_FULL_BODY"] = 0] = "AEM_FULL_BODY";
|
|
13
|
-
AvatarEmoteMask[AvatarEmoteMask["AEM_UPPER_BODY"] = 1] = "AEM_UPPER_BODY";
|
|
14
|
-
})(AvatarEmoteMask || (AvatarEmoteMask = {}));
|
|
15
6
|
function createBasePBAvatarShape() {
|
|
16
7
|
return {
|
|
17
8
|
id: "",
|
package/dist/components/generated/pb/decentraland/sdk/components/common/input_action.gen.d.ts
CHANGED
|
@@ -15,8 +15,7 @@ export declare const enum InputAction {
|
|
|
15
15
|
IA_ACTION_3 = 10,
|
|
16
16
|
IA_ACTION_4 = 11,
|
|
17
17
|
IA_ACTION_5 = 12,
|
|
18
|
-
IA_ACTION_6 = 13
|
|
19
|
-
IA_MODIFIER = 14
|
|
18
|
+
IA_ACTION_6 = 13
|
|
20
19
|
}
|
|
21
20
|
/** PointerEventType is a kind of interaction that can be detected. */
|
|
22
21
|
/**
|
|
@@ -26,14 +25,5 @@ export declare const enum PointerEventType {
|
|
|
26
25
|
PET_UP = 0,
|
|
27
26
|
PET_DOWN = 1,
|
|
28
27
|
PET_HOVER_ENTER = 2,
|
|
29
|
-
PET_HOVER_LEAVE = 3
|
|
30
|
-
PET_PROXIMITY_ENTER = 4,
|
|
31
|
-
PET_PROXIMITY_LEAVE = 5
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* @public
|
|
35
|
-
*/
|
|
36
|
-
export declare const enum InteractionType {
|
|
37
|
-
CURSOR = 0,
|
|
38
|
-
PROXIMITY = 1
|
|
28
|
+
PET_HOVER_LEAVE = 3
|
|
39
29
|
}
|
|
@@ -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
|
/**
|
|
@@ -31,14 +30,4 @@ export var PointerEventType;
|
|
|
31
30
|
PointerEventType[PointerEventType["PET_DOWN"] = 1] = "PET_DOWN";
|
|
32
31
|
PointerEventType[PointerEventType["PET_HOVER_ENTER"] = 2] = "PET_HOVER_ENTER";
|
|
33
32
|
PointerEventType[PointerEventType["PET_HOVER_LEAVE"] = 3] = "PET_HOVER_LEAVE";
|
|
34
|
-
PointerEventType[PointerEventType["PET_PROXIMITY_ENTER"] = 4] = "PET_PROXIMITY_ENTER";
|
|
35
|
-
PointerEventType[PointerEventType["PET_PROXIMITY_LEAVE"] = 5] = "PET_PROXIMITY_LEAVE";
|
|
36
33
|
})(PointerEventType || (PointerEventType = {}));
|
|
37
|
-
/**
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
export var InteractionType;
|
|
41
|
-
(function (InteractionType) {
|
|
42
|
-
InteractionType[InteractionType["CURSOR"] = 0] = "CURSOR";
|
|
43
|
-
InteractionType[InteractionType["PROXIMITY"] = 1] = "PROXIMITY";
|
|
44
|
-
})(InteractionType || (InteractionType = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
|
-
import { InputAction,
|
|
2
|
+
import { InputAction, PointerEventType } from "./common/input_action.gen";
|
|
3
3
|
/**
|
|
4
4
|
* PointerEvents adds configurable pointer-based interactions to the attached Entity.
|
|
5
5
|
*
|
|
@@ -61,8 +61,6 @@ export interface PBPointerEvents_Info {
|
|
|
61
61
|
showHighlight?: boolean | undefined;
|
|
62
62
|
/** range of interaction from the avatar's position (default 0) */
|
|
63
63
|
maxPlayerDistance?: number | undefined;
|
|
64
|
-
/** resolution order when multiple events overlap, higher wins (default 0) */
|
|
65
|
-
priority?: number | undefined;
|
|
66
64
|
}
|
|
67
65
|
/**
|
|
68
66
|
* @public
|
|
@@ -72,8 +70,6 @@ export interface PBPointerEvents_Entry {
|
|
|
72
70
|
eventType: PointerEventType;
|
|
73
71
|
/** additional configuration for this detection */
|
|
74
72
|
eventInfo: PBPointerEvents_Info | undefined;
|
|
75
|
-
/** the type of interaction source (default 0 == CURSOR) */
|
|
76
|
-
interactionType?: InteractionType | undefined;
|
|
77
73
|
}
|
|
78
74
|
/**
|
|
79
75
|
* @public
|
|
@@ -47,7 +47,6 @@ function createBasePBPointerEvents_Info() {
|
|
|
47
47
|
showFeedback: undefined,
|
|
48
48
|
showHighlight: undefined,
|
|
49
49
|
maxPlayerDistance: undefined,
|
|
50
|
-
priority: undefined,
|
|
51
50
|
};
|
|
52
51
|
}
|
|
53
52
|
/**
|
|
@@ -74,9 +73,6 @@ export var PBPointerEvents_Info;
|
|
|
74
73
|
if (message.maxPlayerDistance !== undefined) {
|
|
75
74
|
writer.uint32(53).float(message.maxPlayerDistance);
|
|
76
75
|
}
|
|
77
|
-
if (message.priority !== undefined) {
|
|
78
|
-
writer.uint32(56).uint32(message.priority);
|
|
79
|
-
}
|
|
80
76
|
return writer;
|
|
81
77
|
}
|
|
82
78
|
PBPointerEvents_Info.encode = encode;
|
|
@@ -123,12 +119,6 @@ export var PBPointerEvents_Info;
|
|
|
123
119
|
}
|
|
124
120
|
message.maxPlayerDistance = reader.float();
|
|
125
121
|
continue;
|
|
126
|
-
case 7:
|
|
127
|
-
if (tag !== 56) {
|
|
128
|
-
break;
|
|
129
|
-
}
|
|
130
|
-
message.priority = reader.uint32();
|
|
131
|
-
continue;
|
|
132
122
|
}
|
|
133
123
|
if ((tag & 7) === 4 || tag === 0) {
|
|
134
124
|
break;
|
|
@@ -140,7 +130,7 @@ export var PBPointerEvents_Info;
|
|
|
140
130
|
PBPointerEvents_Info.decode = decode;
|
|
141
131
|
})(PBPointerEvents_Info || (PBPointerEvents_Info = {}));
|
|
142
132
|
function createBasePBPointerEvents_Entry() {
|
|
143
|
-
return { eventType: 0, eventInfo: undefined
|
|
133
|
+
return { eventType: 0, eventInfo: undefined };
|
|
144
134
|
}
|
|
145
135
|
/**
|
|
146
136
|
* @public
|
|
@@ -154,9 +144,6 @@ export var PBPointerEvents_Entry;
|
|
|
154
144
|
if (message.eventInfo !== undefined) {
|
|
155
145
|
PBPointerEvents_Info.encode(message.eventInfo, writer.uint32(18).fork()).ldelim();
|
|
156
146
|
}
|
|
157
|
-
if (message.interactionType !== undefined) {
|
|
158
|
-
writer.uint32(24).int32(message.interactionType);
|
|
159
|
-
}
|
|
160
147
|
return writer;
|
|
161
148
|
}
|
|
162
149
|
PBPointerEvents_Entry.encode = encode;
|
|
@@ -179,12 +166,6 @@ export var PBPointerEvents_Entry;
|
|
|
179
166
|
}
|
|
180
167
|
message.eventInfo = PBPointerEvents_Info.decode(reader, reader.uint32());
|
|
181
168
|
continue;
|
|
182
|
-
case 3:
|
|
183
|
-
if (tag !== 24) {
|
|
184
|
-
break;
|
|
185
|
-
}
|
|
186
|
-
message.interactionType = reader.int32();
|
|
187
|
-
continue;
|
|
188
169
|
}
|
|
189
170
|
if ((tag & 7) === 4 || tag === 0) {
|
|
190
171
|
break;
|
|
@@ -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;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export type { Position as PBPosition, Vector2 as PBVector2, Vector3 as PBVector3, Quaternion as PBQuaternion } from './pb/decentraland/common/vectors.gen';
|
|
2
2
|
export type { Color3 as PBColor3, Color4 as PBColor4 } from './pb/decentraland/common/colors.gen';
|
|
3
|
-
export { ColorRange } from './pb/decentraland/common/colors.gen';
|
|
4
3
|
export * from './pb/decentraland/sdk/components/common/camera_transition.gen';
|
|
5
4
|
export * from './pb/decentraland/sdk/components/common/camera_type.gen';
|
|
6
5
|
export * from './pb/decentraland/sdk/components/common/input_action.gen';
|
|
@@ -9,5 +8,4 @@ export * from './pb/decentraland/sdk/components/common/media_state.gen';
|
|
|
9
8
|
export * from './pb/decentraland/sdk/components/common/raycast_hit.gen';
|
|
10
9
|
export * from './pb/decentraland/sdk/components/common/texts.gen';
|
|
11
10
|
export * from './pb/decentraland/common/border_rect.gen';
|
|
12
|
-
export * from './pb/decentraland/common/floats.gen';
|
|
13
11
|
export * from './pb/decentraland/common/texture.gen';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { ColorRange } from './pb/decentraland/common/colors.gen';
|
|
2
1
|
export * from './pb/decentraland/sdk/components/common/camera_transition.gen';
|
|
3
2
|
// export { PbCameraTransition }
|
|
4
3
|
export * from './pb/decentraland/sdk/components/common/camera_type.gen';
|
|
@@ -15,7 +14,5 @@ export * from './pb/decentraland/sdk/components/common/texts.gen';
|
|
|
15
14
|
// export { PbTexts }
|
|
16
15
|
export * from './pb/decentraland/common/border_rect.gen';
|
|
17
16
|
// export { PbBorderRect }
|
|
18
|
-
export * from './pb/decentraland/common/floats.gen';
|
|
19
|
-
// export { PbFloats }
|
|
20
17
|
export * from './pb/decentraland/common/texture.gen';
|
|
21
18
|
// export { PbTexture }
|