@dcl/ecs 7.24.1-27386133361.commit-558451f → 7.24.1-27387182535.commit-de44c20
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/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +6 -0
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +30 -0
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts +8 -0
- package/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.js +9 -0
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +3 -0
- package/dist/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +10 -1
- package/dist/components/generated/pb/google/protobuf/descriptor.gen.d.ts +640 -1
- package/dist/components/generated/pb/google/protobuf/descriptor.gen.js +260 -4
- package/dist/systems/triggerArea.js +1 -2
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +6 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js +30 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts +8 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.js +10 -1
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.d.ts +3 -0
- package/dist-cjs/components/generated/pb/decentraland/sdk/components/virtual_camera.gen.js +10 -1
- package/dist-cjs/components/generated/pb/google/protobuf/descriptor.gen.d.ts +640 -1
- package/dist-cjs/components/generated/pb/google/protobuf/descriptor.gen.js +261 -5
- package/dist-cjs/systems/triggerArea.js +1 -2
- package/package.json +2 -2
package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ export interface PBAvatarLocomotionSettings {
|
|
|
19
19
|
runJumpHeight?: number | undefined;
|
|
20
20
|
/** Cooldown time after a hard landing before the avatar can move again (in seconds) */
|
|
21
21
|
hardLandingCooldown?: number | undefined;
|
|
22
|
+
/** Height of the double jump (in meters) */
|
|
23
|
+
doubleJumpHeight?: number | undefined;
|
|
24
|
+
/** Maximum speed when gliding (in meters per second) */
|
|
25
|
+
glidingSpeed?: number | undefined;
|
|
26
|
+
/** Maximum falling speed when gliding (in meters per second) */
|
|
27
|
+
glidingFallingSpeed?: number | undefined;
|
|
22
28
|
}
|
|
23
29
|
/**
|
|
24
30
|
* @public
|
package/dist/components/generated/pb/decentraland/sdk/components/avatar_locomotion_settings.gen.js
CHANGED
|
@@ -9,6 +9,9 @@ function createBasePBAvatarLocomotionSettings() {
|
|
|
9
9
|
jumpHeight: undefined,
|
|
10
10
|
runJumpHeight: undefined,
|
|
11
11
|
hardLandingCooldown: undefined,
|
|
12
|
+
doubleJumpHeight: undefined,
|
|
13
|
+
glidingSpeed: undefined,
|
|
14
|
+
glidingFallingSpeed: undefined,
|
|
12
15
|
};
|
|
13
16
|
}
|
|
14
17
|
/**
|
|
@@ -35,6 +38,15 @@ export var PBAvatarLocomotionSettings;
|
|
|
35
38
|
if (message.hardLandingCooldown !== undefined) {
|
|
36
39
|
writer.uint32(53).float(message.hardLandingCooldown);
|
|
37
40
|
}
|
|
41
|
+
if (message.doubleJumpHeight !== undefined) {
|
|
42
|
+
writer.uint32(61).float(message.doubleJumpHeight);
|
|
43
|
+
}
|
|
44
|
+
if (message.glidingSpeed !== undefined) {
|
|
45
|
+
writer.uint32(69).float(message.glidingSpeed);
|
|
46
|
+
}
|
|
47
|
+
if (message.glidingFallingSpeed !== undefined) {
|
|
48
|
+
writer.uint32(77).float(message.glidingFallingSpeed);
|
|
49
|
+
}
|
|
38
50
|
return writer;
|
|
39
51
|
}
|
|
40
52
|
PBAvatarLocomotionSettings.encode = encode;
|
|
@@ -81,6 +93,24 @@ export var PBAvatarLocomotionSettings;
|
|
|
81
93
|
}
|
|
82
94
|
message.hardLandingCooldown = reader.float();
|
|
83
95
|
continue;
|
|
96
|
+
case 7:
|
|
97
|
+
if (tag !== 61) {
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
message.doubleJumpHeight = reader.float();
|
|
101
|
+
continue;
|
|
102
|
+
case 8:
|
|
103
|
+
if (tag !== 69) {
|
|
104
|
+
break;
|
|
105
|
+
}
|
|
106
|
+
message.glidingSpeed = reader.float();
|
|
107
|
+
continue;
|
|
108
|
+
case 9:
|
|
109
|
+
if (tag !== 77) {
|
|
110
|
+
break;
|
|
111
|
+
}
|
|
112
|
+
message.glidingFallingSpeed = reader.float();
|
|
113
|
+
continue;
|
|
84
114
|
}
|
|
85
115
|
if ((tag & 7) === 4 || tag === 0) {
|
|
86
116
|
break;
|
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
}
|
|
3
11
|
/**
|
|
4
12
|
* The AvatarShape component contains the information required to draw and animate avatar, acting as
|
|
5
13
|
* a simplified GLTF container for this specific case.
|
|
@@ -3,6 +3,15 @@ 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 = {}));
|
|
6
15
|
function createBasePBAvatarShape() {
|
|
7
16
|
return {
|
|
8
17
|
id: "",
|
|
@@ -6,6 +6,7 @@ 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
|
|
9
10
|
*/
|
|
10
11
|
/**
|
|
11
12
|
* @public
|
|
@@ -13,6 +14,8 @@ import { CameraTransition } from "./common/camera_transition.gen";
|
|
|
13
14
|
export interface PBVirtualCamera {
|
|
14
15
|
defaultTransition?: CameraTransition | undefined;
|
|
15
16
|
lookAtEntity?: number | undefined;
|
|
17
|
+
/** default: 60 */
|
|
18
|
+
fov?: number | undefined;
|
|
16
19
|
}
|
|
17
20
|
/**
|
|
18
21
|
* @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, fov: undefined };
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* @public
|
|
@@ -17,6 +17,9 @@ 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
|
+
}
|
|
20
23
|
return writer;
|
|
21
24
|
}
|
|
22
25
|
PBVirtualCamera.encode = encode;
|
|
@@ -39,6 +42,12 @@ export var PBVirtualCamera;
|
|
|
39
42
|
}
|
|
40
43
|
message.lookAtEntity = reader.uint32();
|
|
41
44
|
continue;
|
|
45
|
+
case 3:
|
|
46
|
+
if (tag !== 29) {
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
message.fov = reader.float();
|
|
50
|
+
continue;
|
|
42
51
|
}
|
|
43
52
|
if ((tag & 7) === 4 || tag === 0) {
|
|
44
53
|
break;
|