@dcl/protocol 1.0.0-4722055345.commit-0633ea8 → 1.0.0-47381439163.commit-e9ef0da

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 (613) hide show
  1. package/README.md +296 -13
  2. package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
  3. package/out-js/decentraland/common/border_rect.gen.js +126 -25
  4. package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
  5. package/out-js/decentraland/common/colors.gen.d.ts +29 -52
  6. package/out-js/decentraland/common/colors.gen.js +132 -47
  7. package/out-js/decentraland/common/colors.gen.js.map +1 -1
  8. package/out-js/decentraland/common/content_mapping.gen.d.ts +8 -20
  9. package/out-js/decentraland/common/content_mapping.gen.js +27 -20
  10. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
  11. package/out-js/decentraland/common/gradient.gen.d.ts +50 -0
  12. package/out-js/decentraland/common/gradient.gen.js +148 -0
  13. package/out-js/decentraland/common/gradient.gen.js.map +1 -0
  14. package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
  15. package/out-js/decentraland/common/sdk/user_data.gen.js +111 -88
  16. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
  17. package/out-js/decentraland/common/texture.gen.d.ts +56 -252
  18. package/out-js/decentraland/common/texture.gen.js +262 -111
  19. package/out-js/decentraland/common/texture.gen.js.map +1 -1
  20. package/out-js/decentraland/common/vectors.gen.d.ts +38 -68
  21. package/out-js/decentraland/common/vectors.gen.js +180 -65
  22. package/out-js/decentraland/common/vectors.gen.js.map +1 -1
  23. package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
  24. package/out-js/decentraland/kernel/apis/comms_api.gen.js +794 -0
  25. package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
  26. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +64 -48
  27. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +323 -37
  28. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
  29. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +18 -56
  30. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +52 -38
  31. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
  32. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +186 -4088
  33. package/out-js/decentraland/kernel/apis/engine_api.gen.js +680 -1733
  34. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
  35. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +150 -690
  36. package/out-js/decentraland/kernel/apis/environment_api.gen.js +458 -336
  37. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
  38. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +106 -440
  39. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +329 -243
  40. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
  41. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +70 -518
  42. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +227 -169
  43. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
  44. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +37 -128
  45. package/out-js/decentraland/kernel/apis/permissions.gen.js +117 -81
  46. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
  47. package/out-js/decentraland/kernel/apis/players.gen.d.ts +54 -476
  48. package/out-js/decentraland/kernel/apis/players.gen.js +157 -114
  49. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
  50. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +84 -309
  51. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +279 -177
  52. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
  53. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +391 -577
  54. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1429 -322
  55. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  56. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +130 -412
  57. package/out-js/decentraland/kernel/apis/runtime.gen.js +492 -269
  58. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
  59. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +18 -132
  60. package/out-js/decentraland/kernel/apis/scene.gen.js +63 -47
  61. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
  62. package/out-js/decentraland/kernel/apis/scene_credits.gen.d.ts +186 -0
  63. package/out-js/decentraland/kernel/apis/scene_credits.gen.js +388 -0
  64. package/out-js/decentraland/kernel/apis/scene_credits.gen.js.map +1 -0
  65. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +75 -284
  66. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +305 -116
  67. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
  68. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +26 -128
  69. package/out-js/decentraland/kernel/apis/social_controller.gen.js +83 -61
  70. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
  71. package/out-js/decentraland/kernel/apis/testing.gen.d.ts +165 -408
  72. package/out-js/decentraland/kernel/apis/testing.gen.js +668 -195
  73. package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -1
  74. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +18 -48
  75. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +50 -36
  76. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
  77. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +36 -352
  78. package/out-js/decentraland/kernel/apis/user_identity.gen.js +98 -70
  79. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
  80. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +350 -551
  81. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1905 -264
  82. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  83. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +86 -561
  84. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +354 -258
  85. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
  86. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +233 -1004
  87. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1247 -353
  88. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
  89. package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +153 -0
  90. package/out-js/decentraland/pulse/pulse_clusters.gen.js +678 -0
  91. package/out-js/decentraland/pulse/pulse_clusters.gen.js.map +1 -0
  92. package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
  93. package/out-js/decentraland/quests/definitions.gen.js +2739 -0
  94. package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
  95. package/out-js/decentraland/realm/about.gen.d.ts +147 -538
  96. package/out-js/decentraland/realm/about.gen.js +580 -248
  97. package/out-js/decentraland/realm/about.gen.js.map +1 -1
  98. package/out-js/decentraland/sdk/components/animator.gen.d.ts +19 -141
  99. package/out-js/decentraland/sdk/components/animator.gen.js +69 -74
  100. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
  101. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +19 -32
  102. package/out-js/decentraland/sdk/components/audio_source.gen.js +63 -24
  103. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
  104. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +18 -24
  105. package/out-js/decentraland/sdk/components/audio_stream.gen.js +72 -22
  106. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
  107. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +31 -20
  108. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +163 -23
  109. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
  110. package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +38 -0
  111. package/out-js/decentraland/sdk/components/avatar_base.gen.js +148 -0
  112. package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
  113. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
  114. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
  115. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
  116. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +57 -0
  117. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +200 -0
  118. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
  119. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +51 -0
  120. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +177 -0
  121. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +1 -0
  122. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +51 -48
  123. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +281 -27
  124. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
  125. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +71 -0
  126. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +305 -0
  127. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +1 -0
  128. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +82 -0
  129. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +357 -0
  130. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +1 -0
  131. package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
  132. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
  133. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
  134. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +39 -140
  135. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +80 -40
  136. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
  137. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +21 -19
  138. package/out-js/decentraland/sdk/components/billboard.gen.js +49 -25
  139. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
  140. package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +46 -0
  141. package/out-js/decentraland/sdk/components/camera_layer.gen.js +162 -0
  142. package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +1 -0
  143. package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +30 -0
  144. package/out-js/decentraland/sdk/components/camera_layers.gen.js +81 -0
  145. package/out-js/decentraland/sdk/components/camera_layers.gen.js.map +1 -0
  146. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
  147. package/out-js/decentraland/sdk/components/camera_mode.gen.js +25 -18
  148. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
  149. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +38 -45
  150. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +172 -22
  151. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
  152. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
  153. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
  154. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js.map +1 -0
  155. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +4 -4
  156. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
  157. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +23 -0
  158. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +94 -0
  159. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
  160. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +14 -0
  161. package/out-js/decentraland/sdk/components/common/input_action.gen.js +77 -7
  162. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
  163. package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
  164. package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
  165. package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
  166. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +8 -136
  167. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +31 -24
  168. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
  169. package/out-js/decentraland/sdk/components/common/texts.gen.js +7 -7
  170. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -1
  171. package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +45 -0
  172. package/out-js/decentraland/sdk/components/engine_info.gen.js +119 -0
  173. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  174. package/out-js/decentraland/sdk/components/environment_fog.gen.d.ts +44 -0
  175. package/out-js/decentraland/sdk/components/environment_fog.gen.js +86 -0
  176. package/out-js/decentraland/sdk/components/environment_fog.gen.js.map +1 -0
  177. package/out-js/decentraland/sdk/components/explorer_configuration.gen.d.ts +35 -0
  178. package/out-js/decentraland/sdk/components/explorer_configuration.gen.js +69 -0
  179. package/out-js/decentraland/sdk/components/explorer_configuration.gen.js.map +1 -0
  180. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
  181. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +309 -0
  182. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
  183. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
  184. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +232 -0
  185. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
  186. package/out-js/decentraland/sdk/components/global_light.gen.d.ts +50 -0
  187. package/out-js/decentraland/sdk/components/global_light.gen.js +103 -0
  188. package/out-js/decentraland/sdk/components/global_light.gen.js.map +1 -0
  189. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +12 -16
  190. package/out-js/decentraland/sdk/components/gltf_container.gen.js +60 -21
  191. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
  192. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +54 -0
  193. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +159 -0
  194. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
  195. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +66 -0
  196. package/out-js/decentraland/sdk/components/gltf_node.gen.js +69 -0
  197. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +1 -0
  198. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
  199. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +165 -0
  200. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
  201. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +43 -0
  202. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +122 -0
  203. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +1 -0
  204. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +52 -0
  205. package/out-js/decentraland/sdk/components/input_modifier.gen.js +233 -0
  206. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +1 -0
  207. package/out-js/decentraland/sdk/components/material.gen.d.ts +50 -3374
  208. package/out-js/decentraland/sdk/components/material.gen.js +219 -105
  209. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
  210. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +65 -181
  211. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +253 -129
  212. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  213. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +62 -226
  214. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +239 -116
  215. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
  216. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +11 -51
  217. package/out-js/decentraland/sdk/components/nft_shape.gen.js +37 -30
  218. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
  219. package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
  220. package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
  221. package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
  222. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +63 -187
  223. package/out-js/decentraland/sdk/components/pointer_events.gen.js +165 -71
  224. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
  225. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +11 -209
  226. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +45 -26
  227. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
  228. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +8 -16
  229. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +24 -17
  230. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
  231. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +22 -249
  232. package/out-js/decentraland/sdk/components/raycast.gen.js +124 -52
  233. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
  234. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +10 -348
  235. package/out-js/decentraland/sdk/components/raycast_result.gen.js +46 -25
  236. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
  237. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
  238. package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
  239. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
  240. package/out-js/decentraland/sdk/components/skybox.gen.d.ts +103 -0
  241. package/out-js/decentraland/sdk/components/skybox.gen.js +355 -0
  242. package/out-js/decentraland/sdk/components/skybox.gen.js.map +1 -0
  243. package/out-js/decentraland/sdk/components/sun.gen.d.ts +53 -0
  244. package/out-js/decentraland/sdk/components/sun.gen.js +114 -0
  245. package/out-js/decentraland/sdk/components/sun.gen.js.map +1 -0
  246. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +10 -174
  247. package/out-js/decentraland/sdk/components/text_shape.gen.js +59 -39
  248. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
  249. package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +86 -0
  250. package/out-js/decentraland/sdk/components/texture_camera.gen.js +297 -0
  251. package/out-js/decentraland/sdk/components/texture_camera.gen.js.map +1 -0
  252. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
  253. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +203 -0
  254. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
  255. package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
  256. package/out-js/decentraland/sdk/components/tween.gen.js +1214 -0
  257. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  258. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  259. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +124 -0
  260. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  261. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  262. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  263. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  264. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +8 -314
  265. package/out-js/decentraland/sdk/components/ui_background.gen.js +40 -31
  266. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
  267. package/out-js/decentraland/sdk/components/ui_canvas.gen.d.ts +35 -0
  268. package/out-js/decentraland/sdk/components/ui_canvas.gen.js +98 -0
  269. package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +1 -0
  270. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +10 -78
  271. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +52 -30
  272. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
  273. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +8 -16
  274. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +25 -18
  275. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
  276. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +14 -104
  277. package/out-js/decentraland/sdk/components/ui_input.gen.js +72 -26
  278. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
  279. package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
  280. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +82 -0
  281. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
  282. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +10 -16
  283. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +42 -21
  284. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
  285. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.d.ts +31 -0
  286. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +71 -0
  287. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +1 -0
  288. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +28 -64
  289. package/out-js/decentraland/sdk/components/ui_text.gen.js +127 -25
  290. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
  291. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +84 -216
  292. package/out-js/decentraland/sdk/components/ui_transform.gen.js +709 -143
  293. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
  294. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +18 -36
  295. package/out-js/decentraland/sdk/components/video_player.gen.js +70 -24
  296. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
  297. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +16 -16
  298. package/out-js/decentraland/sdk/components/visibility_component.gen.js +41 -20
  299. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
  300. package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
  301. package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
  302. package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
  303. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
  304. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7850 -0
  305. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
  306. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
  307. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
  308. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
  309. package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
  310. package/out-js/decentraland/social_service/errors.gen.js +405 -0
  311. package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
  312. package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
  313. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2521 -0
  314. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
  315. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1892 -0
  316. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9526 -0
  317. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
  318. package/out-js/google/protobuf/descriptor.gen.d.ts +920 -87149
  319. package/out-js/google/protobuf/descriptor.gen.js +1719 -848
  320. package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
  321. package/out-js/google/protobuf/empty.gen.d.ts +8 -8
  322. package/out-js/google/protobuf/empty.gen.js +23 -16
  323. package/out-js/google/protobuf/empty.gen.js.map +1 -1
  324. package/out-js/quests.gen.d.ts +1 -0
  325. package/out-js/{bff-services.gen.js → quests.gen.js} +2 -2
  326. package/out-js/quests.gen.js.map +1 -0
  327. package/out-js/sdk-development.gen.d.ts +1 -0
  328. package/out-js/sdk-development.gen.js +6 -0
  329. package/out-js/sdk-development.gen.js.map +1 -0
  330. package/out-ts/decentraland/common/border_rect.gen.ts +128 -23
  331. package/out-ts/decentraland/common/colors.gen.ts +123 -44
  332. package/out-ts/decentraland/common/content_mapping.gen.ts +19 -19
  333. package/out-ts/decentraland/common/gradient.gen.ts +170 -0
  334. package/out-ts/decentraland/common/sdk/user_data.gen.ts +69 -69
  335. package/out-ts/decentraland/common/texture.gen.ts +235 -87
  336. package/out-ts/decentraland/common/vectors.gen.ts +165 -61
  337. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
  338. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +319 -32
  339. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +34 -34
  340. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +515 -1895
  341. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +325 -292
  342. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +238 -217
  343. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +141 -141
  344. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +85 -69
  345. package/out-ts/decentraland/kernel/apis/players.gen.ts +109 -97
  346. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +201 -154
  347. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1418 -284
  348. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +479 -267
  349. package/out-ts/decentraland/kernel/apis/scene.gen.ts +38 -38
  350. package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
  351. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +276 -99
  352. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +53 -51
  353. package/out-ts/decentraland/kernel/apis/testing.gen.ts +686 -164
  354. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +34 -32
  355. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +66 -62
  356. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2120 -238
  357. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +244 -213
  358. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1205 -326
  359. package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +797 -0
  360. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  361. package/out-ts/decentraland/realm/about.gen.ts +588 -213
  362. package/out-ts/decentraland/sdk/components/animator.gen.ts +43 -66
  363. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +69 -22
  364. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +80 -20
  365. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +151 -18
  366. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +171 -0
  367. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
  368. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +237 -0
  369. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +237 -0
  370. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +321 -22
  371. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +372 -0
  372. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +435 -0
  373. package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
  374. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +98 -45
  375. package/out-ts/decentraland/sdk/components/billboard.gen.ts +49 -22
  376. package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +202 -0
  377. package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +92 -0
  378. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +17 -17
  379. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +199 -20
  380. package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
  381. package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +91 -0
  382. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +70 -0
  383. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  384. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +23 -23
  385. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +149 -0
  386. package/out-ts/decentraland/sdk/components/environment_fog.gen.ts +113 -0
  387. package/out-ts/decentraland/sdk/components/explorer_configuration.gen.ts +87 -0
  388. package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
  389. package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
  390. package/out-ts/decentraland/sdk/components/global_light.gen.ts +138 -0
  391. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +59 -19
  392. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +195 -0
  393. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +116 -0
  394. package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
  395. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +139 -0
  396. package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +265 -0
  397. package/out-ts/decentraland/sdk/components/material.gen.ts +213 -94
  398. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +213 -98
  399. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +211 -96
  400. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +28 -28
  401. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  402. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +188 -60
  403. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +45 -26
  404. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +16 -16
  405. package/out-ts/decentraland/sdk/components/raycast.gen.ts +110 -35
  406. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +36 -21
  407. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
  408. package/out-ts/decentraland/sdk/components/skybox.gen.ts +440 -0
  409. package/out-ts/decentraland/sdk/components/sun.gen.ts +155 -0
  410. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +56 -38
  411. package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +362 -0
  412. package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
  413. package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
  414. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  415. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  416. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +24 -23
  417. package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +115 -0
  418. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +44 -26
  419. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +17 -17
  420. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +79 -25
  421. package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
  422. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +36 -19
  423. package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +83 -0
  424. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +143 -25
  425. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +772 -113
  426. package/out-ts/decentraland/sdk/components/video_player.gen.ts +81 -23
  427. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +46 -19
  428. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  429. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  430. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  431. package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
  432. package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
  433. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10939 -0
  434. package/out-ts/google/protobuf/descriptor.gen.ts +1959 -618
  435. package/out-ts/google/protobuf/empty.gen.ts +15 -15
  436. package/out-ts/quests.gen.ts +3 -0
  437. package/out-ts/sdk-development.gen.ts +3 -0
  438. package/package.json +23 -11
  439. package/proto/decentraland/common/auth.proto +22 -0
  440. package/proto/decentraland/common/border_rect.proto +9 -1
  441. package/proto/decentraland/common/colors.proto +6 -0
  442. package/proto/decentraland/common/floats.proto +8 -0
  443. package/proto/decentraland/common/gradient.proto +16 -0
  444. package/proto/decentraland/common/options.proto +51 -0
  445. package/proto/decentraland/common/quantization_example.proto +164 -0
  446. package/proto/decentraland/common/texture.proto +21 -10
  447. package/proto/decentraland/common/vectors.proto +7 -0
  448. package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
  449. package/proto/decentraland/kernel/apis/communications_controller.proto +19 -4
  450. package/proto/decentraland/kernel/apis/engine_api.proto +9 -110
  451. package/proto/decentraland/kernel/apis/permissions.proto +1 -0
  452. package/proto/decentraland/kernel/apis/portable_experiences.proto +4 -1
  453. package/proto/decentraland/kernel/apis/restricted_actions.proto +119 -9
  454. package/proto/decentraland/kernel/apis/runtime.proto +22 -9
  455. package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
  456. package/proto/decentraland/kernel/apis/signed_fetch.proto +6 -0
  457. package/proto/decentraland/kernel/apis/testing.proto +45 -0
  458. package/proto/decentraland/kernel/comms/rfc4/comms.proto +180 -0
  459. package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +3 -0
  460. package/proto/decentraland/kernel/comms/v3/archipelago.proto +73 -0
  461. package/proto/decentraland/pulse/pulse_client.proto +147 -0
  462. package/proto/decentraland/pulse/pulse_clusters.proto +94 -0
  463. package/proto/decentraland/pulse/pulse_server.proto +217 -0
  464. package/proto/decentraland/pulse/pulse_shared.proto +57 -0
  465. package/proto/decentraland/quests/definitions.proto +185 -0
  466. package/proto/decentraland/realm/about.proto +69 -4
  467. package/proto/decentraland/sdk/components/animator.proto +9 -4
  468. package/proto/decentraland/sdk/components/asset_load.proto +10 -0
  469. package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
  470. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  471. package/proto/decentraland/sdk/components/audio_event.proto +12 -0
  472. package/proto/decentraland/sdk/components/audio_source.proto +10 -2
  473. package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
  474. package/proto/decentraland/sdk/components/avatar_attach.proto +26 -3
  475. package/proto/decentraland/sdk/components/avatar_base.proto +16 -0
  476. package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
  477. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +23 -0
  478. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
  479. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +22 -0
  480. package/proto/decentraland/sdk/components/avatar_movement.proto +63 -0
  481. package/proto/decentraland/sdk/components/avatar_movement_info.proto +38 -0
  482. package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
  483. package/proto/decentraland/sdk/components/avatar_shape.proto +35 -17
  484. package/proto/decentraland/sdk/components/billboard.proto +11 -3
  485. package/proto/decentraland/sdk/components/camera_layer.proto +30 -0
  486. package/proto/decentraland/sdk/components/camera_layers.proto +11 -0
  487. package/proto/decentraland/sdk/components/camera_mode_area.proto +18 -1
  488. package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
  489. package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
  490. package/proto/decentraland/sdk/components/common/explorer_ui.proto +17 -0
  491. package/proto/decentraland/sdk/components/common/input_action.proto +12 -0
  492. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  493. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  494. package/proto/decentraland/sdk/components/engine_info.proto +17 -0
  495. package/proto/decentraland/sdk/components/environment_fog.proto +21 -0
  496. package/proto/decentraland/sdk/components/explorer_configuration.proto +11 -0
  497. package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
  498. package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
  499. package/proto/decentraland/sdk/components/global_light.proto +22 -0
  500. package/proto/decentraland/sdk/components/gltf_container.proto +6 -0
  501. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +26 -0
  502. package/proto/decentraland/sdk/components/gltf_node.proto +42 -0
  503. package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
  504. package/proto/decentraland/sdk/components/gltf_node_state.proto +20 -0
  505. package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
  506. package/proto/decentraland/sdk/components/light_source.proto +28 -0
  507. package/proto/decentraland/sdk/components/main_camera.proto +11 -0
  508. package/proto/decentraland/sdk/components/map_pin.proto +16 -0
  509. package/proto/decentraland/sdk/components/material.proto +16 -4
  510. package/proto/decentraland/sdk/components/mesh_collider.proto +12 -5
  511. package/proto/decentraland/sdk/components/mesh_renderer.proto +10 -5
  512. package/proto/decentraland/sdk/components/nft_shape.proto +3 -3
  513. package/proto/decentraland/sdk/components/particle_system.proto +133 -0
  514. package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
  515. package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
  516. package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
  517. package/proto/decentraland/sdk/components/pointer_events.proto +33 -2
  518. package/proto/decentraland/sdk/components/pointer_events_result.proto +2 -1
  519. package/proto/decentraland/sdk/components/primary_pointer_info.proto +44 -0
  520. package/proto/decentraland/sdk/components/raycast.proto +13 -0
  521. package/proto/decentraland/sdk/components/raycast_result.proto +1 -0
  522. package/proto/decentraland/sdk/components/realm_info.proto +15 -0
  523. package/proto/decentraland/sdk/components/skybox.proto +51 -0
  524. package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
  525. package/proto/decentraland/sdk/components/sun.proto +26 -0
  526. package/proto/decentraland/sdk/components/text_shape.proto +1 -0
  527. package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
  528. package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
  529. package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
  530. package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
  531. package/proto/decentraland/sdk/components/tween.proto +117 -0
  532. package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
  533. package/proto/decentraland/sdk/components/tween_state.proto +18 -0
  534. package/proto/decentraland/sdk/components/ui_background.proto +2 -2
  535. package/proto/decentraland/sdk/components/ui_canvas.proto +16 -0
  536. package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
  537. package/proto/decentraland/sdk/components/ui_dropdown.proto +1 -0
  538. package/proto/decentraland/sdk/components/ui_input.proto +3 -0
  539. package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
  540. package/proto/decentraland/sdk/components/ui_input_result.proto +1 -0
  541. package/proto/decentraland/sdk/components/ui_layout_feedback.proto +28 -0
  542. package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
  543. package/proto/decentraland/sdk/components/ui_text.proto +15 -3
  544. package/proto/decentraland/sdk/components/ui_transform.proto +57 -0
  545. package/proto/decentraland/sdk/components/video_event.proto +25 -0
  546. package/proto/decentraland/sdk/components/video_player.proto +8 -0
  547. package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
  548. package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
  549. package/proto/decentraland/sdk/development/local_development.proto +29 -0
  550. package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
  551. package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
  552. package/proto/decentraland/social_service/errors.proto +30 -0
  553. package/proto/decentraland/{social/friendships/friendships.proto → social_service/v1/social_service_v1.proto} +73 -28
  554. package/proto/decentraland/social_service/v2/social_service_v2.proto +769 -0
  555. package/protoc-gen-bitwise/generator_csharp.js +248 -0
  556. package/protoc-gen-bitwise/options.js +139 -0
  557. package/protoc-gen-bitwise/plugin.js +87 -0
  558. package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
  559. package/protoc-gen-bitwise/wire.js +239 -0
  560. package/public/comms.proto +2 -1
  561. package/public/quests.proto +5 -0
  562. package/public/sdk-apis.proto +2 -0
  563. package/public/sdk-components.proto +48 -19
  564. package/public/sdk-development.proto +5 -0
  565. package/public/social.proto +3 -1
  566. package/out-js/bff-services.gen.d.ts +0 -1
  567. package/out-js/bff-services.gen.js.map +0 -1
  568. package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -253
  569. package/out-js/decentraland/bff/authentication_service.gen.js +0 -351
  570. package/out-js/decentraland/bff/authentication_service.gen.js.map +0 -1
  571. package/out-js/decentraland/bff/comms_director_service.gen.d.ts +0 -289
  572. package/out-js/decentraland/bff/comms_director_service.gen.js +0 -228
  573. package/out-js/decentraland/bff/comms_director_service.gen.js.map +0 -1
  574. package/out-js/decentraland/bff/comms_service.gen.d.ts +0 -348
  575. package/out-js/decentraland/bff/comms_service.gen.js +0 -175
  576. package/out-js/decentraland/bff/comms_service.gen.js.map +0 -1
  577. package/out-js/decentraland/bff/http_endpoints.gen.d.ts +0 -929
  578. package/out-js/decentraland/bff/http_endpoints.gen.js +0 -873
  579. package/out-js/decentraland/bff/http_endpoints.gen.js.map +0 -1
  580. package/out-js/decentraland/bff/topics_service.gen.d.ts +0 -272
  581. package/out-js/decentraland/bff/topics_service.gen.js +0 -386
  582. package/out-js/decentraland/bff/topics_service.gen.js.map +0 -1
  583. package/out-js/decentraland/social/friendships/friendships.gen.d.ts +0 -4893
  584. package/out-js/decentraland/social/friendships/friendships.gen.js +0 -1399
  585. package/out-js/decentraland/social/friendships/friendships.gen.js.map +0 -1
  586. package/out-ts/bff-services.gen.ts +0 -3
  587. package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -419
  588. package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -272
  589. package/out-ts/decentraland/bff/comms_service.gen.ts +0 -212
  590. package/out-ts/decentraland/bff/http_endpoints.gen.ts +0 -1058
  591. package/out-ts/decentraland/bff/topics_service.gen.ts +0 -468
  592. package/out-ts/decentraland/social/friendships/friendships.gen.ts +0 -1680
  593. package/proto/buf.yaml +0 -47
  594. package/proto/decentraland/bff/authentication_service.proto +0 -39
  595. package/proto/decentraland/bff/comms_director_service.proto +0 -33
  596. package/proto/decentraland/bff/comms_service.proto +0 -25
  597. package/proto/decentraland/bff/http_endpoints.proto +0 -80
  598. package/proto/decentraland/bff/topics_service.proto +0 -34
  599. package/proto/google/LICENSE +0 -27
  600. package/proto/google/README.md +0 -1
  601. package/proto/google/api/annotations.json +0 -83
  602. package/proto/google/api/annotations.proto +0 -11
  603. package/proto/google/api/http.json +0 -86
  604. package/proto/google/api/http.proto +0 -31
  605. package/proto/google/protobuf/api.json +0 -118
  606. package/proto/google/protobuf/api.proto +0 -34
  607. package/proto/google/protobuf/descriptor.json +0 -739
  608. package/proto/google/protobuf/descriptor.proto +0 -286
  609. package/proto/google/protobuf/source_context.json +0 -20
  610. package/proto/google/protobuf/source_context.proto +0 -7
  611. package/proto/google/protobuf/type.json +0 -202
  612. package/proto/google/protobuf/type.proto +0 -89
  613. package/public/bff-services.proto +0 -16
