@dcl/protocol 1.0.0-4596906552.commit-18a5668 → 1.0.0-46098091432.commit-3203bbd

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 (619) hide show
  1. package/README.md +291 -13
  2. package/out-js/about.gen.d.ts +1 -0
  3. package/out-js/{bff-services.gen.js → about.gen.js} +2 -2
  4. package/out-js/about.gen.js.map +1 -0
  5. package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
  6. package/out-js/decentraland/common/border_rect.gen.js +122 -21
  7. package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
  8. package/out-js/decentraland/common/colors.gen.d.ts +29 -52
  9. package/out-js/decentraland/common/colors.gen.js +125 -40
  10. package/out-js/decentraland/common/colors.gen.js.map +1 -1
  11. package/out-js/decentraland/common/content_mapping.gen.d.ts +8 -20
  12. package/out-js/decentraland/common/content_mapping.gen.js +25 -18
  13. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
  14. package/out-js/decentraland/common/gradient.gen.d.ts +50 -0
  15. package/out-js/decentraland/common/gradient.gen.js +147 -0
  16. package/out-js/decentraland/common/gradient.gen.js.map +1 -0
  17. package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
  18. package/out-js/decentraland/common/sdk/user_data.gen.js +100 -78
  19. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
  20. package/out-js/decentraland/common/texture.gen.d.ts +56 -252
  21. package/out-js/decentraland/common/texture.gen.js +259 -108
  22. package/out-js/decentraland/common/texture.gen.js.map +1 -1
  23. package/out-js/decentraland/common/vectors.gen.d.ts +38 -68
  24. package/out-js/decentraland/common/vectors.gen.js +172 -57
  25. package/out-js/decentraland/common/vectors.gen.js.map +1 -1
  26. package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
  27. package/out-js/decentraland/kernel/apis/comms_api.gen.js +792 -0
  28. package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
  29. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +64 -48
  30. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +319 -36
  31. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
  32. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +18 -56
  33. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +50 -36
  34. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
  35. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +186 -4088
  36. package/out-js/decentraland/kernel/apis/engine_api.gen.js +655 -1713
  37. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
  38. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +151 -691
  39. package/out-js/decentraland/kernel/apis/environment_api.gen.js +441 -321
  40. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
  41. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +106 -440
  42. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +309 -225
  43. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
  44. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +70 -518
  45. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +217 -160
  46. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
  47. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +37 -128
  48. package/out-js/decentraland/kernel/apis/permissions.gen.js +112 -78
  49. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
  50. package/out-js/decentraland/kernel/apis/players.gen.d.ts +54 -476
  51. package/out-js/decentraland/kernel/apis/players.gen.js +153 -111
  52. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
  53. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +84 -309
  54. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +273 -172
  55. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
  56. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +391 -605
  57. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1424 -391
  58. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  59. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +172 -208
  60. package/out-js/decentraland/kernel/apis/runtime.gen.js +688 -161
  61. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
  62. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +18 -132
  63. package/out-js/decentraland/kernel/apis/scene.gen.js +58 -43
  64. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
  65. package/out-js/decentraland/kernel/apis/scene_credits.gen.d.ts +186 -0
  66. package/out-js/decentraland/kernel/apis/scene_credits.gen.js +388 -0
  67. package/out-js/decentraland/kernel/apis/scene_credits.gen.js.map +1 -0
  68. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +75 -284
  69. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +292 -106
  70. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
  71. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +26 -128
  72. package/out-js/decentraland/kernel/apis/social_controller.gen.js +79 -58
  73. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
  74. package/out-js/decentraland/kernel/apis/testing.gen.d.ts +170 -347
  75. package/out-js/decentraland/kernel/apis/testing.gen.js +664 -192
  76. package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -1
  77. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +18 -48
  78. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +49 -35
  79. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
  80. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +36 -352
  81. package/out-js/decentraland/kernel/apis/user_identity.gen.js +98 -70
  82. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
  83. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +350 -551
  84. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1884 -244
  85. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  86. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +86 -561
  87. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +339 -245
  88. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
  89. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +288 -748
  90. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1486 -550
  91. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
  92. package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +153 -0
  93. package/out-js/decentraland/pulse/pulse_clusters.gen.js +676 -0
  94. package/out-js/decentraland/pulse/pulse_clusters.gen.js.map +1 -0
  95. package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
  96. package/out-js/decentraland/quests/definitions.gen.js +2732 -0
  97. package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
  98. package/out-js/decentraland/realm/about.gen.d.ts +229 -0
  99. package/out-js/decentraland/realm/about.gen.js +1187 -0
  100. package/out-js/decentraland/realm/about.gen.js.map +1 -0
  101. package/out-js/decentraland/sdk/components/animator.gen.d.ts +19 -141
  102. package/out-js/decentraland/sdk/components/animator.gen.js +66 -72
  103. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
  104. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +19 -32
  105. package/out-js/decentraland/sdk/components/audio_source.gen.js +62 -23
  106. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
  107. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +18 -24
  108. package/out-js/decentraland/sdk/components/audio_stream.gen.js +71 -21
  109. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
  110. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +31 -20
  111. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +162 -22
  112. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
  113. package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +38 -0
  114. package/out-js/decentraland/sdk/components/avatar_base.gen.js +148 -0
  115. package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
  116. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
  117. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
  118. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
  119. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +57 -0
  120. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +199 -0
  121. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
  122. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +51 -0
  123. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +177 -0
  124. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +1 -0
  125. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +51 -48
  126. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +278 -25
  127. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  128. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +71 -0
  129. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +304 -0
  130. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +1 -0
  131. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +82 -0
  132. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +357 -0
  133. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +1 -0
  134. package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
  135. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
  136. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
  137. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +39 -140
  138. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +76 -37
  139. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  140. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +21 -19
  141. package/out-js/decentraland/sdk/components/billboard.gen.js +49 -25
  142. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
  143. package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +46 -0
  144. package/out-js/decentraland/sdk/components/camera_layer.gen.js +162 -0
  145. package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +1 -0
  146. package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +30 -0
  147. package/out-js/decentraland/sdk/components/camera_layers.gen.js +80 -0
  148. package/out-js/decentraland/sdk/components/camera_layers.gen.js.map +1 -0
  149. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
  150. package/out-js/decentraland/sdk/components/camera_mode.gen.js +24 -17
  151. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
  152. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +38 -45
  153. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +171 -21
  154. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  155. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
  156. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
  157. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js.map +1 -0
  158. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +4 -4
  159. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
  160. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +19 -0
  161. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +80 -0
  162. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
  163. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +14 -0
  164. package/out-js/decentraland/sdk/components/common/input_action.gen.js +77 -7
  165. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  166. package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
  167. package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
  168. package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
  169. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +8 -136
  170. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +30 -23
  171. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
  172. package/out-js/decentraland/sdk/components/common/texts.gen.js +7 -7
  173. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -1
  174. package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +45 -0
  175. package/out-js/decentraland/sdk/components/engine_info.gen.js +119 -0
  176. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  177. package/out-js/decentraland/sdk/components/environment_fog.gen.d.ts +44 -0
  178. package/out-js/decentraland/sdk/components/environment_fog.gen.js +86 -0
  179. package/out-js/decentraland/sdk/components/environment_fog.gen.js.map +1 -0
  180. package/out-js/decentraland/sdk/components/explorer_configuration.gen.d.ts +35 -0
  181. package/out-js/decentraland/sdk/components/explorer_configuration.gen.js +69 -0
  182. package/out-js/decentraland/sdk/components/explorer_configuration.gen.js.map +1 -0
  183. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
  184. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +309 -0
  185. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
  186. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
  187. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +232 -0
  188. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
  189. package/out-js/decentraland/sdk/components/global_light.gen.d.ts +50 -0
  190. package/out-js/decentraland/sdk/components/global_light.gen.js +103 -0
  191. package/out-js/decentraland/sdk/components/global_light.gen.js.map +1 -0
  192. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +12 -16
  193. package/out-js/decentraland/sdk/components/gltf_container.gen.js +59 -20
  194. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
  195. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +54 -0
  196. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +158 -0
  197. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
  198. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +66 -0
  199. package/out-js/decentraland/sdk/components/gltf_node.gen.js +69 -0
  200. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +1 -0
  201. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
  202. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
  203. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
  204. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +43 -0
  205. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +122 -0
  206. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +1 -0
  207. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +52 -0
  208. package/out-js/decentraland/sdk/components/input_modifier.gen.js +233 -0
  209. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +1 -0
  210. package/out-js/decentraland/sdk/components/material.gen.d.ts +50 -3374
  211. package/out-js/decentraland/sdk/components/material.gen.js +219 -105
  212. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  213. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +65 -181
  214. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +255 -131
  215. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  216. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +62 -226
  217. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +235 -114
  218. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  219. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +11 -51
  220. package/out-js/decentraland/sdk/components/nft_shape.gen.js +37 -30
  221. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
  222. package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
  223. package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
  224. package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
  225. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +63 -187
  226. package/out-js/decentraland/sdk/components/pointer_events.gen.js +162 -69
  227. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
  228. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +11 -209
  229. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +42 -23
  230. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
  231. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +8 -16
  232. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +24 -17
  233. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
  234. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +23 -250
  235. package/out-js/decentraland/sdk/components/raycast.gen.js +122 -50
  236. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
  237. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +10 -348
  238. package/out-js/decentraland/sdk/components/raycast_result.gen.js +44 -24
  239. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
  240. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
  241. package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
  242. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
  243. package/out-js/decentraland/sdk/components/skybox.gen.d.ts +103 -0
  244. package/out-js/decentraland/sdk/components/skybox.gen.js +355 -0
  245. package/out-js/decentraland/sdk/components/skybox.gen.js.map +1 -0
  246. package/out-js/decentraland/sdk/components/sun.gen.d.ts +53 -0
  247. package/out-js/decentraland/sdk/components/sun.gen.js +114 -0
  248. package/out-js/decentraland/sdk/components/sun.gen.js.map +1 -0
  249. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +10 -174
  250. package/out-js/decentraland/sdk/components/text_shape.gen.js +58 -38
  251. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
  252. package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +86 -0
  253. package/out-js/decentraland/sdk/components/texture_camera.gen.js +297 -0
  254. package/out-js/decentraland/sdk/components/texture_camera.gen.js.map +1 -0
  255. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
  256. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +202 -0
  257. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
  258. package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
  259. package/out-js/decentraland/sdk/components/tween.gen.js +1214 -0
  260. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  261. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  262. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +123 -0
  263. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  264. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  265. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  266. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  267. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +8 -314
  268. package/out-js/decentraland/sdk/components/ui_background.gen.js +37 -29
  269. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
  270. package/out-js/decentraland/sdk/components/ui_canvas.gen.d.ts +35 -0
  271. package/out-js/decentraland/sdk/components/ui_canvas.gen.js +98 -0
  272. package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +1 -0
  273. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +10 -78
  274. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +50 -29
  275. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
  276. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +8 -16
  277. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +24 -17
  278. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
  279. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +14 -104
  280. package/out-js/decentraland/sdk/components/ui_input.gen.js +71 -25
  281. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
  282. package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
  283. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
  284. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
  285. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +10 -16
  286. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +41 -20
  287. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
  288. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.d.ts +31 -0
  289. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +71 -0
  290. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +1 -0
  291. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +28 -64
  292. package/out-js/decentraland/sdk/components/ui_text.gen.js +126 -24
  293. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  294. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +84 -216
  295. package/out-js/decentraland/sdk/components/ui_transform.gen.js +662 -96
  296. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  297. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +18 -36
  298. package/out-js/decentraland/sdk/components/video_player.gen.js +69 -23
  299. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
  300. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +16 -16
  301. package/out-js/decentraland/sdk/components/visibility_component.gen.js +41 -20
  302. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
  303. package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
  304. package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
  305. package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
  306. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
  307. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7845 -0
  308. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
  309. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
  310. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
  311. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
  312. package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
  313. package/out-js/decentraland/social_service/errors.gen.js +405 -0
  314. package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
  315. package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
  316. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2518 -0
  317. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
  318. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1892 -0
  319. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9519 -0
  320. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
  321. package/out-js/google/protobuf/descriptor.gen.d.ts +920 -87149
  322. package/out-js/google/protobuf/descriptor.gen.js +1622 -770
  323. package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
  324. package/out-js/google/protobuf/empty.gen.d.ts +8 -8
  325. package/out-js/google/protobuf/empty.gen.js +23 -16
  326. package/out-js/google/protobuf/empty.gen.js.map +1 -1
  327. package/out-js/quests.gen.d.ts +1 -0
  328. package/out-js/quests.gen.js +6 -0
  329. package/out-js/quests.gen.js.map +1 -0
  330. package/out-js/sdk-development.gen.d.ts +1 -0
  331. package/out-js/sdk-development.gen.js +6 -0
  332. package/out-js/sdk-development.gen.js.map +1 -0
  333. package/out-ts/about.gen.ts +3 -0
  334. package/out-ts/decentraland/common/border_rect.gen.ts +124 -19
  335. package/out-ts/decentraland/common/colors.gen.ts +116 -37
  336. package/out-ts/decentraland/common/content_mapping.gen.ts +17 -17
  337. package/out-ts/decentraland/common/gradient.gen.ts +170 -0
  338. package/out-ts/decentraland/common/sdk/user_data.gen.ts +59 -59
  339. package/out-ts/decentraland/common/texture.gen.ts +232 -84
  340. package/out-ts/decentraland/common/vectors.gen.ts +157 -53
  341. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
  342. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +318 -31
  343. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +32 -32
  344. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +500 -1880
  345. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +310 -277
  346. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +220 -199
  347. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +132 -132
  348. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +82 -66
  349. package/out-ts/decentraland/kernel/apis/players.gen.ts +106 -94
  350. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +196 -149
  351. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1392 -347
  352. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +743 -164
  353. package/out-ts/decentraland/kernel/apis/scene.gen.ts +34 -34
  354. package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
  355. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +266 -89
  356. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +50 -48
  357. package/out-ts/decentraland/kernel/apis/testing.gen.ts +708 -184
  358. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +33 -31
  359. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +66 -62
  360. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2097 -215
  361. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +231 -200
  362. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1509 -575
  363. package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +797 -0
  364. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  365. package/out-ts/decentraland/{bff/http_endpoints.gen.ts → realm/about.gen.ts} +582 -225
  366. package/out-ts/decentraland/sdk/components/animator.gen.ts +41 -64
  367. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +68 -21
  368. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +79 -19
  369. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +150 -17
  370. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +171 -0
  371. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
  372. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +237 -0
  373. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +237 -0
  374. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +319 -20
  375. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +372 -0
  376. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +435 -0
  377. package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
  378. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +95 -42
  379. package/out-ts/decentraland/sdk/components/billboard.gen.ts +49 -22
  380. package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +202 -0
  381. package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +92 -0
  382. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +16 -16
  383. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +198 -19
  384. package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
  385. package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +77 -0
  386. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +70 -0
  387. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  388. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +22 -22
  389. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +149 -0
  390. package/out-ts/decentraland/sdk/components/environment_fog.gen.ts +113 -0
  391. package/out-ts/decentraland/sdk/components/explorer_configuration.gen.ts +87 -0
  392. package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
  393. package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
  394. package/out-ts/decentraland/sdk/components/global_light.gen.ts +138 -0
  395. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +58 -18
  396. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +195 -0
  397. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +116 -0
  398. package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
  399. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +139 -0
  400. package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +265 -0
  401. package/out-ts/decentraland/sdk/components/material.gen.ts +213 -94
  402. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +215 -100
  403. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +209 -94
  404. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +28 -28
  405. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  406. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +186 -58
  407. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +42 -23
  408. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +16 -16
  409. package/out-ts/decentraland/sdk/components/raycast.gen.ts +109 -34
  410. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +35 -20
  411. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
  412. package/out-ts/decentraland/sdk/components/skybox.gen.ts +440 -0
  413. package/out-ts/decentraland/sdk/components/sun.gen.ts +155 -0
  414. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +55 -37
  415. package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +362 -0
  416. package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
  417. package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
  418. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  419. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  420. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +22 -21
  421. package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +115 -0
  422. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +43 -25
  423. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +16 -16
  424. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +78 -24
  425. package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
  426. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +35 -18
  427. package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +83 -0
  428. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +142 -24
  429. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +725 -66
  430. package/out-ts/decentraland/sdk/components/video_player.gen.ts +80 -22
  431. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +46 -19
  432. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  433. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  434. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  435. package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
  436. package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
  437. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10939 -0
  438. package/out-ts/google/protobuf/descriptor.gen.ts +1881 -540
  439. package/out-ts/google/protobuf/empty.gen.ts +15 -15
  440. package/out-ts/quests.gen.ts +3 -0
  441. package/out-ts/sdk-development.gen.ts +3 -0
  442. package/package.json +24 -12
  443. package/proto/decentraland/common/auth.proto +22 -0
  444. package/proto/decentraland/common/border_rect.proto +9 -1
  445. package/proto/decentraland/common/colors.proto +6 -0
  446. package/proto/decentraland/common/floats.proto +8 -0
  447. package/proto/decentraland/common/gradient.proto +16 -0
  448. package/proto/decentraland/common/options.proto +51 -0
  449. package/proto/decentraland/common/quantization_example.proto +164 -0
  450. package/proto/decentraland/common/texture.proto +21 -10
  451. package/proto/decentraland/common/vectors.proto +7 -0
  452. package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
  453. package/proto/decentraland/kernel/apis/communications_controller.proto +19 -4
  454. package/proto/decentraland/kernel/apis/engine_api.proto +9 -110
  455. package/proto/decentraland/kernel/apis/environment_api.proto +1 -1
  456. package/proto/decentraland/kernel/apis/permissions.proto +1 -0
  457. package/proto/decentraland/kernel/apis/portable_experiences.proto +4 -1
  458. package/proto/decentraland/kernel/apis/restricted_actions.proto +122 -16
  459. package/proto/decentraland/kernel/apis/runtime.proto +54 -9
  460. package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
  461. package/proto/decentraland/kernel/apis/signed_fetch.proto +6 -0
  462. package/proto/decentraland/kernel/apis/testing.proto +47 -2
  463. package/proto/decentraland/kernel/comms/rfc4/comms.proto +180 -0
  464. package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +3 -0
  465. package/proto/decentraland/kernel/comms/v3/archipelago.proto +120 -34
  466. package/proto/decentraland/pulse/pulse_client.proto +147 -0
  467. package/proto/decentraland/pulse/pulse_clusters.proto +94 -0
  468. package/proto/decentraland/pulse/pulse_server.proto +217 -0
  469. package/proto/decentraland/pulse/pulse_shared.proto +57 -0
  470. package/proto/decentraland/quests/definitions.proto +185 -0
  471. package/proto/decentraland/realm/about.proto +138 -0
  472. package/proto/decentraland/sdk/components/animator.proto +9 -4
  473. package/proto/decentraland/sdk/components/asset_load.proto +10 -0
  474. package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
  475. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  476. package/proto/decentraland/sdk/components/audio_event.proto +12 -0
  477. package/proto/decentraland/sdk/components/audio_source.proto +10 -2
  478. package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
  479. package/proto/decentraland/sdk/components/avatar_attach.proto +26 -3
  480. package/proto/decentraland/sdk/components/avatar_base.proto +16 -0
  481. package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
  482. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +23 -0
  483. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
  484. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +22 -0
  485. package/proto/decentraland/sdk/components/avatar_movement.proto +63 -0
  486. package/proto/decentraland/sdk/components/avatar_movement_info.proto +38 -0
  487. package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
  488. package/proto/decentraland/sdk/components/avatar_shape.proto +35 -17
  489. package/proto/decentraland/sdk/components/billboard.proto +11 -3
  490. package/proto/decentraland/sdk/components/camera_layer.proto +30 -0
  491. package/proto/decentraland/sdk/components/camera_layers.proto +11 -0
  492. package/proto/decentraland/sdk/components/camera_mode_area.proto +18 -1
  493. package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
  494. package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
  495. package/proto/decentraland/sdk/components/common/explorer_ui.proto +15 -0
  496. package/proto/decentraland/sdk/components/common/input_action.proto +12 -0
  497. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  498. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  499. package/proto/decentraland/sdk/components/engine_info.proto +17 -0
  500. package/proto/decentraland/sdk/components/environment_fog.proto +21 -0
  501. package/proto/decentraland/sdk/components/explorer_configuration.proto +11 -0
  502. package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
  503. package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
  504. package/proto/decentraland/sdk/components/global_light.proto +22 -0
  505. package/proto/decentraland/sdk/components/gltf_container.proto +6 -0
  506. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +26 -0
  507. package/proto/decentraland/sdk/components/gltf_node.proto +42 -0
  508. package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
  509. package/proto/decentraland/sdk/components/gltf_node_state.proto +20 -0
  510. package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
  511. package/proto/decentraland/sdk/components/light_source.proto +28 -0
  512. package/proto/decentraland/sdk/components/main_camera.proto +11 -0
  513. package/proto/decentraland/sdk/components/map_pin.proto +16 -0
  514. package/proto/decentraland/sdk/components/material.proto +16 -4
  515. package/proto/decentraland/sdk/components/mesh_collider.proto +13 -6
  516. package/proto/decentraland/sdk/components/mesh_renderer.proto +10 -5
  517. package/proto/decentraland/sdk/components/nft_shape.proto +3 -3
  518. package/proto/decentraland/sdk/components/particle_system.proto +133 -0
  519. package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
  520. package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
  521. package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
  522. package/proto/decentraland/sdk/components/pointer_events.proto +33 -2
  523. package/proto/decentraland/sdk/components/pointer_events_result.proto +2 -1
  524. package/proto/decentraland/sdk/components/primary_pointer_info.proto +44 -0
  525. package/proto/decentraland/sdk/components/raycast.proto +14 -1
  526. package/proto/decentraland/sdk/components/raycast_result.proto +1 -0
  527. package/proto/decentraland/sdk/components/realm_info.proto +15 -0
  528. package/proto/decentraland/sdk/components/skybox.proto +51 -0
  529. package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
  530. package/proto/decentraland/sdk/components/sun.proto +26 -0
  531. package/proto/decentraland/sdk/components/text_shape.proto +1 -0
  532. package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
  533. package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
  534. package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
  535. package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
  536. package/proto/decentraland/sdk/components/tween.proto +117 -0
  537. package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
  538. package/proto/decentraland/sdk/components/tween_state.proto +18 -0
  539. package/proto/decentraland/sdk/components/ui_background.proto +2 -2
  540. package/proto/decentraland/sdk/components/ui_canvas.proto +16 -0
  541. package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
  542. package/proto/decentraland/sdk/components/ui_dropdown.proto +1 -0
  543. package/proto/decentraland/sdk/components/ui_input.proto +3 -0
  544. package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
  545. package/proto/decentraland/sdk/components/ui_input_result.proto +1 -0
  546. package/proto/decentraland/sdk/components/ui_layout_feedback.proto +28 -0
  547. package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
  548. package/proto/decentraland/sdk/components/ui_text.proto +15 -3
  549. package/proto/decentraland/sdk/components/ui_transform.proto +57 -0
  550. package/proto/decentraland/sdk/components/video_event.proto +25 -0
  551. package/proto/decentraland/sdk/components/video_player.proto +8 -0
  552. package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
  553. package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
  554. package/proto/decentraland/sdk/development/local_development.proto +29 -0
  555. package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
  556. package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
  557. package/proto/decentraland/social_service/errors.proto +30 -0
  558. package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
  559. package/proto/decentraland/social_service/v2/social_service_v2.proto +769 -0
  560. package/protoc-gen-bitwise/generator_csharp.js +248 -0
  561. package/protoc-gen-bitwise/options.js +139 -0
  562. package/protoc-gen-bitwise/plugin.js +87 -0
  563. package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
  564. package/protoc-gen-bitwise/wire.js +239 -0
  565. package/public/about.proto +5 -0
  566. package/public/comms.proto +2 -1
  567. package/public/quests.proto +5 -0
  568. package/public/sdk-apis.proto +2 -0
  569. package/public/sdk-components.proto +48 -19
  570. package/public/sdk-development.proto +5 -0
  571. package/public/social.proto +3 -1
  572. package/out-js/bff-services.gen.d.ts +0 -1
  573. package/out-js/bff-services.gen.js.map +0 -1
  574. package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -197
  575. package/out-js/decentraland/bff/authentication_service.gen.js +0 -266
  576. package/out-js/decentraland/bff/authentication_service.gen.js.map +0 -1
  577. package/out-js/decentraland/bff/comms_director_service.gen.d.ts +0 -289
  578. package/out-js/decentraland/bff/comms_director_service.gen.js +0 -228
  579. package/out-js/decentraland/bff/comms_director_service.gen.js.map +0 -1
  580. package/out-js/decentraland/bff/comms_service.gen.d.ts +0 -348
  581. package/out-js/decentraland/bff/comms_service.gen.js +0 -175
  582. package/out-js/decentraland/bff/comms_service.gen.js.map +0 -1
  583. package/out-js/decentraland/bff/http_endpoints.gen.d.ts +0 -929
  584. package/out-js/decentraland/bff/http_endpoints.gen.js +0 -873
  585. package/out-js/decentraland/bff/http_endpoints.gen.js.map +0 -1
  586. package/out-js/decentraland/bff/topics_service.gen.d.ts +0 -272
  587. package/out-js/decentraland/bff/topics_service.gen.js +0 -386
  588. package/out-js/decentraland/bff/topics_service.gen.js.map +0 -1
  589. package/out-js/decentraland/social/friendships/friendships.gen.d.ts +0 -4816
  590. package/out-js/decentraland/social/friendships/friendships.gen.js +0 -1334
  591. package/out-js/decentraland/social/friendships/friendships.gen.js.map +0 -1
  592. package/out-ts/bff-services.gen.ts +0 -3
  593. package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -323
  594. package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -272
  595. package/out-ts/decentraland/bff/comms_service.gen.ts +0 -212
  596. package/out-ts/decentraland/bff/topics_service.gen.ts +0 -468
  597. package/out-ts/decentraland/social/friendships/friendships.gen.ts +0 -1598
  598. package/proto/buf.yaml +0 -47
  599. package/proto/decentraland/bff/authentication_service.proto +0 -27
  600. package/proto/decentraland/bff/comms_director_service.proto +0 -33
  601. package/proto/decentraland/bff/comms_service.proto +0 -25
  602. package/proto/decentraland/bff/http_endpoints.proto +0 -80
  603. package/proto/decentraland/bff/topics_service.proto +0 -34
  604. package/proto/decentraland/social/friendships/friendships.proto +0 -106
  605. package/proto/google/LICENSE +0 -27
  606. package/proto/google/README.md +0 -1
  607. package/proto/google/api/annotations.json +0 -83
  608. package/proto/google/api/annotations.proto +0 -11
  609. package/proto/google/api/http.json +0 -86
  610. package/proto/google/api/http.proto +0 -31
  611. package/proto/google/protobuf/api.json +0 -118
  612. package/proto/google/protobuf/api.proto +0 -34
  613. package/proto/google/protobuf/descriptor.json +0 -739
  614. package/proto/google/protobuf/descriptor.proto +0 -286
  615. package/proto/google/protobuf/source_context.json +0 -20
  616. package/proto/google/protobuf/source_context.proto +0 -7
  617. package/proto/google/protobuf/type.json +0 -202
  618. package/proto/google/protobuf/type.proto +0 -89
  619. package/public/bff-services.proto +0 -16
