@dcl/protocol 1.0.0-25007945013.commit-ba53eb0 → 1.0.0-25333834804.commit-afef740

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 (125) 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/apis/comms_api.gen.d.ts +130 -0
  5. package/out-js/decentraland/kernel/apis/comms_api.gen.js +536 -1
  6. package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -1
  7. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +0 -109
  8. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1 -383
  9. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  10. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +52 -0
  11. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +339 -5
  12. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  13. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +0 -2
  14. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +2 -19
  15. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -1
  16. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +0 -41
  17. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +3 -241
  18. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  19. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +0 -2
  20. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +1 -19
  21. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  22. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +1 -35
  23. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +3 -172
  24. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  25. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +0 -4
  26. package/out-js/decentraland/sdk/components/common/input_action.gen.js +0 -24
  27. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  28. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +0 -19
  29. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +3 -90
  30. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
  31. package/out-js/decentraland/sdk/components/material.gen.d.ts +0 -20
  32. package/out-js/decentraland/sdk/components/material.gen.js +2 -86
  33. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  34. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +0 -18
  35. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +4 -90
  36. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  37. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +3 -19
  38. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +4 -90
  39. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  40. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +0 -13
  41. package/out-js/decentraland/sdk/components/raycast.gen.js +2 -64
  42. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
  43. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +0 -2
  44. package/out-js/decentraland/sdk/components/ui_input.gen.js +1 -14
  45. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
  46. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +0 -4
  47. package/out-js/decentraland/sdk/components/ui_text.gen.js +1 -30
  48. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  49. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +0 -33
  50. package/out-js/decentraland/sdk/components/ui_transform.gen.js +3 -176
  51. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  52. package/out-ts/decentraland/common/texture.gen.ts +4 -119
  53. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +589 -0
  54. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +0 -410
  55. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +376 -0
  56. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +1 -20
  57. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +1 -292
  58. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +1 -23
  59. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +2 -218
  60. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +0 -24
  61. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +2 -108
  62. package/out-ts/decentraland/sdk/components/material.gen.ts +1 -102
  63. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +0 -99
  64. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +3 -100
  65. package/out-ts/decentraland/sdk/components/raycast.gen.ts +1 -73
  66. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +1 -19
  67. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +1 -40
  68. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +0 -193
  69. package/package.json +3 -6
  70. package/proto/decentraland/common/texture.proto +1 -8
  71. package/proto/decentraland/kernel/apis/comms_api.proto +37 -1
  72. package/proto/decentraland/kernel/apis/restricted_actions.proto +1 -39
  73. package/proto/decentraland/kernel/comms/rfc4/comms.proto +25 -0
  74. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  75. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +1 -2
  76. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +0 -21
  77. package/proto/decentraland/sdk/components/avatar_shape.proto +0 -1
  78. package/proto/decentraland/sdk/components/camera_mode_area.proto +3 -22
  79. package/proto/decentraland/sdk/components/common/input_action.proto +0 -4
  80. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +0 -13
  81. package/proto/decentraland/sdk/components/material.proto +1 -13
  82. package/proto/decentraland/sdk/components/mesh_collider.proto +0 -7
  83. package/proto/decentraland/sdk/components/mesh_renderer.proto +3 -8
  84. package/proto/decentraland/sdk/components/particle_system.proto +5 -1
  85. package/proto/decentraland/sdk/components/primary_pointer_info.proto +0 -5
  86. package/proto/decentraland/sdk/components/raycast.proto +0 -13
  87. package/proto/decentraland/sdk/components/ui_input.proto +0 -1
  88. package/proto/decentraland/sdk/components/ui_text.proto +0 -3
  89. package/proto/decentraland/sdk/components/ui_transform.proto +0 -20
  90. package/public/sdk-components.proto +0 -4
  91. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +0 -45
  92. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +0 -138
  93. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +0 -1
  94. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +0 -36
  95. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +0 -113
  96. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +0 -1
  97. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +0 -48
  98. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +0 -207
  99. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +0 -1
  100. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +0 -66
  101. package/out-js/decentraland/sdk/components/gltf_node.gen.js +0 -69
  102. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +0 -1
  103. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +0 -43
  104. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +0 -122
  105. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +0 -1
  106. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +0 -52
  107. package/out-js/decentraland/sdk/components/input_modifier.gen.js +0 -233
  108. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +0 -1
  109. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +0 -183
  110. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +0 -136
  111. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +0 -249
  112. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +0 -116
  113. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +0 -139
  114. package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +0 -265
  115. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +0 -18
  116. package/proto/decentraland/sdk/components/avatar_movement.proto +0 -46
  117. package/proto/decentraland/sdk/components/avatar_movement_info.proto +0 -22
  118. package/proto/decentraland/sdk/components/camera_layer.proto +0 -30
  119. package/proto/decentraland/sdk/components/camera_layers.proto +0 -11
  120. package/proto/decentraland/sdk/components/global_light.proto +0 -22
  121. package/proto/decentraland/sdk/components/gltf_node.proto +0 -42
  122. package/proto/decentraland/sdk/components/gltf_node_state.proto +0 -20
  123. package/proto/decentraland/sdk/components/texture_camera.proto +0 -46
  124. package/proto/decentraland/sdk/components/ui_canvas.proto +0 -16
  125. package/proto/decentraland/sdk/components/ui_scroll_result.proto +0 -12
