@dcl/ecs 7.0.6-3849904041.commit-fa1984a → 7.0.6-3874914632.commit-eb56237
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.
|
@@ -6,7 +6,8 @@ export declare const enum AvatarAnchorPointType {
|
|
|
6
6
|
AAPT_RIGHT_HAND = 3
|
|
7
7
|
}
|
|
8
8
|
export interface PBAvatarAttach {
|
|
9
|
-
|
|
9
|
+
/** default's to current player avatar id if not provided */
|
|
10
|
+
avatarId?: string | undefined;
|
|
10
11
|
anchorPointId: AvatarAnchorPointType;
|
|
11
12
|
}
|
|
12
13
|
/**
|
|
@@ -9,14 +9,14 @@ export var AvatarAnchorPointType;
|
|
|
9
9
|
AvatarAnchorPointType[AvatarAnchorPointType["AAPT_RIGHT_HAND"] = 3] = "AAPT_RIGHT_HAND";
|
|
10
10
|
})(AvatarAnchorPointType || (AvatarAnchorPointType = {}));
|
|
11
11
|
function createBasePBAvatarAttach() {
|
|
12
|
-
return { avatarId:
|
|
12
|
+
return { avatarId: undefined, anchorPointId: 0 };
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* Internal
|
|
16
16
|
*/
|
|
17
17
|
export const PBAvatarAttach = {
|
|
18
18
|
encode(message, writer = _m0.Writer.create()) {
|
|
19
|
-
if (message.avatarId !==
|
|
19
|
+
if (message.avatarId !== undefined) {
|
|
20
20
|
writer.uint32(10).string(message.avatarId);
|
|
21
21
|
}
|
|
22
22
|
if (message.anchorPointId !== 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/ecs",
|
|
3
|
-
"version": "7.0.6-
|
|
3
|
+
"version": "7.0.6-3874914632.commit-eb56237",
|
|
4
4
|
"description": "Decentraland ECS",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"typings": "./dist/index.d.ts",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"ts-proto": "^1.112.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@dcl/crdt": "7.0.6-
|
|
30
|
+
"@dcl/crdt": "7.0.6-3874914632.commit-eb56237",
|
|
31
31
|
"@dcl/js-runtime": "file:../js-runtime",
|
|
32
|
-
"@dcl/protocol": "^1.0.0-
|
|
32
|
+
"@dcl/protocol": "^1.0.0-3874595169.commit-f6a7e18"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"displayName": "ECS",
|
|
42
42
|
"tsconfig": "./tsconfig.json"
|
|
43
43
|
},
|
|
44
|
-
"commit": "
|
|
44
|
+
"commit": "eb5623794ecd280831fd47cf7b7a1139aedb5bac"
|
|
45
45
|
}
|