@dcl/protocol 1.0.0-13831858134.commit-4a5d023 → 1.0.0-13897190826.commit-195803d

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.
Files changed (87) hide show
  1. package/out-js/decentraland/common/texture.gen.d.ts +0 -18
  2. package/out-js/decentraland/common/texture.gen.js +4 -104
  3. package/out-js/decentraland/common/texture.gen.js.map +1 -1
  4. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +0 -2
  5. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +2 -19
  6. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
  7. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +0 -41
  8. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +3 -241
  9. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  10. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -2
  11. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -19
  12. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  13. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +1 -35
  14. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -172
  15. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  16. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +0 -3
  17. package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -18
  18. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  19. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
  20. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
  21. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
  22. package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
  23. package/out-js/decentraland/sdk/components/material.gen.js +2 -86
  24. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  25. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
  26. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
  27. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  28. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
  29. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
  30. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  31. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +0 -4
  32. package/out-js/decentraland/sdk/components/ui_text.gen.js +1 -30
  33. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  34. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -37
  35. package/out-js/decentraland/sdk/components/ui_transform.gen.js +2 -201
  36. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  37. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +306 -22
  38. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +1601 -124
  39. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
  40. package/out-ts/decentraland/common/texture.gen.ts +4 -119
  41. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
  42. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -292
  43. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +0 -20
  44. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
  45. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -18
  46. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
  47. package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
  48. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
  49. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
  50. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
  51. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1 -230
  52. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +2590 -946
  53. package/package.json +3 -6
  54. package/proto/decentraland/common/texture.proto +1 -8
  55. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
  56. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
  57. package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
  58. package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
  59. package/proto/decentraland/sdk/components/common/input_action.proto +0 -3
  60. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
  61. package/proto/decentraland/sdk/components/light_source.proto +35 -0
  62. package/proto/decentraland/sdk/components/material.proto +1 -13
  63. package/proto/decentraland/sdk/components/mesh_collider.proto +1 -8
  64. package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
  65. package/proto/decentraland/sdk/components/ui_text.proto +0 -3
  66. package/proto/decentraland/sdk/components/ui_transform.proto +0 -23
  67. package/proto/decentraland/social_service/v2/social_service_v2.proto +119 -9
  68. package/public/sdk-components.proto +0 -2
  69. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
  70. package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
  71. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
  72. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
  73. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
  74. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
  75. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
  76. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
  77. package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
  78. package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
  79. package/proto/decentraland/sdk/components/global_light.proto +0 -22
  80. package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
  81. package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
  82. package/proto/decentraland/sdk/components/light.proto +0 -42
  83. package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -25
  84. package/proto/decentraland/sdk/components/spotlight.proto +0 -21
  85. package/proto/decentraland/sdk/components/texture_camera.proto +0 -41
  86. package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
  87. package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