@@ -18,6 +18,9 @@ message Packet {
18
18
  PlayerEmote player_emote = 9;
19
19
  SceneEmote scene_emote = 10;
20
20
  MovementCompressed movement_compressed = 12;
21
+ LookAtPosition look_at_position = 13;
22
+ Reaction reaction = 14;
23
+ ChatReaction chat_reaction = 15;
21
24
  }
22
25
  uint32 protocol_version = 11;
23
26
  }
@@ -138,3 +141,25 @@ message Voice {
138
141
  VC_OPUS = 0;
139
142
  }
140
143
  }
144
+
145
+ // Message sent to force an avatar to look at a position
146
+ message LookAtPosition {
147
+ float timestamp = 1;
148
+ // world position
149
+ float position_x = 2;
150
+ float position_y = 3;
151
+ float position_z = 4;
152
+ string target_avatar_wallet_address = 5;
153
+ }
154
+
155
+ message Reaction {
156
+ int32 emoji_index = 1;
157
+ float timestamp = 2;
158
+ int32 count = 3;
159
+ }
160
+
161
+ message ChatReaction {
162
+ int32 emoji_index = 1;
163
+ string message_id = 2;
164
+ string address = 3;
165
+ }
@@ -0,0 +1,44 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ option (common.ecs_component_id) = 1212;
6
+
7
+ enum PBAudioAnalysisMode {
8
+ MODE_RAW = 0;
9
+ MODE_LOGARITHMIC = 1;
10
+ }
11
+
12
+ message PBAudioAnalysis {
13
+
14
+ // Parameters section
15
+ PBAudioAnalysisMode mode = 1;
16
+
17
+ // Used only when mode == MODE_LOGARITHMIC
18
+ optional float amplitude_gain = 100;
19
+ optional float bands_gain = 101;
20
+ // End when mode == MODE_LOGARITHMIC
21
+
22
+ // End Parameters section
23
+
24
+ // Result section
25
+ float amplitude = 200;
26
+
27
+ // Protobuf doesn't support fixed arrays -> 8 band fields
28
+ float band_0 = 201;
29
+ float band_1 = 202;
30
+ float band_2 = 203;
31
+ float band_3 = 204;
32
+ float band_4 = 205;
33
+ float band_5 = 206;
34
+ float band_6 = 207;
35
+ float band_7 = 208;
36
+
37
+ // End Result section
38
+
39
+ // Future fields
40
+ // float spectral_centroid = 13;
41
+ // float spectral_flux = 14;
42
+ // bool onset = 15;
43
+ // float bpm = 16;
44
+ }
@@ -10,5 +10,4 @@ option (common.ecs_component_id) = 1091;
10
10
  message PBAvatarEquippedData {
11
11
  repeated string wearable_urns = 1;
12
12
  repeated string emote_urns = 2;
13
- repeated string force_render = 3; // slots that will render even if hidden
14
- }
13
+ }
@@ -23,8 +23,6 @@ message PBAvatarModifierArea {
23
23
  decentraland.common.Vector3 area = 1; // the 3D size of the region
24
24
  repeated string exclude_ids = 2; // user IDs that can enter and remain unaffected
25
25
  repeated AvatarModifierType modifiers = 3; // list of modifiers to apply
26
- optional AvatarMovementSettings movement_settings = 4;
27
- optional bool use_collider_range = 5; // if true, the player will be considered inside the area when they are within 0.3m of the area. default true
28
26
  }
