@dcl/protocol 1.0.0-4732850725.commit-c48ea0a → 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 +17 -18
  138. package/out-js/decentraland/sdk/components/billboard.gen.js +45 -24
  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 +45 -21
  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 +9 -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
@@ -0,0 +1,50 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { Color3 } from "../../common/colors.gen";
3
+ import { Vector3 } from "../../common/vectors.gen";
4
+ export declare const protobufPackage = "decentraland.sdk.components";
5
+ /**
6
+ * defines the global scene light settings. must be added to the scene root.
7
+ * to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
8
+ */
9
+ export interface PBGlobalLight {
10
+ /**
11
+ * the direction the directional light shines in.
12
+ * default depends on time of day and explorer implementation
13
+ */
14
+ direction?: Vector3 | undefined;
15
+ /**
16
+ * ambient light color
17
+ * default: White
18
+ */
19
+ ambientColor?: Color3 | undefined;
20
+ /**
21
+ * ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
22
+ * default 1
23
+ */
24
+ ambientBrightness?: number | undefined;
25
+ }
26
+ export declare namespace PBGlobalLight {
27
+ function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
28
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
29
+ function fromJSON(object: any): PBGlobalLight;
30
+ function toJSON(message: PBGlobalLight): unknown;
31
+ function create<I extends Exact<DeepPartial<PBGlobalLight>, I>>(base?: I): PBGlobalLight;
32
+ function fromPartial<I extends Exact<DeepPartial<PBGlobalLight>, I>>(object: I): PBGlobalLight;
33
+ }
34
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
35
+ 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 {
36
+ $case: string;
37
+ } ? {
38
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
39
+ } & {
40
+ $case: T["$case"];
41
+ } : T extends {} ? {
42
+ [K in keyof T]?: DeepPartial<T[K]>;
43
+ } : Partial<T>;
44
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
45
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
46
+ [K in keyof P]: Exact<P[K], I[K]>;
47
+ } & {
48
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
49
+ };
50
+ export {};
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PBGlobalLight = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ const colors_gen_1 = require("../../common/colors.gen");
10
+ const vectors_gen_1 = require("../../common/vectors.gen");
11
+ exports.protobufPackage = "decentraland.sdk.components";
12
+ function createBasePBGlobalLight() {
13
+ return { direction: undefined, ambientColor: undefined, ambientBrightness: undefined };
14
+ }
15
+ var PBGlobalLight;
16
+ (function (PBGlobalLight) {
17
+ function encode(message, writer = minimal_1.default.Writer.create()) {
18
+ if (message.direction !== undefined) {
19
+ vectors_gen_1.Vector3.encode(message.direction, writer.uint32(10).fork()).ldelim();
20
+ }
21
+ if (message.ambientColor !== undefined) {
22
+ colors_gen_1.Color3.encode(message.ambientColor, writer.uint32(18).fork()).ldelim();
23
+ }
24
+ if (message.ambientBrightness !== undefined) {
25
+ writer.uint32(29).float(message.ambientBrightness);
26
+ }
27
+ return writer;
28
+ }
29
+ PBGlobalLight.encode = encode;
30
+ function decode(input, length) {
31
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
32
+ let end = length === undefined ? reader.len : reader.pos + length;
33
+ const message = createBasePBGlobalLight();
34
+ while (reader.pos < end) {
35
+ const tag = reader.uint32();
36
+ switch (tag >>> 3) {
37
+ case 1:
38
+ if (tag !== 10) {
39
+ break;
40
+ }
41
+ message.direction = vectors_gen_1.Vector3.decode(reader, reader.uint32());
42
+ continue;
43
+ case 2:
44
+ if (tag !== 18) {
45
+ break;
46
+ }
47
+ message.ambientColor = colors_gen_1.Color3.decode(reader, reader.uint32());
48
+ continue;
49
+ case 3:
50
+ if (tag !== 29) {
51
+ break;
52
+ }
53
+ message.ambientBrightness = reader.float();
54
+ continue;
55
+ }
56
+ if ((tag & 7) === 4 || tag === 0) {
57
+ break;
58
+ }
59
+ reader.skipType(tag & 7);
60
+ }
61
+ return message;
62
+ }
63
+ PBGlobalLight.decode = decode;
64
+ function fromJSON(object) {
65
+ return {
66
+ direction: isSet(object.direction) ? vectors_gen_1.Vector3.fromJSON(object.direction) : undefined,
67
+ ambientColor: isSet(object.ambientColor) ? colors_gen_1.Color3.fromJSON(object.ambientColor) : undefined,
68
+ ambientBrightness: isSet(object.ambientBrightness) ? Number(object.ambientBrightness) : undefined,
69
+ };
70
+ }
71
+ PBGlobalLight.fromJSON = fromJSON;
72
+ function toJSON(message) {
73
+ const obj = {};
74
+ message.direction !== undefined &&
75
+ (obj.direction = message.direction ? vectors_gen_1.Vector3.toJSON(message.direction) : undefined);
76
+ message.ambientColor !== undefined &&
77
+ (obj.ambientColor = message.ambientColor ? colors_gen_1.Color3.toJSON(message.ambientColor) : undefined);
78
+ message.ambientBrightness !== undefined && (obj.ambientBrightness = message.ambientBrightness);
79
+ return obj;
80
+ }
81
+ PBGlobalLight.toJSON = toJSON;
82
+ function create(base) {
83
+ return PBGlobalLight.fromPartial(base !== null && base !== void 0 ? base : {});
84
+ }
85
+ PBGlobalLight.create = create;
86
+ function fromPartial(object) {
87
+ var _a;
88
+ const message = createBasePBGlobalLight();
89
+ message.direction = (object.direction !== undefined && object.direction !== null)
90
+ ? vectors_gen_1.Vector3.fromPartial(object.direction)
91
+ : undefined;
92
+ message.ambientColor = (object.ambientColor !== undefined && object.ambientColor !== null)
93
+ ? colors_gen_1.Color3.fromPartial(object.ambientColor)
94
+ : undefined;
95
+ message.ambientBrightness = (_a = object.ambientBrightness) !== null && _a !== void 0 ? _a : undefined;
96
+ return message;
97
+ }
98
+ PBGlobalLight.fromPartial = fromPartial;
99
+ })(PBGlobalLight || (exports.PBGlobalLight = PBGlobalLight = {}));
100
+ function isSet(value) {
101
+ return value !== null && value !== undefined;
102
+ }
103
+ //# sourceMappingURL=global_light.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global_light.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/global_light.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,wDAAiD;AACjD,0DAAmD;AAEtC,QAAA,eAAe,GAAG,6BAA6B,CAAC;AA4B7D,SAAS,uBAAuB;IAC9B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EA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IAAI,CAAC;YAC/E,CAAC,CAAC,qBAAO,CAAC,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC;YACvC,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,CAAC,YAAY,GAAG,CAAC,MAAM,CAAC,YAAY,KAAK,SAAS,IAAI,MAAM,CAAC,YAAY,KAAK,IAAI,CAAC;YACxF,CAAC,CAAC,mBAAM,CAAC,WAAW,CAAC,MAAM,CAAC,YAAY,CAAC;YACzC,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,CAAC,iBAAiB,SAAG,MAAM,CAAC,iBAAiB,mCAAI,SAAS,CAAC;QAClE,OAAO,OAAO,CAAC;IACjB,CAAC;IAVe,cAAA,WAAW,cAU1B,CAAA;AACH,CAAC,EApFgB,aAAa,aAAb,aAAa,GAAb,aAAa,QAoF7B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -9,23 +9,19 @@ export declare const protobufPackage = "decentraland.sdk.components";
9
9
  export interface PBGltfContainer {
10
10
  /** the GLTF file path as listed in the scene's manifest. */
11
11
  src: string;
12
+ /** default: 0 */
13
+ visibleMeshesCollisionMask?: number | undefined;
14
+ /** default: CL_POINTER | CL_PHYSICS */
15
+ invisibleMeshesCollisionMask?: number | undefined;
16
+ }
17
+ export declare namespace PBGltfContainer {
18
+ function encode(message: PBGltfContainer, writer?: _m0.Writer): _m0.Writer;
19
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainer;
20
+ function fromJSON(object: any): PBGltfContainer;
21
+ function toJSON(message: PBGltfContainer): unknown;
22
+ function create<I extends Exact<DeepPartial<PBGltfContainer>, I>>(base?: I): PBGltfContainer;
23
+ function fromPartial<I extends Exact<DeepPartial<PBGltfContainer>, I>>(object: I): PBGltfContainer;
12
24
  }