@@ -0,0 +1,12 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components;
4
+
5
+ import "decentraland/sdk/components/common/id.proto";
6
+ import "decentraland/sdk/components/common/media_state.proto";
7
+ option (common.ecs_component_id) = 1105;
8
+
9
+ message PBAudioEvent {
10
+ common.MediaState state = 1;
11
+ uint32 timestamp = 2; // monotonic counter
12
+ }
@@ -13,11 +13,19 @@ option (common.ecs_component_id) = 1020;
13
13
  // Note that the `audio_clip_url` is not actually a URL, but rather the path of a file bundled with
14
14
  // the scene and declared in its manifest. The name was chosen because the URL use-case will
15
15
  // eventually be supported.
16
- message PBAudioSource {
16
+ //
17
+ // `playing=true` when it's previously `playing=true`
18
+ // a) if clip is playing and `current_time` is NOT SET, the clip remains in the current `current_time`
19
+ // b) if clip is stopped or `current_time` is set, the clip is played from the `current_time` (if set) or from the beginning
20
+ //
21
+ // If other property (volume, loop, pitch) is changed while playing, the clip is keep playing with the new properties
22
+ // Changing `audio_clip_url` while playing stops the current clip and plays the new one (as a new instance)
23
+ message PBAudioSource {
17
24
  optional bool playing = 1; // whether the clip is currently playing.
18
25
  optional float volume = 2; // the audio volume (default: 1.0).
19
26
  optional bool loop = 3; // whether the clip should restart when finished.
20
27
  optional float pitch = 4; // the audio pitch (default: 1.0).
21
28
  string audio_clip_url = 5; // the clip path as given in the `files` array of the scene's manifest.
29
+ optional float current_time = 6; // specifies the current playback time of the clip in seconds (default: 0).
30
+ optional bool global = 7; // whether the audio plays at constant volume across the scene.
22
31
  }
23
-
@@ -11,4 +11,12 @@ message PBAudioStream {
11
11
  optional bool playing = 1; // whether the clip is currently playing
12
12
  optional float volume = 2; // the audio volume (default: 1.0)
13
13
  string url = 3; // the audio stream HTTP URL
14
+ // either the audio will be global or spatial (default: false)
15
+ // global: plays the same way for every listener. It is not affected by distance, direction, or position.
16
+ // spatial: changes depending on where the listener is relative to the sound source
17
+ optional bool spatial = 4;
18
+ // Within the min distance the audio will cease to grow louder in volume (default: 0)
19
+ optional float spatial_min_distance = 5;
20
+ // The distance where sound either becomes inaudible or stops attenuation (default: 60)
21
+ optional float spatial_max_distance = 6;
14
22
  }
@@ -6,11 +6,11 @@ import "decentraland/sdk/components/common/id.proto";
6
6
 
7
7
  option (common.ecs_component_id) = 1073;
8
8
 
9
- // The AvatarAttach component automatically repositions an Entity to maintain the same position and
10
- // rotation relative to some part of an avatar, called the "anchor point". The Entity
9
+ // The AvatarAttach component automatically repositions an Entity to maintain the same position and
10
+ // rotation relative to some part of an avatar, called the "anchor point". The Entity
11
11
  // will follow this anchor as it moves.
12
12
  //
13
- // The Entity's own Transform is overridden by this component. To offset position and adjust scale,
13
+ // The Entity's own Transform is overridden by this component. To offset position and adjust scale,
14
14
  // add a child to the anchored Entity and set a Transform on it instead.
15
15
  //
16
16
  // AvatarAnchorPointType indicates which part of the avatar the Entity must follow.
@@ -21,8 +21,31 @@ message PBAvatarAttach {
21
21
 
22
22
  // AvatarAnchorPointType determines the part of the avatar's body that anchors the Entity.
23
23
  enum AvatarAnchorPointType {
24
+ // @deprecated consider parenting to `engine.PlayerEntity`, this will attach to player position with an arbitrary offset
24
25
  AAPT_POSITION = 0;
25
26
  AAPT_NAME_TAG = 1;
27
+ AAPT_HEAD = 4;
28
+ AAPT_NECK = 5;
29
+ AAPT_SPINE = 6;
30
+ AAPT_SPINE1 = 7;
31
+ AAPT_SPINE2 = 8;
32
+ AAPT_HIP = 9;
33
+ AAPT_LEFT_SHOULDER = 10;
34
+ AAPT_LEFT_ARM = 11;
35
+ AAPT_LEFT_FOREARM = 12;
26
36
  AAPT_LEFT_HAND = 2;
37
+ AAPT_LEFT_HAND_INDEX = 13;
38
+ AAPT_RIGHT_SHOULDER = 14;
39
+ AAPT_RIGHT_ARM = 15;
40
+ AAPT_RIGHT_FOREARM = 16;
27
41
  AAPT_RIGHT_HAND = 3;
42
+ AAPT_RIGHT_HAND_INDEX = 17;
43
+ AAPT_LEFT_UP_LEG = 18;
44
+ AAPT_LEFT_LEG = 19;
45
+ AAPT_LEFT_FOOT = 20;
46
+ AAPT_LEFT_TOE_BASE = 21;
47
+ AAPT_RIGHT_UP_LEG = 22;
48
+ AAPT_RIGHT_LEG = 23;
49
+ AAPT_RIGHT_FOOT = 24;
50
+ AAPT_RIGHT_TOE_BASE = 25;
28
51
  }
@@ -0,0 +1,16 @@
1
+
2
+ syntax = "proto3";
3
+ package decentraland.sdk.components;
4
+ import "decentraland/common/colors.proto";
5
+ import "decentraland/sdk/components/common/id.proto";
6
+ option (common.ecs_component_id) = 1087;
7
+
8
+ // AvatarBase sets all modifiers over the avatar's apparence.
9
+ message PBAvatarBase {
10
+ decentraland.common.Color3 skin_color = 1;
11
+ decentraland.common.Color3 eyes_color = 2;
12
+ decentraland.common.Color3 hair_color = 3;
13
+ string body_shape_urn = 4;
14
+ string name = 5;
15
+ optional bool talking = 6; // true while the player is speaking in voice chat; unset when the engine does not report voice activity
16
+ }
@@ -0,0 +1,32 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ import "decentraland/sdk/components/common/avatar_mask.proto";
6
+ option (common.ecs_component_id) = 1088;
7
+
8
+ // EmoteState describes the lifecycle state of an emote playback.
9
+ enum EmoteState {
10
+ // ES_STARTED indicates the emote started playing.
11
+ // This is the zero value and is used for backward compatibility — entries
12
+ // written by older explorers (field absent) read as "started".
13
+ ES_STARTED = 0;
14
+ // ES_FINISHED indicates a non-looping emote completed naturally.
15
+ ES_FINISHED = 1;
16
+ // ES_INTERRUPTED indicates playback was cancelled (movement, teleport,
17
+ // another emote superseding it, explicit stop, or scene change).
18
+ ES_INTERRUPTED = 2;
19
+ }
20
+
21
+ // AvatarEmoteCommand is a grow only value set, written by the explorer to report
22
+ // avatar emote playback to the scene. It is appended to every player entity in the
23
+ // scene (the local player and remote avatars alike).
24
+ message PBAvatarEmoteCommand {
25
+ string emote_urn = 1;
26
+ bool loop = 2;
27
+ uint32 timestamp = 3; // monotonic counter
28
+ optional decentraland.sdk.components.common.AvatarMask mask = 4;
29
+ // state describes the lifecycle event for this emote entry.
30
+ // When absent (older explorers), defaults to ES_STARTED.
31
+ optional EmoteState state = 5;
32
+ }
@@ -0,0 +1,23 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ option (common.ecs_component_id) = 1091;
6
+
7
+ // AvatarEquipData is used to read the information about the avatar's owneables.
8
+ // this component is written by the engine using the communications transports'
9
+ // data. It describes the outfit in the player's profile.
10
+ message PBAvatarEquippedData {
11
+ repeated string wearable_urns = 1;
12
+ repeated string emote_urns = 2;
13
+ repeated EquippedWearable wearables = 3; // one per item of wearable_urns, in the same order
14
+ repeated string force_render = 4; // slots that will render even if hidden
15
+
16
+ message EquippedWearable {
17
+ string urn = 1;
18
+ // true if the wearable is visible in the profile outfit, after hides, replaces and force render apply.
19
+ // Of two wearables with the same category, the later one is used: the earlier one is false and hides nothing.
20
+ // Unset until all the wearables of the outfit have loaded or failed. A wearable that failed to load is false.
21
+ optional bool visible = 2;
22
+ }
23
+ }
@@ -0,0 +1,21 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components;
4
+
5
+ import "decentraland/sdk/components/common/id.proto";
6
+
7
+ option (common.ecs_component_id) = 1211;
8
+
9
+ // The PBAvatarLocomotionSettings component allows scenes to modify locomotion settings defining things such
10
+ // as the avatar movement speed, jump height etc.
11
+ message PBAvatarLocomotionSettings {
12
+ optional float walk_speed = 1; // Maximum speed when walking (in meters per second)
13
+ optional float jog_speed = 2; // Maximum speed when jogging (in meters per second)
14
+ optional float run_speed = 3; // Maximum speed when running (in meters per second)
15
+ optional float jump_height = 4; // Height of a regular jump (in meters)
16
+ optional float run_jump_height = 5; // Height of a jump while running (in meters)
17
+ optional float hard_landing_cooldown = 6; // Cooldown time after a hard landing before the avatar can move again (in seconds)
18
+ optional float double_jump_height = 7; // Height of the double jump (in meters)
19
+ optional float gliding_speed = 8; // Maximum speed when gliding (in meters per second)
20
+ optional float gliding_falling_speed = 9; // Maximum falling speed when gliding (in meters per second)
21
+ }
@@ -23,10 +23,32 @@ 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
26
28
  }
27
29
 
28
30
  // AvatarModifierType is an effect that should be applied to avatars inside the region.
29
31
  enum AvatarModifierType {
30
32
  AMT_HIDE_AVATARS = 0; // avatars are invisible
31
33
  AMT_DISABLE_PASSPORTS = 1; // selecting (e.g. clicking) an avatar will not bring up their profile.
34
+ AMT_HIDE_NAMETAGS = 2; // the name tag displayed above an avatar is hidden.
35
+ }
36
+
37
+ message AvatarMovementSettings {
38
+ optional AvatarControlType control_mode = 1;
39
+ // if not explicitly set, the following properties default to user's preference settings
40
+ optional float run_speed = 2; // speed the player moves at, in m/s
41
+ optional float friction = 3; // how fast the player gets up to speed or comes to rest. higher = more responsive
42
+ optional float gravity = 4; // how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative
43
+ 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
44
+ optional float max_fall_speed = 6; // max fall speed in m/s. should normally be negative
45
+ optional float turn_speed = 7; // speed the player turns in tank mode, in radians/s
46
+ optional float walk_speed = 8; // speed the player walks at, in m/s
47
+ 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
48
+ }
49
+
50
+ enum AvatarControlType {
51
+ CCT_NONE = 0; // avatar cannot move
52
+ CCT_RELATIVE = 1; // avatar moves relative to the camera origin
53
+ CCT_TANK = 2; // avatar moves like a tank: left/right rotate the player, forward/backward advance/retreat the player
32
54
  }
@@ -0,0 +1,63 @@
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) = 1501;
9
+
10
+ message PBAvatarMovement {
11
+ decentraland.common.Vector3 velocity = 1;
12
+ float orientation = 2; // 0-360, yaw only; this is the authoritative facing (other clients read it, and physics treats the avatar as upright). Lean is expressed separately via tilt_pitch/tilt_roll.
13
+ optional decentraland.common.Vector3 ground_direction = 3;
14
+ optional bool walk_success = 4; // set for one frame when a walk_target ends: true = reached target, false = failed; absent = in progress or no walk
15
+ optional MovementAnimation animation = 5; // if set, the engine plays this animation instead of selecting one from velocity heuristics
16
+ optional float tilt_pitch = 6; // render-only forward/back lean in degrees, applied on top of `orientation` (rotation about the avatar's local X axis). Does not affect the physics capsule (stays upright) or the facing other clients read. Defaults to 0.
17
+ optional float tilt_roll = 7; // render-only sideways lean in degrees, applied on top of `orientation` (rotation about the avatar's local Z axis). Same constraints as tilt_pitch. Useful e.g. for glider banking. Defaults to 0.
18
+ }
19
+
20
+ // Describes the animation the movement scene wants the avatar to play.
21
+ // One GLB = one clip (following the scene-emote convention: single clip, or a clip named with `_Avatar` suffix).
22
+ // When absent the engine falls back to its built-in velocity-based selection (walk/run/jump/idle).
23
+ message MovementAnimation {
24
+ string src = 1; // scene-relative path to the gltf/glb asset (resolved via the scene content map)
25
+ bool loop = 2; // whether the clip repeats once it reaches the end
26
+ float speed = 3; // playback speed multiplier (1.0 = clip's native rate)
27
+ bool idle = 4; // true: a triggerSceneEmote may take over; false: emotes are suppressed while this animation plays
28
+ optional float transition_seconds = 5; // cross-fade duration when `src` changes; defaults to 0.2 when unset. Not applied to loop/speed/idle changes.
29
+ optional float playback_time = 6; // if set, the engine seeks to this position (in seconds) this frame. Clear on subsequent frames to allow normal playback. The scene can read `AvatarAnimationState.playback_time` first to decide.
30
+ repeated string sounds = 7; // scene-relative paths to audio clips (.mp3/.ogg) to play this frame on the avatar audio bus. Fire-and-forget: each listed clip plays once per frame it appears; leaving a clip set for multiple frames re-triggers it. No stop mechanism. Use `AvatarAnimationState.playback_time` to trigger sounds at the right point in the clip (e.g. foot plants).
31
+ }
32
+
33
+ // engine behaviour (uses only capsule shapecasts and GJK closest point for portability):
34
+ // 1: set avatar orientation from movement info -> P1
35
+ // 2: record "ground collider" - nearest collider within threshold distance in ground_direction using avatar collider shapecast
36
+ // 3: update all colliders, record previous transform and new transform.
37
+ // 4: apply ground collider movement: take collider closest point, modify P1 translation and rotation by closest point translation and rotation change -> P2
38
+ // 5: resolve collisions using position-based constraints
39
+ // initialize constraints to -inf, +inf
40
+ // repeat
41
+ // for each collider[i] that collides with the P3+N player:
42
+ // if closest point = capsule middle (i.e. collider collides with P3 collider but with radius 0),
43
+ // ignore / continue
44
+ // else
45
+ // update constraints based on minimum movement to escape collision
46
+ // e.g. if avatar is 1cm into the floor, constraint_min = max(constraint_min, vec3(0, 0.01, 0))
47
+ // reposition player to satisfy constraints for each axis:
48
+ // y: satsify floor before ceiling: new position = max(constraint_min, min(constraint_max, current position))
49
+ // x and z: if squashed, take average, else satisfy the required constraint
50
+ // if constraint_min > constraint_max then new position = average(constraint_min, constraint_max)
51
+ // else new position = clamp(current position, constraint_min, constraint_max)
52
+ // while position !~= previous position
53
+ // 6: apply velocity (collide and slide)
54
+ // disable anything we are initially colliding with
55
+ // shapecast avatar from position to position + velocity * timestep
56
+ // on impact:
57
+ // project velocity onto slide plane (standard "Collide & Slide")
58
+ // velocity = old velocity - (normal * dot(velocity, normal))
59
+ // repeat continue with residual velocity and residual time
60
+ // 7: provide AvatarMovementInfo values
61
+ // actual velocity = (final - P3+N) / timestep
62
+ // external_velocity = sum of scene impulses + scene forces * timestep + push out of moving colliders / timestep
63
+ // (movement of the "ground" platform changes the position directly and is not reported here)
@@ -0,0 +1,38 @@
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
+ import "decentraland/sdk/components/avatar_locomotion_settings.proto";
8
+ import "decentraland/sdk/components/input_modifier.proto";
9
+
10
+ option (common.ecs_component_id) = 1500;
11
+
12
+ message PBAvatarMovementInfo {
13
+ // The engine reports this per scene. A scene does not always tick every engine frame, so some
14
+ // fields cover the whole period since this scene's previous tick and others only the latest frame.
15
+ float step_time = 1; // the current engine frame's delta: how long a velocity written this tick is applied for this frame. The engine keeps applying it each later frame until the scene's next response arrives
16
+ float previous_step_time = 2; // total time movement was applied for since this scene's previous tick; spans several frames if the scene missed some. Use this to integrate rate-based state
17
+ decentraland.common.Vector3 requested_velocity = 3; // the velocity applied in the latest frame, from whichever scene controls movement; absent if none was applied
18
+ decentraland.common.Vector3 actual_velocity = 4; // the resulting velocity in the latest frame, taking collisions into account; absent if none was applied. Not a mean over the period
19
+ decentraland.common.Vector3 external_velocity = 5; // the velocity imparted by scene impulses (PhysicsCombinedImpulse), forces (PhysicsCombinedForce, as force * frame time) summed since this scene's previous tick, plus the mean velocity of pushing from other moving colliders over the frames in that period that had any. The engine only reports it: the scene controlling movement is expected to add it to the velocity it writes
20
+ decentraland.sdk.components.PBAvatarLocomotionSettings active_avatar_locomotion_settings = 6;
21
+ decentraland.sdk.components.PBInputModifier active_input_modifier = 7;
22
+ optional decentraland.common.Vector3 walk_target = 8; // if set, the movement scene should walk the player to this scene-relative position
23
+ optional float walk_threshold = 9; // stop distance for walk_target; considered reached when within this distance
24
+ optional AvatarAnimationState active_animation_state = 10; // current state of a scene-driven movement animation. Absent when the engine is using its velocity-based fallback. `playback_time` freezes while a triggerSceneEmote is overriding the animation.
25
+ }
26
+
27
+ // Mirror of the scene-driven movement animation currently playing, reported by the engine.
28
+ // Readable by any scene (not just the controller) so niche effects (e.g. dust cloud on landing) can react.
29
+ // Active emotes are not represented here — scenes already have their own way to read them.
30
+ message AvatarAnimationState {
31
+ string src = 1; // same scene-relative path the controlling scene supplied
32
+ bool loop = 2; // mirrors the request
33
+ float speed = 3; // mirrors the request
34
+ bool idle = 4; // mirrors the request
35
+ float playback_time = 5; // seconds into the clip; wraps on loop; frozen while an emote override is playing
36
+ float duration = 6; // total clip length in seconds
37
+ uint32 loop_count = 7; // how many times the clip has completed since it started
38
+ }
@@ -0,0 +1,33 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components;
4
+
5
+ import "decentraland/common/colors.proto";
6
+ import "decentraland/sdk/components/common/id.proto";
7
+
8
+ option (common.ecs_component_id) = 1221;
9
+
10
+ // The AvatarNametag component adds a plate with scene-provided text above an avatar's nametag,
11
+ // for example to show a rank or a role that the scene assigns to that player.
12
+ //
13
+ // Valid only on an avatar-bearing entity:
14
+ // - the local player: `engine.PlayerEntity`
15
+ // - another player in the scene: that player's entity
16
+ // - an NPC: any entity with an AvatarShape
17
+ // Writes to any other entity are ignored.
18
+ //
19
+ // Player entity ids are not stable across disconnects: a write to a stale entity lands on
20
+ // whoever holds that id next. Resolve the entity from the user id on every write, and remove
21
+ // the component when the player leaves the scene.
22
+ //
23
+ // The plate is local to the client that renders it; it is never relayed to other players.
24
+ message PBAvatarNametag {
25
+ // The plate text: a single line, for example "Club Owner". Empty draws the plate without text,
26
+ // and spaces are preserved: a label of spaces widens a text-less plate. For a plate sized
27
+ // exactly to a word without showing it, set label_color equal to background_color instead.
28
+ string label = 1;
29
+
30
+ optional decentraland.common.Color3 label_color = 2; // (default: the client's native nametag text color)
31
+ optional decentraland.common.Color3 background_color = 3; // (default: the client's native nametag background color)
32
+ optional decentraland.common.Color3 border_color = 4; // (default: background_color, so the plate carries no visible border)
33
+ }
@@ -6,37 +6,55 @@ option (common.ecs_component_id) = 1080;
6
6
  import "decentraland/common/colors.proto";
