@dcl/sdk 7.0.0-2637795719.commit-7dd5361 → 7.0.0-2649664321.commit-63b4b53
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/ecs7/index.d.ts +0 -6
- package/dist/ecs7/index.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/dist/ecs7/proto-definitions/BoxShape.proto +1 -2
- package/dist/ecs7/proto-definitions/CylinderShape.proto +1 -2
- package/dist/ecs7/proto-definitions/NFTShape.proto +0 -1
- package/dist/ecs7/proto-definitions/PlaneShape.proto +1 -3
- package/dist/ecs7/proto-definitions/README.md +1 -1
- package/dist/ecs7/proto-definitions/SphereShape.proto +1 -1
- package/dist/ecs7/proto-definitions/TextShape.proto +5 -7
- package/package.json +4 -4
- package/types/ecs7/index.d.ts +0 -6
@@ -3,10 +3,9 @@ syntax = "proto3";
|
|
3
3
|
import "common/id.proto";
|
4
4
|
option (ecs_component_id) = 1013;
|
5
5
|
|
6
|
-
message PBBoxShape {
|
6
|
+
message PBBoxShape {
|
7
7
|
bool with_collisions = 1;
|
8
8
|
bool is_pointer_blocker = 2;
|
9
|
-
// TODO: should visible be another component? that maybe affects all the entities
|
10
9
|
bool visible = 3;
|
11
10
|
repeated float uvs = 4;
|
12
11
|
}
|
@@ -3,10 +3,9 @@
|
|
3
3
|
import "common/id.proto";
|
4
4
|
option (ecs_component_id) = 1016;
|
5
5
|
|
6
|
-
message PBCylinderShape {
|
6
|
+
message PBCylinderShape {
|
7
7
|
bool with_collisions = 1;
|
8
8
|
bool is_pointer_blocker = 2;
|
9
|
-
// TODO: should visible be another component? that maybe affects all the entities
|
10
9
|
bool visible = 3;
|
11
10
|
float radius_top = 4;
|
12
11
|
float radius_bottom = 5;
|
@@ -3,11 +3,9 @@
|
|
3
3
|
import "common/id.proto";
|
4
4
|
option (ecs_component_id) = 1014;
|
5
5
|
|
6
|
-
message PBPlaneShape {
|
6
|
+
message PBPlaneShape {
|
7
7
|
bool with_collisions = 1;
|
8
8
|
bool is_pointer_blocker = 2;
|
9
|
-
// TODO: should visible be another component? that maybe affects all the entities
|
10
9
|
bool visible = 3;
|
11
|
-
// TODO: this could be better serialized as u00 v00 u01 v01 u10 v10 u11 v11 for speed
|
12
10
|
repeated float uvs = 4;
|
13
11
|
}
|
@@ -29,4 +29,4 @@ The definition must be the minimal proto code, and it shouldn't have a specific
|
|
29
29
|
For example, in the unity-renderer repo, it'll be necessary to add the `csharp_namespace` option but it's the responsibility of this particular implementation. This code option doesn't define how the component is.
|
30
30
|
|
31
31
|
# Test component
|
32
|
-
If you write a proto and then push, CI will fail because the tests will fail. All the components need to be tested. `@dcl/ecs/test/components` has some examples!
|
32
|
+
If you write a proto and then push, CI will fail because the tests will fail. All the components need to be tested. `@dcl/ecs/test/components` has some examples!
|
@@ -7,13 +7,11 @@ import "common/Color3.proto";
|
|
7
7
|
|
8
8
|
message PBTextShape {
|
9
9
|
string text = 1;
|
10
|
-
|
11
|
-
// this should be removed
|
12
10
|
bool visible = 2;
|
13
11
|
string font = 3;
|
14
12
|
float opacity = 4;
|
15
|
-
float
|
16
|
-
bool
|
13
|
+
float font_Size = 5;
|
14
|
+
bool font_autoSize = 6;
|
17
15
|
string h_text_align = 7;
|
18
16
|
string v_text_align = 8;
|
19
17
|
float width = 9;
|
@@ -26,10 +24,10 @@ message PBTextShape {
|
|
26
24
|
int32 line_count = 16;
|
27
25
|
bool text_wrapping = 17;
|
28
26
|
float shadow_blur = 18;
|
29
|
-
float
|
30
|
-
float
|
27
|
+
float shadow_offsetX = 19;
|
28
|
+
float shadow_offsetY = 20;
|
31
29
|
float outline_width = 21;
|
32
30
|
Color3 shadow_color = 22;
|
33
31
|
Color3 outline_color = 23;
|
34
32
|
Color3 text_color = 24;
|
35
|
-
}
|
33
|
+
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
|
-
"version": "7.0.0-
|
3
|
+
"version": "7.0.0-2649664321.commit-63b4b53",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/src/index.js",
|
6
6
|
"typings": "dist/index.d.ts",
|
@@ -27,8 +27,8 @@
|
|
27
27
|
"src/cli/**/*.js"
|
28
28
|
],
|
29
29
|
"dependencies": {
|
30
|
-
"@dcl/amd": "6.11.4-
|
31
|
-
"@dcl/build-ecs": "6.11.4-
|
30
|
+
"@dcl/amd": "6.11.4-2649664321.commit-63b4b53",
|
31
|
+
"@dcl/build-ecs": "6.11.4-2649664321.commit-63b4b53",
|
32
32
|
"@dcl/kernel": "^1.0.0-2625011593.commit-d45c691",
|
33
33
|
"@dcl/posix": "^1.0.4",
|
34
34
|
"@dcl/schemas": "4.8.0",
|
@@ -38,5 +38,5 @@
|
|
38
38
|
"ignore": "^5.1.8"
|
39
39
|
},
|
40
40
|
"minCliVersion": "3.10.2",
|
41
|
-
"commit": "
|
41
|
+
"commit": "63b4b53aaaefdc347c1299a7255b522084f3b1ab"
|
42
42
|
}
|
package/types/ecs7/index.d.ts
CHANGED
@@ -1151,7 +1151,6 @@ declare interface PBAudioStream {
|
|
1151
1151
|
declare interface PBBoxShape {
|
1152
1152
|
withCollisions: boolean;
|
1153
1153
|
isPointerBlocker: boolean;
|
1154
|
-
/** TODO: should visible be another component? that maybe affects all the entities */
|
1155
1154
|
visible: boolean;
|
1156
1155
|
uvs: number[];
|
1157
1156
|
}
|
@@ -1159,7 +1158,6 @@ declare interface PBBoxShape {
|
|
1159
1158
|
declare interface PBCylinderShape {
|
1160
1159
|
withCollisions: boolean;
|
1161
1160
|
isPointerBlocker: boolean;
|
1162
|
-
/** TODO: should visible be another component? that maybe affects all the entities */
|
1163
1161
|
visible: boolean;
|
1164
1162
|
radiusTop: number;
|
1165
1163
|
radiusBottom: number;
|
@@ -1175,7 +1173,6 @@ declare interface PBGLTFShape {
|
|
1175
1173
|
declare interface PBNFTShape {
|
1176
1174
|
withCollisions: boolean;
|
1177
1175
|
isPointerBlocker: boolean;
|
1178
|
-
/** TODO: should visible be another component? that maybe affects all the entities */
|
1179
1176
|
visible: boolean;
|
1180
1177
|
src: string;
|
1181
1178
|
assetId: string;
|
@@ -1222,9 +1219,7 @@ declare interface PBOnPointerUpResult {
|
|
1222
1219
|
declare interface PBPlaneShape {
|
1223
1220
|
withCollisions: boolean;
|
1224
1221
|
isPointerBlocker: boolean;
|
1225
|
-
/** TODO: should visible be another component? that maybe affects all the entities */
|
1226
1222
|
visible: boolean;
|
1227
|
-
/** TODO: this could be better serialized as u00 v00 u01 v01 u10 v10 u11 v11 for speed */
|
1228
1223
|
uvs: number[];
|
1229
1224
|
}
|
1230
1225
|
|
@@ -1236,7 +1231,6 @@ declare interface PBSphereShape {
|
|
1236
1231
|
|
1237
1232
|
declare interface PBTextShape {
|
1238
1233
|
text: string;
|
1239
|
-
/** this should be removed */
|
1240
1234
|
visible: boolean;
|
1241
1235
|
font: string;
|
1242
1236
|
opacity: number;
|