package/README.md CHANGED
@@ -1,6 +1,60 @@
1
1
  # Protocol definitions
2
2
 
3
- This module is intended to be installed as a node_module via `npm install @dcl/protocol`.
3
+ The Decentraland protocol: the `.proto` contract between scenes, the SDK, the explorers and
4
+ the services. `proto/` is the **only** `.proto` source in this repository
5
+ (`tooling/proto-source-check.py` fails the build on another copy). The Explorer
6
+ (`rendering/bevy-explorer/source/crates/dcl_component/build.rs`), the comms and social
7
+ services and the scene crates compile from it through `DCL_ONE_ROOT`; the SDK
8
+ (`library/js-sdk-toolchain`) links it as `@dcl/protocol` (`file:../protocol`).
9
+
10
+ The upstream contract baseline is [decentraland/protocol](https://github.com/decentraland/protocol)
11
+ `694568db455b07e0eca2c119d9e916a4c5581c69`. Local extensions from `experimental-bevy`
12
+ (`329ba0e`) and the Explorer are retained. The raw legacy comms schemas remain available
13
+ at their upstream import paths. Skybox (1223), Sun (1224), EnvironmentFog (1225), and shared
14
+ color gradients are exported through `public/sdk-components.proto` and generated by the SDK
15
+ and Explorer builds. The Explorer checks its component list against the active source inventory
16
+ at build time; deprecated MapPin (1097) is excluded.
17
+
18
+ The Rust comms server
19
+ (`services/catalyst/comms`) uses the legacy Pulse player/listener handshakes and Archipelago
20
+ signed challenges. Application-relay message types support a dormant internal implementation;
21
+ public admission cannot negotiate that capability. `WsPeerUpdate.recipients` (rfc5) is the
22
+ scene preview's mini-comms addressing, proposed upstream as `feat/ws-peer-update-recipients`
23
+ (decentraland/protocol #505).
24
+
25
+ Publishing: a push to `main` that changes `library/protocol` publishes `@dcl/protocol` under the
26
+ `next` dist-tag as `1.0.0-<run>.commit-<sha>` (`.github/workflows/protocol-release.yml`). Its
27
+ publish job uses the `npm-release` environment, which only `main` and `auth-server` may deploy to, and
28
+ the package's npm trusted publisher requires it. A pull request from this repository publishes
29
+ what it packed as `@dcl-regenesislabs/protocol` under the shared `pr` dist-tag
30
+ (`.github/workflows/protocol.yml`) and adds the install command to the PR's CI status comment:
31
+
32
+ ```bash
33
+ npm install @dcl/protocol@npm:@dcl-regenesislabs/protocol@<version>
34
+ ```
35
+
36
+ Install the exact version; the tag moves to the last PR published. That package is a preview
37
+ only: any branch of this repository can publish to it. Fork pull requests publish nothing.
38
+
39
+ Checks: `make install` (dependencies and the `google/` well-known types), `make buf-lint`,
40
+ `make buf-build`, `make buf-breaking` (wire compatibility against this repository's `main`;
41
+ `BUF_AGAINST_REF` overrides the comparison input), `make test` (generates `out-ts`/`out-js`
42
+ from `public/*.proto` and runs the encoder and room-recovery wire tests). `pnpm run build` is
43
+ the generation alone.
44
+
45
+ The packaged encoders take a message that lacks fields and write each missing field as its
46
+ default (`scripts/guard-encoders.cjs`, run by the generation). Code built against an older
47
+ version of this package builds its messages without the fields added since, so a new field
48
+ must not make the encoder throw.
49
+
50
+ A new SDK component is one `proto/decentraland/sdk/components/<snake_case>.proto` with
51
+ `option (common.ecs_component_id) = <id>;` (unique; `make check-component-id ID=<id>`), a root
52
+ message `PB<PascalCase>` named after the file, and an `import public` line in
53
+ `public/sdk-components.proto`. Ids in use: 1017–1106, 1200–1225, 1500, 1501 and 1503–1505.
54
+
55
+ ## Consuming the npm package
56
+
57
+ This module is installed as a node_module via `npm install @dcl/protocol`.
4
58
 
5
59
  It is recommended that every project compiles the needed files only as part of its build process. Some imports are required:
6
60
 
@@ -11,30 +65,48 @@ An example compilation looks like this:
11
65
 
12
66
  ```bash
13
67
  protoc \
14
- --plugin=./node_modules/.bin/protoc-gen-ts_proto \
15
- --ts_proto_opt=esModuleInterop=true,returnObservable=false,outputServices=generic-definitions,fileSuffix=.gen \
16
- --ts_proto_out="$(pwd)/out-ts" \
68
+ --plugin=./node_modules/.bin/protoc-gen-dcl_ts_proto \
69
+ --dcl_ts_proto_opt=esModuleInterop=true,returnObservable=false,outputServices=generic-definitions,fileSuffix=.gen \
70
+ --dcl_ts_proto_out="$(pwd)/out-ts" \
17
71
  -I="$(pwd)/node_modules/@dcl/protocol/public" \
18
72
  -I="$(pwd)/node_modules/@dcl/protocol/proto" \
19
- "$(pwd)/node_modules/@dcl/protocol/public/bff-services.proto"
73
+ "$(pwd)/node_modules/@dcl/protocol/public/sdk-components.proto"
20
74
  ```
21
75
 
22
76
  # Style Guidelines
77
+
23
78
  1. All .proto files are snake_case.proto.
24
79
  2. For pascal or camel case usage, please make a deterministic one from the snake case. Example: nft_shape will transform to NftShape.
25
80
  3. See https://docs.buf.build/best-practices/style-guide. The most of other styles are taken from there, the Buf configuration is in proto/buf.yml.
26
81
  4. Use public/ folder only for .proto with protocol exposing, that is only for files with `import public`. This folder is not processed by the linter.
27
82
 
28
83
  # Dev with Decentraland Repositories
84
+
29
85
  Many repositories depend on this protocol definition and that sometimes implies some merge order. We don't have to worry much about compatibility because the checks are running with each PR, if you break something, the CI will warn you. But, in some cases, it's desirable to merge the implementation in a specific order to avoid unexpected behavior in the corner cases (multiple repositories are waiting for the build at the same time).
30
86
 
87
+ > **Important Note: Avoid Merging Protocol PR Without Completed Unity Implementation**
88
+ >
89
+ > Please don't merge a protocol PR into the main branch unless the corresponding implementation in Unity has been completed. This is important to avoid any potential issues or build failures in Unity.
90
+ >
91
+ > The ideal order for introducing breaking changes in the protocol is as follows:
92
+ >
93
+ > 1. Create a PR in the Protocol repository.
94
+ > 2. Use the preview install command from the protocol PR's CI status comment in the protocol-dependent application for development.
95
+ > 3. Once both the protocol PR and the protocol-dependent application (e.g. unity-renderer) PR are ready for merging, synchronize their merging as follows:
96
+ > 1. Merge the protocol PR.
97
+ > 2. Modify protocol-dependent application PR to use the `@dcl/protocol@next` package to stop using the PR preview.
98
+ > 3. Merge the protocol-dependent application PR.
99
+
31
100
  Some dev-cases are described here:
32
- ## SDK: New component or component modification
101
+
102
+ ## SDK: New component or component modification
103
+
33
104
  Repositories: [unity-renderer](https://github.com/decentraland/unity-renderer/) and [js-sdk-toolchain](https://github.com/decentraland/js-sdk-toolchain/)
34
105
 
35
106
  At the protocol level both operations shouldn't be a problem, but `js-sdk-toolchain` CI will fail if the component is not tested. This can happen if the PR **`A`** from the protocol is merged, and you update your PR **`B`** from `js-sdk-toolchain` with the changes before the PR **`A`** from `js-sdk-toolchain` is merged.
36
107
 
37
108
  Some guidelines and testing before merge:
109
+
38
110
  - The protocol package is uploaded to S3 while developing in a PR. This can be used in the target repositories
39
111
  - Testing in the playground: Playground allows us to test by adding query parameters: `https://playground.decentraland.org/?&renderer-branch=**feat/my-new-component**&sdk-branch=**feat/new-component-approach**`
40
112
  - Testing locally: you can write an example scene and install the package `@dcl/sdk` uploaded to S3 commented in the PR comments.
@@ -42,16 +114,227 @@ Some guidelines and testing before merge:
42
114
  - Start merging when the three PRs are already to merge: first merge the Protocol one, then update the other two with the version @next and merge them at the same time.
43
115
 
44
116
  ## SDK: New APIs or APIs modifications
45
- Repositories: [kernel](https://github.com/decentraland/kernel/), [js-sdk-toolchain](https://github.com/decentraland/js-sdk-toolchain/) and [scene-runtime](https://github.com/decentraland/scene-runtime/)
117
+
118
+ Repositories: [kernel](https://github.com/decentraland/kernel/), [js-sdk-toolchain](https://github.com/decentraland/js-sdk-toolchain/) and [scene-runtime](https://github.com/decentraland/scene-runtime/)
46
119
  In this case, there is no problem with when each PR is merged. It's recommendable to merge first the rpc server-side (in this case, Kernel), second the `scene-runtime` (and this would require a second update from `kernel`) and last the `js-sdk-toolchain`.
47
120
 
48
- ## Renderer protocol (RPC)
49
- Repositories: [kernel](https://github.com/decentraland/kernel/) and [unity-renderer](https://github.com/decentraland/unity-renderer/)
121
+ ## Comms
50
122
 
51
123
  TODO
52
124
 
53
- ## BFF
54
- TODO
125
+ ---
55
126
 
56
- ## Comms
57
- TODO
127
+ # Bitwise Serialization Plugin (`protoc-gen-bitwise`)
128
+
129
+ A custom protoc plugin that generates C# partial classes with typed float
130
+ accessors for quantized `uint32` fields in high-frequency MMO networking
131
+ messages (position deltas, player input, etc.). It runs alongside
132
+ `--csharp_out` in the same protoc invocation; the two output files coexist
133
+ via C# `partial class`.
134
+
135
+ ## How it works
136
+
137
+ Protobuf encodes `uint32` values as varints, which are already compact for
138
+ small values: a value up to 2¹⁴−1 costs 2 bytes, up to 2²¹−1 costs 3 bytes.
139
+ Rather than a separate binary packing layer, the plugin leverages this:
140
+
141
+ 1. Declare quantized fields as `uint32` in the `.proto` schema and annotate
142
+ them with `[(decentraland.common.quantized)]` to specify the float range
143
+ and bit resolution.
144
+ 2. `--csharp_out` generates the standard protobuf class with the raw `uint32`
145
+ property (e.g. `PositionX`).
146
+ 3. `--bitwise_out` (this plugin) generates a `partial class` extension with a
147
+ computed float accessor (e.g. `PositionXQuantized`) that encodes/decodes
148
+ transparently via `Quantize.Encode` / `Quantize.Decode` on every access —
149
+ the raw `uint32` property remains the single source of truth (no cache to
150
+ go stale when the raw field is mutated directly).
151
+
152
+ The wire representation is a standard protobuf message — any protobuf-capable
153
+ client can read it without knowledge of the plugin.
154
+
155
+ ## Prerequisites
156
+
157
+ | Requirement | Version |
158
+ |---|---|
159
+ | Node.js | 16+ |
160
+ | `protoc` | 3.19+ |
161
+
162
+ The plugin is a dependency-free Node script — no `npm install` or extra
163
+ packages are required to run it.
164
+
165
+ ## Step 1 — Annotate your `.proto` file
166
+
167
+ Declare quantized fields as `uint32` and import `options.proto`:
168
+
169
+ ```protobuf
170
+ syntax = "proto3";
171
+
172
+ import "decentraland/common/options.proto";
173
+
174
+ package decentraland.kernel.comms.v3;
175
+
176
+ message PositionDelta {
177
+ // Float range [-100, 100] quantized to 16 bits ≈ 0.003-unit precision.
178
+ // Stored as uint32 on the wire; protobuf encodes it as a 3-byte varint.
179
+ uint32 dx = 1 [(decentraland.common.quantized) = { min: -100.0, max: 100.0, bits: 16 }];
180
+ uint32 dy = 2 [(decentraland.common.quantized) = { min: -100.0, max: 100.0, bits: 16 }];
181
+ uint32 dz = 3 [(decentraland.common.quantized) = { min: -100.0, max: 100.0, bits: 16 }];
182
+
183
+ // Unannotated uint32: protobuf varint encodes small values compactly by default.
184
+ uint32 entity_id = 4 [(decentraland.common.bit_packed) = { bits: 20 }];
185
+ }
186
+ ```
187
+
188
+ ### Annotation reference
189
+
190
+ | Annotation | Target type | Parameters | Effect |
191
+ |---|---|---|---|
192
+ | `[(decentraland.common.quantized)]` | `uint32` | `min`, `max`, `bits` | Plugin emits a `float {Name}Quantized` accessor and a `{Name}QuantizedStep` const |
193
+ | `[(decentraland.common.quantized_power)]` | `uint32` | `max`, `pow`, `bits` | Power-law quantizer over `[-max, max]`: `(bits-1)`-bit magnitude (high bits) + sign (LSB), decoded as `sign·max·u^pow`. Exact zero; `pow>1` gives fine resolution near zero, coarse near `±max`; sign in the LSB keeps small magnitudes one varint byte. `float {Name}Quantized` accessor (`Quantize.EncodePower`/`DecodePower`) |
194
+ | `[(decentraland.common.bit_packed)]` | `uint32` | `bits` | Documents the value range; protobuf handles varint compaction automatically |
195
+
196
+ ### Wire cost at worst-case (all bits set)
197
+
198
+ | Quantization bits | Max value | Varint bytes | Tag (field ≤ 15) | Total per field |
199
+ |---|---|---|---|---|
200
+ | 8 | 255 | 2 | 1 | 3 B |
201
+ | 12 | 4 095 | 2 | 1 | 3 B |
202
+ | 14 | 16 383 | 2 | 1 | 3 B |
203
+ | 16 | 65 535 | 3 | 1 | 4 B |
204
+ | 20 | 1 048 575 | 3 | 1 | 4 B |
205
+
206
+ Proto3 omits fields equal to their default value (0), so average cost is lower.
207
+
208
+ ## Step 2 — Run protoc
209
+
210
+ ```bash
211
+ protoc \
212
+ --proto_path=proto \
213
+ --proto_path=/path/to/google/protobuf/include \
214
+ --csharp_out=generated/cs \
215
+ --plugin=protoc-gen-bitwise=protoc-gen-bitwise/plugin.js \
216
+ --bitwise_out=generated/cs \
217
+ proto/decentraland/kernel/comms/v3/comms.proto
218
+ ```
219
+
220
+ > `plugin.js` carries a `#!/usr/bin/env node` shebang. On Windows, protoc
221
+ > cannot exec a `.js` directly, so point `--plugin` at a small `.cmd` wrapper
222
+ > that runs `node plugin.js`; on unix an equivalent shell script is used. Both
223
+ > consumer repos (Pulse, unity-explorer) generate this wrapper automatically.
224
+
225
+ The plugin emits one `*.Bitwise.cs` file (PascalCase, flat in the output
226
+ directory) for each `.proto` file that contains at least one `[(quantized)]`
227
+ field.
228
+
229
+ ## Step 3 — Copy the runtime
230
+
231
+ Copy `Quantize.cs` into your project:
232
+
233
+ ```
234
+ Assets/
235
+ └── Scripts/
236
+ └── Networking/
237
+ └── Bitwise/
238
+ └── Quantize.cs ← protoc-gen-bitwise/runtime/cs/Quantize.cs
239
+ ```
240
+
241
+ `Quantize.cs` lives in the `Decentraland.Networking.Bitwise` namespace and
242
+ provides the static encode/decode methods used by the generated accessors:
243
+
244
+ ```csharp
245
+ public static class Quantize
246
+ {
247
+ public static uint Encode(float value, float min, float max, int bits);
248
+ public static float Decode(uint encoded, float min, float max, int bits);
249
+ public static uint EncodePower(float value, float max, float pow, int bits);
250
+ public static float DecodePower(uint encoded, float max, float pow, int bits);
251
+ }
252
+ ```
253
+
254
+ ## Step 4 — Use the generated code
255
+
256
+ The plugin emits a `partial class` that adds float accessors on top of the
257
+ standard protobuf-generated `uint32` properties:
258
+
259
+ ```csharp
260
+ using Decentraland.Kernel.Comms.V3;
261
+
262
+ // --- Build and send ---
263
+ var delta = new PositionDelta();
264
+ delta.DxQuantized = 3.14f; // encodes to uint32, stored in delta.Dx
265
+ delta.DyQuantized = 0f;
266
+ delta.DzQuantized = -7.5f;
267
+ delta.EntityId = 42u;
268
+
269
+ byte[] bytes = delta.ToByteArray(); // standard protobuf serialization
270
+ SendOnChannel1(bytes);
271
+
272
+ // --- Receive and read ---
273
+ var received = PositionDelta.Parser.ParseFrom(receivedBytes);
274
+ if (!received.AreQuantizedFieldsInRange()) return; // reject malformed/hostile codes
275
+ float x = received.DxQuantized; // decoded from the stored uint32 on each access
276
+ float y = received.DyQuantized;
277
+ float z = received.DzQuantized;
278
+ ```
279
+
280
+ ## Generated file example
281
+
282
+ For the `comms.proto` file above the plugin emits `Comms.Bitwise.cs` (one file
283
+ per `.proto`, named after the proto file). Each quantized field gets a
284
+ `{Name}QuantizedStep` const and a float accessor; each message gets an
285
+ `AreQuantizedFieldsInRange()` guard for validating inbound wire codes:
286
+
287
+ ```csharp
288
+ // <auto-generated>
289
+ // Generated by protoc-gen-bitwise. DO NOT EDIT.
290
+ // Source: decentraland/kernel/comms/v3/comms.proto
291
+ // </auto-generated>
292
+
293
+ using Decentraland.Networking.Bitwise;
294
+
295
+ namespace Decentraland.Kernel.Comms.V3
296
+ {
297
+ public partial class PositionDelta
298
+ {
299
+ /// <summary>Coarsest quantization step of <see cref="DxQuantized"/>. Safe as an equality tolerance.</summary>
300
+ public const float DxQuantizedStep = 0.0030518044f;
301
+ /// <summary>Float accessor for <see cref="Dx"/>. Range [-100.0f, 100.0f], 16 bits, step ≈ 0.0030518.</summary>
302
+ public float DxQuantized
303
+ {
304
+ get => Quantize.Decode(Dx, -100.0f, 100.0f, 16);
305
+ set => Dx = Quantize.Encode(value, -100.0f, 100.0f, 16);
306
+ }
307
+
308
+ /// <summary>Coarsest quantization step of <see cref="DyQuantized"/>. Safe as an equality tolerance.</summary>
309
+ public const float DyQuantizedStep = 0.0030518044f;
310
+ /// <summary>Float accessor for <see cref="Dy"/>. Range [-100.0f, 100.0f], 16 bits, step ≈ 0.0030518.</summary>
311
+ public float DyQuantized
312
+ {
313
+ get => Quantize.Decode(Dy, -100.0f, 100.0f, 16);
314
+ set => Dy = Quantize.Encode(value, -100.0f, 100.0f, 16);
315
+ }
316
+
317
+ /// <summary>Coarsest quantization step of <see cref="DzQuantized"/>. Safe as an equality tolerance.</summary>
318
+ public const float DzQuantizedStep = 0.0030518044f;
319
+ /// <summary>Float accessor for <see cref="Dz"/>. Range [-100.0f, 100.0f], 16 bits, step ≈ 0.0030518.</summary>
320
+ public float DzQuantized
321
+ {
322
+ get => Quantize.Decode(Dz, -100.0f, 100.0f, 16);
323
+ set => Dz = Quantize.Encode(value, -100.0f, 100.0f, 16);
324
+ }
325
+
326
+ /// <summary>
327
+ /// True when every quantized field holds a wire code within its declared bit width
328
+ /// (<c>0 .. 2^bits-1</c>). The encoder never emits a code above this bound, so a larger
329
+ /// value is a malformed/hostile message: decoding it would land far outside the field's
330
+ /// <c>[min, max]</c> and, since the server relays raw codes verbatim, poison every observer.
331
+ /// Reject before storing or relaying. Pure integer comparison — no decode.
332
+ /// </summary>
333
+ public bool AreQuantizedFieldsInRange() =>
334
+ Dx <= 65535u
335
+ && Dy <= 65535u
336
+ && Dz <= 65535u;
337
+ }
338
+
339
+ } // namespace Decentraland.Kernel.Comms.V3
340
+ ```
@@ -7,34 +7,29 @@ export interface BorderRect {
7
7
  right: number;
8
8
  bottom: number;
9
9
  }
10
- export declare const BorderRect: {
11
- encode(message: BorderRect, writer?: _m0.Writer): _m0.Writer;
12
- decode(input: _m0.Reader | Uint8Array, length?: number): BorderRect;
13
- fromJSON(object: any): BorderRect;
14
- toJSON(message: BorderRect): unknown;
15
- create<I extends {
16
- top?: number | undefined;
17
- left?: number | undefined;
18
- right?: number | undefined;
19
- bottom?: number | undefined;
20
- } & {
21
- top?: number | undefined;
22
- left?: number | undefined;
23
- right?: number | undefined;
24
- bottom?: number | undefined;
25
- } & { [K in Exclude<keyof I, keyof BorderRect>]: never; }>(base?: I | undefined): BorderRect;
26
- fromPartial<I_1 extends {
27
- top?: number | undefined;
28
- left?: number | undefined;
29
- right?: number | undefined;
30
- bottom?: number | undefined;
31
- } & {
32
- top?: number | undefined;
33
- left?: number | undefined;
34
- right?: number | undefined;
35
- bottom?: number | undefined;
36
- } & { [K_1 in Exclude<keyof I_1, keyof BorderRect>]: never; }>(object: I_1): BorderRect;
37
- };
10
+ /** Defines a rect with x, y, width and height */
11
+ export interface Rect {
12
+ x: number;
13
+ y: number;
14
+ width: number;
15
+ height: number;
16
+ }
17
+ export declare namespace BorderRect {
18
+ function encode(message: BorderRect, writer?: _m0.Writer): _m0.Writer;
19
+ function decode(input: _m0.Reader | Uint8Array, length?: number): BorderRect;
20
+ function fromJSON(object: any): BorderRect;
21
+ function toJSON(message: BorderRect): unknown;
22
+ function create<I extends Exact<DeepPartial<BorderRect>, I>>(base?: I): BorderRect;
23
+ function fromPartial<I extends Exact<DeepPartial<BorderRect>, I>>(object: I): BorderRect;
24
+ }
25
+ export declare namespace Rect {
26
+ function encode(message: Rect, writer?: _m0.Writer): _m0.Writer;
27
+ function decode(input: _m0.Reader | Uint8Array, length?: number): Rect;
28
+ function fromJSON(object: any): Rect;
29
+ function toJSON(message: Rect): unknown;
30
+ function create<I extends Exact<DeepPartial<Rect>, I>>(base?: I): Rect;
31
+ function fromPartial<I extends Exact<DeepPartial<Rect>, I>>(object: I): Rect;
32
+ }
38
33
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
39
34
  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 {
40
35
  $case: string;
@@ -3,30 +3,32 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.BorderRect = exports.protobufPackage = void 0;
6
+ exports.Rect = exports.BorderRect = exports.protobufPackage = void 0;
7
7
  /* eslint-disable */
8
8
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
9
  exports.protobufPackage = "decentraland.common";
10
10
  function createBaseBorderRect() {
11
11
  return { top: 0, left: 0, right: 0, bottom: 0 };
12
12
  }
13
- exports.BorderRect = {
14
- encode(message, writer = minimal_1.default.Writer.create()) {
15
- if (message.top !== 0) {
13
+ var BorderRect;
14
+ (function (BorderRect) {
15
+ function encode(message, writer = minimal_1.default.Writer.create()) {
16
+ if (message.top !== undefined && message.top !== 0) {
16
17
  writer.uint32(13).float(message.top);
17
18
  }
18
- if (message.left !== 0) {
19
+ if (message.left !== undefined && message.left !== 0) {
19
20
  writer.uint32(21).float(message.left);
20
21
  }
21
- if (message.right !== 0) {
22
+ if (message.right !== undefined && message.right !== 0) {
22
23
  writer.uint32(29).float(message.right);
23
24
  }
24
- if (message.bottom !== 0) {
25
+ if (message.bottom !== undefined && message.bottom !== 0) {
25
26
  writer.uint32(37).float(message.bottom);
26
27
  }
27
28
  return writer;
28
- },
29
- decode(input, length) {
29
+ }
30
+ BorderRect.encode = encode;
31
+ function decode(input, length) {
30
32
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
31
33
  let end = length === undefined ? reader.len : reader.pos + length;
32
34
  const message = createBaseBorderRect();
@@ -34,57 +36,61 @@ exports.BorderRect = {
34
36
  const tag = reader.uint32();
35
37
  switch (tag >>> 3) {
36
38
  case 1:
37
- if (tag != 13) {
39
+ if (tag !== 13) {
38
40
  break;
39
41
  }
40
42
  message.top = reader.float();
41
43
  continue;
42
44
  case 2:
43
- if (tag != 21) {
45
+ if (tag !== 21) {
44
46
  break;
45
47
  }
46
48
  message.left = reader.float();
47
49
  continue;
48
50
  case 3:
49
- if (tag != 29) {
51
+ if (tag !== 29) {
50
52
  break;
51
53
  }
52
54
  message.right = reader.float();
53
55
  continue;
54
56
  case 4:
55
- if (tag != 37) {
57
+ if (tag !== 37) {
56
58
  break;
57
59
  }
58
60
  message.bottom = reader.float();
59
61
  continue;
60
62
  }
61
- if ((tag & 7) == 4 || tag == 0) {
63
+ if ((tag & 7) === 4 || tag === 0) {
62
64
  break;
63
65
  }
64
66
  reader.skipType(tag & 7);
65
67
  }
66
68
  return message;
67
- },
68
- fromJSON(object) {
69
+ }
70
+ BorderRect.decode = decode;
71
+ function fromJSON(object) {
69
72
  return {
70
73
  top: isSet(object.top) ? Number(object.top) : 0,
71
74
  left: isSet(object.left) ? Number(object.left) : 0,
72
75
  right: isSet(object.right) ? Number(object.right) : 0,
73
76
  bottom: isSet(object.bottom) ? Number(object.bottom) : 0,
74
77
  };
75
- },
76
- toJSON(message) {
78
+ }
79
+ BorderRect.fromJSON = fromJSON;
80
+ function toJSON(message) {
77
81
  const obj = {};
78
82
  message.top !== undefined && (obj.top = message.top);
79
83
  message.left !== undefined && (obj.left = message.left);
80
84
  message.right !== undefined && (obj.right = message.right);
81
85
  message.bottom !== undefined && (obj.bottom = message.bottom);
82
86
  return obj;
83
- },
84
- create(base) {
85
- return exports.BorderRect.fromPartial(base !== null && base !== void 0 ? base : {});
86
- },
87
- fromPartial(object) {
87
+ }
88
+ BorderRect.toJSON = toJSON;
89
+ function create(base) {
90
+ return BorderRect.fromPartial(base !== null && base !== void 0 ? base : {});
91
+ }
92
+ BorderRect.create = create;
93
+ function fromPartial(object) {
88
94
  var _a, _b, _c, _d;
89
95
  const message = createBaseBorderRect();
90
96
  message.top = (_a = object.top) !== null && _a !== void 0 ? _a : 0;
@@ -92,8 +98,103 @@ exports.BorderRect = {
92
98
  message.right = (_c = object.right) !== null && _c !== void 0 ? _c : 0;
93
99
  message.bottom = (_d = object.bottom) !== null && _d !== void 0 ? _d : 0;
94
100
  return message;
95
- },
96
- };
101
+ }
102
+ BorderRect.fromPartial = fromPartial;
103
+ })(BorderRect || (exports.BorderRect = BorderRect = {}));
104
+ function createBaseRect() {
105
+ return { x: 0, y: 0, width: 0, height: 0 };
106
+ }
107
+ var Rect;
108
+ (function (Rect) {
109
+ function encode(message, writer = minimal_1.default.Writer.create()) {
110
+ if (message.x !== undefined && message.x !== 0) {
111
+ writer.uint32(13).float(message.x);
112
+ }
113
+ if (message.y !== undefined && message.y !== 0) {
114
+ writer.uint32(21).float(message.y);
115
+ }
116
+ if (message.width !== undefined && message.width !== 0) {
117
+ writer.uint32(29).float(message.width);
118
+ }
119
+ if (message.height !== undefined && message.height !== 0) {
120
+ writer.uint32(37).float(message.height);
121
+ }
122
+ return writer;
123
+ }
124
+ Rect.encode = encode;
125
+ function decode(input, length) {
126
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
127
+ let end = length === undefined ? reader.len : reader.pos + length;
128
+ const message = createBaseRect();
129
+ while (reader.pos < end) {
130
+ const tag = reader.uint32();
131
+ switch (tag >>> 3) {
132
+ case 1:
133
+ if (tag !== 13) {
134
+ break;
135
+ }
136
+ message.x = reader.float();
137
+ continue;
138
+ case 2:
139
+ if (tag !== 21) {
140
+ break;
141
+ }
142
+ message.y = reader.float();
143
+ continue;
144
+ case 3:
145
+ if (tag !== 29) {
146
+ break;
147
+ }
148
+ message.width = reader.float();
149
+ continue;
150
+ case 4:
151
+ if (tag !== 37) {
152
+ break;
153
+ }
154
+ message.height = reader.float();
155
+ continue;
156
+ }
157
+ if ((tag & 7) === 4 || tag === 0) {
158
+ break;
159
+ }
160
+ reader.skipType(tag & 7);
161
+ }
162
+ return message;
163
+ }
164
+ Rect.decode = decode;
165
+ function fromJSON(object) {
166
+ return {
167
+ x: isSet(object.x) ? Number(object.x) : 0,
168
+ y: isSet(object.y) ? Number(object.y) : 0,
169
+ width: isSet(object.width) ? Number(object.width) : 0,
170
+ height: isSet(object.height) ? Number(object.height) : 0,
171
+ };
172
+ }
173
+ Rect.fromJSON = fromJSON;
174
+ function toJSON(message) {
175
+ const obj = {};
176
+ message.x !== undefined && (obj.x = message.x);
177
+ message.y !== undefined && (obj.y = message.y);
178
+ message.width !== undefined && (obj.width = message.width);
179
+ message.height !== undefined && (obj.height = message.height);
180
+ return obj;
181
+ }
182
+ Rect.toJSON = toJSON;
183
+ function create(base) {
184
+ return Rect.fromPartial(base !== null && base !== void 0 ? base : {});
185
+ }
186
+ Rect.create = create;
187
+ function fromPartial(object) {
188
+ var _a, _b, _c, _d;
189
+ const message = createBaseRect();
190
+ message.x = (_a = object.x) !== null && _a !== void 0 ? _a : 0;
191
+ message.y = (_b = object.y) !== null && _b !== void 0 ? _b : 0;
192
+ message.width = (_c = object.width) !== null && _c !== void 0 ? _c : 0;
193
+ message.height = (_d = object.height) !== null && _d !== void 0 ? _d : 0;
194
+ return message;
195
+ }
196
+ Rect.fromPartial = fromPartial;
197
+ })(Rect || (exports.Rect = Rect = {}));
97
198
  function isSet(value) {
98
199
  return value !== null && value !== undefined;
99
200
  }
@@ -1 +1 @@
1
- {"version":3,"file":"border_rect.gen.js","sourceRoot":"","sources":["../../../out-ts/decentraland/common/border_rect.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,qBAAqB,CAAC;AAUrD,SAAS,oBAAoB;IAC3B,OAAO,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;AAClD,CAAC;AAEY,QAAA,UAAU,GAAG;IACxB,MAAM,CAAC,OAAmB,EAAE,SAAqB,i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