@@ -1,42 +0,0 @@
1
- syntax = "proto3";
2
- package decentraland.sdk.components;
3
-
4
- import "decentraland/common/colors.proto";
5
-
6
- import "decentraland/sdk/components/common/id.proto";
7
- option (common.ecs_component_id) = 1204;
8
-
9
- // defines a light source.
10
- // the world has a default directional light (like sunlight) which can be overridden by adding the light component to the scene root.
11
- // a PBGlobalLight component can also be added to the root to control the directional light direction.
12
- // point lights (lightbulbs) or spotlights can be created by attaching the light component to non-root entities.
13
- message PBLight {
14
- // whether the light is on
15
- // default true
16
- optional bool enabled = 1;
17
- // light brightness in lux (lumens/m^2).
18
- //
19
- // for global directional light, this applies as a constant value at all surfaces and distances (though the effect on the surface still depends on incidence angle).
20
- // the default global light illuminance varies from 400 (sunrise/sunset) to 10,000 (midday).
21
- // for typical values, see https://en.wikipedia.org/wiki/Lux#Illuminance
22
- //
23
- // for point and spot lights, this is the lumens/m^2 at 1m distance from the light. to transform from raw lumens,
24
- // divide lumens by ~12 (4*pi).
25
- // e.g. a 100w household bulb with 1200 lumens would have an illuminance of ~100.
26
- // a lighthouse bulb with 200,000 lumens would have an illuminance of ~15,000 (ignoring beam reflections)
27
- //
28
- // default
29
- // for point/spotlights: 10,000
30
- // for global directional light: depends on explorer implementation. may vary on light direction, time of day, etc
31
- optional float illuminance = 2;
32
- // whether the light should cast shadows.
33
- // note: even when set to true the engine may not display shadows, or may only show shadows for a limited number
34
- // of lights depending on the implementation, platform, and user settings.
35
- // default
36
- // for point/spotlights: false / off
37
- // for global directional light: true / on
38
- optional bool shadows = 3;
39
- // light color
40
- // default White
41
- optional decentraland.common.Color3 color = 4;
42
- }
@@ -1,25 +0,0 @@
1
- syntax = "proto3";
2
- package decentraland.sdk.components;
3
-
4
- import "decentraland/common/vectors.proto";
5
- import "decentraland/sdk/components/common/id.proto";
6
- option (common.ecs_component_id) = 1209;
7
-
8
- message PBPrimaryPointerInfo {
9
- optional PointerType pointer_type = 1;
10
- // in pixels
11
- optional decentraland.common.Vector2 screen_coordinates = 2;
12
- // in pixels
13
- optional decentraland.common.Vector2 screen_delta = 3;
14
- // ray direction that can be used with the primary camera origin for
15
- // raycasting from the cursor into the world
16
- optional decentraland.common.Vector3 world_ray_direction = 4;
17
- }
18
-
19
- enum PointerType {
20
- POT_NONE = 0;
21
- POT_MOUSE = 1;
22
- POT_PAD = 2;
23
- POT_TOUCH = 3;
24
- POT_WAND = 4;
25
- }
@@ -1,21 +0,0 @@
1
- syntax = "proto3";
2
- package decentraland.sdk.components;
3
-
4
- import "decentraland/sdk/components/common/id.proto";
5
- option (common.ecs_component_id) = 1205;
6
-
7
- // defines a spotlight.
8
- // spotlights are point lights that emit light only in a cone around the transform's forward direction.
9
- // add this component together with the PBLight component to transform a point light into a spotlight.
10
- // note that spotlights do not model any internal reflections / focus, they only restrict the area of effect.
11
- // so for e.g. a torch beam, the bulb illuminance should be multiplied by the solid angle.
12
- // a typical torch with a beam width of 15 degrees would use outer angle of 0.15 (7.5 degrees in radians),
13
- // and an illuminance approximately equal to the bulb's lumens, e.g. 1200.
14
- message PBSpotlight {
15
- // the cone radius in radians. distance away from forward in which the light is visible.
16
- // for a torch a value around 0.15 is appropriate.
17
- float angle = 1;
18
- // optional angle at which the light is brightest. should be <= outer angle.
19
- // if specified, the light will fall off smoothly between `inner_angle` and `angle`.
20
- optional float inner_angle = 2;
21
- }
@@ -1,41 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package decentraland.sdk.components;
4
-
5
- import "decentraland/sdk/components/common/id.proto";
6
- import "decentraland/common/colors.proto";
7
-
8
- option (common.ecs_component_id) = 1207;
9
-
10
- message PBTextureCamera {
11
- // rendered texture width
12
- optional uint32 width = 1;
13
- // rendered texture height
14
- optional uint32 height = 2;
15
- // which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
16
- // defaults to 0
17
- optional uint32 layer = 3;
18
-
19
- // default black
20
- optional decentraland.common.Color4 clear_color = 6;
21
- // default infinity
22
- optional float far_plane = 7;
23
-
24
- oneof mode {
25
- Perspective perspective = 8;
26
- Orthographic orthographic = 9;
27
- /* Portal portal = 10; */
28
- };
29
- }
30
-
31
- message Perspective {
32
- // vertical field of view in radians
33
- // defaults to pi/4 = 45 degrees
34
- optional float field_of_view = 1;
35
- }
36
-
37
- message Orthographic {
38
- // vertical extent of the visible range in meters
39
- // defaults to 4m
40
- optional float vertical_range = 1;
41
- }
@@ -1,16 +0,0 @@
1
- syntax = "proto3";
2
-
3
- import "decentraland/sdk/components/common/id.proto";
4
- package decentraland.sdk.components;
5
-
6
- option (common.ecs_component_id) = 1203;
7
-
8
- import "decentraland/common/colors.proto";
9
-
10
- // The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture.
11
- message PBUiCanvas {
12
- uint32 width = 1;
13
- uint32 height = 2;
14
-
15
- optional decentraland.common.Color4 color = 3; // default = (0.0, 0.0, 0.0, 0.0) / transparent
16
- }
@@ -1,12 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package decentraland.sdk.components;
4
-
5
- import "decentraland/sdk/components/common/id.proto";
6
- import "decentraland/common/vectors.proto";
7
-
8
- option (common.ecs_component_id) = 1202;
9
-
10
- message PBUiScrollResult {
11
- decentraland.common.Vector2 value = 1;
12
- }