13
- export declare const PBGltfContainer: {
14
- encode(message: PBGltfContainer, writer?: _m0.Writer): _m0.Writer;
15
- decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainer;
16
- fromJSON(object: any): PBGltfContainer;
17
- toJSON(message: PBGltfContainer): unknown;
18
- create<I extends {
19
- src?: string | undefined;
20
- } & {
21
- src?: string | undefined;
22
- } & { [K in Exclude<keyof I, "src">]: never; }>(base?: I | undefined): PBGltfContainer;
23
- fromPartial<I_1 extends {
24
- src?: string | undefined;
25
- } & {
26
- src?: string | undefined;
27
- } & { [K_1 in Exclude<keyof I_1, "src">]: never; }>(object: I_1): PBGltfContainer;
28
- };
29
25
  type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
30
26
  export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
31
27
  $case: string;
@@ -8,16 +8,24 @@ exports.PBGltfContainer = exports.protobufPackage = void 0;
8
8
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
9
  exports.protobufPackage = "decentraland.sdk.components";
10
10
  function createBasePBGltfContainer() {
11
- return { src: "" };
11
+ return { src: "", visibleMeshesCollisionMask: undefined, invisibleMeshesCollisionMask: undefined };
12
12
  }
13
- exports.PBGltfContainer = {
14
- encode(message, writer = minimal_1.default.Writer.create()) {
15
- if (message.src !== "") {
13
+ var PBGltfContainer;
14
+ (function (PBGltfContainer) {
15
+ function encode(message, writer = minimal_1.default.Writer.create()) {
16
+ if (message.src !== undefined && message.src !== "") {
16
17
  writer.uint32(10).string(message.src);
17
18
  }
19
+ if (message.visibleMeshesCollisionMask !== undefined) {
20
+ writer.uint32(32).uint32(message.visibleMeshesCollisionMask);
21
+ }
22
+ if (message.invisibleMeshesCollisionMask !== undefined) {
23
+ writer.uint32(40).uint32(message.invisibleMeshesCollisionMask);
24
+ }
18
25
  return writer;
19
- },
20
- decode(input, length) {
26
+ }
27
+ PBGltfContainer.encode = encode;
28
+ function decode(input, length) {
21
29
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
22
30
  let end = length === undefined ? reader.len : reader.pos + length;
23
31
  const message = createBasePBGltfContainer();
@@ -25,37 +33,68 @@ exports.PBGltfContainer = {
25
33
  const tag = reader.uint32();
26
34
  switch (tag >>> 3) {
27
35
  case 1:
28
- if (tag != 10) {
36
+ if (tag !== 10) {
29
37
  break;
30
38
  }
31
39
  message.src = reader.string();
32
40
  continue;
41
+ case 4:
42
+ if (tag !== 32) {
43
+ break;
44
+ }
45
+ message.visibleMeshesCollisionMask = reader.uint32();
46
+ continue;
47
+ case 5:
48
+ if (tag !== 40) {
49
+ break;
50
+ }
51
+ message.invisibleMeshesCollisionMask = reader.uint32();
52
+ continue;
33
53
  }
34
- if ((tag & 7) == 4 || tag == 0) {
54
+ if ((tag & 7) === 4 || tag === 0) {
35
55
  break;
36
56
  }
37
57
  reader.skipType(tag & 7);
38
58
  }
39
59
  return message;
40
- },
41
- fromJSON(object) {
42
- return { src: isSet(object.src) ? String(object.src) : "" };
43
- },
44
- toJSON(message) {
60
+ }
61
+ PBGltfContainer.decode = decode;
62
+ function fromJSON(object) {
63
+ return {
64
+ src: isSet(object.src) ? String(object.src) : "",
65
+ visibleMeshesCollisionMask: isSet(object.visibleMeshesCollisionMask)
66
+ ? Number(object.visibleMeshesCollisionMask)
67
+ : undefined,
68
+ invisibleMeshesCollisionMask: isSet(object.invisibleMeshesCollisionMask)
69
+ ? Number(object.invisibleMeshesCollisionMask)
70
+ : undefined,
71
+ };
72
+ }
73
+ PBGltfContainer.fromJSON = fromJSON;
74
+ function toJSON(message) {
45
75
  const obj = {};
46
76
  message.src !== undefined && (obj.src = message.src);
77
+ message.visibleMeshesCollisionMask !== undefined &&
78
+ (obj.visibleMeshesCollisionMask = Math.round(message.visibleMeshesCollisionMask));
79
+ message.invisibleMeshesCollisionMask !== undefined &&
80
+ (obj.invisibleMeshesCollisionMask = Math.round(message.invisibleMeshesCollisionMask));
47
81
  return obj;
48
- },
49
- create(base) {
50
- return exports.PBGltfContainer.fromPartial(base !== null && base !== void 0 ? base : {});
51
- },
52
- fromPartial(object) {
53
- var _a;
82
+ }
83
+ PBGltfContainer.toJSON = toJSON;
84
+ function create(base) {
85
+ return PBGltfContainer.fromPartial(base !== null && base !== void 0 ? base : {});
86
+ }
87
+ PBGltfContainer.create = create;
88
+ function fromPartial(object) {
89
+ var _a, _b, _c;
54
90
  const message = createBasePBGltfContainer();
55
91
  message.src = (_a = object.src) !== null && _a !== void 0 ? _a : "";
92
+ message.visibleMeshesCollisionMask = (_b = object.visibleMeshesCollisionMask) !== null && _b !== void 0 ? _b : undefined;
93
+ message.invisibleMeshesCollisionMask = (_c = object.invisibleMeshesCollisionMask) !== null && _c !== void 0 ? _c : undefined;
56
94
  return message;
57
- },
58
- };
95
+ }
96
+ PBGltfContainer.fromPartial = fromPartial;
97
+ })(PBGltfContainer || (exports.PBGltfContainer = PBGltfContainer = {}));
59
98
  function isSet(value) {
60
99
  return value !== null && value !== undefined;
61
100
  }
@@ -1 +1 @@
1
- {"version":3,"file":"gltf_container.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/gltf_container.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAa7D,SAAS,yBAAyB;IAChC,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;AACrB,CAAC;AAEY,QAAA,eAAe,GAAG;IAC7B,MAAM,CAAC,OAAwB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACvE,IAAI,OAAO,CAAC,GAAG,KAAK,EAAE,EAAE;YACtB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;SACvC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,MAAM,CAAC,KAA8B,EAAE,MAAe;QACpD,MAAM,MAAM,GAAG,KAAK,YAAY,iB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,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC;IACjD,CAAC;IAED,WAAW,CAAmD,MAAS;;QACrE,MAAM,OAAO,GAAG,yBAAyB,EAAE,CAAC;QAC5C,OAAO,CAAC,GAAG,GAAG,MAAA,MAAM,CAAC,GAAG,mCAAI,EAAE,CAAC;QAC/B,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC;AAcF,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
1
+ {"version":3,"file":"gltf_container.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/gltf_container.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAmB7D,SAAS,yBAAyB;IAChC,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,0BAA0B,EAAE,SAAS,EAAE,4BAA4B,EAAE,SAAS,EAAE,CAAC;AACrG,CAAC;AAED,IAAiB,eAAe,CAoF/B;AApFD,WAAiB,eAAe;IAC9B,SAAgB,MAAM,CAAC,OAAwB,EAAE,MAAM,GAAe,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACvF,IAAI,OAAO,CAAC,GAAG,KAAK,SAAS,IAAI,OAAO,CAAC,GAAG,KAAK,EAAE,EAAE,CAAC;YACpD,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACxC,CAAC;QACD,IAAI,OAAO,CAAC,0BAA0B,KAAK,SAAS,EAAE,CAAC;YACrD,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;QAC/D,CAAC;QACD,IAAI,OAAO,CAAC,4BAA4B,KAAK,SAAS,EAAE,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,gBAAA,MAAM,SAQrB,CAAA;IAED,SAAgB,MAAM,CAAmD,IAAQ;QAC/E,OAAO,eAAe,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC;IACjD,CAAC;IAFe,gBAAA,MAAM,SAErB,CAAA;IAED,SAAgB,WAAW,CAAmD,MAAS;;QACrF,MAAM,OAAO,GAAG,yBAAyB,EAAE,CAAC;QAC5C,OAAO,CAAC,GAAG,SAAG,MAAM,CAAC,GAAG,mCAAI,EAAE,CAAC;QAC/B,OAAO,CAAC,0BAA0B,SAAG,MAAM,CAAC,0BAA0B,mCAAI,SAAS,CAAC;QACpF,OAAO,CAAC,4BAA4B,SAAG,MAAM,CAAC,4BAA4B,mCAAI,SAAS,CAAC;QACxF,OAAO,OAAO,CAAC;IACjB,CAAC;IANe,gBAAA,WAAW,cAM1B,CAAA;AACH,CAAC,EApFgB,eAAe,aAAf,eAAe,GAAf,eAAe,QAoF/B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,54 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { LoadingState } from "./common/loading_state.gen";
3
+ export declare const protobufPackage = "decentraland.sdk.components";
4
+ /**
5
+ * GltfContainerLoadingState is set by the engine and provides information about
6
+ * the current state of the GltfContainer of an entity.
7
+ */
8
+ export interface PBGltfContainerLoadingState {
9
+ currentState: LoadingState;
10
+ /** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
11
+ nodePaths: string[];
12
+ /** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
13
+ meshNames: string[];
14
+ /**
15
+ * where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
16
+ * conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
17
+ */
18
+ materialNames: string[];
19
+ /**
20
+ * X is the material index. note this may conflict with manually named materials - to avoid any issues make
21
+ * sure all your materials are explicitly named.
22
+ */
23
+ skinNames: string[];
24
+ /**
25
+ * X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
26
+ * your skins are explicitly named.
27
+ */
28
+ animationNames: string[];
29
+ }
30
+ export declare namespace PBGltfContainerLoadingState {
31
+ function encode(message: PBGltfContainerLoadingState, writer?: _m0.Writer): _m0.Writer;
32
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
33
+ function fromJSON(object: any): PBGltfContainerLoadingState;
34
+ function toJSON(message: PBGltfContainerLoadingState): unknown;
35
+ function create<I extends Exact<DeepPartial<PBGltfContainerLoadingState>, I>>(base?: I): PBGltfContainerLoadingState;
36
+ function fromPartial<I extends Exact<DeepPartial<PBGltfContainerLoadingState>, I>>(object: I): PBGltfContainerLoadingState;
37
+ }
38
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
39
+ 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
+ $case: string;
41
+ } ? {
42
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
43
+ } & {
44
+ $case: T["$case"];
45
+ } : T extends {} ? {
46
+ [K in keyof T]?: DeepPartial<T[K]>;
47
+ } : Partial<T>;
48
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
49
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
50
+ [K in keyof P]: Exact<P[K], I[K]>;
51
+ } & {
52
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
53
+ };
54
+ export {};
@@ -0,0 +1,159 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PBGltfContainerLoadingState = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ const loading_state_gen_1 = require("./common/loading_state.gen");
10
+ exports.protobufPackage = "decentraland.sdk.components";
11
+ function createBasePBGltfContainerLoadingState() {
12
+ return { currentState: 0, nodePaths: [], meshNames: [], materialNames: [], skinNames: [], animationNames: [] };
13
+ }
14
+ var PBGltfContainerLoadingState;
15
+ (function (PBGltfContainerLoadingState) {
16
+ function encode(message, writer = minimal_1.default.Writer.create()) {
17
+ var _a, _b, _c, _d, _e;
18
+ if (message.currentState !== undefined && message.currentState !== 0) {
19
+ writer.uint32(8).int32(message.currentState);
20
+ }
21
+ for (const v of (_a = message.nodePaths) !== null && _a !== void 0 ? _a : []) {
22
+ writer.uint32(18).string(v);
23
+ }
24
+ for (const v of (_b = message.meshNames) !== null && _b !== void 0 ? _b : []) {
25
+ writer.uint32(26).string(v);
26
+ }
27
+ for (const v of (_c = message.materialNames) !== null && _c !== void 0 ? _c : []) {
28
+ writer.uint32(34).string(v);
29
+ }
30
+ for (const v of (_d = message.skinNames) !== null && _d !== void 0 ? _d : []) {
31
+ writer.uint32(42).string(v);
32
+ }
33
+ for (const v of (_e = message.animationNames) !== null && _e !== void 0 ? _e : []) {
34
+ writer.uint32(50).string(v);
35
+ }
36
+ return writer;
37
+ }
38
+ PBGltfContainerLoadingState.encode = encode;
39
+ function decode(input, length) {
40
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
41
+ let end = length === undefined ? reader.len : reader.pos + length;
42
+ const message = createBasePBGltfContainerLoadingState();
43
+ while (reader.pos < end) {
44
+ const tag = reader.uint32();
45
+ switch (tag >>> 3) {
46
+ case 1:
47
+ if (tag !== 8) {
48
+ break;
49
+ }
50
+ message.currentState = reader.int32();
51
+ continue;
52
+ case 2:
53
+ if (tag !== 18) {
54
+ break;
55
+ }
56
+ message.nodePaths.push(reader.string());
57
+ continue;
58
+ case 3:
59
+ if (tag !== 26) {
60
+ break;
61
+ }
62
+ message.meshNames.push(reader.string());
63
+ continue;
64
+ case 4:
65
+ if (tag !== 34) {
66
+ break;
67
+ }
68
+ message.materialNames.push(reader.string());
69
+ continue;
70
+ case 5:
71
+ if (tag !== 42) {
72
+ break;
73
+ }
74
+ message.skinNames.push(reader.string());
75
+ continue;
76
+ case 6:
77
+ if (tag !== 50) {
78
+ break;
79
+ }
80
+ message.animationNames.push(reader.string());
81
+ continue;
82
+ }
83
+ if ((tag & 7) === 4 || tag === 0) {
84
+ break;
85
+ }
86
+ reader.skipType(tag & 7);
87
+ }
88
+ return message;
89
+ }
90
+ PBGltfContainerLoadingState.decode = decode;
91
+ function fromJSON(object) {
92
+ return {
93
+ currentState: isSet(object.currentState) ? (0, loading_state_gen_1.loadingStateFromJSON)(object.currentState) : 0,
94
+ nodePaths: Array.isArray(object === null || object === void 0 ? void 0 : object.nodePaths) ? object.nodePaths.map((e) => String(e)) : [],
95
+ meshNames: Array.isArray(object === null || object === void 0 ? void 0 : object.meshNames) ? object.meshNames.map((e) => String(e)) : [],
96
+ materialNames: Array.isArray(object === null || object === void 0 ? void 0 : object.materialNames) ? object.materialNames.map((e) => String(e)) : [],
97
+ skinNames: Array.isArray(object === null || object === void 0 ? void 0 : object.skinNames) ? object.skinNames.map((e) => String(e)) : [],
98
+ animationNames: Array.isArray(object === null || object === void 0 ? void 0 : object.animationNames) ? object.animationNames.map((e) => String(e)) : [],
99
+ };
100
+ }
101
+ PBGltfContainerLoadingState.fromJSON = fromJSON;
102
+ function toJSON(message) {
103
+ const obj = {};
104
+ message.currentState !== undefined && (obj.currentState = (0, loading_state_gen_1.loadingStateToJSON)(message.currentState));
105
+ if (message.nodePaths) {
106
+ obj.nodePaths = message.nodePaths.map((e) => e);
107
+ }
108
+ else {
109
+ obj.nodePaths = [];
110
+ }
111
+ if (message.meshNames) {
112
+ obj.meshNames = message.meshNames.map((e) => e);
113
+ }
114
+ else {
115
+ obj.meshNames = [];
116
+ }
117
+ if (message.materialNames) {
118
+ obj.materialNames = message.materialNames.map((e) => e);
119
+ }
120
+ else {
121
+ obj.materialNames = [];
122
+ }
123
+ if (message.skinNames) {
124
+ obj.skinNames = message.skinNames.map((e) => e);
125
+ }
126
+ else {
127
+ obj.skinNames = [];
128
+ }
129
+ if (message.animationNames) {
130
+ obj.animationNames = message.animationNames.map((e) => e);
131
+ }
132
+ else {
133
+ obj.animationNames = [];
134
+ }
135
+ return obj;
136
+ }
137
+ PBGltfContainerLoadingState.toJSON = toJSON;
138
+ function create(base) {
139
+ return PBGltfContainerLoadingState.fromPartial(base !== null && base !== void 0 ? base : {});
140
+ }
141
+ PBGltfContainerLoadingState.create = create;
142
+ function fromPartial(object) {
143
+ var _a, _b, _c, _d, _e;
144
+ var _f;
145
+ const message = createBasePBGltfContainerLoadingState();
146
+ message.currentState = (_f = object.currentState) !== null && _f !== void 0 ? _f : 0;
147
+ message.nodePaths = ((_a = object.nodePaths) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
148
+ message.meshNames = ((_b = object.meshNames) === null || _b === void 0 ? void 0 : _b.map((e) => e)) || [];
149
+ message.materialNames = ((_c = object.materialNames) === null || _c === void 0 ? void 0 : _c.map((e) => e)) || [];
150
+ message.skinNames = ((_d = object.skinNames) === null || _d === void 0 ? void 0 : _d.map((e) => e)) || [];
151
+ message.animationNames = ((_e = object.animationNames) === null || _e === void 0 ? void 0 : _e.map((e) => e)) || [];
152
+ return message;
153
+ }
154
+ PBGltfContainerLoadingState.fromPartial = fromPartial;
155
+ })(PBGltfContainerLoadingState || (exports.PBGltfContainerLoadingState = PBGltfContainerLoadingState = {}));
156
+ function isSet(value) {
157
+ return value !== null && value !== undefined;
158
+ }
159
+ //# sourceMappingURL=gltf_container_loading_state.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gltf_container_loading_state.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts"],"names":[],"mappings":";;;;;;AAAA,o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KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,66 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "decentraland.sdk.components";
3
+ /**
4
+ * a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
5
+ * This component must be added to a direct child of an entity with a PBGltfContainer component, or
6
+ * to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
7
+ * in the parent.
8
+ * The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
9
+ *
10
+ * The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
11
+ * - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
12
+ * - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
13
+ * - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
14
+ * - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
15
+ *
16
+ * After creation, if an animation moves the node, the `Transform` will be updated.
17
+ *
18
+ * From the scene, you can modify various components to alter the gltf node:
19
+ * - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
20
+ * regardless of any intermediate gltf node hierarchy.
21
+ * If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
22
+ * - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
23
+ * - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
24
+ * - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
25
+ * - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
26
+ * used as a base, and any gltf features (e.g. occlusion maps) from the gtlf spec that the renderer supports but that are not exposed in the
27
+ * PBMaterial will be maintained.
28
+ *
29
+ * The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
30
+ * - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
31
+ * change the state to `GNS_FAILED`.
32
+ * - deleting the scene entity will not delete the gltf node.
33
+ *
34
+ * Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
35
+ * are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
36
+ * the gltf node will also be displayed.
37
+ */
38
+ export interface PBGltfNode {
39
+ /** the path of the target node in the Gltf. */
40
+ path: string;
41
+ }
42
+ export declare namespace PBGltfNode {
43
+ function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
44
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
45
+ function fromJSON(object: any): PBGltfNode;
46
+ function toJSON(message: PBGltfNode): unknown;
47
+ function create<I extends Exact<DeepPartial<PBGltfNode>, I>>(base?: I): PBGltfNode;
48
+ function fromPartial<I extends Exact<DeepPartial<PBGltfNode>, I>>(object: I): PBGltfNode;
49
+ }
50
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
51
+ 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 {
52
+ $case: string;
53
+ } ? {
54
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
55
+ } & {
56
+ $case: T["$case"];
57
+ } : T extends {} ? {
58
+ [K in keyof T]?: DeepPartial<T[K]>;
59
+ } : Partial<T>;
60
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
61
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
62
+ [K in keyof P]: Exact<P[K], I[K]>;
63
+ } & {
64
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
65
+ };
66
+ export {};