29
27
 
30
28
  // AvatarModifierType is an effect that should be applied to avatars inside the region.
@@ -32,22 +30,3 @@ enum AvatarModifierType {
32
30
  AMT_HIDE_AVATARS = 0; // avatars are invisible
33
31
  AMT_DISABLE_PASSPORTS = 1; // selecting (e.g. clicking) an avatar will not bring up their profile.
34
32
  }
35
-
36
- message AvatarMovementSettings {
37
- optional AvatarControlType control_mode = 1;
38
- // if not explicitly set, the following properties default to user's preference settings
39
- optional float run_speed = 2; // speed the player moves at, in m/s
40
- optional float friction = 3; // how fast the player gets up to speed or comes to rest. higher = more responsive
41
- optional float gravity = 4; // how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative
42
- optional float jump_height = 5; // how high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible
43
- optional float max_fall_speed = 6; // max fall speed in m/s. should normally be negative
44
- optional float turn_speed = 7; // speed the player turns in tank mode, in radians/s
45
- optional float walk_speed = 8; // speed the player walks at, in m/s
46
- optional bool allow_weighted_movement = 9; // whether to allow player to move at a slower speed (e.g. with a walk-key or when using a gamepad/joystick). defaults to true
47
- }
48
-
49
- enum AvatarControlType {
50
- CCT_NONE = 0; // avatar cannot move
51
- CCT_RELATIVE = 1; // avatar moves relative to the camera origin
52
- CCT_TANK = 2; // avatar moves like a tank: left/right rotate the player, forward/backward advance/retreat the player
53
- }
@@ -40,6 +40,5 @@ message PBAvatarShape {
40
40
  repeated string emotes = 11; // available emotes (default empty)
41
41
 
42
42
  optional bool show_only_wearables = 12; // hides the skin + hair + facial features (default: false)
43
- repeated string force_render = 13; // slots that will render even if hidden
44
43
  }
45
44
 
@@ -9,7 +9,7 @@ import "decentraland/sdk/components/common/id.proto";
9
9
  option (common.ecs_component_id) = 1071;
10
10
 
11
11
  // The CameraModeArea component can be attached to an Entity to define a region of space where
12
- // the player's camera mode (1st-person, 3rd-person or cinematic) is overridden.
12
+ // the player's camera mode (1st-person or 3rd-person) is overridden.
13
13
  //
14
14
  // The Entity's Transform position determines the center-point of the region, while its size is
15
15
  // given as a vector in the `area` property below. The Transform rotation is applied, but the scale
@@ -19,26 +19,7 @@ option (common.ecs_component_id) = 1071;
19
19
  //
20
20
  // Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
21
21
  // is actually a 3D volume.
22
- //
23
- // When mode is set to CtCinematic, the cinematic_settings field must also be provided.
24
22
  message PBCameraModeArea {
25
- decentraland.common.Vector3 area = 1; // the 3D size of the region
26
- common.CameraType mode = 2; // the camera mode to enforce
27
- optional CinematicSettings cinematic_settings = 3;
28
- optional bool use_collider_range = 4; // if true, the player will be considered inside the area when they are within 0.3m of the area. default true
29
- }
30
-
31
- message CinematicSettings {
32
- uint32 camera_entity = 1; // Entity that defines the cinematic camera transform.
33
- // Position -> camera's position
34
- // Rotation -> camera's direction
35
- // scale.z -> zoom level
36
- // scale.x and scale.y -> unused
37
- optional bool allow_manual_rotation = 2; // whether the user can move the camera's rotation. default false
38
- optional float yaw_range = 3; // how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted
39
- optional float pitch_range = 4; // how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted
40
- // note: cameras can never look up/down further than Vec3::Y
41
- optional float roll_range = 5; // how far the camera can rotate around the z-axis / tilt, in radians. default unrestricted
42
- optional float zoom_min = 6; // minimum zoom level. must be greater than 0. defaults to the input zoom level
43
- optional float zoom_max = 7; // maximum zoom level. must be greater than 0. defaults to the input zoom level
23
+ decentraland.common.Vector3 area = 1; // the 3D size of the region
24
+ common.CameraType mode = 2; // the camera mode to enforce
44
25
  }
@@ -17,7 +17,6 @@ enum InputAction {
17
17
  IA_ACTION_4 = 11;
18
18
  IA_ACTION_5 = 12;
19
19
  IA_ACTION_6 = 13;
20
- IA_MODIFIER = 14;
21
20
  }