7
7
 
8
8
  // The AvatarShape component contains the information required to draw and animate avatar, acting as
9
- // a simplified GLTF container for this specific case.
9
+ // a simplified GLTF container for this specific case.
10
10
  //
11
- // All fields (except ID) are optional have reasonable default values. In the case of `wearables`,
11
+ // All fields (except ID) are optional and have reasonable default values. In the case of `wearables`,
12
12
  // each slot on the Avatar's body that is not explicitly included in the list has its own default.
13
13
  //
14
- // Note that, while AvatarShape can be attached to any Entity, it's only actually used in the global
15
- // Avatar Scene. Other requirements are usually better served by GLTFs.
14
+ // On most entities, AvatarShape draws an avatar, for example an NPC. Other requirements are usually
15
+ // better served by GLTFs.
16
+ //
17
+ // On a player entity (`engine.PlayerEntity` or the entity of another player), AvatarShape changes the
18
+ // look of that player's avatar:
19
+ // - An unset field keeps the value from the player's profile. The defaults below apply only to other entities.
20
+ // - A non-empty `wearables` replaces all the wearables. A body slot that it does not fill stays empty.
21
+ // An empty `wearables` is the same as unset.
22
+ // - Fields marked "ignored on player entities" have no effect.
23
+ // - The change is local to this client. It is not broadcast.
24
+ // - The change applies only while the scene that wrote it is the current scene.
25
+ // - AvatarBase and AvatarEquippedData keep the values from the profile.
16
26
  message PBAvatarShape {
17
- string id = 1; // the user ID
18
- optional string name = 2; // visible name (default: "NPC")
27
+ string id = 1; // the user ID; ignored on player entities
28
+ optional string name = 2; // visible name (default: "NPC"); ignored on player entities
19
29
  optional string body_shape = 3; // shape URN (default "urn:decentraland:off-chain:base-avatars:BaseFemale")
20
30
 
21
31
  optional decentraland.common.Color3 skin_color = 4; // RGB (default [0.6, 0.462, 0.356])
22
32
  optional decentraland.common.Color3 hair_color = 5; // RGB (default [0.283, 0.142, 0])
23
33
  optional decentraland.common.Color3 eye_color = 6; // RGB (default [0.6, 0.462, 0.356])
24
34
 
25
- optional string expression_trigger_id = 7; // current emote animations
26
- optional int64 expression_trigger_timestamp = 8; // start of emote animations (in the same order)
35
+ optional string expression_trigger_id = 7; // current emote animations; ignored on player entities
36
+ optional int64 expression_trigger_timestamp = 8; // start of emote animations (in the same order); ignored on player entities
27
37
 
28
- optional bool talking = 9; // whether to display the floating voice chat icon
38
+ optional bool talking = 9; // whether to display the floating voice chat icon; ignored on player entities
29
39
 
30
- // Wearable URNs, one for each body slot.
40
+ // Wearables, one per body slot. Each item is one of:
41
+ // - a wearable URN
42
+ // - the path of a GLB file in the scene content, named `<name>_<category>.glb`, for example `cap_hat.glb`
43
+ // If two items have the same category, the later item is used.
44
+ // A scene GLB is always visible and hides nothing. Exception: a `skin` GLB hides the body that it replaces.
45
+ // If an item is not a URN or a `.glb` path, or if it cannot be loaded, the item is skipped.
31
46
  // Default values for each unspecified slot:
32
- // Eyes : "urn:decentraland:off-chain:base-avatars:f_eyes_00",
47
+ // Eyes : "urn:decentraland:off-chain:base-avatars:f_eyes_00",
33
48
  // Eyebrows: "urn:decentraland:off-chain:base-avatars:f_eyebrows_00",
34
- // Mouth : "urn:decentraland:off-chain:base-avatars:f_mouth_00"
35
- // Hair : "urn:decentraland:off-chain:base-avatars:standard_hair",
36
- // Shirt : "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
37
- // Trousers: "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
38
- // Shoes : "urn:decentraland:off-chain:base-avatars:bun_shoes"]
49
+ // Mouth : "urn:decentraland:off-chain:base-avatars:f_mouth_00",
50
+ // Hair : "urn:decentraland:off-chain:base-avatars:standard_hair",
51
+ // Shirt : "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
52
+ // Trousers: "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
53
+ // Shoes : "urn:decentraland:off-chain:base-avatars:bun_shoes"
39
54
  repeated string wearables = 10;
40
- repeated string emotes = 11; // available emotes (default empty)
55
+ repeated string emotes = 11; // available emotes (default empty); ignored on player entities
56
+
57
+ optional bool show_only_wearables = 12; // hides the skin + hair + facial features (default: false)
58
+ repeated string force_render = 13; // slots that will render even if hidden
41
59
  }
