@dcl/sdk 7.0.0-2798614483.commit-4feae69 → 7.0.0-2875155444.commit-bb5e498
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 +347 -179
- package/dist/ecs7/index.js +3386 -3310
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/dist/ecs7/proto-definitions/Animator.proto +5 -5
- package/dist/ecs7/proto-definitions/AudioSource.proto +4 -4
- package/dist/ecs7/proto-definitions/AudioStream.proto +2 -2
- package/dist/ecs7/proto-definitions/AvatarShape.proto +10 -10
- package/dist/ecs7/proto-definitions/Billboard.proto +3 -3
- package/dist/ecs7/proto-definitions/BoxShape.proto +6 -3
- package/dist/ecs7/proto-definitions/CylinderShape.proto +8 -5
- package/dist/ecs7/proto-definitions/GLTFShape.proto +6 -3
- package/dist/ecs7/proto-definitions/NFTShape.proto +9 -6
- package/dist/ecs7/proto-definitions/OnPointerDown.proto +4 -4
- package/dist/ecs7/proto-definitions/OnPointerUp.proto +4 -4
- package/dist/ecs7/proto-definitions/PlaneShape.proto +6 -3
- package/dist/ecs7/proto-definitions/SphereShape.proto +6 -3
- package/dist/ecs7/proto-definitions/TextShape.proto +24 -23
- package/package.json +4 -4
- package/types/ecs7/index.d.ts +345 -177
@@ -10,9 +10,9 @@ message PBAnimator {
|
|
10
10
|
message PBAnimationState {
|
11
11
|
string name = 1;
|
12
12
|
string clip = 2;
|
13
|
-
bool playing = 3;
|
14
|
-
float weight = 4;
|
15
|
-
float speed = 5;
|
16
|
-
bool loop = 6;
|
17
|
-
bool should_reset = 7;
|
13
|
+
optional bool playing = 3;
|
14
|
+
optional float weight = 4; // default=1.0s
|
15
|
+
optional float speed = 5; // default=1.0
|
16
|
+
optional bool loop = 6; // default=true
|
17
|
+
optional bool should_reset = 7;
|
18
18
|
}
|
@@ -4,9 +4,9 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1020;
|
5
5
|
|
6
6
|
message PBAudioSource {
|
7
|
-
bool playing = 1;
|
8
|
-
float volume = 2;
|
9
|
-
bool loop = 3;
|
10
|
-
float pitch = 4;
|
7
|
+
optional bool playing = 1;
|
8
|
+
optional float volume = 2; // default=1.0f
|
9
|
+
optional bool loop = 3;
|
10
|
+
optional float pitch = 4; // default=1.0f
|
11
11
|
string audio_clip_url = 5;
|
12
12
|
}
|
@@ -6,15 +6,15 @@ import "common/Color3.proto";
|
|
6
6
|
|
7
7
|
message PBAvatarShape {
|
8
8
|
string id = 1;
|
9
|
-
string name = 2;
|
10
|
-
string body_shape = 3;
|
11
|
-
Color3 skin_color = 4;
|
12
|
-
Color3 hair_color = 5;
|
13
|
-
Color3 eye_color = 6;
|
9
|
+
optional string name = 2;
|
10
|
+
optional string body_shape = 3;
|
11
|
+
optional Color3 skin_color = 4;
|
12
|
+
optional Color3 hair_color = 5;
|
13
|
+
optional Color3 eye_color = 6;
|
14
14
|
repeated string wearables = 7;
|
15
|
-
string expression_trigger_id = 8;
|
16
|
-
int64 expression_trigger_timestamp = 9;
|
17
|
-
string sticker_trigger_id = 10;
|
18
|
-
int64 sticker_trigger_timestamp = 11;
|
19
|
-
bool talking = 12;
|
15
|
+
optional string expression_trigger_id = 8;
|
16
|
+
optional int64 expression_trigger_timestamp = 9;
|
17
|
+
optional string sticker_trigger_id = 10;
|
18
|
+
optional int64 sticker_trigger_timestamp = 11;
|
19
|
+
optional bool talking = 12;
|
20
20
|
}
|
@@ -4,8 +4,11 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1013;
|
5
5
|
|
6
6
|
message PBBoxShape {
|
7
|
-
|
8
|
-
bool
|
9
|
-
|
7
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
8
|
+
optional bool with_collisions = 1; // default=true
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool is_pointer_blocker = 2; // default=true
|
11
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
12
|
+
optional bool visible = 3; // default=true
|
10
13
|
repeated float uvs = 4;
|
11
14
|
}
|
@@ -4,9 +4,12 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1016;
|
5
5
|
|
6
6
|
message PBCylinderShape {
|
7
|
-
|
8
|
-
bool
|
9
|
-
|
10
|
-
|
11
|
-
|
7
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
8
|
+
optional bool with_collisions = 1; // default=true
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool is_pointer_blocker = 2; // default=true
|
11
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
12
|
+
optional bool visible = 3; // default=true
|
13
|
+
optional float radius_top = 4; // default=1.0
|
14
|
+
optional float radius_bottom = 5; // default=1.0
|
12
15
|
}
|
@@ -4,8 +4,11 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1041;
|
5
5
|
|
6
6
|
message PBGLTFShape {
|
7
|
-
|
8
|
-
bool
|
9
|
-
|
7
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
8
|
+
optional bool with_collisions = 1; // default=true
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool is_pointer_blocker = 2; // default=true
|
11
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
12
|
+
optional bool visible = 3; // default=true
|
10
13
|
string src = 4;
|
11
14
|
}
|
@@ -6,11 +6,14 @@ option (ecs_component_id) = 1040;
|
|
6
6
|
import "common/Color3.proto";
|
7
7
|
|
8
8
|
message PBNFTShape {
|
9
|
-
|
10
|
-
bool
|
11
|
-
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool with_collisions = 1; // default=true
|
11
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
12
|
+
optional bool is_pointer_blocker = 2; // default=true
|
13
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
14
|
+
optional bool visible = 3; // default=true
|
12
15
|
string src = 4;
|
13
|
-
string asset_id = 5;
|
14
|
-
int32 style = 6;
|
15
|
-
Color3 color = 7;
|
16
|
+
optional string asset_id = 5;
|
17
|
+
optional int32 style = 6;
|
18
|
+
optional Color3 color = 7;
|
16
19
|
}
|
@@ -5,8 +5,8 @@ option (ecs_component_id) = 1060;
|
|
5
5
|
import "common/ActionButton.proto";
|
6
6
|
|
7
7
|
message PBOnPointerDown {
|
8
|
-
ActionButton button = 1;
|
9
|
-
string hover_text = 2;
|
10
|
-
float
|
11
|
-
bool show_feedback = 4;
|
8
|
+
optional ActionButton button = 1; // default=ActionButton.ANY
|
9
|
+
optional string hover_text = 2; // default='Interact'
|
10
|
+
optional float max_distance = 3; // default=10
|
11
|
+
optional bool show_feedback = 4; // default=true
|
12
12
|
}
|
@@ -5,8 +5,8 @@ option (ecs_component_id) = 1061;
|
|
5
5
|
import "common/ActionButton.proto";
|
6
6
|
|
7
7
|
message PBOnPointerUp {
|
8
|
-
ActionButton button = 1;
|
9
|
-
string hover_text = 2;
|
10
|
-
float
|
11
|
-
bool show_feedback = 4;
|
8
|
+
optional ActionButton button = 1; // default=ActionButton.ANY
|
9
|
+
optional string hover_text = 2; // default='Interact'
|
10
|
+
optional float max_distance = 3; // default=10
|
11
|
+
optional bool show_feedback = 4; // default=true
|
12
12
|
}
|
@@ -4,8 +4,11 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1014;
|
5
5
|
|
6
6
|
message PBPlaneShape {
|
7
|
-
|
8
|
-
bool
|
9
|
-
|
7
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
8
|
+
optional bool with_collisions = 1; // default=true
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool is_pointer_blocker = 2; // default=true
|
11
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
12
|
+
optional bool visible = 3; // default=true
|
10
13
|
repeated float uvs = 4;
|
11
14
|
}
|
@@ -4,7 +4,10 @@ import "common/id.proto";
|
|
4
4
|
option (ecs_component_id) = 1015;
|
5
5
|
|
6
6
|
message PBSphereShape {
|
7
|
-
|
8
|
-
bool
|
9
|
-
|
7
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
8
|
+
optional bool with_collisions = 1; // default=true
|
9
|
+
// @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366
|
10
|
+
optional bool is_pointer_blocker = 2; // default=true
|
11
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
12
|
+
optional bool visible = 3; // default=true
|
10
13
|
}
|
@@ -7,27 +7,28 @@ import "common/Color3.proto";
|
|
7
7
|
|
8
8
|
message PBTextShape {
|
9
9
|
string text = 1;
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
float
|
14
|
-
|
15
|
-
|
16
|
-
string
|
17
|
-
|
18
|
-
float
|
19
|
-
float
|
20
|
-
float
|
21
|
-
float
|
22
|
-
float
|
23
|
-
float
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
float
|
28
|
-
float
|
29
|
-
float
|
30
|
-
|
31
|
-
Color3
|
32
|
-
Color3
|
10
|
+
// @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353
|
11
|
+
optional bool visible = 2; // default=true
|
12
|
+
optional string font = 3;
|
13
|
+
optional float opacity = 4; // default=1.0f
|
14
|
+
optional float font_Size = 5; // default=10
|
15
|
+
optional bool font_autoSize = 6;
|
16
|
+
optional string h_text_align = 7; // default='center'
|
17
|
+
optional string v_text_align = 8; // default='center'
|
18
|
+
optional float width = 9; // default=1
|
19
|
+
optional float height = 10; // default=1
|
20
|
+
optional float padding_top = 11;
|
21
|
+
optional float padding_right = 12;
|
22
|
+
optional float padding_bottom = 13;
|
23
|
+
optional float padding_left = 14;
|
24
|
+
optional float line_spacing = 15;
|
25
|
+
optional int32 line_count = 16;
|
26
|
+
optional bool text_wrapping = 17;
|
27
|
+
optional float shadow_blur = 18;
|
28
|
+
optional float shadow_offsetX = 19;
|
29
|
+
optional float shadow_offsetY = 20;
|
30
|
+
optional float outline_width = 21;
|
31
|
+
optional Color3 shadow_color = 22; // default=(1.0,1.0,1.0)
|
32
|
+
optional Color3 outline_color = 23; // default=(1.0,1.0,1.0)
|
33
|
+
optional Color3 text_color = 24; // default=(1.0,1.0,1.0)
|
33
34
|
}
|
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-2875155444.commit-bb5e498",
|
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.
|
31
|
-
"@dcl/build-ecs": "6.11.
|
30
|
+
"@dcl/amd": "6.11.5-2875155444.commit-bb5e498",
|
31
|
+
"@dcl/build-ecs": "6.11.5-2875155444.commit-bb5e498",
|
32
32
|
"@dcl/kernel": "1.0.0-2638443584.commit-696a74b",
|
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": "bb5e49883f95974248e9fb5c77c97ddc2f1f14bb"
|
42
42
|
}
|