@dcl/ecs 7.9.3-16572655107.commit-d0b0754 → 7.9.3-16574576809.commit-c0a4156
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 -1
- package/dist/components/generated/global.gen.d.ts +0 -2
- package/dist/components/generated/global.gen.js +0 -1
- package/dist/components/generated/index.gen.d.ts +0 -4
- package/dist/components/generated/index.gen.js +0 -5
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts +2 -0
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.js +10 -0
- 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 -2
- 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-cjs/components/generated/component-names.gen.js +0 -1
- package/dist-cjs/components/generated/global.gen.d.ts +0 -2
- package/dist-cjs/components/generated/global.gen.js +1 -2
- package/dist-cjs/components/generated/index.gen.d.ts +0 -4
- package/dist-cjs/components/generated/index.gen.js +1 -7
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts +2 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.js +10 -0
- 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 -2
- 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/package.json +2 -2
- package/dist/components/extended/LightSource.d.ts +0 -25
- package/dist/components/extended/LightSource.js +0 -22
- package/dist/components/generated/LightSource.gen.d.ts +0 -1
- package/dist/components/generated/LightSource.gen.js +0 -25
- package/dist/components/generated/pb/decentraland/sdk/components/light_source.gen.d.ts +0 -62
- package/dist/components/generated/pb/decentraland/sdk/components/light_source.gen.js +0 -192
- package/dist-cjs/components/extended/LightSource.d.ts +0 -25
- package/dist-cjs/components/extended/LightSource.js +0 -26
- package/dist-cjs/components/generated/LightSource.gen.d.ts +0 -1
- package/dist-cjs/components/generated/LightSource.gen.js +0 -28
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/light_source.gen.d.ts +0 -62
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/light_source.gen.js +0 -198
|
@@ -17,7 +17,6 @@ import { PBGltfContainer } from './pb/decentraland/sdk/components/gltf_container
|
|
|
17
17
|
import { PBGltfContainerLoadingState } from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
18
18
|
import { PBGltfNodeModifiers } from './pb/decentraland/sdk/components/gltf_node_modifiers.gen';
|
|
19
19
|
import { PBInputModifier } from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
20
|
-
import { PBLightSource } from './pb/decentraland/sdk/components/light_source.gen';
|
|
21
20
|
import { PBMainCamera } from './pb/decentraland/sdk/components/main_camera.gen';
|
|
22
21
|
import { PBNftShape } from './pb/decentraland/sdk/components/nft_shape.gen';
|
|
23
22
|
import { PBPlayerIdentityData } from './pb/decentraland/sdk/components/player_identity_data.gen';
|
|
@@ -61,7 +60,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
61
60
|
/** @public */ export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
62
61
|
/** @public */ export declare const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
63
62
|
/** @public */ export declare const InputModifier: LastWriteWinElementSetComponentDefinition<PBInputModifier>;
|
|
64
|
-
/** @public */ export declare const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
|
|
65
63
|
/** @public */ export declare const MainCamera: LastWriteWinElementSetComponentDefinition<PBMainCamera>;
|
|
66
64
|
/** @public */ export declare const NftShape: LastWriteWinElementSetComponentDefinition<PBNftShape>;
|
|
67
65
|
/** @public */ export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
|
|
@@ -18,7 +18,6 @@ export * from './index.gen';
|
|
|
18
18
|
/** @public */ export const GltfContainerLoadingState = /* @__PURE__ */ components.GltfContainerLoadingState(engine);
|
|
19
19
|
/** @public */ export const GltfNodeModifiers = /* @__PURE__ */ components.GltfNodeModifiers(engine);
|
|
20
20
|
/** @public */ export const InputModifier = /* @__PURE__ */ components.InputModifier(engine);
|
|
21
|
-
/** @public */ export const LightSource = /* @__PURE__ */ components.LightSource(engine);
|
|
22
21
|
/** @public */ export const MainCamera = /* @__PURE__ */ components.MainCamera(engine);
|
|
23
22
|
/** @public */ export const NftShape = /* @__PURE__ */ components.NftShape(engine);
|
|
24
23
|
/** @public */ export const PlayerIdentityData = /* @__PURE__ */ components.PlayerIdentityData(engine);
|
|
@@ -18,7 +18,6 @@ import { PBGltfContainer } from './pb/decentraland/sdk/components/gltf_container
|
|
|
18
18
|
import { PBGltfContainerLoadingState } from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
19
19
|
import { PBGltfNodeModifiers } from './pb/decentraland/sdk/components/gltf_node_modifiers.gen';
|
|
20
20
|
import { PBInputModifier } from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
21
|
-
import { PBLightSource } from './pb/decentraland/sdk/components/light_source.gen';
|
|
22
21
|
import { PBMainCamera } from './pb/decentraland/sdk/components/main_camera.gen';
|
|
23
22
|
import { PBMaterial } from './pb/decentraland/sdk/components/material.gen';
|
|
24
23
|
import { PBMeshCollider } from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
@@ -67,7 +66,6 @@ export * from './pb/decentraland/sdk/components/gltf_container.gen';
|
|
|
67
66
|
export * from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
68
67
|
export * from './pb/decentraland/sdk/components/gltf_node_modifiers.gen';
|
|
69
68
|
export * from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
70
|
-
export * from './pb/decentraland/sdk/components/light_source.gen';
|
|
71
69
|
export * from './pb/decentraland/sdk/components/main_camera.gen';
|
|
72
70
|
export * from './pb/decentraland/sdk/components/material.gen';
|
|
73
71
|
export * from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
@@ -118,7 +116,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
118
116
|
/** @public */ export declare const GltfContainerLoadingState: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
119
117
|
/** @public */ export declare const GltfNodeModifiers: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
120
118
|
/** @public */ export declare const InputModifier: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
121
|
-
/** @public */ export declare const LightSource: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
122
119
|
/** @public */ export declare const MainCamera: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
123
120
|
/** @public */ export declare const Material: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
124
121
|
/** @public */ export declare const MeshCollider: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -169,7 +166,6 @@ export declare const componentDefinitionByName: {
|
|
|
169
166
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
170
167
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
171
168
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
172
|
-
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
173
169
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
174
170
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
175
171
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -16,7 +16,6 @@ import { GltfContainerSchema } from './GltfContainer.gen';
|
|
|
16
16
|
import { GltfContainerLoadingStateSchema } from './GltfContainerLoadingState.gen';
|
|
17
17
|
import { GltfNodeModifiersSchema } from './GltfNodeModifiers.gen';
|
|
18
18
|
import { InputModifierSchema } from './InputModifier.gen';
|
|
19
|
-
import { LightSourceSchema } from './LightSource.gen';
|
|
20
19
|
import { MainCameraSchema } from './MainCamera.gen';
|
|
21
20
|
import { MaterialSchema } from './Material.gen';
|
|
22
21
|
import { MeshColliderSchema } from './MeshCollider.gen';
|
|
@@ -65,7 +64,6 @@ export * from './pb/decentraland/sdk/components/gltf_container.gen';
|
|
|
65
64
|
export * from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
66
65
|
export * from './pb/decentraland/sdk/components/gltf_node_modifiers.gen';
|
|
67
66
|
export * from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
68
|
-
export * from './pb/decentraland/sdk/components/light_source.gen';
|
|
69
67
|
export * from './pb/decentraland/sdk/components/main_camera.gen';
|
|
70
68
|
export * from './pb/decentraland/sdk/components/material.gen';
|
|
71
69
|
export * from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
@@ -136,8 +134,6 @@ export * from './pb/decentraland/sdk/components/visibility_component.gen';
|
|
|
136
134
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::GltfNodeModifiers", GltfNodeModifiersSchema);
|
|
137
135
|
/** @public */ export const InputModifier = engine =>
|
|
138
136
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::InputModifier", InputModifierSchema);
|
|
139
|
-
/** @public */ export const LightSource = engine =>
|
|
140
|
-
/* @__PURE__ */ engine.defineComponentFromSchema("core::LightSource", LightSourceSchema);
|
|
141
137
|
/** @public */ export const MainCamera = engine =>
|
|
142
138
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::MainCamera", MainCameraSchema);
|
|
143
139
|
/** @public */ export const Material = engine =>
|
|
@@ -222,7 +218,6 @@ export const componentDefinitionByName = /* @__PURE__ */ {
|
|
|
222
218
|
"core::GltfContainerLoadingState": GltfContainerLoadingState,
|
|
223
219
|
"core::GltfNodeModifiers": GltfNodeModifiers,
|
|
224
220
|
"core::InputModifier": InputModifier,
|
|
225
|
-
"core::LightSource": LightSource,
|
|
226
221
|
"core::MainCamera": MainCamera,
|
|
227
222
|
"core::Material": Material,
|
|
228
223
|
"core::MeshCollider": MeshCollider,
|
|
@@ -16,6 +16,7 @@ function createBasePBAvatarShape() {
|
|
|
16
16
|
talking: undefined,
|
|
17
17
|
wearables: [],
|
|
18
18
|
emotes: [],
|
|
19
|
+
showOnlyWearables: undefined,
|
|
19
20
|
};
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
@@ -57,6 +58,9 @@ export var PBAvatarShape;
|
|
|
57
58
|
for (const v of message.emotes) {
|
|
58
59
|
writer.uint32(90).string(v);
|
|
59
60
|
}
|
|
61
|
+
if (message.showOnlyWearables !== undefined) {
|
|
62
|
+
writer.uint32(96).bool(message.showOnlyWearables);
|
|
63
|
+
}
|
|
60
64
|
return writer;
|
|
61
65
|
}
|
|
62
66
|
PBAvatarShape.encode = encode;
|
|
@@ -133,6 +137,12 @@ export var PBAvatarShape;
|
|
|
133
137
|
}
|
|
134
138
|
message.emotes.push(reader.string());
|
|
135
139
|
continue;
|
|
140
|
+
case 12:
|
|
141
|
+
if (tag !== 96) {
|
|
142
|
+
break;
|
|
143
|
+
}
|
|
144
|
+
message.showOnlyWearables = reader.bool();
|
|
145
|
+
continue;
|
|
136
146
|
}
|
|
137
147
|
if ((tag & 7) === 4 || tag === 0) {
|
|
138
148
|
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;
|
|
@@ -16,7 +16,6 @@ import { AudioStreamComponentDefinitionExtended } from './extended/AudioStream';
|
|
|
16
16
|
import { MediaState } from './generated/pb/decentraland/sdk/components/common/media_state.gen';
|
|
17
17
|
import { VirtualCameraComponentDefinitionExtended } from './extended/VirtualCamera';
|
|
18
18
|
import { InputModifierComponentDefinitionExtended } from './extended/InputModifier';
|
|
19
|
-
import { LightSourceComponentDefinitionExtended } from './extended/LightSource';
|
|
20
19
|
export * from './generated/index.gen';
|
|
21
20
|
export type { GrowOnlyValueSetComponentDefinition, LastWriteWinElementSetComponentDefinition, LwwComponentGetter, GSetComponentGetter };
|
|
22
21
|
export declare const Transform: LwwComponentGetter<TransformComponentExtended>;
|
|
@@ -29,7 +28,6 @@ export declare const MeshCollider: LwwComponentGetter<MeshColliderComponentDefin
|
|
|
29
28
|
export declare const Tween: LwwComponentGetter<TweenComponentDefinitionExtended>;
|
|
30
29
|
export declare const VirtualCamera: LwwComponentGetter<VirtualCameraComponentDefinitionExtended>;
|
|
31
30
|
export declare const InputModifier: LwwComponentGetter<InputModifierComponentDefinitionExtended>;
|
|
32
|
-
export declare const LightSource: LwwComponentGetter<LightSourceComponentDefinitionExtended>;
|
|
33
31
|
/**
|
|
34
32
|
* @alpha
|
|
35
33
|
*/
|
package/dist/components/index.js
CHANGED
|
@@ -13,7 +13,6 @@ import { defineAudioStreamComponent } from './extended/AudioStream';
|
|
|
13
13
|
import { MediaState } from './generated/pb/decentraland/sdk/components/common/media_state.gen';
|
|
14
14
|
import { defineVirtualCameraComponent } from './extended/VirtualCamera';
|
|
15
15
|
import { defineInputModifierComponent } from './extended/InputModifier';
|
|
16
|
-
import { defineLightSourceComponent } from './extended/LightSource';
|
|
17
16
|
export * from './generated/index.gen';
|
|
18
17
|
/* @__PURE__ */
|
|
19
18
|
export const Transform = (engine) => defineTransformComponent(engine);
|
|
@@ -35,8 +34,6 @@ export const Tween = (engine) => defineTweenComponent(engine);
|
|
|
35
34
|
export const VirtualCamera = (engine) => defineVirtualCameraComponent(engine);
|
|
36
35
|
/* @__PURE__*/
|
|
37
36
|
export const InputModifier = (engine) => defineInputModifierComponent(engine);
|
|
38
|
-
/* @__PURE__*/
|
|
39
|
-
export const LightSource = (engine) => defineLightSourceComponent(engine);
|
|
40
37
|
/**
|
|
41
38
|
* @alpha
|
|
42
39
|
*/
|
|
@@ -12,4 +12,3 @@ export type { ISyncComponents, ISyncComponentsType } from './manual/SyncComponen
|
|
|
12
12
|
export type { INetowrkEntity, INetowrkEntityType } from './manual/NetworkEntity';
|
|
13
13
|
export type { INetowrkParent, INetowrkParentType } from './manual/NetworkParent';
|
|
14
14
|
export type { InputModifierHelper, InputModifierComponentDefinitionExtended } from './extended/InputModifier';
|
|
15
|
-
export type { LightSourceHelper, LightSourceComponentDefinitionExtended } from './extended/LightSource';
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export * from './systems/async-task';
|
|
|
11
11
|
export * from './systems/tween';
|
|
12
12
|
export * from './engine/entity';
|
|
13
13
|
export * from './components/types';
|
|
14
|
-
import { MaterialComponentDefinitionExtended, MeshColliderComponentDefinitionExtended, MeshRendererComponentDefinitionExtended, TransformComponentExtended, AnimatorComponentDefinitionExtended, AudioSourceComponentDefinitionExtended, AudioStreamComponentDefinitionExtended, ISyncComponents, TweenComponentDefinitionExtended, INetowrkEntity, INetowrkParent, VirtualCameraComponentDefinitionExtended, InputModifierComponentDefinitionExtended
|
|
14
|
+
import { MaterialComponentDefinitionExtended, MeshColliderComponentDefinitionExtended, MeshRendererComponentDefinitionExtended, TransformComponentExtended, AnimatorComponentDefinitionExtended, AudioSourceComponentDefinitionExtended, AudioStreamComponentDefinitionExtended, ISyncComponents, TweenComponentDefinitionExtended, INetowrkEntity, INetowrkParent, VirtualCameraComponentDefinitionExtended, InputModifierComponentDefinitionExtended } from './components/types';
|
|
15
15
|
import { NameComponent } from './components/manual/Name';
|
|
16
16
|
export declare const Transform: TransformComponentExtended;
|
|
17
17
|
export declare const Animator: AnimatorComponentDefinitionExtended;
|
|
@@ -24,7 +24,6 @@ export declare const Name: NameComponent;
|
|
|
24
24
|
export declare const Tween: TweenComponentDefinitionExtended;
|
|
25
25
|
export declare const VirtualCamera: VirtualCameraComponentDefinitionExtended;
|
|
26
26
|
export declare const InputModifier: InputModifierComponentDefinitionExtended;
|
|
27
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
|
28
27
|
/**
|
|
29
28
|
* @alpha
|
|
30
29
|
* This is going to be used for sync components through a server.
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,6 @@ export const Name = components.Name(engine);
|
|
|
29
29
|
export const Tween = /* @__PURE__*/ components.Tween(engine);
|
|
30
30
|
export const VirtualCamera = /* @__PURE__*/ components.VirtualCamera(engine);
|
|
31
31
|
export const InputModifier = /* @__PURE__*/ components.InputModifier(engine);
|
|
32
|
-
export const LightSource = /* @__PURE__*/ components.LightSource(engine);
|
|
33
32
|
/**
|
|
34
33
|
* @alpha
|
|
35
34
|
* This is going to be used for sync components through a server.
|
|
@@ -17,7 +17,6 @@ import { PBGltfContainer } from './pb/decentraland/sdk/components/gltf_container
|
|
|
17
17
|
import { PBGltfContainerLoadingState } from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
18
18
|
import { PBGltfNodeModifiers } from './pb/decentraland/sdk/components/gltf_node_modifiers.gen';
|
|
19
19
|
import { PBInputModifier } from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
20
|
-
import { PBLightSource } from './pb/decentraland/sdk/components/light_source.gen';
|
|
21
20
|
import { PBMainCamera } from './pb/decentraland/sdk/components/main_camera.gen';
|
|
22
21
|
import { PBNftShape } from './pb/decentraland/sdk/components/nft_shape.gen';
|
|
23
22
|
import { PBPlayerIdentityData } from './pb/decentraland/sdk/components/player_identity_data.gen';
|
|
@@ -61,7 +60,6 @@ import { PBVisibilityComponent } from './pb/decentraland/sdk/components/visibili
|
|
|
61
60
|
/** @public */ export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
62
61
|
/** @public */ export declare const GltfNodeModifiers: LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>;
|
|
63
62
|
/** @public */ export declare const InputModifier: LastWriteWinElementSetComponentDefinition<PBInputModifier>;
|
|
64
|
-
/** @public */ export declare const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
|
|
65
63
|
/** @public */ export declare const MainCamera: LastWriteWinElementSetComponentDefinition<PBMainCamera>;
|
|
66
64
|
/** @public */ export declare const NftShape: LastWriteWinElementSetComponentDefinition<PBNftShape>;
|
|
67
65
|
/** @public */ export declare const PlayerIdentityData: LastWriteWinElementSetComponentDefinition<PBPlayerIdentityData>;
|
|
@@ -26,7 +26,7 @@ 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.TextShape = exports.SkyboxTime = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MainCamera = 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.TextShape = exports.SkyboxTime = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MainCamera = 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);
|
|
@@ -47,7 +47,6 @@ __exportStar(require("./index.gen"), exports);
|
|
|
47
47
|
/** @public */ exports.GltfContainerLoadingState = components.GltfContainerLoadingState(initialization_1.engine);
|
|
48
48
|
/** @public */ exports.GltfNodeModifiers = components.GltfNodeModifiers(initialization_1.engine);
|
|
49
49
|
/** @public */ exports.InputModifier = components.InputModifier(initialization_1.engine);
|
|
50
|
-
/** @public */ exports.LightSource = components.LightSource(initialization_1.engine);
|
|
51
50
|
/** @public */ exports.MainCamera = components.MainCamera(initialization_1.engine);
|
|
52
51
|
/** @public */ exports.NftShape = components.NftShape(initialization_1.engine);
|
|
53
52
|
/** @public */ exports.PlayerIdentityData = components.PlayerIdentityData(initialization_1.engine);
|
|
@@ -18,7 +18,6 @@ import { PBGltfContainer } from './pb/decentraland/sdk/components/gltf_container
|
|
|
18
18
|
import { PBGltfContainerLoadingState } from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
19
19
|
import { PBGltfNodeModifiers } from './pb/decentraland/sdk/components/gltf_node_modifiers.gen';
|
|
20
20
|
import { PBInputModifier } from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
21
|
-
import { PBLightSource } from './pb/decentraland/sdk/components/light_source.gen';
|
|
22
21
|
import { PBMainCamera } from './pb/decentraland/sdk/components/main_camera.gen';
|
|
23
22
|
import { PBMaterial } from './pb/decentraland/sdk/components/material.gen';
|
|
24
23
|
import { PBMeshCollider } from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
@@ -67,7 +66,6 @@ export * from './pb/decentraland/sdk/components/gltf_container.gen';
|
|
|
67
66
|
export * from './pb/decentraland/sdk/components/gltf_container_loading_state.gen';
|
|
68
67
|
export * from './pb/decentraland/sdk/components/gltf_node_modifiers.gen';
|
|
69
68
|
export * from './pb/decentraland/sdk/components/input_modifier.gen';
|
|
70
|
-
export * from './pb/decentraland/sdk/components/light_source.gen';
|
|
71
69
|
export * from './pb/decentraland/sdk/components/main_camera.gen';
|
|
72
70
|
export * from './pb/decentraland/sdk/components/material.gen';
|
|
73
71
|
export * from './pb/decentraland/sdk/components/mesh_collider.gen';
|
|
@@ -118,7 +116,6 @@ export type GSetComponentGetter<T extends GrowOnlyValueSetComponentDefinition<an
|
|
|
118
116
|
/** @public */ export declare const GltfContainerLoadingState: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
119
117
|
/** @public */ export declare const GltfNodeModifiers: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
120
118
|
/** @public */ export declare const InputModifier: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
121
|
-
/** @public */ export declare const LightSource: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
122
119
|
/** @public */ export declare const MainCamera: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
123
120
|
/** @public */ export declare const Material: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
124
121
|
/** @public */ export declare const MeshCollider: LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -169,7 +166,6 @@ export declare const componentDefinitionByName: {
|
|
|
169
166
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
170
167
|
"core::GltfNodeModifiers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeModifiers>>;
|
|
171
168
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
172
|
-
"core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
|
|
173
169
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
174
170
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
175
171
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.componentDefinitionByName = 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.Tween = exports.TextShape = exports.SkyboxTime = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MeshRenderer = exports.MeshCollider = exports.Material = exports.MainCamera = exports.
|
|
17
|
+
exports.componentDefinitionByName = 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.Tween = exports.TextShape = exports.SkyboxTime = exports.RealmInfo = exports.RaycastResult = exports.Raycast = exports.PrimaryPointerInfo = exports.PointerLock = exports.PointerEventsResult = exports.PointerEvents = exports.PlayerIdentityData = exports.NftShape = exports.MeshRenderer = exports.MeshCollider = exports.Material = exports.MainCamera = 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 = exports.Animator = void 0;
|
|
18
18
|
const Animator_gen_1 = require("./Animator.gen");
|
|
19
19
|
const AudioEvent_gen_1 = require("./AudioEvent.gen");
|
|
20
20
|
const AudioSource_gen_1 = require("./AudioSource.gen");
|
|
@@ -33,7 +33,6 @@ const GltfContainer_gen_1 = require("./GltfContainer.gen");
|
|
|
33
33
|
const GltfContainerLoadingState_gen_1 = require("./GltfContainerLoadingState.gen");
|
|
34
34
|
const GltfNodeModifiers_gen_1 = require("./GltfNodeModifiers.gen");
|
|
35
35
|
const InputModifier_gen_1 = require("./InputModifier.gen");
|
|
36
|
-
const LightSource_gen_1 = require("./LightSource.gen");
|
|
37
36
|
const MainCamera_gen_1 = require("./MainCamera.gen");
|
|
38
37
|
const Material_gen_1 = require("./Material.gen");
|
|
39
38
|
const MeshCollider_gen_1 = require("./MeshCollider.gen");
|
|
@@ -82,7 +81,6 @@ __exportStar(require("./pb/decentraland/sdk/components/gltf_container.gen"), exp
|
|
|
82
81
|
__exportStar(require("./pb/decentraland/sdk/components/gltf_container_loading_state.gen"), exports);
|
|
83
82
|
__exportStar(require("./pb/decentraland/sdk/components/gltf_node_modifiers.gen"), exports);
|
|
84
83
|
__exportStar(require("./pb/decentraland/sdk/components/input_modifier.gen"), exports);
|
|
85
|
-
__exportStar(require("./pb/decentraland/sdk/components/light_source.gen"), exports);
|
|
86
84
|
__exportStar(require("./pb/decentraland/sdk/components/main_camera.gen"), exports);
|
|
87
85
|
__exportStar(require("./pb/decentraland/sdk/components/material.gen"), exports);
|
|
88
86
|
__exportStar(require("./pb/decentraland/sdk/components/mesh_collider.gen"), exports);
|
|
@@ -171,9 +169,6 @@ exports.GltfNodeModifiers = GltfNodeModifiers;
|
|
|
171
169
|
/** @public */ const InputModifier = engine =>
|
|
172
170
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::InputModifier", InputModifier_gen_1.InputModifierSchema);
|
|
173
171
|
exports.InputModifier = InputModifier;
|
|
174
|
-
/** @public */ const LightSource = engine =>
|
|
175
|
-
/* @__PURE__ */ engine.defineComponentFromSchema("core::LightSource", LightSource_gen_1.LightSourceSchema);
|
|
176
|
-
exports.LightSource = LightSource;
|
|
177
172
|
/** @public */ const MainCamera = engine =>
|
|
178
173
|
/* @__PURE__ */ engine.defineComponentFromSchema("core::MainCamera", MainCamera_gen_1.MainCameraSchema);
|
|
179
174
|
exports.MainCamera = MainCamera;
|
|
@@ -288,7 +283,6 @@ exports.componentDefinitionByName = {
|
|
|
288
283
|
"core::GltfContainerLoadingState": exports.GltfContainerLoadingState,
|
|
289
284
|
"core::GltfNodeModifiers": exports.GltfNodeModifiers,
|
|
290
285
|
"core::InputModifier": exports.InputModifier,
|
|
291
|
-
"core::LightSource": exports.LightSource,
|
|
292
286
|
"core::MainCamera": exports.MainCamera,
|
|
293
287
|
"core::Material": exports.Material,
|
|
294
288
|
"core::MeshCollider": exports.MeshCollider,
|
|
@@ -22,6 +22,7 @@ function createBasePBAvatarShape() {
|
|
|
22
22
|
talking: undefined,
|
|
23
23
|
wearables: [],
|
|
24
24
|
emotes: [],
|
|
25
|
+
showOnlyWearables: undefined,
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
28
|
/**
|
|
@@ -63,6 +64,9 @@ var PBAvatarShape;
|
|
|
63
64
|
for (const v of message.emotes) {
|
|
64
65
|
writer.uint32(90).string(v);
|
|
65
66
|
}
|
|
67
|
+
if (message.showOnlyWearables !== undefined) {
|
|
68
|
+
writer.uint32(96).bool(message.showOnlyWearables);
|
|
69
|
+
}
|
|
66
70
|
return writer;
|
|
67
71
|
}
|
|
68
72
|
PBAvatarShape.encode = encode;
|
|
@@ -139,6 +143,12 @@ var PBAvatarShape;
|
|
|
139
143
|
}
|
|
140
144
|
message.emotes.push(reader.string());
|
|
141
145
|
continue;
|
|
146
|
+
case 12:
|
|
147
|
+
if (tag !== 96) {
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
message.showOnlyWearables = reader.bool();
|
|
151
|
+
continue;
|
|
142
152
|
}
|
|
143
153
|
if ((tag & 7) === 4 || tag === 0) {
|
|
144
154
|
break;
|
package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts
CHANGED
|
@@ -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
|
|
@@ -9,7 +9,7 @@ const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
|
9
9
|
const camera_transition_gen_1 = require("./common/camera_transition.gen");
|
|
10
10
|
const protobufPackageSarasa = "decentraland.sdk.components";
|
|
11
11
|
function createBasePBVirtualCamera() {
|
|
12
|
-
return { defaultTransition: undefined, lookAtEntity: undefined
|
|
12
|
+
return { defaultTransition: undefined, lookAtEntity: undefined };
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* @public
|
|
@@ -23,9 +23,6 @@ var PBVirtualCamera;
|
|
|
23
23
|
if (message.lookAtEntity !== undefined) {
|
|
24
24
|
writer.uint32(16).uint32(message.lookAtEntity);
|
|
25
25
|
}
|
|
26
|
-
if (message.fov !== undefined) {
|
|
27
|
-
writer.uint32(29).float(message.fov);
|
|
28
|
-
}
|
|
29
26
|
return writer;
|
|
30
27
|
}
|
|
31
28
|
PBVirtualCamera.encode = encode;
|
|
@@ -48,12 +45,6 @@ var PBVirtualCamera;
|
|
|
48
45
|
}
|
|
49
46
|
message.lookAtEntity = reader.uint32();
|
|
50
47
|
continue;
|
|
51
|
-
case 3:
|
|
52
|
-
if (tag !== 29) {
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
message.fov = reader.float();
|
|
56
|
-
continue;
|
|
57
48
|
}
|
|
58
49
|
if ((tag & 7) === 4 || tag === 0) {
|
|
59
50
|
break;
|
|
@@ -16,7 +16,6 @@ import { AudioStreamComponentDefinitionExtended } from './extended/AudioStream';
|
|
|
16
16
|
import { MediaState } from './generated/pb/decentraland/sdk/components/common/media_state.gen';
|
|
17
17
|
import { VirtualCameraComponentDefinitionExtended } from './extended/VirtualCamera';
|
|
18
18
|
import { InputModifierComponentDefinitionExtended } from './extended/InputModifier';
|
|
19
|
-
import { LightSourceComponentDefinitionExtended } from './extended/LightSource';
|
|
20
19
|
export * from './generated/index.gen';
|
|
21
20
|
export type { GrowOnlyValueSetComponentDefinition, LastWriteWinElementSetComponentDefinition, LwwComponentGetter, GSetComponentGetter };
|
|
22
21
|
export declare const Transform: LwwComponentGetter<TransformComponentExtended>;
|
|
@@ -29,7 +28,6 @@ export declare const MeshCollider: LwwComponentGetter<MeshColliderComponentDefin
|
|
|
29
28
|
export declare const Tween: LwwComponentGetter<TweenComponentDefinitionExtended>;
|
|
30
29
|
export declare const VirtualCamera: LwwComponentGetter<VirtualCameraComponentDefinitionExtended>;
|
|
31
30
|
export declare const InputModifier: LwwComponentGetter<InputModifierComponentDefinitionExtended>;
|
|
32
|
-
export declare const LightSource: LwwComponentGetter<LightSourceComponentDefinitionExtended>;
|
|
33
31
|
/**
|
|
34
32
|
* @alpha
|
|
35
33
|
*/
|
|
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.MediaState = exports.NetworkParent = exports.NetworkEntity = exports.SyncComponents = exports.Name = exports.
|
|
20
|
+
exports.MediaState = exports.NetworkParent = exports.NetworkEntity = exports.SyncComponents = exports.Name = exports.InputModifier = exports.VirtualCamera = exports.Tween = exports.MeshCollider = exports.MeshRenderer = exports.AudioStream = exports.AudioSource = exports.Animator = exports.Material = exports.Transform = void 0;
|
|
21
21
|
const Animator_1 = require("./extended/Animator");
|
|
22
22
|
const AudioSource_1 = require("./extended/AudioSource");
|
|
23
23
|
const Material_1 = require("./extended/Material");
|
|
@@ -34,7 +34,6 @@ const media_state_gen_1 = require("./generated/pb/decentraland/sdk/components/co
|
|
|
34
34
|
Object.defineProperty(exports, "MediaState", { enumerable: true, get: function () { return media_state_gen_1.MediaState; } });
|
|
35
35
|
const VirtualCamera_1 = require("./extended/VirtualCamera");
|
|
36
36
|
const InputModifier_1 = require("./extended/InputModifier");
|
|
37
|
-
const LightSource_1 = require("./extended/LightSource");
|
|
38
37
|
__exportStar(require("./generated/index.gen"), exports);
|
|
39
38
|
/* @__PURE__ */
|
|
40
39
|
const Transform = (engine) => (0, Transform_1.defineTransformComponent)(engine);
|
|
@@ -66,9 +65,6 @@ exports.VirtualCamera = VirtualCamera;
|
|
|
66
65
|
/* @__PURE__*/
|
|
67
66
|
const InputModifier = (engine) => (0, InputModifier_1.defineInputModifierComponent)(engine);
|
|
68
67
|
exports.InputModifier = InputModifier;
|
|
69
|
-
/* @__PURE__*/
|
|
70
|
-
const LightSource = (engine) => (0, LightSource_1.defineLightSourceComponent)(engine);
|
|
71
|
-
exports.LightSource = LightSource;
|
|
72
68
|
/**
|
|
73
69
|
* @alpha
|
|
74
70
|
*/
|
|
@@ -12,4 +12,3 @@ export type { ISyncComponents, ISyncComponentsType } from './manual/SyncComponen
|
|
|
12
12
|
export type { INetowrkEntity, INetowrkEntityType } from './manual/NetworkEntity';
|
|
13
13
|
export type { INetowrkParent, INetowrkParentType } from './manual/NetworkParent';
|
|
14
14
|
export type { InputModifierHelper, InputModifierComponentDefinitionExtended } from './extended/InputModifier';
|
|
15
|
-
export type { LightSourceHelper, LightSourceComponentDefinitionExtended } from './extended/LightSource';
|
package/dist-cjs/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export * from './systems/async-task';
|
|
|
11
11
|
export * from './systems/tween';
|
|
12
12
|
export * from './engine/entity';
|
|
13
13
|
export * from './components/types';
|
|
14
|
-
import { MaterialComponentDefinitionExtended, MeshColliderComponentDefinitionExtended, MeshRendererComponentDefinitionExtended, TransformComponentExtended, AnimatorComponentDefinitionExtended, AudioSourceComponentDefinitionExtended, AudioStreamComponentDefinitionExtended, ISyncComponents, TweenComponentDefinitionExtended, INetowrkEntity, INetowrkParent, VirtualCameraComponentDefinitionExtended, InputModifierComponentDefinitionExtended
|
|
14
|
+
import { MaterialComponentDefinitionExtended, MeshColliderComponentDefinitionExtended, MeshRendererComponentDefinitionExtended, TransformComponentExtended, AnimatorComponentDefinitionExtended, AudioSourceComponentDefinitionExtended, AudioStreamComponentDefinitionExtended, ISyncComponents, TweenComponentDefinitionExtended, INetowrkEntity, INetowrkParent, VirtualCameraComponentDefinitionExtended, InputModifierComponentDefinitionExtended } from './components/types';
|
|
15
15
|
import { NameComponent } from './components/manual/Name';
|
|
16
16
|
export declare const Transform: TransformComponentExtended;
|
|
17
17
|
export declare const Animator: AnimatorComponentDefinitionExtended;
|
|
@@ -24,7 +24,6 @@ export declare const Name: NameComponent;
|
|
|
24
24
|
export declare const Tween: TweenComponentDefinitionExtended;
|
|
25
25
|
export declare const VirtualCamera: VirtualCameraComponentDefinitionExtended;
|
|
26
26
|
export declare const InputModifier: InputModifierComponentDefinitionExtended;
|
|
27
|
-
export declare const LightSource: LightSourceComponentDefinitionExtended;
|
|
28
27
|
/**
|
|
29
28
|
* @alpha
|
|
30
29
|
* This is going to be used for sync components through a server.
|
package/dist-cjs/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.NetworkParent = exports.NetworkEntity = exports.SyncComponents = exports.
|
|
29
|
+
exports.NetworkParent = exports.NetworkEntity = exports.SyncComponents = exports.InputModifier = exports.VirtualCamera = exports.Tween = exports.Name = exports.MeshCollider = exports.MeshRenderer = exports.Material = exports.AudioStream = exports.AudioSource = exports.Animator = exports.Transform = exports.components = exports.cyclicParentingChecker = void 0;
|
|
30
30
|
// The order of the following imports matters. Please do not auto-sort
|
|
31
31
|
__exportStar(require("./engine"), exports);
|
|
32
32
|
__exportStar(require("./schemas"), exports);
|
|
@@ -58,7 +58,6 @@ exports.Name = components.Name(initialization_1.engine);
|
|
|
58
58
|
exports.Tween = components.Tween(initialization_1.engine);
|
|
59
59
|
exports.VirtualCamera = components.VirtualCamera(initialization_1.engine);
|
|
60
60
|
exports.InputModifier = components.InputModifier(initialization_1.engine);
|
|
61
|
-
exports.LightSource = components.LightSource(initialization_1.engine);
|
|
62
61
|
/**
|
|
63
62
|
* @alpha
|
|
64
63
|
* This is going to be used for sync components through a server.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/ecs",
|
|
3
3
|
"description": "Decentraland ECS",
|
|
4
|
-
"version": "7.9.3-
|
|
4
|
+
"version": "7.9.3-16574576809.commit-c0a4156",
|
|
5
5
|
"author": "DCL",
|
|
6
6
|
"bugs": "https://github.com/decentraland/ecs/issues",
|
|
7
7
|
"files": [
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
},
|
|
34
34
|
"types": "./dist/index.d.ts",
|
|
35
35
|
"typings": "./dist/index.d.ts",
|
|
36
|
-
"commit": "
|
|
36
|
+
"commit": "c0a41564ac1a69bd3b43dbda91b7d24979d14ce0"
|
|
37
37
|
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { IEngine, LastWriteWinElementSetComponentDefinition } from '../../engine';
|
|
2
|
-
import { PBLightSource_Point, PBLightSource_Spot, PBLightSource } from '../generated/index.gen';
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export interface LightSourceHelper {
|
|
7
|
-
/**
|
|
8
|
-
* @returns a Light Source type
|
|
9
|
-
*/
|
|
10
|
-
Point: (point: PBLightSource_Point) => PBLightSource['type'];
|
|
11
|
-
/**
|
|
12
|
-
* @returns a Light Source type
|
|
13
|
-
*/
|
|
14
|
-
Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
|
|
20
|
-
/**
|
|
21
|
-
* LightSource helper with constructor
|
|
22
|
-
*/
|
|
23
|
-
Type: LightSourceHelper;
|
|
24
|
-
}
|
|
25
|
-
export declare function defineLightSourceComponent(engine: Pick<IEngine, 'defineComponentFromSchema'>): LightSourceComponentDefinitionExtended;
|