@dcl/ecs 7.1.10-4813615326.commit-e5fbd2f → 7.1.10-4824270226.commit-4b14290
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.
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
export interface PBGltfContainer {
|
|
11
11
|
/** the GLTF file path as listed in the scene's manifest. */
|
|
12
12
|
src: string;
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
|
|
13
|
+
/** default: 0 */
|
|
14
|
+
visibleMeshesCollisionMask?: number | undefined;
|
|
15
|
+
/** default: CL_POINTER | CL_PHYSICS */
|
|
16
|
+
invisibleMeshesCollisionMask?: number | undefined;
|
|
17
17
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import _m0 from "protobufjs/minimal";
|
|
3
3
|
const protobufPackageSarasa = "decentraland.sdk.components";
|
|
4
4
|
function createBasePBGltfContainer() {
|
|
5
|
-
return { src: "",
|
|
5
|
+
return { src: "", visibleMeshesCollisionMask: undefined, invisibleMeshesCollisionMask: undefined };
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* @public
|
|
@@ -15,11 +15,11 @@ export const PBGltfContainer = {
|
|
|
15
15
|
if (message.src !== "") {
|
|
16
16
|
writer.uint32(10).string(message.src);
|
|
17
17
|
}
|
|
18
|
-
if (message.
|
|
19
|
-
writer.uint32(
|
|
18
|
+
if (message.visibleMeshesCollisionMask !== undefined) {
|
|
19
|
+
writer.uint32(32).uint32(message.visibleMeshesCollisionMask);
|
|
20
20
|
}
|
|
21
|
-
if (message.
|
|
22
|
-
writer.uint32(
|
|
21
|
+
if (message.invisibleMeshesCollisionMask !== undefined) {
|
|
22
|
+
writer.uint32(40).uint32(message.invisibleMeshesCollisionMask);
|
|
23
23
|
}
|
|
24
24
|
return writer;
|
|
25
25
|
},
|
|
@@ -36,17 +36,17 @@ export const PBGltfContainer = {
|
|
|
36
36
|
}
|
|
37
37
|
message.src = reader.string();
|
|
38
38
|
continue;
|
|
39
|
-
case
|
|
40
|
-
if (tag !=
|
|
39
|
+
case 4:
|
|
40
|
+
if (tag != 32) {
|
|
41
41
|
break;
|
|
42
42
|
}
|
|
43
|
-
message.
|
|
43
|
+
message.visibleMeshesCollisionMask = reader.uint32();
|
|
44
44
|
continue;
|
|
45
|
-
case
|
|
46
|
-
if (tag !=
|
|
45
|
+
case 5:
|
|
46
|
+
if (tag != 40) {
|
|
47
47
|
break;
|
|
48
48
|
}
|
|
49
|
-
message.
|
|
49
|
+
message.invisibleMeshesCollisionMask = reader.uint32();
|
|
50
50
|
continue;
|
|
51
51
|
}
|
|
52
52
|
if ((tag & 7) == 4 || tag == 0) {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/ecs",
|
|
3
3
|
"description": "Decentraland ECS",
|
|
4
|
-
"version": "7.1.10-
|
|
4
|
+
"version": "7.1.10-4824270226.commit-4b14290",
|
|
5
5
|
"author": "DCL",
|
|
6
6
|
"bugs": "https://github.com/decentraland/ecs/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@dcl/js-runtime": "7.1.10-
|
|
8
|
+
"@dcl/js-runtime": "7.1.10-4824270226.commit-4b14290"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"ts-proto": "^1.122.0"
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
},
|
|
35
35
|
"types": "./dist/index.d.ts",
|
|
36
36
|
"typings": "./dist/index.d.ts",
|
|
37
|
-
"commit": "
|
|
37
|
+
"commit": "4b14290198e2f119d31a07ed4cbac3427a8a1fb5"
|
|
38
38
|
}
|