@dcl/protocol 1.0.0-3482040729.commit-4f0f6b5 → 1.0.0-34875307214.commit-1ca8fa7

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 (601) hide show
  1. package/README.md +265 -5
  2. package/out-js/about.gen.d.ts +1 -0
  3. package/out-js/about.gen.js +6 -0
  4. package/out-js/about.gen.js.map +1 -0
  5. package/out-js/comms.gen.d.ts +1 -0
  6. package/out-js/comms.gen.js +6 -0
  7. package/out-js/comms.gen.js.map +1 -0
  8. package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
  9. package/out-js/decentraland/common/border_rect.gen.js +201 -0
  10. package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
  11. package/out-js/decentraland/common/colors.gen.d.ts +59 -0
  12. package/out-js/decentraland/common/colors.gen.js +260 -0
  13. package/out-js/decentraland/common/colors.gen.js.map +1 -0
  14. package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
  15. package/out-js/decentraland/common/content_mapping.gen.js +80 -0
  16. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
  17. package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
  18. package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
  19. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
  20. package/out-js/decentraland/common/texture.gen.d.ts +123 -0
  21. package/out-js/decentraland/common/texture.gen.js +575 -0
  22. package/out-js/decentraland/common/texture.gen.js.map +1 -0
  23. package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
  24. package/out-js/decentraland/common/vectors.gen.js +338 -0
  25. package/out-js/decentraland/common/vectors.gen.js.map +1 -0
  26. package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
  27. package/out-js/decentraland/kernel/apis/comms_api.gen.js +792 -0
  28. package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
  29. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +105 -0
  30. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +400 -0
  31. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
  32. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
  33. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
  34. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
  35. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
  36. package/out-js/decentraland/kernel/apis/engine_api.gen.js +1452 -0
  37. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
  38. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
  39. package/out-js/decentraland/kernel/apis/environment_api.gen.js +1122 -0
  40. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
  41. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
  42. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
  43. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
  44. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
  45. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +557 -0
  46. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
  47. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
  48. package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
  49. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
  50. package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
  51. package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
  52. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
  53. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
  54. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
  55. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
  56. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +474 -0
  57. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1643 -0
  58. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
  59. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +217 -0
  60. package/out-js/decentraland/kernel/apis/runtime.gen.js +801 -0
  61. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
  62. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
  63. package/out-js/decentraland/kernel/apis/scene.gen.js +171 -0
  64. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
  65. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +139 -0
  66. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
  67. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
  68. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
  69. package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
  70. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
  71. package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
  72. package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
  73. package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
  74. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +56 -0
  75. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
  76. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
  77. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
  78. package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
  79. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
  80. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +313 -0
  81. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1973 -0
  82. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
  83. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
  84. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
  85. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
  86. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +249 -0
  87. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1384 -0
  88. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
  89. package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
  90. package/out-js/decentraland/quests/definitions.gen.js +2728 -0
  91. package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
  92. package/out-js/decentraland/realm/about.gen.d.ts +229 -0
  93. package/out-js/decentraland/realm/about.gen.js +1185 -0
  94. package/out-js/decentraland/realm/about.gen.js.map +1 -0
  95. package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
  96. package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
  97. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
  98. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
  99. package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
  100. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
  101. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +50 -0
  102. package/out-js/decentraland/sdk/components/audio_stream.gen.js +138 -0
  103. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
  104. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
  105. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
  106. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
  107. package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
  108. package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
  109. package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
  110. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
  111. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
  112. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
  113. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +38 -0
  114. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +107 -0
  115. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
  116. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +51 -0
  117. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +177 -0
  118. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +1 -0
  119. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +64 -0
  120. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +172 -0
  121. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
  122. package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +71 -0
  123. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +303 -0
  124. package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +1 -0
  125. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +79 -0
  126. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +357 -0
  127. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +1 -0
  128. package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
  129. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
  130. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
  131. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +76 -0
  132. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +282 -0
  133. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
  134. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +61 -0
  135. package/out-js/decentraland/sdk/components/billboard.gen.js +142 -0
  136. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
  137. package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +46 -0
  138. package/out-js/decentraland/sdk/components/camera_layer.gen.js +162 -0
  139. package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +1 -0
  140. package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +30 -0
  141. package/out-js/decentraland/sdk/components/camera_layers.gen.js +80 -0
  142. package/out-js/decentraland/sdk/components/camera_layers.gen.js.map +1 -0
  143. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
  144. package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
  145. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
  146. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +50 -0
  147. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +97 -0
  148. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
  149. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
  150. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
  151. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js.map +1 -0
  152. package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
  153. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
  154. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
  155. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +17 -0
  156. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +73 -0
  157. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
  158. package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
  159. package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
  160. package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
  161. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +44 -0
  162. package/out-js/decentraland/sdk/components/common/input_action.gen.js +227 -0
  163. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
  164. package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
  165. package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
  166. package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
  167. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
  168. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
  169. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
  170. package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
  171. package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
  172. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
  173. package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +43 -0
  174. package/out-js/decentraland/sdk/components/engine_info.gen.js +107 -0
  175. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  176. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +68 -0
  177. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +219 -0
  178. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
  179. package/out-js/decentraland/sdk/components/global_light.gen.d.ts +50 -0
  180. package/out-js/decentraland/sdk/components/global_light.gen.js +103 -0
  181. package/out-js/decentraland/sdk/components/global_light.gen.js.map +1 -0
  182. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
  183. package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
  184. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
  185. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +54 -0
  186. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +157 -0
  187. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
  188. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +66 -0
  189. package/out-js/decentraland/sdk/components/gltf_node.gen.js +69 -0
  190. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +1 -0
  191. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
  192. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
  193. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
  194. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +43 -0
  195. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +122 -0
  196. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +1 -0
  197. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +52 -0
  198. package/out-js/decentraland/sdk/components/input_modifier.gen.js +233 -0
  199. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +1 -0
  200. package/out-js/decentraland/sdk/components/material.gen.d.ts +128 -0
  201. package/out-js/decentraland/sdk/components/material.gen.js +620 -0
  202. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
  203. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +148 -0
  204. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +557 -0
  205. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
  206. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +120 -0
  207. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +468 -0
  208. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
  209. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
  210. package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
  211. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
  212. package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
  213. package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
  214. package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
  215. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +115 -0
  216. package/out-js/decentraland/sdk/components/pointer_events.gen.js +319 -0
  217. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
  218. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
  219. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
  220. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
  221. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
  222. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
  223. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
  224. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +92 -0
  225. package/out-js/decentraland/sdk/components/raycast.gen.js +336 -0
  226. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
  227. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
  228. package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
  229. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
  230. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
  231. package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
  232. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
  233. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +83 -0
  234. package/out-js/decentraland/sdk/components/text_shape.gen.js +358 -0
  235. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
  236. package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +86 -0
  237. package/out-js/decentraland/sdk/components/texture_camera.gen.js +296 -0
  238. package/out-js/decentraland/sdk/components/texture_camera.gen.js.map +1 -0
  239. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
  240. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +201 -0
  241. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
  242. package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
  243. package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
  244. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  245. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  246. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
  247. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  248. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  249. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  250. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  251. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
  252. package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
  253. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
  254. package/out-js/decentraland/sdk/components/ui_canvas.gen.d.ts +35 -0
  255. package/out-js/decentraland/sdk/components/ui_canvas.gen.js +98 -0
  256. package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +1 -0
  257. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +47 -0
  258. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +200 -0
  259. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
  260. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
  261. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
  262. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
  263. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +50 -0
  264. package/out-js/decentraland/sdk/components/ui_input.gen.js +211 -0
  265. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
  266. package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
  267. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
  268. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
  269. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
  270. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
  271. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
  272. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.d.ts +31 -0
  273. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +71 -0
  274. package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +1 -0
  275. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +52 -0
  276. package/out-js/decentraland/sdk/components/ui_text.gen.js +190 -0
  277. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
  278. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +271 -0
  279. package/out-js/decentraland/sdk/components/ui_transform.gen.js +1720 -0
  280. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
  281. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +51 -0
  282. package/out-js/decentraland/sdk/components/video_player.gen.js +177 -0
  283. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
  284. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
  285. package/out-js/decentraland/sdk/components/visibility_component.gen.js +83 -0
  286. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
  287. package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
  288. package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
  289. package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
  290. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
  291. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
  292. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
  293. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
  294. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
  295. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
  296. package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
  297. package/out-js/decentraland/social_service/errors.gen.js +405 -0
  298. package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
  299. package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
  300. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
  301. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
  302. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
  303. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
  304. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
  305. package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
  306. package/out-js/google/protobuf/descriptor.gen.js +3173 -0
  307. package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
  308. package/out-js/google/protobuf/empty.gen.d.ts +38 -0
  309. package/out-js/google/protobuf/empty.gen.js +54 -0
  310. package/out-js/google/protobuf/empty.gen.js.map +1 -0
  311. package/out-js/quests.gen.d.ts +1 -0
  312. package/out-js/quests.gen.js +6 -0
  313. package/out-js/quests.gen.js.map +1 -0
  314. package/out-js/sdk-apis.gen.d.ts +1 -0
  315. package/out-js/sdk-apis.gen.js +6 -0
  316. package/out-js/sdk-apis.gen.js.map +1 -0
  317. package/out-js/sdk-components.gen.d.ts +1 -0
  318. package/out-js/sdk-components.gen.js +6 -0
  319. package/out-js/sdk-components.gen.js.map +1 -0
  320. package/out-js/sdk-development.gen.d.ts +1 -0
  321. package/out-js/sdk-development.gen.js +6 -0
  322. package/out-js/sdk-development.gen.js.map +1 -0
  323. package/out-js/social.gen.d.ts +1 -0
  324. package/out-js/social.gen.js +6 -0
  325. package/out-js/social.gen.js.map +1 -0
  326. package/out-ts/about.gen.ts +3 -0
  327. package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
  328. package/out-ts/decentraland/common/colors.gen.ts +293 -0
  329. package/out-ts/decentraland/common/content_mapping.gen.ts +31 -18
  330. package/out-ts/decentraland/common/sdk/user_data.gen.ts +133 -62
  331. package/out-ts/decentraland/common/texture.gen.ts +654 -0
  332. package/out-ts/decentraland/common/vectors.gen.ts +207 -56
  333. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
  334. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +338 -33
  335. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +54 -34
  336. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +813 -1608
  337. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +506 -293
  338. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +386 -211
  339. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +231 -140
  340. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +136 -72
  341. package/out-ts/decentraland/kernel/apis/players.gen.ts +170 -100
  342. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +305 -158
  343. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1629 -163
  344. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
  345. package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
  346. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +356 -94
  347. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +85 -51
  348. package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
  349. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +50 -33
  350. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +99 -66
  351. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1690 -239
  352. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +404 -241
  353. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1092 -611
  354. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  355. package/out-ts/decentraland/realm/about.gen.ts +1415 -0
  356. package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
  357. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
  358. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +182 -0
  359. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
  360. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
  361. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
  362. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +124 -0
  363. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +237 -0
  364. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +210 -0
  365. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +372 -0
  366. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +432 -0
  367. package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
  368. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +371 -0
  369. package/out-ts/decentraland/sdk/components/billboard.gen.ts +172 -0
  370. package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +202 -0
  371. package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +92 -0
  372. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
  373. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +130 -0
  374. package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
  375. package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
  376. package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +70 -0
  377. package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
  378. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +224 -0
  379. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  380. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
  381. package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
  382. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +134 -0
  383. package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +263 -0
  384. package/out-ts/decentraland/sdk/components/global_light.gen.ts +138 -0
  385. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
  386. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +195 -0
  387. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +116 -0
  388. package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
  389. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +139 -0
  390. package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +265 -0
  391. package/out-ts/decentraland/sdk/components/material.gen.ts +756 -0
  392. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +635 -0
  393. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +551 -0
  394. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
  395. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  396. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +436 -0
  397. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
  398. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
  399. package/out-ts/decentraland/sdk/components/raycast.gen.ts +405 -0
  400. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
  401. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
  402. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +488 -0
  403. package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +362 -0
  404. package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
  405. package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
  406. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  407. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  408. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
  409. package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +115 -0
  410. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +249 -0
  411. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
  412. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +269 -0
  413. package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
  414. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
  415. package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +83 -0
  416. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +237 -0
  417. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1968 -0
  418. package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
  419. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -0
  420. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  421. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  422. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  423. package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
  424. package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
  425. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
  426. package/out-ts/google/protobuf/descriptor.gen.ts +1145 -536
  427. package/out-ts/google/protobuf/empty.gen.ts +21 -16
  428. package/out-ts/quests.gen.ts +3 -0
  429. package/out-ts/sdk-components.gen.ts +3 -0
  430. package/out-ts/sdk-development.gen.ts +3 -0
  431. package/out-ts/social.gen.ts +3 -0
  432. package/package.json +21 -10
  433. package/proto/decentraland/common/border_rect.proto +18 -0
  434. package/proto/decentraland/common/colors.proto +6 -0
  435. package/proto/decentraland/common/entity.proto +1 -1
  436. package/proto/decentraland/common/floats.proto +8 -0
  437. package/proto/decentraland/common/options.proto +51 -0
  438. package/proto/decentraland/common/quantization_example.proto +164 -0
  439. package/proto/decentraland/common/texture.proto +27 -9
  440. package/proto/decentraland/common/vectors.proto +7 -0
  441. package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
  442. package/proto/decentraland/kernel/apis/communications_controller.proto +19 -2
  443. package/proto/decentraland/kernel/apis/dev_tools.proto +2 -0
  444. package/proto/decentraland/kernel/apis/engine_api.proto +37 -111
  445. package/proto/decentraland/kernel/apis/environment_api.proto +7 -0
  446. package/proto/decentraland/kernel/apis/ethereum_controller.proto +10 -0
  447. package/proto/decentraland/kernel/apis/parcel_identity.proto +3 -0
  448. package/proto/decentraland/kernel/apis/permissions.proto +4 -0
  449. package/proto/decentraland/kernel/apis/players.proto +6 -0
  450. package/proto/decentraland/kernel/apis/portable_experiences.proto +15 -1
  451. package/proto/decentraland/kernel/apis/restricted_actions.proto +159 -12
  452. package/proto/decentraland/kernel/apis/runtime.proto +71 -0
  453. package/proto/decentraland/kernel/apis/scene.proto +16 -0
  454. package/proto/decentraland/kernel/apis/signed_fetch.proto +8 -0
  455. package/proto/decentraland/kernel/apis/social_controller.proto +6 -3
  456. package/proto/decentraland/kernel/apis/testing.proto +100 -0
  457. package/proto/decentraland/kernel/apis/user_action_module.proto +1 -0
  458. package/proto/decentraland/kernel/apis/user_identity.proto +1 -0
  459. package/proto/decentraland/kernel/comms/rfc4/comms.proto +92 -0
  460. package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +6 -3
  461. package/proto/decentraland/kernel/comms/v3/archipelago.proto +58 -34
  462. package/proto/decentraland/pulse/pulse_client.proto +120 -0
  463. package/proto/decentraland/pulse/pulse_server.proto +144 -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 +138 -0
  467. package/proto/decentraland/sdk/components/animator.proto +20 -8
  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 +24 -6
  473. package/proto/decentraland/sdk/components/audio_stream.proto +14 -3
  474. package/proto/decentraland/sdk/components/avatar_attach.proto +37 -5
  475. package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
  476. package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
  477. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +14 -0
  478. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
  479. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +22 -7
  480. package/proto/decentraland/sdk/components/avatar_movement.proto +62 -0
  481. package/proto/decentraland/sdk/components/avatar_movement_info.proto +36 -0
  482. package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
  483. package/proto/decentraland/sdk/components/avatar_shape.proto +37 -24
  484. package/proto/decentraland/sdk/components/billboard.proto +24 -6
  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.proto +3 -1
  488. package/proto/decentraland/sdk/components/camera_mode_area.proto +14 -2
  489. package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
  490. package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
  491. package/proto/decentraland/sdk/components/common/camera_type.proto +1 -0
  492. package/proto/decentraland/sdk/components/common/explorer_ui.proto +14 -0
  493. package/proto/decentraland/sdk/components/common/input_action.proto +20 -0
  494. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  495. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  496. package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
  497. package/proto/decentraland/sdk/components/common/texts.proto +3 -2
  498. package/proto/decentraland/sdk/components/engine_info.proto +16 -0
  499. package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +31 -0
  500. package/proto/decentraland/sdk/components/global_light.proto +22 -0
  501. package/proto/decentraland/sdk/components/gltf_container.proto +11 -5
  502. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +26 -0
  503. package/proto/decentraland/sdk/components/gltf_node.proto +42 -0
  504. package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
  505. package/proto/decentraland/sdk/components/gltf_node_state.proto +20 -0
  506. package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
  507. package/proto/decentraland/sdk/components/light_source.proto +28 -0
  508. package/proto/decentraland/sdk/components/main_camera.proto +11 -0
  509. package/proto/decentraland/sdk/components/map_pin.proto +16 -0
  510. package/proto/decentraland/sdk/components/material.proto +18 -5
  511. package/proto/decentraland/sdk/components/mesh_collider.proto +43 -9
  512. package/proto/decentraland/sdk/components/mesh_renderer.proto +22 -4
  513. package/proto/decentraland/sdk/components/nft_shape.proto +15 -7
  514. package/proto/decentraland/sdk/components/particle_system.proto +133 -0
  515. package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
  516. package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
  517. package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
  518. package/proto/decentraland/sdk/components/pointer_events.proto +68 -0
  519. package/proto/decentraland/sdk/components/pointer_events_result.proto +8 -14
  520. package/proto/decentraland/sdk/components/pointer_lock.proto +3 -1
  521. package/proto/decentraland/sdk/components/primary_pointer_info.proto +44 -0
  522. package/proto/decentraland/sdk/components/raycast.proto +57 -7
  523. package/proto/decentraland/sdk/components/raycast_result.proto +12 -16
  524. package/proto/decentraland/sdk/components/realm_info.proto +15 -0
  525. package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
  526. package/proto/decentraland/sdk/components/text_shape.proto +34 -21
  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 +25 -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 +23 -0
  538. package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
  539. package/proto/decentraland/sdk/components/ui_input.proto +23 -0
  540. package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
  541. package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
  542. package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
  543. package/proto/decentraland/sdk/components/ui_text.proto +15 -5
  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 +24 -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_service/v1/social_service_v1.proto +163 -0
  554. package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -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/about.proto +5 -0
  561. package/public/quests.proto +5 -0
  562. package/public/sdk-apis.proto +4 -0
  563. package/public/sdk-components.proto +57 -0
  564. package/public/sdk-development.proto +5 -0
  565. package/public/social.proto +6 -0
  566. package/out-ts/bff-services.gen.ts +0 -3
  567. package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -279
  568. package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -239
  569. package/out-ts/decentraland/bff/comms_service.gen.ts +0 -194
  570. package/out-ts/decentraland/bff/http_endpoints.gen.ts +0 -845
  571. package/out-ts/decentraland/bff/topics_service.gen.ts +0 -405
  572. package/out-ts/decentraland/renderer/engine_interface.gen.ts +0 -8669
  573. package/out-ts/decentraland/renderer/protocol.gen.ts +0 -267
  574. package/out-ts/google/api/annotations.gen.ts +0 -3
  575. package/out-ts/google/api/http.gen.ts +0 -295
  576. package/out-ts/renderer-interface.gen.ts +0 -3
  577. package/proto/buf.yaml +0 -45
  578. package/proto/decentraland/bff/authentication_service.proto +0 -27
  579. package/proto/decentraland/bff/comms_director_service.proto +0 -33
  580. package/proto/decentraland/bff/comms_service.proto +0 -25
  581. package/proto/decentraland/bff/http_endpoints.proto +0 -82
  582. package/proto/decentraland/bff/topics_service.proto +0 -34
  583. package/proto/decentraland/renderer/engine_interface.proto +0 -709
  584. package/proto/decentraland/renderer/protocol.proto +0 -21
  585. package/proto/decentraland/sdk/components/pointer_hover_feedback.proto +0 -31
  586. package/proto/google/LICENSE +0 -27
  587. package/proto/google/README.md +0 -1
  588. package/proto/google/api/annotations.json +0 -83
  589. package/proto/google/api/annotations.proto +0 -11
  590. package/proto/google/api/http.json +0 -86
  591. package/proto/google/api/http.proto +0 -31
  592. package/proto/google/protobuf/api.json +0 -118
  593. package/proto/google/protobuf/api.proto +0 -34
  594. package/proto/google/protobuf/descriptor.json +0 -739
  595. package/proto/google/protobuf/descriptor.proto +0 -286
  596. package/proto/google/protobuf/source_context.json +0 -20
  597. package/proto/google/protobuf/source_context.proto +0 -7
  598. package/proto/google/protobuf/type.json +0 -202
  599. package/proto/google/protobuf/type.proto +0 -89
  600. package/public/bff-services.proto +0 -16
  601. package/public/renderer-interface.proto +0 -4