42
60
 
@@ -4,19 +4,27 @@ package decentraland.sdk.components;
4
4
 
5
5
  import "decentraland/sdk/components/common/id.proto";
6
6
 
7
+ // https://adr.decentraland.org/adr/ADR-198
7
8
  option (common.ecs_component_id) = 1090;
8
9
 
9
- // The Billboard component makes an Entity automatically reorient its rotation to face the camera.
10
- // As the name indicates, it’s used to display in-game billboards and frequently combined with
10
+ // The Billboard component makes an Entity automatically reorient its rotation to face a target.
11
+ // By default (when target_entity is unset), the billboard faces the main camera. When target_entity
12
+ // is set, the billboard faces that entity instead. Setting target_entity to the camera reserved
13
+ // entity (2) is equivalent to leaving the field unset. If the referenced target entity doesn’t exist
14
+ // or is deleted, the billboard reorientation is disabled until the target exists again.
15
+ //
16
+ // As the name indicates, it’s used to display in-game billboards and frequently combined with
11
17
  // the TextShape component.
12
18
  //
13
- // Billboard only affects the Entity's rotation. Its scale and position are still determined by its
19
+ // Billboard only affects the Entity’s rotation. Its scale and position are still determined by its
14
20
  // Transform.
15
21
  message PBBillboard {
16
22
  optional BillboardMode billboard_mode = 1; // the BillboardMode (default: BM_ALL)
23
+ optional uint32 target_entity = 2; // entity to face instead of the camera; if the referenced entity doesn’t exist, the billboard behavior is disabled until it does
17
24
  }
