@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.
@@ -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
  }
@@ -4,7 +4,7 @@ import "common/id.proto";
4
4
  option (ecs_component_id) = 1021;
5
5
 
6
6
  message PBAudioStream {
7
- bool playing = 1;
8
- float volume = 2;
7
+ optional bool playing = 1;
8
+ optional float volume = 2; // default=1.0f
9
9
  string url = 3;
10
10
  }
@@ -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,7 +4,7 @@ import "common/id.proto";
4
4
  option (ecs_component_id) = 1090;
5
5
 
6
6
  message PBBillboard {
7
- bool x = 1;
8
- bool y = 2;
9
- bool z = 3;
7
+ optional bool x = 1; // default=true
8
+ optional bool y = 2; // default=true
9
+ optional bool z = 3; // default=true
10
10
  }
@@ -4,8 +4,11 @@ import "common/id.proto";
4
4
  option (ecs_component_id) = 1013;
5
5
 
6
6
  message PBBoxShape {
7
- bool with_collisions = 1;
8
- bool is_pointer_blocker = 2;
9
- bool visible = 3;
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
- bool with_collisions = 1;
8
- bool is_pointer_blocker = 2;
9
- bool visible = 3;
10
- float radius_top = 4;
11
- float radius_bottom = 5;
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
- bool with_collisions = 1;
8
- bool is_pointer_blocker = 2;
9
- bool visible = 3;
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
- bool with_collisions = 1;
10
- bool is_pointer_blocker = 2;
11
- bool visible = 3;
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 distance = 3;
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 distance = 3;
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
- bool with_collisions = 1;
8
- bool is_pointer_blocker = 2;
9
- bool visible = 3;
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
- bool with_collisions = 1;
8
- bool is_pointer_blocker = 2;
9
- bool visible = 3;
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
- bool visible = 2;
11
- string font = 3;
12
- float opacity = 4;
13
- float font_Size = 5;
14
- bool font_autoSize = 6;
15
- string h_text_align = 7;
16
- string v_text_align = 8;
17
- float width = 9;
18
- float height = 10;
19
- float padding_top = 11;
20
- float padding_right = 12;
21
- float padding_bottom = 13;
22
- float padding_left = 14;
23
- float line_spacing = 15;
24
- int32 line_count = 16;
25
- bool text_wrapping = 17;
26
- float shadow_blur = 18;
27
- float shadow_offsetX = 19;
28
- float shadow_offsetY = 20;
29
- float outline_width = 21;
30
- Color3 shadow_color = 22;
31
- Color3 outline_color = 23;
32
- Color3 text_color = 24;
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-2798614483.commit-4feae69",
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.4-2798614483.commit-4feae69",
31
- "@dcl/build-ecs": "6.11.4-2798614483.commit-4feae69",
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": "4feae6957fb228ced94988108828cec1e0b52b48"
41
+ "commit": "bb5e49883f95974248e9fb5c77c97ddc2f1f14bb"
42
42
  }