@dcl/protocol 1.0.0-10919854686.commit-9aef674 → 1.0.0-10955038136.commit-7fe9554

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 (72) 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/kernel/comms/rfc4/comms.gen.d.ts +1 -0
  5. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +14 -1
  6. package/out-js/decentraland/kernel/comms/rfc4/comms.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/camera_mode_area.gen.d.ts +1 -35
  11. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -172
  12. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  13. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
  14. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
  15. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
  16. package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
  17. package/out-js/decentraland/sdk/components/material.gen.js +2 -86
  18. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  19. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
  20. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
  21. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  22. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
  23. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
  24. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  25. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +1 -0
  26. package/out-js/decentraland/sdk/components/realm_info.gen.js +22 -2
  27. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -1
  28. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +0 -4
  29. package/out-js/decentraland/sdk/components/ui_text.gen.js +1 -30
  30. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  31. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -35
  32. package/out-js/decentraland/sdk/components/ui_transform.gen.js +2 -188
  33. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  34. package/out-ts/decentraland/common/texture.gen.ts +4 -119
  35. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +15 -0
  36. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -292
  37. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
  38. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
  39. package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
  40. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
  41. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
  42. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +23 -1
  43. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
  44. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1 -212
  45. package/package.json +2 -2
  46. package/proto/decentraland/common/texture.proto +1 -8
  47. package/proto/decentraland/kernel/comms/rfc4/comms.proto +2 -0
  48. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
  49. package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
  50. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
  51. package/proto/decentraland/sdk/components/material.proto +0 -11
  52. package/proto/decentraland/sdk/components/mesh_collider.proto +1 -8
  53. package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
  54. package/proto/decentraland/sdk/components/realm_info.proto +1 -0
  55. package/proto/decentraland/sdk/components/ui_text.proto +0 -3
  56. package/proto/decentraland/sdk/components/ui_transform.proto +0 -21
  57. package/public/sdk-components.proto +0 -2
  58. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
  59. package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
  60. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
  61. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
  62. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
  63. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
  64. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
  65. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
  66. package/proto/decentraland/sdk/components/global_light.proto +0 -22
  67. package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
  68. package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
  69. package/proto/decentraland/sdk/components/light.proto +0 -42
  70. package/proto/decentraland/sdk/components/spotlight.proto +0 -21
  71. package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
  72. 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,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,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
- }