18
25
 
19
26
  // BillboardMode indicates one or more axis for automatic rotation, in OR-able bit flag form.
27
+ // Only the values below and the (BM_X | BM_Y) combination are valid.
20
28
  enum BillboardMode {
21
29
  BM_NONE = 0;
22
30
  BM_X = 1;
@@ -0,0 +1,30 @@
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) = 1503;
9
+
10
+ message PBCameraLayer {
11
+ // layer to which these settings apply. must be > 0
12
+ // Layer 0 is the default "real world" layer viewed by the player and cannot be modified.
13
+ uint32 layer = 1;
14
+
15
+ // should the sun light affect this layer? default false
16
+ optional bool directional_light = 2;
17
+
18
+ // should this layer show player avatars? default false
19
+ optional bool show_avatars = 3;
20
+
21
+ // should this layer show the sky? default false
22
+ optional bool show_skybox = 4;
23
+
24
+ // should this layer show distance fog? default false
25
+ optional bool show_fog = 5;
26
+
27
+ // ambient light overrides for this layer. default -> use same as main camera
28
+ optional decentraland.common.Color3 ambient_color_override = 6;
29
+ optional float ambient_brightness_override = 7;
30
+ }
@@ -0,0 +1,11 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components;
4
+
5
+ import "decentraland/sdk/components/common/id.proto";
6
+
7
+ option (common.ecs_component_id) = 1208;
8
+
9
+ message PBCameraLayers {
10
+ repeated uint32 layers = 1;
11
+ }
@@ -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 or 3rd-person) is overridden.
12
+ // the player's camera mode (1st-person, 3rd-person or cinematic) 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,7 +19,24 @@ 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.
22
24
  message PBCameraModeArea {
23
25
  decentraland.common.Vector3 area = 1; // the 3D size of the region
24
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 -> unused
36
+ optional bool allow_manual_rotation = 2; // whether the user can move the camera's rotation. default false
37
+ optional float yaw_range = 3; // how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted
38
+ optional float pitch_range = 4; // how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted
39
+ // note: cameras can never look up/down further than Vec3::Y
40
+ optional float roll_range = 5; // how far the camera can rotate around the z-axis / tilt, in radians. default unrestricted
41
+ reserved 6, 7; // zoom_min, zoom_max (removed)
25
42
  }