@@ -0,0 +1,76 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { Color3 } from "../../common/colors.gen";
3
+ export declare const protobufPackage = "decentraland.sdk.components";
4
+ /**
5
+ * The AvatarShape component contains the information required to draw and animate avatar, acting as
6
+ * a simplified GLTF container for this specific case.
7
+ *
8
+ * All fields (except ID) are optional have reasonable default values. In the case of `wearables`,
9
+ * each slot on the Avatar's body that is not explicitly included in the list has its own default.
10
+ *
11
+ * Note that, while AvatarShape can be attached to any Entity, it's only actually used in the global
12
+ * Avatar Scene. Other requirements are usually better served by GLTFs.
13
+ */
14
+ export interface PBAvatarShape {
15
+ /** the user ID */
16
+ id: string;
17
+ /** visible name (default: "NPC") */
18
+ name?: string | undefined;
19
+ /** shape URN (default "urn:decentraland:off-chain:base-avatars:BaseFemale") */
20
+ bodyShape?: string | undefined;
21
+ /** RGB (default [0.6, 0.462, 0.356]) */
22
+ skinColor?: Color3 | undefined;
23
+ /** RGB (default [0.283, 0.142, 0]) */
24
+ hairColor?: Color3 | undefined;
25
+ /** RGB (default [0.6, 0.462, 0.356]) */
26
+ eyeColor?: Color3 | undefined;
27
+ /** current emote animations */
28
+ expressionTriggerId?: string | undefined;
29
+ /** start of emote animations (in the same order) */
30
+ expressionTriggerTimestamp?: number | undefined;
31
+ /** whether to display the floating voice chat icon */
32
+ talking?: boolean | undefined;
33
+ /**
34
+ * Wearable URNs, one for each body slot.
35
+ * Default values for each unspecified slot:
36
+ * Eyes : "urn:decentraland:off-chain:base-avatars:f_eyes_00",
37
+ * Eyebrows: "urn:decentraland:off-chain:base-avatars:f_eyebrows_00",
38
+ * Mouth : "urn:decentraland:off-chain:base-avatars:f_mouth_00"
39
+ * Hair : "urn:decentraland:off-chain:base-avatars:standard_hair",
40
+ * Shirt : "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
41
+ * Trousers: "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
42
+ * Shoes : "urn:decentraland:off-chain:base-avatars:bun_shoes"]
43
+ */
44
+ wearables: string[];
45
+ /** available emotes (default empty) */
46
+ emotes: string[];
47
+ /** hides the skin + hair + facial features (default: false) */
48
+ showOnlyWearables?: boolean | undefined;
49
+ /** slots that will render even if hidden */
50
+ forceRender: string[];
51
+ }
52
+ export declare namespace PBAvatarShape {
53
+ function encode(message: PBAvatarShape, writer?: _m0.Writer): _m0.Writer;
54
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarShape;
55
+ function fromJSON(object: any): PBAvatarShape;
56
+ function toJSON(message: PBAvatarShape): unknown;
57
+ function create<I extends Exact<DeepPartial<PBAvatarShape>, I>>(base?: I): PBAvatarShape;
58
+ function fromPartial<I extends Exact<DeepPartial<PBAvatarShape>, I>>(object: I): PBAvatarShape;
59
+ }
60
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
61
+ 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 {
62
+ $case: string;
63
+ } ? {
64
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
65
+ } & {
66
+ $case: T["$case"];
67
+ } : T extends {} ? {
68
+ [K in keyof T]?: DeepPartial<T[K]>;
69
+ } : Partial<T>;
70
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
71
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
72
+ [K in keyof P]: Exact<P[K], I[K]>;
73
+ } & {
74
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
75
+ };
76
+ export {};
@@ -0,0 +1,282 @@
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.PBAvatarShape = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const long_1 = __importDefault(require("long"));
9
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
10
+ const colors_gen_1 = require("../../common/colors.gen");
11
+ exports.protobufPackage = "decentraland.sdk.components";
12
+ function createBasePBAvatarShape() {
13
+ return {
14
+ id: "",
15
+ name: undefined,
16
+ bodyShape: undefined,
17
+ skinColor: undefined,
18
+ hairColor: undefined,
19
+ eyeColor: undefined,
20
+ expressionTriggerId: undefined,
21
+ expressionTriggerTimestamp: undefined,
22
+ talking: undefined,
23
+ wearables: [],
24
+ emotes: [],
25
+ showOnlyWearables: undefined,
26
+ forceRender: [],
27
+ };
28
+ }
29
+ var PBAvatarShape;
30
+ (function (PBAvatarShape) {
31
+ function encode(message, writer = minimal_1.default.Writer.create()) {
32
+ if (message.id !== "") {
33
+ writer.uint32(10).string(message.id);
34
+ }
35
+ if (message.name !== undefined) {
36
+ writer.uint32(18).string(message.name);
37
+ }
38
+ if (message.bodyShape !== undefined) {
39
+ writer.uint32(26).string(message.bodyShape);
40
+ }
41
+ if (message.skinColor !== undefined) {
42
+ colors_gen_1.Color3.encode(message.skinColor, writer.uint32(34).fork()).ldelim();
43
+ }
44
+ if (message.hairColor !== undefined) {
45
+ colors_gen_1.Color3.encode(message.hairColor, writer.uint32(42).fork()).ldelim();
46
+ }
47
+ if (message.eyeColor !== undefined) {
48
+ colors_gen_1.Color3.encode(message.eyeColor, writer.uint32(50).fork()).ldelim();
49
+ }
50
+ if (message.expressionTriggerId !== undefined) {
51
+ writer.uint32(58).string(message.expressionTriggerId);
52
+ }
53
+ if (message.expressionTriggerTimestamp !== undefined) {
54
+ writer.uint32(64).int64(message.expressionTriggerTimestamp);
55
+ }
56
+ if (message.talking !== undefined) {
57
+ writer.uint32(72).bool(message.talking);
58
+ }
59
+ for (const v of message.wearables) {
60
+ writer.uint32(82).string(v);
61
+ }
62
+ for (const v of message.emotes) {
63
+ writer.uint32(90).string(v);
64
+ }
65
+ if (message.showOnlyWearables !== undefined) {
66
+ writer.uint32(96).bool(message.showOnlyWearables);
67
+ }
68
+ for (const v of message.forceRender) {
69
+ writer.uint32(106).string(v);
70
+ }
71
+ return writer;
72
+ }
73
+ PBAvatarShape.encode = encode;
74
+ function decode(input, length) {
75
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
76
+ let end = length === undefined ? reader.len : reader.pos + length;
77
+ const message = createBasePBAvatarShape();
78
+ while (reader.pos < end) {
79
+ const tag = reader.uint32();
80
+ switch (tag >>> 3) {
81
+ case 1:
82
+ if (tag !== 10) {
83
+ break;
84
+ }
85
+ message.id = reader.string();
86
+ continue;
87
+ case 2:
88
+ if (tag !== 18) {
89
+ break;
90
+ }
91
+ message.name = reader.string();
92
+ continue;
93
+ case 3:
94
+ if (tag !== 26) {
95
+ break;
96
+ }
97
+ message.bodyShape = reader.string();
98
+ continue;
99
+ case 4:
100
+ if (tag !== 34) {
101
+ break;
102
+ }
103
+ message.skinColor = colors_gen_1.Color3.decode(reader, reader.uint32());
104
+ continue;
105
+ case 5:
106
+ if (tag !== 42) {
107
+ break;
108
+ }
109
+ message.hairColor = colors_gen_1.Color3.decode(reader, reader.uint32());
110
+ continue;
111
+ case 6:
112
+ if (tag !== 50) {
113
+ break;
114
+ }
115
+ message.eyeColor = colors_gen_1.Color3.decode(reader, reader.uint32());
116
+ continue;
117
+ case 7:
118
+ if (tag !== 58) {
119
+ break;
120
+ }
121
+ message.expressionTriggerId = reader.string();
122
+ continue;
123
+ case 8:
124
+ if (tag !== 64) {
125
+ break;
126
+ }
127
+ message.expressionTriggerTimestamp = longToNumber(reader.int64());
128
+ continue;
129
+ case 9:
130
+ if (tag !== 72) {
131
+ break;
132
+ }
133
+ message.talking = reader.bool();
134
+ continue;
135
+ case 10:
136
+ if (tag !== 82) {
137
+ break;
138
+ }
139
+ message.wearables.push(reader.string());
140
+ continue;
141
+ case 11:
142
+ if (tag !== 90) {
143
+ break;
144
+ }
145
+ message.emotes.push(reader.string());
146
+ continue;
147
+ case 12:
148
+ if (tag !== 96) {
149
+ break;
150
+ }
151
+ message.showOnlyWearables = reader.bool();
152
+ continue;
153
+ case 13:
154
+ if (tag !== 106) {
155
+ break;
156
+ }
157
+ message.forceRender.push(reader.string());
158
+ continue;
159
+ }
160
+ if ((tag & 7) === 4 || tag === 0) {
161
+ break;
162
+ }
163
+ reader.skipType(tag & 7);
164
+ }
165
+ return message;
166
+ }
167
+ PBAvatarShape.decode = decode;
168
+ function fromJSON(object) {
169
+ return {
170
+ id: isSet(object.id) ? String(object.id) : "",
171
+ name: isSet(object.name) ? String(object.name) : undefined,
172
+ bodyShape: isSet(object.bodyShape) ? String(object.bodyShape) : undefined,
173
+ skinColor: isSet(object.skinColor) ? colors_gen_1.Color3.fromJSON(object.skinColor) : undefined,
174
+ hairColor: isSet(object.hairColor) ? colors_gen_1.Color3.fromJSON(object.hairColor) : undefined,
175
+ eyeColor: isSet(object.eyeColor) ? colors_gen_1.Color3.fromJSON(object.eyeColor) : undefined,
176
+ expressionTriggerId: isSet(object.expressionTriggerId) ? String(object.expressionTriggerId) : undefined,
177
+ expressionTriggerTimestamp: isSet(object.expressionTriggerTimestamp)
178
+ ? Number(object.expressionTriggerTimestamp)
179
+ : undefined,
180
+ talking: isSet(object.talking) ? Boolean(object.talking) : undefined,
181
+ wearables: Array.isArray(object === null || object === void 0 ? void 0 : object.wearables) ? object.wearables.map((e) => String(e)) : [],
182
+ emotes: Array.isArray(object === null || object === void 0 ? void 0 : object.emotes) ? object.emotes.map((e) => String(e)) : [],
183
+ showOnlyWearables: isSet(object.showOnlyWearables) ? Boolean(object.showOnlyWearables) : undefined,
184
+ forceRender: Array.isArray(object === null || object === void 0 ? void 0 : object.forceRender) ? object.forceRender.map((e) => String(e)) : [],
185
+ };
186
+ }
187
+ PBAvatarShape.fromJSON = fromJSON;
188
+ function toJSON(message) {
189
+ const obj = {};
190
+ message.id !== undefined && (obj.id = message.id);
191
+ message.name !== undefined && (obj.name = message.name);
192
+ message.bodyShape !== undefined && (obj.bodyShape = message.bodyShape);
193
+ message.skinColor !== undefined &&
194
+ (obj.skinColor = message.skinColor ? colors_gen_1.Color3.toJSON(message.skinColor) : undefined);
195
+ message.hairColor !== undefined &&
196
+ (obj.hairColor = message.hairColor ? colors_gen_1.Color3.toJSON(message.hairColor) : undefined);
197
+ message.eyeColor !== undefined && (obj.eyeColor = message.eyeColor ? colors_gen_1.Color3.toJSON(message.eyeColor) : undefined);
198
+ message.expressionTriggerId !== undefined && (obj.expressionTriggerId = message.expressionTriggerId);
199
+ message.expressionTriggerTimestamp !== undefined &&
200
+ (obj.expressionTriggerTimestamp = Math.round(message.expressionTriggerTimestamp));
201
+ message.talking !== undefined && (obj.talking = message.talking);
202
+ if (message.wearables) {
203
+ obj.wearables = message.wearables.map((e) => e);
204
+ }
205
+ else {
206
+ obj.wearables = [];
207
+ }
208
+ if (message.emotes) {
209
+ obj.emotes = message.emotes.map((e) => e);
210
+ }
211
+ else {
212
+ obj.emotes = [];
213
+ }
214
+ message.showOnlyWearables !== undefined && (obj.showOnlyWearables = message.showOnlyWearables);
215
+ if (message.forceRender) {
216
+ obj.forceRender = message.forceRender.map((e) => e);
217
+ }
218
+ else {
219
+ obj.forceRender = [];
220
+ }
221
+ return obj;
222
+ }
223
+ PBAvatarShape.toJSON = toJSON;
224
+ function create(base) {
225
+ return PBAvatarShape.fromPartial(base !== null && base !== void 0 ? base : {});
226
+ }
227
+ PBAvatarShape.create = create;
228
+ function fromPartial(object) {
229
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
230
+ const message = createBasePBAvatarShape();
231
+ message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
232
+ message.name = (_b = object.name) !== null && _b !== void 0 ? _b : undefined;
233
+ message.bodyShape = (_c = object.bodyShape) !== null && _c !== void 0 ? _c : undefined;
234
+ message.skinColor = (object.skinColor !== undefined && object.skinColor !== null)
235
+ ? colors_gen_1.Color3.fromPartial(object.skinColor)
236
+ : undefined;
237
+ message.hairColor = (object.hairColor !== undefined && object.hairColor !== null)
238
+ ? colors_gen_1.Color3.fromPartial(object.hairColor)
239
+ : undefined;
240
+ message.eyeColor = (object.eyeColor !== undefined && object.eyeColor !== null)
241
+ ? colors_gen_1.Color3.fromPartial(object.eyeColor)
242
+ : undefined;
243
+ message.expressionTriggerId = (_d = object.expressionTriggerId) !== null && _d !== void 0 ? _d : undefined;
244
+ message.expressionTriggerTimestamp = (_e = object.expressionTriggerTimestamp) !== null && _e !== void 0 ? _e : undefined;
245
+ message.talking = (_f = object.talking) !== null && _f !== void 0 ? _f : undefined;
246
+ message.wearables = ((_g = object.wearables) === null || _g === void 0 ? void 0 : _g.map((e) => e)) || [];
247
+ message.emotes = ((_h = object.emotes) === null || _h === void 0 ? void 0 : _h.map((e) => e)) || [];
248
+ message.showOnlyWearables = (_j = object.showOnlyWearables) !== null && _j !== void 0 ? _j : undefined;
249
+ message.forceRender = ((_k = object.forceRender) === null || _k === void 0 ? void 0 : _k.map((e) => e)) || [];
250
+ return message;
251
+ }
252
+ PBAvatarShape.fromPartial = fromPartial;
253
+ })(PBAvatarShape || (exports.PBAvatarShape = PBAvatarShape = {}));
254
+ const tsProtoGlobalThis = (() => {
255
+ if (typeof globalThis !== "undefined") {
256
+ return globalThis;
257
+ }
258
+ if (typeof self !== "undefined") {
259
+ return self;
260
+ }
261
+ if (typeof window !== "undefined") {
262
+ return window;
263
+ }
264
+ if (typeof global !== "undefined") {
265
+ return global;
266
+ }
267
+ throw "Unable to locate global object";
268
+ })();
269
+ function longToNumber(long) {
270
+ if (long.gt(Number.MAX_SAFE_INTEGER)) {
271
+ throw new tsProtoGlobalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
272
+ }
273
+ return long.toNumber();
274
+ }
275
+ if (minimal_1.default.util.Long !== long_1.default) {
276
+ minimal_1.default.util.Long = long_1.default;
277
+ minimal_1.default.configure();
278
+ }
279
+ function isSet(value) {
280
+ return value !== null && value !== undefined;
281
+ }
282
+ //# sourceMappingURL=avatar_shape.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar_shape.gen.js","sourceRoot":"","sources":["../../../../out-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;IACnC,IAAI,OAAO,UAAU,KAAK,WAAW,EAAE,CAAC;QACtC,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE,CAAC;QAChC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,gCAAgC,CAAC;AACzC,CAAC,CAAC,EAAE,CAAC;AAcL,SAAS,YAAY,CAAC,IAAU;IAC9B,IAAI,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,CAAC;QACrC,MAAM,IAAI,iBAAiB,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC;IACpF,CAAC;IACD,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;AACzB,CAAC;AAED,IAAI,iBAAG,CAAC,IAAI,CAAC,IAAI,KAAK,cAAI,EAAE,CAAC;IAC3B,iBAAG,CAAC,IAAI,CAAC,IAAI,GAAG,cAAW,CAAC;IAC5B,iBAAG,CAAC,SAAS,EAAE,CAAC;AAClB,CAAC;AAED,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,61 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "decentraland.sdk.components";
3
+ /**
4
+ * BillboardMode indicates one or more axis for automatic rotation, in OR-able bit flag form.
5
+ * Only the values below and the (BM_X | BM_Y) combination are valid.
6
+ */
7
+ export declare enum BillboardMode {
8
+ BM_NONE = 0,
9
+ BM_X = 1,
10
+ BM_Y = 2,
11
+ BM_Z = 4,
12
+ /** BM_ALL - bitwise combination BM_X | BM_Y | BM_Z */
13
+ BM_ALL = 7,
14
+ UNRECOGNIZED = -1
15
+ }
16
+ export declare function billboardModeFromJSON(object: any): BillboardMode;
17
+ export declare function billboardModeToJSON(object: BillboardMode): string;
18
+ /**
19
+ * The Billboard component makes an Entity automatically reorient its rotation to face a target.
20
+ * By default (when target_entity is unset), the billboard faces the main camera. When target_entity
21
+ * is set, the billboard faces that entity instead. Setting target_entity to the camera reserved
22
+ * entity (2) is equivalent to leaving the field unset. If the referenced target entity doesn’t exist
23
+ * or is deleted, the billboard reorientation is disabled until the target exists again.
24
+ *
25
+ * As the name indicates, it’s used to display in-game billboards and frequently combined with
26
+ * the TextShape component.
27
+ *
28
+ * Billboard only affects the Entity’s rotation. Its scale and position are still determined by its
29
+ * Transform.
30
+ */
31
+ export interface PBBillboard {
32
+ /** the BillboardMode (default: BM_ALL) */
33
+ billboardMode?: BillboardMode | undefined;
34
+ /** entity to face instead of the camera; if the referenced entity doesn’t exist, the billboard behavior is disabled until it does */
35
+ targetEntity?: number | undefined;
36
+ }
37
+ export declare namespace PBBillboard {
38
+ function encode(message: PBBillboard, writer?: _m0.Writer): _m0.Writer;
39
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PBBillboard;
40
+ function fromJSON(object: any): PBBillboard;
41
+ function toJSON(message: PBBillboard): unknown;
42
+ function create<I extends Exact<DeepPartial<PBBillboard>, I>>(base?: I): PBBillboard;
43
+ function fromPartial<I extends Exact<DeepPartial<PBBillboard>, I>>(object: I): PBBillboard;
44
+ }
45
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
46
+ 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 {
47
+ $case: string;
48
+ } ? {
49
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
50
+ } & {
51
+ $case: T["$case"];
52
+ } : T extends {} ? {
53
+ [K in keyof T]?: DeepPartial<T[K]>;
54
+ } : Partial<T>;
55
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
56
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
57
+ [K in keyof P]: Exact<P[K], I[K]>;
58
+ } & {
59
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
60
+ };
61
+ export {};
@@ -0,0 +1,142 @@
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.PBBillboard = exports.BillboardMode = exports.protobufPackage = void 0;
7
+ exports.billboardModeFromJSON = billboardModeFromJSON;
8
+ exports.billboardModeToJSON = billboardModeToJSON;
9
+ /* eslint-disable */
10
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
11
+ exports.protobufPackage = "decentraland.sdk.components";
12
+ /**
13
+ * BillboardMode indicates one or more axis for automatic rotation, in OR-able bit flag form.
14
+ * Only the values below and the (BM_X | BM_Y) combination are valid.
15
+ */
16
+ var BillboardMode;
17
+ (function (BillboardMode) {
18
+ BillboardMode[BillboardMode["BM_NONE"] = 0] = "BM_NONE";
19
+ BillboardMode[BillboardMode["BM_X"] = 1] = "BM_X";
20
+ BillboardMode[BillboardMode["BM_Y"] = 2] = "BM_Y";
21
+ BillboardMode[BillboardMode["BM_Z"] = 4] = "BM_Z";
22
+ /** BM_ALL - bitwise combination BM_X | BM_Y | BM_Z */
23
+ BillboardMode[BillboardMode["BM_ALL"] = 7] = "BM_ALL";
24
+ BillboardMode[BillboardMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
25
+ })(BillboardMode || (exports.BillboardMode = BillboardMode = {}));
26
+ function billboardModeFromJSON(object) {
27
+ switch (object) {
28
+ case 0:
29
+ case "BM_NONE":
30
+ return BillboardMode.BM_NONE;
31
+ case 1:
32
+ case "BM_X":
33
+ return BillboardMode.BM_X;
34
+ case 2:
35
+ case "BM_Y":
36
+ return BillboardMode.BM_Y;
37
+ case 4:
38
+ case "BM_Z":
39
+ return BillboardMode.BM_Z;
40
+ case 7:
41
+ case "BM_ALL":
42
+ return BillboardMode.BM_ALL;
43
+ case -1:
44
+ case "UNRECOGNIZED":
45
+ default:
46
+ return BillboardMode.UNRECOGNIZED;
47
+ }
48
+ }
49
+ function billboardModeToJSON(object) {
50
+ switch (object) {
51
+ case BillboardMode.BM_NONE:
52
+ return "BM_NONE";
53
+ case BillboardMode.BM_X:
54
+ return "BM_X";
55
+ case BillboardMode.BM_Y:
56
+ return "BM_Y";
57
+ case BillboardMode.BM_Z:
58
+ return "BM_Z";
59
+ case BillboardMode.BM_ALL:
60
+ return "BM_ALL";
61
+ case BillboardMode.UNRECOGNIZED:
62
+ default:
63
+ return "UNRECOGNIZED";
64
+ }
65
+ }
66
+ function createBasePBBillboard() {
67
+ return { billboardMode: undefined, targetEntity: undefined };
68
+ }
69
+ var PBBillboard;
70
+ (function (PBBillboard) {
71
+ function encode(message, writer = minimal_1.default.Writer.create()) {
72
+ if (message.billboardMode !== undefined) {
73
+ writer.uint32(8).int32(message.billboardMode);
74
+ }
75
+ if (message.targetEntity !== undefined) {
76
+ writer.uint32(16).uint32(message.targetEntity);
77
+ }
78
+ return writer;
79
+ }
80
+ PBBillboard.encode = encode;
81
+ function decode(input, length) {
82
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
83
+ let end = length === undefined ? reader.len : reader.pos + length;
84
+ const message = createBasePBBillboard();
85
+ while (reader.pos < end) {
86
+ const tag = reader.uint32();
87
+ switch (tag >>> 3) {
88
+ case 1:
89
+ if (tag !== 8) {
90
+ break;
91
+ }
92
+ message.billboardMode = reader.int32();
93
+ continue;
94
+ case 2:
95
+ if (tag !== 16) {
96
+ break;
97
+ }
98
+ message.targetEntity = reader.uint32();
99
+ continue;
100
+ }
101
+ if ((tag & 7) === 4 || tag === 0) {
102
+ break;
103
+ }
104
+ reader.skipType(tag & 7);
105
+ }
106
+ return message;
107
+ }
108
+ PBBillboard.decode = decode;
109
+ function fromJSON(object) {
110
+ return {
111
+ billboardMode: isSet(object.billboardMode) ? billboardModeFromJSON(object.billboardMode) : undefined,
112
+ targetEntity: isSet(object.targetEntity) ? Number(object.targetEntity) : undefined,
113
+ };
114
+ }
115
+ PBBillboard.fromJSON = fromJSON;
116
+ function toJSON(message) {
117
+ const obj = {};
118
+ message.billboardMode !== undefined &&
119
+ (obj.billboardMode = message.billboardMode !== undefined
120
+ ? billboardModeToJSON(message.billboardMode)
121
+ : undefined);
122
+ message.targetEntity !== undefined && (obj.targetEntity = Math.round(message.targetEntity));
123
+ return obj;
124
+ }
125
+ PBBillboard.toJSON = toJSON;
126
+ function create(base) {
127
+ return PBBillboard.fromPartial(base !== null && base !== void 0 ? base : {});
128
+ }
129
+ PBBillboard.create = create;
130
+ function fromPartial(object) {
131
+ var _a, _b;
132
+ const message = createBasePBBillboard();
133
+ message.billboardMode = (_a = object.billboardMode) !== null && _a !== void 0 ? _a : undefined;
134
+ message.targetEntity = (_b = object.targetEntity) !== null && _b !== void 0 ? _b : undefined;
135
+ return message;
136
+ }
137
+ PBBillboard.fromPartial = fromPartial;
138
+ })(PBBillboard || (exports.PBBillboard = PBBillboard = {}));
139
+ function isSet(value) {
140
+ return value !== null && value !== undefined;
141
+ }
142
+ //# sourceMappingURL=billboard.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"billboard.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/billboard.gen.ts"],"names":[],"mappings":";;;;;;AAmBA,sDAsBC;AAED,kDAgBC;AA3DD,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAE7D;;;GAGG;AACH,IAAY,aAQX;AARD,WAAY,aAAa;IACvB,uDAAW,CAAA;IACX,iDAAQ,CAAA;IACR,iDAAQ,CAAA;IACR,iDAAQ,CAAA;IACR,sDAAsD;IACtD,qDAAU,CAAA;IACV,kEAAiB,CAAA;AACnB,CAAC,EARW,aAAa,6BAA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M,SAErB,CAAA;IAED,SAAgB,WAAW,CAA+C,MAAS;;QACjF,MAAM,OAAO,GAAG,qBAAqB,EAAE,CAAC;QACxC,OAAO,CAAC,aAAa,GAAG,MAAA,MAAM,CAAC,aAAa,mCAAI,SAAS,CAAC;QAC1D,OAAO,CAAC,YAAY,GAAG,MAAA,MAAM,CAAC,YAAY,mCAAI,SAAS,CAAC;QACxD,OAAO,OAAO,CAAC;IACjB,CAAC;IALe,uBAAW,cAK1B,CAAA;AACH,CAAC,EApEgB,WAAW,2BAAX,WAAW,QAoE3B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,46 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { Color3 } from "../../common/colors.gen";
3
+ export declare const protobufPackage = "decentraland.sdk.components";
4
+ export interface PBCameraLayer {
5
+ /**
6
+ * layer to which these settings apply. must be > 0
7
+ * Layer 0 is the default "real world" layer viewed by the player and cannot be modified.
8
+ */
9
+ layer: number;
10
+ /** should the sun light affect this layer? default false */
11
+ directionalLight?: boolean | undefined;
12
+ /** should this layer show player avatars? default false */
13
+ showAvatars?: boolean | undefined;
14
+ /** should this layer show the sky? default false */
15
+ showSkybox?: boolean | undefined;
16
+ /** should this layer show distance fog? default false */
17
+ showFog?: boolean | undefined;
18
+ /** ambient light overrides for this layer. default -> use same as main camera */
19
+ ambientColorOverride?: Color3 | undefined;
20
+ ambientBrightnessOverride?: number | undefined;
21
+ }
22
+ export declare namespace PBCameraLayer {
23
+ function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
24
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
25
+ function fromJSON(object: any): PBCameraLayer;
26
+ function toJSON(message: PBCameraLayer): unknown;
27
+ function create<I extends Exact<DeepPartial<PBCameraLayer>, I>>(base?: I): PBCameraLayer;
28
+ function fromPartial<I extends Exact<DeepPartial<PBCameraLayer>, I>>(object: I): PBCameraLayer;
29
+ }
30
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
31
+ 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 {
32
+ $case: string;
33
+ } ? {
34
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
35
+ } & {
36
+ $case: T["$case"];
37
+ } : T extends {} ? {
38
+ [K in keyof T]?: DeepPartial<T[K]>;
39
+ } : Partial<T>;
40
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
41
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
42
+ [K in keyof P]: Exact<P[K], I[K]>;
43
+ } & {
44
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
45
+ };
46
+ export {};