22
21
 
23
22
  // PointerEventType is a kind of interaction that can be detected.
@@ -28,9 +27,6 @@ enum PointerEventType {
28
27
  PET_HOVER_LEAVE = 3;
29
28
  PET_PROXIMITY_ENTER = 4;
30
29
  PET_PROXIMITY_LEAVE = 5;
31
- PET_DRAG_LOCKED = 6;
32
- PET_DRAG = 7;
33
- PET_DRAG_END = 8;
34
30
  }
35
31
 
36
32
  enum InteractionType {
@@ -10,17 +10,4 @@ import "decentraland/sdk/components/common/loading_state.proto";
10
10
  // the current state of the GltfContainer of an entity.
11
11
  message PBGltfContainerLoadingState {
12
12
  common.LoadingState current_state = 1;
13
- repeated string node_paths = 2; // all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents
14
- repeated string mesh_names = 3; // all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY`
15
- // where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
16
- // conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
17
- repeated string material_names = 4; // all materials in the gltf. unnamed materials will be auto-assigned a name of the form `MaterialX` where
18
- // X is the material index. note this may conflict with manually named materials - to avoid any issues make
19
- // sure all your materials are explicitly named.
20
- repeated string skin_names = 5; // all mesh skins in the gltf. unnamed skins will be auto-assigned a name of the form `SkinX` where
21
- // X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
22
- // your skins are explicitly named.
23
- repeated string animation_names = 6; // all animations in the gltf. unnamed animations will be auto-assigned a name of the form `AnimationX` where
24
- // X is the animation index. note this may conflict with manually named anims - to avoid any issues make sure all
25
- // your animations are explicitly named.
26
13
  }
@@ -54,16 +54,4 @@ message PBMaterial {
54
54
  UnlitMaterial unlit = 1;
55
55
  PbrMaterial pbr = 2;
56
56
  }
57
-
58
- message GltfMaterial {
59
- string gltf_src = 1;
60
- string name = 2;
61
- }
62
-
63
- // A gltf material that may provide additional features not supported by the PbMaterial fields.
64
- // If both gltf and material fields are provided, the gltf will be used only for extended features not
65
- // supported by the PbMaterial.
66
- // If this is provided and the `material` field is not provided, the renderer will update the material
67
- // field with data that reflects the gltf material once it is loaded.
68
- optional GltfMaterial gltf = 3;
69
- }
57
+ }
@@ -30,12 +30,6 @@ message PBMeshCollider {
30
30
  // SphereMesh is a sphere shape that contains the Entity.
31
31
  message SphereMesh {}
32
32
 
33
- // A collider constructed from a Gltf Mesh.
34
- message GltfMesh {
35
- string gltf_src = 1; // the GLTF file path as listed in the scene's manifest.
36
- string name = 2; // the name of the mesh asset
37
- }
38
-
39
33
  optional uint32 collision_mask = 1; // enabled ColliderLayers (default CL_POINTER | CL_PHYSICS)
40
34
 
41
35
  oneof mesh {
@@ -43,7 +37,6 @@ message PBMeshCollider {
43
37
  SphereMesh sphere = 3;
44
38
  CylinderMesh cylinder = 4;
45
39
  PlaneMesh plane = 5;
46
- GltfMesh gltf = 6;
47
40
  }
48
41
  }
49
42
 
@@ -5,11 +5,13 @@ import "decentraland/sdk/components/common/id.proto";
5
5
  option (common.ecs_component_id) = 1018;
6
6
 
7
7
  // The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
8
- // plane, a sphere, a cylinder, or a Gltf mesh.
8
+ // plane, a sphere or a cylinder.
9
9
  //
10
10
  // The cube and plane variants can include a UV texture mapping, so specific areas of a material
11
11
  // texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
12
12
  // `float` coordinates, one for each corner of each side of each face.
13
+ //
14
+ // More complex shapes require the use of a `GltfContainer` component.
13
15
  message PBMeshRenderer {
14
16
 
15
17
  // BoxMesh renders a prism shape.
@@ -32,17 +34,10 @@ message PBMeshRenderer {
32
34
  message SphereMesh {
33
35
  }
34
36
 
35
- // A mesh from a Gltf.
36
- message GltfMesh {
37
- string gltf_src = 1; // the GLTF file path as listed in the scene's manifest.
38
- string name = 2; // the name of the mesh asset
39
- }
40
-
41
37
  oneof mesh {
42
38
  BoxMesh box = 1;
43
39
  SphereMesh sphere = 2;
44
40
  CylinderMesh cylinder = 3;
45
41
  PlaneMesh plane = 4;
46
- GltfMesh gltf = 5;
47
42
  }
48
43
  }
@@ -65,7 +65,7 @@ message PBParticleSystem {
65
65
  optional PlaybackState playback_state = 22; // default = PS_PLAYING
66
66
 
67
67
  // --- Emission Bursts ---
68
- repeated Burst bursts = 29;
68
+ optional BurstConfiguration bursts = 29;
69
69
 
70
70
  // ---- Nested types ----
71
71
 
@@ -102,6 +102,10 @@ message PBParticleSystem {
102
102
  }
103
103
 
104
104
  // Emission burst configuration.
105
+ message BurstConfiguration {
106
+ repeated Burst values = 1;
107
+ }
108
+
105
109
  message Burst {
106
110
  float time = 1; // Seconds from start of cycle.
107
111
  uint32 count = 2; // Particles to emit.
@@ -28,8 +28,6 @@ message PBPrimaryPointerInfo {
28
28
  optional PointerType pointer_type = 1; // The type of input device being used
29
29
  optional decentraland.common.Vector2 screen_coordinates = 2; // Current position in screen space (pixels)
30
30
  optional decentraland.common.Vector2 screen_delta = 3; // Movement since last frame (pixels)
31
- // ray direction that can be used with the primary camera origin for
32
- // raycasting from the cursor into the world
33
31
  optional decentraland.common.Vector3 world_ray_direction = 4; // Direction vector for 3D ray casting
34
32
  }
35
33
 
@@ -38,7 +36,4 @@ message PBPrimaryPointerInfo {
38
36
  enum PointerType {
39
37
  POT_NONE = 0; // No pointer input
40
38
  POT_MOUSE = 1; // Traditional mouse input
41
- POT_PAD = 2;
42
- POT_TOUCH = 3;
43
- POT_WAND = 4;
44
39
  }
@@ -45,12 +45,6 @@ message PBRaycast {
45
45
 
46
46
  // Collision mask, by default CL_POINTER | CL_PHYSICS
47
47
  optional uint32 collision_mask = 9;
48
-
49
- // shape to cast, default ray
50
- optional RaycastShape shape = 11;
51
-
52
- // include hits with entities from other scenes
53
- optional bool include_world = 12;
54
48
  }
55
49
 
56
50
  // RaycastQueryType indicates whether the ray should stop on the first collition, or continue.
@@ -62,10 +56,3 @@ enum RaycastQueryType {
62
56
  // Do not perform the raycast, only set the raycast result with empty hits
63
57
  RQT_NONE = 2;
64
58
  }
65
-
66
- enum RaycastShape {
67
- // cast a point, get collisions along a ray
68
- RS_RAY = 0;
69
- // cast the avatar collider shape, get collisions from sweeping the shape
70
- RS_AVATAR = 1;
71
- }
@@ -17,5 +17,4 @@ message PBUiInput {
17
17
  optional common.Font font = 11; // default=0
18
18
  optional int32 font_size = 12; // default=10
19
19
  optional string value = 13;
20
- optional bool multi_line = 14; // default=false; when true, the input accepts newlines and behaves as a textarea
21
20
  }
@@ -23,7 +23,4 @@ message PBUiText {
23
23
  optional common.Font font = 4; // font for the text (default: sans-serif)
24
24
  optional int32 font_size = 5; // size of the text (default: 10)
25
25
  optional TextWrap text_wrap = 6; // wrap text when the border is reached (default: TW_WRAP)
26
-
27
- optional float outline_width = 7; // width of the outline (default: 0)
28
- optional decentraland.common.Color4 outline_color = 8; // RGBA color of the outline (default: opaque black)
29
26
  }
@@ -4,7 +4,6 @@ package decentraland.sdk.components;
4
4
 
5
5
  import "decentraland/sdk/components/common/id.proto";
6
6
  import "decentraland/common/colors.proto";
7
- import "decentraland/common/vectors.proto";
8
7
 
9
8
  option (common.ecs_component_id) = 1050;
10
9
 
@@ -81,20 +80,6 @@ enum PointerFilterMode {
81
80
  PFM_BLOCK = 1;
82
81
  }
83
82
 
84
- enum ShowScrollBar {
85
- SSB_BOTH = 0;
86
- SSB_ONLY_VERTICAL = 1;
87
- SSB_ONLY_HORIZONTAL = 2;
88
- SSB_HIDDEN = 3;
89
- }
90
-
91
- message ScrollPositionValue {
92
- oneof value {
93
- decentraland.common.Vector2 position = 1;
94
- string reference = 2;
95
- }
96
- }
97
-
98
83
  message PBUiTransform {
99
84
  int32 parent = 1;
100
85
  int32 right_of = 2;
@@ -189,10 +174,5 @@ message PBUiTransform {
189
174
  optional decentraland.common.Color4 border_right_color = 72;
190
175
 
191
176
  optional float opacity = 73; // default: 1
192
-
193
- optional string element_id = 74; // reference for scroll_position. default empty
194
- optional ScrollPositionValue scroll_position = 75; // default position=(0,0)
195
- optional ShowScrollBar scroll_visible = 76; // default ShowScrollBar.SSB_BOTH
196
-
197
177
  optional int32 z_index = 77; // default: 0 — controls render stacking order. Higher values appear in front of lower values.
198
178
  }
@@ -9,8 +9,6 @@ import public "decentraland/sdk/components/avatar_base.proto";
9
9
  import public "decentraland/sdk/components/avatar_emote_command.proto";
10
10
  import public "decentraland/sdk/components/avatar_equipped_data.proto";
11
11
  import public "decentraland/sdk/components/avatar_modifier_area.proto";
12
- import public "decentraland/sdk/components/avatar_movement.proto";
13
- import public "decentraland/sdk/components/avatar_movement_info.proto";
14
12
  import public "decentraland/sdk/components/avatar_shape.proto";
15
13
  import public "decentraland/sdk/components/billboard.proto";
16
14
  import public "decentraland/sdk/components/camera_mode_area.proto";
@@ -19,8 +17,6 @@ import public "decentraland/sdk/components/engine_info.proto";
19
17
  import public "decentraland/sdk/components/gltf_container.proto";
20
18
  import public "decentraland/sdk/components/gltf_node_modifiers.proto";
21
19
  import public "decentraland/sdk/components/gltf_container_loading_state.proto";
22
- import public "decentraland/sdk/components/gltf_node.proto";
23
- import public "decentraland/sdk/components/gltf_node_state.proto";
24
20
  import public "decentraland/sdk/components/material.proto";
25
21
  import public "decentraland/sdk/components/mesh_collider.proto";
26
22
  import public "decentraland/sdk/components/mesh_renderer.proto";
@@ -1,45 +0,0 @@
1
- import _m0 from "protobufjs/minimal";
2
- export declare const protobufPackage = "decentraland.sdk.components";
3
- /**
4
- * The PBAvatarLocomotionSettings component allows scenes to modify locomotion settings defining things such
5
- * as the avatar movement speed, jump height etc.
6
- */
7
- export interface PBAvatarLocomotionSettings {
8
- /** Maximum speed when walking (in meters per second) */
9
- walkSpeed?: number | undefined;
10
- /** Maximum speed when jogging (in meters per second) */
11
- jogSpeed?: number | undefined;
12
- /** Maximum speed when running (in meters per second) */
13
- runSpeed?: number | undefined;
14
- /** Height of a regular jump (in meters) */
15
- jumpHeight?: number | undefined;
16
- /** Height of a jump while running (in meters) */
17
- runJumpHeight?: number | undefined;
18
- /** Cooldown time after a hard landing before the avatar can move again (in seconds) */
19
- hardLandingCooldown?: number | undefined;
20
- }
21
- export declare namespace PBAvatarLocomotionSettings {
22
- function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
23
- function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
24
- function fromJSON(object: any): PBAvatarLocomotionSettings;
25
- function toJSON(message: PBAvatarLocomotionSettings): unknown;
26
- function create<I extends Exact<DeepPartial<PBAvatarLocomotionSettings>, I>>(base?: I): PBAvatarLocomotionSettings;
27
- function fromPartial<I extends Exact<DeepPartial<PBAvatarLocomotionSettings>, I>>(object: I): PBAvatarLocomotionSettings;
28
- }
29
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
30
- export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
31
- $case: string;
32
- } ? {
33
- [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
34
- } & {
35
- $case: T["$case"];
36
- } : T extends {} ? {
37
- [K in keyof T]?: DeepPartial<T[K]>;
38
- } : Partial<T>;
39
- type KeysOfUnion<T> = T extends T ? keyof T : never;
40
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
41
- [K in keyof P]: Exact<P[K], I[K]>;
42
- } & {
43
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
44
- };
45
- export {};
@@ -1,138 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.PBAvatarLocomotionSettings = exports.protobufPackage = void 0;
7
- /* eslint-disable */
8
- const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
- exports.protobufPackage = "decentraland.sdk.components";
10
- function createBasePBAvatarLocomotionSettings() {
11
- return {
12
- walkSpeed: undefined,
13
- jogSpeed: undefined,
14
- runSpeed: undefined,
15
- jumpHeight: undefined,
16
- runJumpHeight: undefined,
17
- hardLandingCooldown: undefined,
18
- };
19
- }
20
- var PBAvatarLocomotionSettings;
21
- (function (PBAvatarLocomotionSettings) {
22
- function encode(message, writer = minimal_1.default.Writer.create()) {
23
- if (message.walkSpeed !== undefined) {
24
- writer.uint32(13).float(message.walkSpeed);
25
- }
26
- if (message.jogSpeed !== undefined) {
27
- writer.uint32(21).float(message.jogSpeed);
28
- }
29
- if (message.runSpeed !== undefined) {
30
- writer.uint32(29).float(message.runSpeed);
31
- }
32
- if (message.jumpHeight !== undefined) {
33
- writer.uint32(37).float(message.jumpHeight);
34
- }
35
- if (message.runJumpHeight !== undefined) {
36
- writer.uint32(45).float(message.runJumpHeight);
37
- }
38
- if (message.hardLandingCooldown !== undefined) {
39
- writer.uint32(53).float(message.hardLandingCooldown);
40
- }
41
- return writer;
42
- }
43
- PBAvatarLocomotionSettings.encode = encode;
44
- function decode(input, length) {
45
- const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
46
- let end = length === undefined ? reader.len : reader.pos + length;
47
- const message = createBasePBAvatarLocomotionSettings();
48
- while (reader.pos < end) {
49
- const tag = reader.uint32();
50
- switch (tag >>> 3) {
51
- case 1:
52
- if (tag !== 13) {
53
- break;
54
- }
55
- message.walkSpeed = reader.float();
56
- continue;
57
- case 2:
58
- if (tag !== 21) {
59
- break;
60
- }
61
- message.jogSpeed = reader.float();
62
- continue;
63
- case 3:
64
- if (tag !== 29) {
65
- break;
66
- }
67
- message.runSpeed = reader.float();
68
- continue;
69
- case 4:
70
- if (tag !== 37) {
71
- break;
72
- }
73
- message.jumpHeight = reader.float();
74
- continue;
75
- case 5:
76
- if (tag !== 45) {
77
- break;
78
- }
79
- message.runJumpHeight = reader.float();
80
- continue;
81
- case 6:
82
- if (tag !== 53) {
83
- break;
84
- }
85
- message.hardLandingCooldown = reader.float();
86
- continue;
87
- }
88
- if ((tag & 7) === 4 || tag === 0) {
89
- break;
90
- }
91
- reader.skipType(tag & 7);
92
- }
93
- return message;
94
- }
95
- PBAvatarLocomotionSettings.decode = decode;
96
- function fromJSON(object) {
97
- return {
98
- walkSpeed: isSet(object.walkSpeed) ? Number(object.walkSpeed) : undefined,
99
- jogSpeed: isSet(object.jogSpeed) ? Number(object.jogSpeed) : undefined,
100
- runSpeed: isSet(object.runSpeed) ? Number(object.runSpeed) : undefined,
101
- jumpHeight: isSet(object.jumpHeight) ? Number(object.jumpHeight) : undefined,
102
- runJumpHeight: isSet(object.runJumpHeight) ? Number(object.runJumpHeight) : undefined,
103
- hardLandingCooldown: isSet(object.hardLandingCooldown) ? Number(object.hardLandingCooldown) : undefined,
104
- };
105
- }
106
- PBAvatarLocomotionSettings.fromJSON = fromJSON;
107
- function toJSON(message) {
108
- const obj = {};
109
- message.walkSpeed !== undefined && (obj.walkSpeed = message.walkSpeed);
110
- message.jogSpeed !== undefined && (obj.jogSpeed = message.jogSpeed);
111
- message.runSpeed !== undefined && (obj.runSpeed = message.runSpeed);
112
- message.jumpHeight !== undefined && (obj.jumpHeight = message.jumpHeight);
113
- message.runJumpHeight !== undefined && (obj.runJumpHeight = message.runJumpHeight);
114
- message.hardLandingCooldown !== undefined && (obj.hardLandingCooldown = message.hardLandingCooldown);
115
- return obj;
116
- }
117
- PBAvatarLocomotionSettings.toJSON = toJSON;
118
- function create(base) {
119
- return PBAvatarLocomotionSettings.fromPartial(base !== null && base !== void 0 ? base : {});
120
- }
121
- PBAvatarLocomotionSettings.create = create;
122
- function fromPartial(object) {
123
- var _a, _b, _c, _d, _e, _f;
124
- const message = createBasePBAvatarLocomotionSettings();
125
- message.walkSpeed = (_a = object.walkSpeed) !== null && _a !== void 0 ? _a : undefined;
126
- message.jogSpeed = (_b = object.jogSpeed) !== null && _b !== void 0 ? _b : undefined;
127
- message.runSpeed = (_c = object.runSpeed) !== null && _c !== void 0 ? _c : undefined;
128
- message.jumpHeight = (_d = object.jumpHeight) !== null && _d !== void 0 ? _d : undefined;
129
- message.runJumpHeight = (_e = object.runJumpHeight) !== null && _e !== void 0 ? _e : undefined;
130
- message.hardLandingCooldown = (_f = object.hardLandingCooldown) !== null && _f !== void 0 ? _f : undefined;
131
- return message;
132
- }
133
- PBAvatarLocomotionSettings.fromPartial = fromPartial;
134
- })(PBAvatarLocomotionSettings || (exports.PBAvatarLocomotionSettings = PBAvatarLocomotionSettings = {}));
135
- function isSet(value) {
136
- return value !== null && value !== undefined;
137
- }
138
- //# sourceMappingURL=avatar_locomotion_settings.gen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"avatar_locomotion_settings.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AA+B7D,SAAS,oCAAoC;IAC3C,OAAO;QACL,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,mBAAmB,EAAE,SAAS;KAC/B,CAAC;AACJ,CAAC;AAED,IAAiB,0BAA0B,CAyH1C;AAzHD,WAAiB,0BAA0B;IACzC,SAAgB,MAAM,CAAC,OAAmC,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAClG,IAAI,OAAO,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;YACpC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAC7C,CAAC;QACD,IAAI,OAAO,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YACnC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC5C,CAAC;QACD,IAAI,OAAO,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;YACnC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAA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"../../common/vectors.gen";
3
- export declare const protobufPackage = "decentraland.sdk.components";
4
- export interface PBAvatarMovement {
5
- velocity: Vector3 | undefined;
6
- /** 0-360, we don't allow pitch/roll */
7
- orientation: number;
8
- groundDirection?: Vector3 | undefined;
9
- /** set for one frame when a walk_target ends: true = reached target, false = failed; absent = in progress or no walk */
10
- walkSuccess?: boolean | undefined;
11
- }
12
- export declare namespace PBAvatarMovement {
13
- function encode(message: PBAvatarMovement, writer?: _m0.Writer): _m0.Writer;
14
- function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarMovement;
15
- function fromJSON(object: any): PBAvatarMovement;
16
- function toJSON(message: PBAvatarMovement): unknown;
17
- function create<I extends Exact<DeepPartial<PBAvatarMovement>, I>>(base?: I): PBAvatarMovement;
18
- function fromPartial<I extends Exact<DeepPartial<PBAvatarMovement>, I>>(object: I): PBAvatarMovement;
19
- }
20
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
21
- export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
22
- $case: string;
23
- } ? {
24
- [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
25
- } & {
26
- $case: T["$case"];
27
- } : T extends {} ? {
28
- [K in keyof T]?: DeepPartial<T[K]>;
29
- } : Partial<T>;
30
- type KeysOfUnion<T> = T extends T ? keyof T : never;
31
- export type Exact<P, I extends P> = P extends Builtin ? P : P & {
32
- [K in keyof P]: Exact<P[K], I[K]>;
33
- } & {
34
- [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
35
- };
36
- export {};