@@ -0,0 +1,7 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components.common;
3
+
4
+ // Mask for which bones an animation applies to.
5
+ enum AvatarMask {
6
+ AM_UPPER_BODY = 0;
7
+ }
@@ -0,0 +1,11 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components.common;
3
+
4
+ // Defines the transition used towards the camera that contains the CameraTransition.
5
+ // This structure may be updated in the future to specify from/to entities and to have easing functions.
6
+ message CameraTransition {
7
+ oneof transition_mode {
8
+ float time = 1;
9
+ float speed = 2; // meters per second; e.g. speed 1 -> 1 meter per second
10
+ }
11
+ }
@@ -0,0 +1,15 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components.common;
3
+
4
+ // Identifies which explorer panel OpenExplorerUi targets. Panels are not all fullscreen.
5
+ // EU_SETTINGS holds 0 so an unset `ui` field defaults to the least-intrusive panel.
6
+ enum ExplorerUi {
7
+ EU_SETTINGS = 0;
8
+ EU_MAP = 1;
9
+ EU_BACKPACK = 2;
10
+ EU_CAMERA_REEL = 3;
11
+ EU_COMMUNITIES = 4;
12
+ EU_PLACES = 5;
13
+ EU_EVENTS = 6;
14
+ EU_ITEM_PURCHASE = 7; // the item-purchase confirmation modal; see OpenExplorerUi for its parameters and result component
15
+ }
@@ -17,6 +17,8 @@ enum InputAction {
17
17
  IA_ACTION_4 = 11;
18
18
  IA_ACTION_5 = 12;
19
19
  IA_ACTION_6 = 13;
20
+ // Modifier key (Shift on desktop)
21
+ IA_MODIFIER = 14;
20
22
  }
21
23
 
22
24
  // PointerEventType is a kind of interaction that can be detected.
@@ -25,4 +27,14 @@ enum PointerEventType {
25
27
  PET_DOWN = 1;
26
28
  PET_HOVER_ENTER = 2;
27
29
  PET_HOVER_LEAVE = 3;
30
+ PET_PROXIMITY_ENTER = 4;
31
+ PET_PROXIMITY_LEAVE = 5;
32
+ PET_DRAG_LOCKED = 6;
33
+ PET_DRAG = 7;
34
+ PET_DRAG_END = 8;
35
+ }
36
+
37
+ enum InteractionType {
38
+ CURSOR = 0;
39
+ PROXIMITY = 1;
28
40
  }
@@ -0,0 +1,10 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components.common;
3
+
4
+ enum LoadingState {
5
+ UNKNOWN = 0;
6
+ LOADING = 1;
7
+ NOT_FOUND = 2;
8
+ FINISHED_WITH_ERROR = 3;
9
+ FINISHED = 4;
10
+ }