@dcl/protocol 1.0.0-2731649607.commit-890a990 → 1.0.0-27574288540.commit-f0df3e0

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 (529) hide show
  1. package/README.md +269 -0
  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 +105 -0
  21. package/out-js/decentraland/common/texture.gen.js +475 -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 +303 -0
  57. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1056 -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 +334 -0
  81. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +2093 -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 +224 -0
  87. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1204 -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 +37 -0
  111. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +95 -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 +36 -0
  114. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
  115. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
  116. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +60 -0
  117. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +153 -0
  118. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
  119. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +82 -0
  120. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +298 -0
  121. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
  122. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +54 -0
  123. package/out-js/decentraland/sdk/components/billboard.gen.js +128 -0
  124. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
  125. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
  126. package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
  127. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
  128. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
  129. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
  130. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
  131. package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
  132. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
  133. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
  134. package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
  135. package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
  136. package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
  137. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +41 -0
  138. package/out-js/decentraland/sdk/components/common/input_action.gen.js +209 -0
  139. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
  140. package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
  141. package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
  142. package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
  143. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
  144. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
  145. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
  146. package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
  147. package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
  148. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
  149. package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +41 -0
  150. package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
  151. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  152. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
  153. package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
  154. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
  155. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
  156. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
  157. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
  158. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
  159. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
  160. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
  161. package/out-js/decentraland/sdk/components/material.gen.d.ts +108 -0
  162. package/out-js/decentraland/sdk/components/material.gen.js +536 -0
  163. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
  164. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +130 -0
  165. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +471 -0
  166. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
  167. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +104 -0
  168. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
  169. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
  170. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
  171. package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
  172. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
  173. package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
  174. package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
  175. package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
  176. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +110 -0
  177. package/out-js/decentraland/sdk/components/pointer_events.gen.js +306 -0
  178. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
  179. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
  180. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
  181. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
  182. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
  183. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
  184. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
  185. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
  186. package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
  187. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
  188. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
  189. package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
  190. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
  191. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
  192. package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
  193. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
  194. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
  195. package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
  196. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
  197. package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
  198. package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
  199. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  200. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  201. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
  202. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  203. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  204. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  205. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  206. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
  207. package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
  208. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
  209. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
  210. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
  211. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
  212. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
  213. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
  214. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
  215. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
  216. package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
  217. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
  218. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
  219. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
  220. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
  221. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
  222. package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -0
  223. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
  224. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +238 -0
  225. package/out-js/decentraland/sdk/components/ui_transform.gen.js +1547 -0
  226. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
  227. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +51 -0
  228. package/out-js/decentraland/sdk/components/video_player.gen.js +177 -0
  229. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
  230. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
  231. package/out-js/decentraland/sdk/components/visibility_component.gen.js +83 -0
  232. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
  233. package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
  234. package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
  235. package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
  236. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
  237. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
  238. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
  239. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
  240. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
  241. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
  242. package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
  243. package/out-js/decentraland/social_service/errors.gen.js +405 -0
  244. package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
  245. package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
  246. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
  247. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
  248. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
  249. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
  250. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
  251. package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
  252. package/out-js/google/protobuf/descriptor.gen.js +3173 -0
  253. package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
  254. package/out-js/google/protobuf/empty.gen.d.ts +38 -0
  255. package/out-js/google/protobuf/empty.gen.js +54 -0
  256. package/out-js/google/protobuf/empty.gen.js.map +1 -0
  257. package/out-js/quests.gen.d.ts +1 -0
  258. package/out-js/quests.gen.js +6 -0
  259. package/out-js/quests.gen.js.map +1 -0
  260. package/out-js/sdk-apis.gen.d.ts +1 -0
  261. package/out-js/sdk-apis.gen.js +6 -0
  262. package/out-js/sdk-apis.gen.js.map +1 -0
  263. package/out-js/sdk-components.gen.d.ts +1 -0
  264. package/out-js/sdk-components.gen.js +6 -0
  265. package/out-js/sdk-components.gen.js.map +1 -0
  266. package/out-js/sdk-development.gen.d.ts +1 -0
  267. package/out-js/sdk-development.gen.js +6 -0
  268. package/out-js/sdk-development.gen.js.map +1 -0
  269. package/out-js/social.gen.d.ts +1 -0
  270. package/out-js/social.gen.js +6 -0
  271. package/out-js/social.gen.js.map +1 -0
  272. package/out-ts/about.gen.ts +3 -0
  273. package/out-ts/comms.gen.ts +3 -0
  274. package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
  275. package/out-ts/decentraland/common/colors.gen.ts +293 -0
  276. package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
  277. package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
  278. package/out-ts/decentraland/common/texture.gen.ts +539 -0
  279. package/out-ts/decentraland/common/vectors.gen.ts +377 -0
  280. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
  281. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +434 -0
  282. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
  283. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
  284. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
  285. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
  286. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
  287. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
  288. package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
  289. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
  290. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1150 -0
  291. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
  292. package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
  293. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
  294. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
  295. package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
  296. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
  297. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
  298. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2389 -0
  299. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
  300. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1338 -0
  301. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  302. package/out-ts/decentraland/realm/about.gen.ts +1415 -0
  303. package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
  304. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
  305. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +182 -0
  306. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
  307. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
  308. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +115 -0
  309. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
  310. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +188 -0
  311. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +383 -0
  312. package/out-ts/decentraland/sdk/components/billboard.gen.ts +148 -0
  313. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
  314. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
  315. package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
  316. package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
  317. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +206 -0
  318. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  319. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
  320. package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
  321. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
  322. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
  323. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
  324. package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
  325. package/out-ts/decentraland/sdk/components/material.gen.ts +655 -0
  326. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +536 -0
  327. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
  328. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
  329. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  330. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +415 -0
  331. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
  332. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
  333. package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
  334. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
  335. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
  336. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
  337. package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
  338. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  339. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  340. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
  341. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
  342. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
  343. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
  344. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
  345. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
  346. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1775 -0
  347. package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
  348. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -0
  349. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  350. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  351. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  352. package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
  353. package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
  354. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
  355. package/out-ts/google/protobuf/descriptor.gen.ts +3470 -0
  356. package/out-ts/google/protobuf/empty.gen.ts +72 -0
  357. package/out-ts/quests.gen.ts +3 -0
  358. package/out-ts/sdk-apis.gen.ts +3 -0
  359. package/out-ts/sdk-components.gen.ts +3 -0
  360. package/out-ts/sdk-development.gen.ts +3 -0
  361. package/out-ts/social.gen.ts +3 -0
  362. package/package.json +29 -10
  363. package/proto/decentraland/common/border_rect.proto +18 -0
  364. package/proto/decentraland/common/colors.proto +21 -0
  365. package/proto/decentraland/common/content_mapping.proto +7 -0
  366. package/proto/decentraland/common/entity.proto +13 -0
  367. package/proto/decentraland/common/floats.proto +8 -0
  368. package/proto/decentraland/common/options.proto +30 -0
  369. package/proto/decentraland/common/quantization_example.proto +132 -0
  370. package/{kernel/apis/UserIdentity.proto → proto/decentraland/common/sdk/user_data.proto} +1 -17
  371. package/proto/decentraland/common/texture.proto +45 -0
  372. package/proto/decentraland/common/vectors.proto +26 -0
  373. package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
  374. package/proto/decentraland/kernel/apis/communications_controller.proto +29 -0
  375. package/{kernel/apis/DevTools.proto → proto/decentraland/kernel/apis/dev_tools.proto} +3 -0
  376. package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
  377. package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
  378. package/{kernel/apis/EthereumController.proto → proto/decentraland/kernel/apis/ethereum_controller.proto} +12 -1
  379. package/{kernel/apis/ParcelIdentity.proto → proto/decentraland/kernel/apis/parcel_identity.proto} +6 -5
  380. package/proto/decentraland/kernel/apis/permissions.proto +36 -0
  381. package/proto/decentraland/kernel/apis/players.proto +35 -0
  382. package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
  383. package/proto/decentraland/kernel/apis/restricted_actions.proto +100 -0
  384. package/proto/decentraland/kernel/apis/runtime.proto +71 -0
  385. package/proto/decentraland/kernel/apis/scene.proto +16 -0
  386. package/{kernel/apis/SignedFetch.proto → proto/decentraland/kernel/apis/signed_fetch.proto} +9 -0
  387. package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
  388. package/proto/decentraland/kernel/apis/testing.proto +100 -0
  389. package/{kernel/apis/UserActionModule.proto → proto/decentraland/kernel/apis/user_action_module.proto} +2 -0
  390. package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
  391. package/proto/decentraland/kernel/comms/rfc4/comms.proto +176 -0
  392. package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +104 -0
  393. package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
  394. package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
  395. package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
  396. package/proto/decentraland/kernel/comms/v3/archipelago.proto +86 -0
  397. package/proto/decentraland/kernel/comms/v3/comms.proto +64 -0
  398. package/proto/decentraland/pulse/pulse_client.proto +77 -0
  399. package/proto/decentraland/pulse/pulse_server.proto +138 -0
  400. package/proto/decentraland/pulse/pulse_shared.proto +48 -0
  401. package/proto/decentraland/quests/definitions.proto +185 -0
  402. package/proto/decentraland/realm/about.proto +138 -0
  403. package/{ecs → proto/decentraland/sdk}/components/README.md +3 -3
  404. package/proto/decentraland/sdk/components/animator.proto +31 -0
  405. package/proto/decentraland/sdk/components/asset_load.proto +10 -0
  406. package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
  407. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  408. package/proto/decentraland/sdk/components/audio_event.proto +12 -0
  409. package/proto/decentraland/sdk/components/audio_source.proto +31 -0
  410. package/proto/decentraland/sdk/components/audio_stream.proto +22 -0
  411. package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
  412. package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
  413. package/proto/decentraland/sdk/components/avatar_emote_command.proto +13 -0
  414. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
  415. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
  416. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +32 -0
  417. package/proto/decentraland/sdk/components/avatar_shape.proto +49 -0
  418. package/proto/decentraland/sdk/components/billboard.proto +29 -0
  419. package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
  420. package/proto/decentraland/sdk/components/camera_mode_area.proto +25 -0
  421. package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
  422. package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
  423. package/{ecs → proto/decentraland/sdk}/components/common/id.proto +1 -0
  424. package/proto/decentraland/sdk/components/common/input_action.proto +37 -0
  425. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  426. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  427. package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
  428. package/proto/decentraland/sdk/components/common/texts.proto +21 -0
  429. package/proto/decentraland/sdk/components/engine_info.proto +15 -0
  430. package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
  431. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
  432. package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
  433. package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
  434. package/proto/decentraland/sdk/components/light_source.proto +28 -0
  435. package/proto/decentraland/sdk/components/main_camera.proto +11 -0
  436. package/proto/decentraland/sdk/components/map_pin.proto +16 -0
  437. package/proto/decentraland/sdk/components/material.proto +57 -0
  438. package/proto/decentraland/sdk/components/mesh_collider.proto +62 -0
  439. package/proto/decentraland/sdk/components/mesh_renderer.proto +43 -0
  440. package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
  441. package/proto/decentraland/sdk/components/particle_system.proto +133 -0
  442. package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
  443. package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
  444. package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
  445. package/proto/decentraland/sdk/components/pointer_events.proto +64 -0
  446. package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
  447. package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
  448. package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
  449. package/proto/decentraland/sdk/components/raycast.proto +58 -0
  450. package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
  451. package/proto/decentraland/sdk/components/realm_info.proto +15 -0
  452. package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
  453. package/proto/decentraland/sdk/components/text_shape.proto +45 -0
  454. package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
  455. package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
  456. package/proto/decentraland/sdk/components/tween.proto +117 -0
  457. package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
  458. package/proto/decentraland/sdk/components/tween_state.proto +18 -0
  459. package/proto/decentraland/sdk/components/ui_background.proto +34 -0
  460. package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
  461. package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
  462. package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
  463. package/proto/decentraland/sdk/components/ui_input.proto +20 -0
  464. package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
  465. package/proto/decentraland/sdk/components/ui_text.proto +26 -0
  466. package/proto/decentraland/sdk/components/ui_transform.proto +178 -0
  467. package/proto/decentraland/sdk/components/video_event.proto +25 -0
  468. package/proto/decentraland/sdk/components/video_player.proto +24 -0
  469. package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
  470. package/proto/decentraland/sdk/components/visibility_component.proto +16 -0
  471. package/proto/decentraland/sdk/development/local_development.proto +29 -0
  472. package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
  473. package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
  474. package/proto/decentraland/social_service/errors.proto +30 -0
  475. package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
  476. package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
  477. package/protoc-gen-bitwise/generator_csharp.js +215 -0
  478. package/protoc-gen-bitwise/options.js +108 -0
  479. package/protoc-gen-bitwise/plugin.js +87 -0
  480. package/protoc-gen-bitwise/runtime/cs/BitReader.cs +112 -0
  481. package/protoc-gen-bitwise/runtime/cs/BitWriter.cs +117 -0
  482. package/protoc-gen-bitwise/runtime/cs/Quantize.cs +35 -0
  483. package/protoc-gen-bitwise/wire.js +239 -0
  484. package/public/about.proto +5 -0
  485. package/public/comms.proto +5 -0
  486. package/public/quests.proto +5 -0
  487. package/public/sdk-apis.proto +25 -0
  488. package/public/sdk-components.proto +43 -0
  489. package/public/sdk-development.proto +5 -0
  490. package/public/social.proto +6 -0
  491. package/ecs/components/Animator.proto +0 -18
  492. package/ecs/components/AudioSource.proto +0 -12
  493. package/ecs/components/AudioStream.proto +0 -10
  494. package/ecs/components/AvatarAttach.proto +0 -16
  495. package/ecs/components/AvatarModifierArea.proto +0 -16
  496. package/ecs/components/AvatarShape.proto +0 -20
  497. package/ecs/components/Billboard.proto +0 -10
  498. package/ecs/components/BoxShape.proto +0 -11
  499. package/ecs/components/CameraModeArea.proto +0 -15
  500. package/ecs/components/CylinderShape.proto +0 -12
  501. package/ecs/components/GLTFShape.proto +0 -11
  502. package/ecs/components/NFTShape.proto +0 -16
  503. package/ecs/components/OnPointerDown.proto +0 -12
  504. package/ecs/components/OnPointerDownResult.proto +0 -17
  505. package/ecs/components/OnPointerUp.proto +0 -12
  506. package/ecs/components/OnPointerUpResult.proto +0 -17
  507. package/ecs/components/PlaneShape.proto +0 -11
  508. package/ecs/components/SphereShape.proto +0 -10
  509. package/ecs/components/TextShape.proto +0 -33
  510. package/ecs/components/UiTransform.proto +0 -159
  511. package/ecs/components/common/ActionButton.proto +0 -18
  512. package/ecs/components/common/Color3.proto +0 -8
  513. package/ecs/components/common/Vector3.proto +0 -7
  514. package/kernel/apis/CommunicationsController.proto +0 -11
  515. package/kernel/apis/EngineAPI.proto +0 -180
  516. package/kernel/apis/EnvironmentAPI.proto +0 -70
  517. package/kernel/apis/ExperimentalAPI.proto +0 -16
  518. package/kernel/apis/Permissions.proto +0 -30
  519. package/kernel/apis/Players.proto +0 -28
  520. package/kernel/apis/PortableExperiences.proto +0 -40
  521. package/kernel/apis/RestrictedActions.proto +0 -25
  522. package/kernel/apis/SceneStateStorageController.proto +0 -114
  523. package/kernel/apis/SocialController.proto +0 -15
  524. package/kernel/comms/v1/broker.proto +0 -114
  525. package/kernel/comms/v1/comms.proto +0 -68
  526. package/kernel/comms/v2/comms.proto +0 -59
  527. package/renderer-protocol/RendererProtocol.proto +0 -24
  528. /package/{ecs → proto/decentraland/sdk}/components/Transform.md +0 -0
  529. /package/{ecs → proto/decentraland/sdk}/components/common/id.md +0 -0
@@ -0,0 +1,48 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { Vector3 } from "../../common/vectors.gen";
3
+ import { CameraType } from "./common/camera_type.gen";
4
+ export declare const protobufPackage = "decentraland.sdk.components";
5
+ /**
6
+ * The CameraModeArea component can be attached to an Entity to define a region of space where
7
+ * the player's camera mode (1st-person or 3rd-person) is overridden.
8
+ *
9
+ * The Entity's Transform position determines the center-point of the region, while its size is
10
+ * given as a vector in the `area` property below. The Transform rotation is applied, but the scale
11
+ * is ignored.
12
+ *
13
+ * When players leave the region, their previous setting is restored.
14
+ *
15
+ * Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
16
+ * is actually a 3D volume.
17
+ */
18
+ export interface PBCameraModeArea {
19
+ /** the 3D size of the region */
20
+ area: Vector3 | undefined;
21
+ /** the camera mode to enforce */
22
+ mode: CameraType;
23
+ }
24
+ export declare namespace PBCameraModeArea {
25
+ function encode(message: PBCameraModeArea, writer?: _m0.Writer): _m0.Writer;
26
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraModeArea;
27
+ function fromJSON(object: any): PBCameraModeArea;
28
+ function toJSON(message: PBCameraModeArea): unknown;
29
+ function create<I extends Exact<DeepPartial<PBCameraModeArea>, I>>(base?: I): PBCameraModeArea;
30
+ function fromPartial<I extends Exact<DeepPartial<PBCameraModeArea>, I>>(object: I): PBCameraModeArea;
31
+ }
32
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
33
+ 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 {
34
+ $case: string;
35
+ } ? {
36
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
37
+ } & {
38
+ $case: T["$case"];
39
+ } : T extends {} ? {
40
+ [K in keyof T]?: DeepPartial<T[K]>;
41
+ } : Partial<T>;
42
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
43
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
44
+ [K in keyof P]: Exact<P[K], I[K]>;
45
+ } & {
46
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
47
+ };
48
+ export {};
@@ -0,0 +1,85 @@
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.PBCameraModeArea = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ const vectors_gen_1 = require("../../common/vectors.gen");
10
+ const camera_type_gen_1 = require("./common/camera_type.gen");
11
+ exports.protobufPackage = "decentraland.sdk.components";
12
+ function createBasePBCameraModeArea() {
13
+ return { area: undefined, mode: 0 };
14
+ }
15
+ var PBCameraModeArea;
16
+ (function (PBCameraModeArea) {
17
+ function encode(message, writer = minimal_1.default.Writer.create()) {
18
+ if (message.area !== undefined) {
19
+ vectors_gen_1.Vector3.encode(message.area, writer.uint32(10).fork()).ldelim();
20
+ }
21
+ if (message.mode !== 0) {
22
+ writer.uint32(16).int32(message.mode);
23
+ }
24
+ return writer;
25
+ }
26
+ PBCameraModeArea.encode = encode;
27
+ function decode(input, length) {
28
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
29
+ let end = length === undefined ? reader.len : reader.pos + length;
30
+ const message = createBasePBCameraModeArea();
31
+ while (reader.pos < end) {
32
+ const tag = reader.uint32();
33
+ switch (tag >>> 3) {
34
+ case 1:
35
+ if (tag !== 10) {
36
+ break;
37
+ }
38
+ message.area = vectors_gen_1.Vector3.decode(reader, reader.uint32());
39
+ continue;
40
+ case 2:
41
+ if (tag !== 16) {
42
+ break;
43
+ }
44
+ message.mode = reader.int32();
45
+ continue;
46
+ }
47
+ if ((tag & 7) === 4 || tag === 0) {
48
+ break;
49
+ }
50
+ reader.skipType(tag & 7);
51
+ }
52
+ return message;
53
+ }
54
+ PBCameraModeArea.decode = decode;
55
+ function fromJSON(object) {
56
+ return {
57
+ area: isSet(object.area) ? vectors_gen_1.Vector3.fromJSON(object.area) : undefined,
58
+ mode: isSet(object.mode) ? (0, camera_type_gen_1.cameraTypeFromJSON)(object.mode) : 0,
59
+ };
60
+ }
61
+ PBCameraModeArea.fromJSON = fromJSON;
62
+ function toJSON(message) {
63
+ const obj = {};
64
+ message.area !== undefined && (obj.area = message.area ? vectors_gen_1.Vector3.toJSON(message.area) : undefined);
65
+ message.mode !== undefined && (obj.mode = (0, camera_type_gen_1.cameraTypeToJSON)(message.mode));
66
+ return obj;
67
+ }
68
+ PBCameraModeArea.toJSON = toJSON;
69
+ function create(base) {
70
+ return PBCameraModeArea.fromPartial(base !== null && base !== void 0 ? base : {});
71
+ }
72
+ PBCameraModeArea.create = create;
73
+ function fromPartial(object) {
74
+ var _a;
75
+ const message = createBasePBCameraModeArea();
76
+ message.area = (object.area !== undefined && object.area !== null) ? vectors_gen_1.Vector3.fromPartial(object.area) : undefined;
77
+ message.mode = (_a = object.mode) !== null && _a !== void 0 ? _a : 0;
78
+ return message;
79
+ }
80
+ PBCameraModeArea.fromPartial = fromPartial;
81
+ })(PBCameraModeArea || (exports.PBCameraModeArea = PBCameraModeArea = {}));
82
+ function isSet(value) {
83
+ return value !== null && value !== undefined;
84
+ }
85
+ //# sourceMappingURL=camera_mode_area.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camera_mode_area.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentra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,CAAC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,qBAAO,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;QACnG,OAAO,CAAC,IAAI,KAAK,SAAS,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,IAAA,kCAAgB,EAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QAC1E,OAAO,GAAG,CAAC;IACb,CAAC;IALe,uBAAM,SAKrB,CAAA;IAED,SAAgB,MAAM,CAAoD,IAAQ;QAChF,OAAO,gBAAgB,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC;IAClD,CAAC;IAFe,uBAAM,SAErB,CAAA;IAED,SAAgB,WAAW,CAAoD,MAAS;;QACtF,MAAM,OAAO,GAAG,0BAA0B,EAAE,CAAC;QAC7C,OAAO,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,KAAK,SAAS,IAAI,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,qBAAO,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAClH,OAAO,CAAC,IAAI,GAAG,MAAA,MAAM,CAAC,IAAI,mCAAI,CAAC,CAAC;QAChC,OAAO,OAAO,CAAC;IACjB,CAAC;IALe,4BAAW,cAK1B,CAAA;AACH,CAAC,EAjEgB,gBAAgB,gCAAhB,gBAAgB,QAiEhC;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,10 @@
1
+ export declare const protobufPackage = "decentraland.sdk.components.common";
2
+ export declare enum CameraType {
3
+ CT_FIRST_PERSON = 0,
4
+ CT_THIRD_PERSON = 1,
5
+ /** CT_CINEMATIC - controlled by the scene */
6
+ CT_CINEMATIC = 2,
7
+ UNRECOGNIZED = -1
8
+ }
9
+ export declare function cameraTypeFromJSON(object: any): CameraType;
10
+ export declare function cameraTypeToJSON(object: CameraType): string;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CameraType = exports.protobufPackage = void 0;
5
+ exports.cameraTypeFromJSON = cameraTypeFromJSON;
6
+ exports.cameraTypeToJSON = cameraTypeToJSON;
7
+ exports.protobufPackage = "decentraland.sdk.components.common";
8
+ var CameraType;
9
+ (function (CameraType) {
10
+ CameraType[CameraType["CT_FIRST_PERSON"] = 0] = "CT_FIRST_PERSON";
11
+ CameraType[CameraType["CT_THIRD_PERSON"] = 1] = "CT_THIRD_PERSON";
12
+ /** CT_CINEMATIC - controlled by the scene */
13
+ CameraType[CameraType["CT_CINEMATIC"] = 2] = "CT_CINEMATIC";
14
+ CameraType[CameraType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
15
+ })(CameraType || (exports.CameraType = CameraType = {}));
16
+ function cameraTypeFromJSON(object) {
17
+ switch (object) {
18
+ case 0:
19
+ case "CT_FIRST_PERSON":
20
+ return CameraType.CT_FIRST_PERSON;
21
+ case 1:
22
+ case "CT_THIRD_PERSON":
23
+ return CameraType.CT_THIRD_PERSON;
24
+ case 2:
25
+ case "CT_CINEMATIC":
26
+ return CameraType.CT_CINEMATIC;
27
+ case -1:
28
+ case "UNRECOGNIZED":
29
+ default:
30
+ return CameraType.UNRECOGNIZED;
31
+ }
32
+ }
33
+ function cameraTypeToJSON(object) {
34
+ switch (object) {
35
+ case CameraType.CT_FIRST_PERSON:
36
+ return "CT_FIRST_PERSON";
37
+ case CameraType.CT_THIRD_PERSON:
38
+ return "CT_THIRD_PERSON";
39
+ case CameraType.CT_CINEMATIC:
40
+ return "CT_CINEMATIC";
41
+ case CameraType.UNRECOGNIZED:
42
+ default:
43
+ return "UNRECOGNIZED";
44
+ }
45
+ }
46
+ //# sourceMappingURL=camera_type.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camera_type.gen.js","sourceRoot":"","sources":["../../../../../out-ts/decentraland/sdk/components/common/camera_type.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAYpB,gDAgBC;AAED,4CAYC;AAxCY,QAAA,eAAe,GAAG,oCAAoC,CAAC;AAEpE,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,iEAAmB,CAAA;IACnB,iEAAmB,CAAA;IACnB,6CAA6C;IAC7C,2DAAgB,CAAA;IAChB,4DAAiB,CAAA;AACnB,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAED,SAAgB,kBAAkB,CAAC,MAAW;IAC5C,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,CAAC,CAAC;QACP,KAAK,iBAAiB;YACpB,OAAO,UAAU,CAAC,eAAe,CAAC;QACpC,KAAK,CAAC,CAAC;QACP,KAAK,iBAAiB;YACpB,OAAO,UAAU,CAAC,eAAe,CAAC;QACpC,KAAK,CAAC,CAAC;QACP,KAAK,cAAc;YACjB,OAAO,UAAU,CAAC,YAAY,CAAC;QACjC,KAAK,CAAC,CAAC,CAAC;QACR,KAAK,cAAc,CAAC;QACpB;YACE,OAAO,UAAU,CAAC,YAAY,CAAC;IACnC,CAAC;AACH,CAAC;AAED,SAAgB,gBAAgB,CAAC,MAAkB;IACjD,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,UAAU,CAAC,eAAe;YAC7B,OAAO,iBAAiB,CAAC;QAC3B,KAAK,UAAU,CAAC,eAAe;YAC7B,OAAO,iBAAiB,CAAC;QAC3B,KAAK,UAAU,CAAC,YAAY;YAC1B,OAAO,cAAc,CAAC;QACxB,KAAK,UAAU,CAAC,YAAY,CAAC;QAC7B;YACE,OAAO,cAAc,CAAC;IAC1B,CAAC;AACH,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const protobufPackage = "decentraland.sdk.components.common";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.protobufPackage = void 0;
5
+ exports.protobufPackage = "decentraland.sdk.components.common";
6
+ //# sourceMappingURL=id.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"id.gen.js","sourceRoot":"","sources":["../../../../../out-ts/decentraland/sdk/components/common/id.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAEP,QAAA,eAAe,GAAG,oCAAoC,CAAC"}
@@ -0,0 +1,41 @@
1
+ export declare const protobufPackage = "decentraland.sdk.components.common";
2
+ export declare enum InputAction {
3
+ IA_POINTER = 0,
4
+ IA_PRIMARY = 1,
5
+ IA_SECONDARY = 2,
6
+ IA_ANY = 3,
7
+ IA_FORWARD = 4,
8
+ IA_BACKWARD = 5,
9
+ IA_RIGHT = 6,
10
+ IA_LEFT = 7,
11
+ IA_JUMP = 8,
12
+ IA_WALK = 9,
13
+ IA_ACTION_3 = 10,
14
+ IA_ACTION_4 = 11,
15
+ IA_ACTION_5 = 12,
16
+ IA_ACTION_6 = 13,
17
+ /** IA_MODIFIER - Modifier key (Shift on desktop) */
18
+ IA_MODIFIER = 14,
19
+ UNRECOGNIZED = -1
20
+ }
21
+ export declare function inputActionFromJSON(object: any): InputAction;
22
+ export declare function inputActionToJSON(object: InputAction): string;
23
+ /** PointerEventType is a kind of interaction that can be detected. */
24
+ export declare enum PointerEventType {
25
+ PET_UP = 0,
26
+ PET_DOWN = 1,
27
+ PET_HOVER_ENTER = 2,
28
+ PET_HOVER_LEAVE = 3,
29
+ PET_PROXIMITY_ENTER = 4,
30
+ PET_PROXIMITY_LEAVE = 5,
31
+ UNRECOGNIZED = -1
32
+ }
33
+ export declare function pointerEventTypeFromJSON(object: any): PointerEventType;
34
+ export declare function pointerEventTypeToJSON(object: PointerEventType): string;
35
+ export declare enum InteractionType {
36
+ CURSOR = 0,
37
+ PROXIMITY = 1,
38
+ UNRECOGNIZED = -1
39
+ }
40
+ export declare function interactionTypeFromJSON(object: any): InteractionType;
41
+ export declare function interactionTypeToJSON(object: InteractionType): string;
@@ -0,0 +1,209 @@
1
+ "use strict";
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.InteractionType = exports.PointerEventType = exports.InputAction = exports.protobufPackage = void 0;
5
+ exports.inputActionFromJSON = inputActionFromJSON;
6
+ exports.inputActionToJSON = inputActionToJSON;
7
+ exports.pointerEventTypeFromJSON = pointerEventTypeFromJSON;
8
+ exports.pointerEventTypeToJSON = pointerEventTypeToJSON;
9
+ exports.interactionTypeFromJSON = interactionTypeFromJSON;
10
+ exports.interactionTypeToJSON = interactionTypeToJSON;
11
+ exports.protobufPackage = "decentraland.sdk.components.common";
12
+ var InputAction;
13
+ (function (InputAction) {
14
+ InputAction[InputAction["IA_POINTER"] = 0] = "IA_POINTER";
15
+ InputAction[InputAction["IA_PRIMARY"] = 1] = "IA_PRIMARY";
16
+ InputAction[InputAction["IA_SECONDARY"] = 2] = "IA_SECONDARY";
17
+ InputAction[InputAction["IA_ANY"] = 3] = "IA_ANY";
18
+ InputAction[InputAction["IA_FORWARD"] = 4] = "IA_FORWARD";
19
+ InputAction[InputAction["IA_BACKWARD"] = 5] = "IA_BACKWARD";
20
+ InputAction[InputAction["IA_RIGHT"] = 6] = "IA_RIGHT";
21
+ InputAction[InputAction["IA_LEFT"] = 7] = "IA_LEFT";
22
+ InputAction[InputAction["IA_JUMP"] = 8] = "IA_JUMP";
23
+ InputAction[InputAction["IA_WALK"] = 9] = "IA_WALK";
24
+ InputAction[InputAction["IA_ACTION_3"] = 10] = "IA_ACTION_3";
25
+ InputAction[InputAction["IA_ACTION_4"] = 11] = "IA_ACTION_4";
26
+ InputAction[InputAction["IA_ACTION_5"] = 12] = "IA_ACTION_5";
27
+ InputAction[InputAction["IA_ACTION_6"] = 13] = "IA_ACTION_6";
28
+ /** IA_MODIFIER - Modifier key (Shift on desktop) */
29
+ InputAction[InputAction["IA_MODIFIER"] = 14] = "IA_MODIFIER";
30
+ InputAction[InputAction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
31
+ })(InputAction || (exports.InputAction = InputAction = {}));
32
+ function inputActionFromJSON(object) {
33
+ switch (object) {
34
+ case 0:
35
+ case "IA_POINTER":
36
+ return InputAction.IA_POINTER;
37
+ case 1:
38
+ case "IA_PRIMARY":
39
+ return InputAction.IA_PRIMARY;
40
+ case 2:
41
+ case "IA_SECONDARY":
42
+ return InputAction.IA_SECONDARY;
43
+ case 3:
44
+ case "IA_ANY":
45
+ return InputAction.IA_ANY;
46
+ case 4:
47
+ case "IA_FORWARD":
48
+ return InputAction.IA_FORWARD;
49
+ case 5:
50
+ case "IA_BACKWARD":
51
+ return InputAction.IA_BACKWARD;
52
+ case 6:
53
+ case "IA_RIGHT":
54
+ return InputAction.IA_RIGHT;
55
+ case 7:
56
+ case "IA_LEFT":
57
+ return InputAction.IA_LEFT;
58
+ case 8:
59
+ case "IA_JUMP":
60
+ return InputAction.IA_JUMP;
61
+ case 9:
62
+ case "IA_WALK":
63
+ return InputAction.IA_WALK;
64
+ case 10:
65
+ case "IA_ACTION_3":
66
+ return InputAction.IA_ACTION_3;
67
+ case 11:
68
+ case "IA_ACTION_4":
69
+ return InputAction.IA_ACTION_4;
70
+ case 12:
71
+ case "IA_ACTION_5":
72
+ return InputAction.IA_ACTION_5;
73
+ case 13:
74
+ case "IA_ACTION_6":
75
+ return InputAction.IA_ACTION_6;
76
+ case 14:
77
+ case "IA_MODIFIER":
78
+ return InputAction.IA_MODIFIER;
79
+ case -1:
80
+ case "UNRECOGNIZED":
81
+ default:
82
+ return InputAction.UNRECOGNIZED;
83
+ }
84
+ }
85
+ function inputActionToJSON(object) {
86
+ switch (object) {
87
+ case InputAction.IA_POINTER:
88
+ return "IA_POINTER";
89
+ case InputAction.IA_PRIMARY:
90
+ return "IA_PRIMARY";
91
+ case InputAction.IA_SECONDARY:
92
+ return "IA_SECONDARY";
93
+ case InputAction.IA_ANY:
94
+ return "IA_ANY";
95
+ case InputAction.IA_FORWARD:
96
+ return "IA_FORWARD";
97
+ case InputAction.IA_BACKWARD:
98
+ return "IA_BACKWARD";
99
+ case InputAction.IA_RIGHT:
100
+ return "IA_RIGHT";
101
+ case InputAction.IA_LEFT:
102
+ return "IA_LEFT";
103
+ case InputAction.IA_JUMP:
104
+ return "IA_JUMP";
105
+ case InputAction.IA_WALK:
106
+ return "IA_WALK";
107
+ case InputAction.IA_ACTION_3:
108
+ return "IA_ACTION_3";
109
+ case InputAction.IA_ACTION_4:
110
+ return "IA_ACTION_4";
111
+ case InputAction.IA_ACTION_5:
112
+ return "IA_ACTION_5";
113
+ case InputAction.IA_ACTION_6:
114
+ return "IA_ACTION_6";
115
+ case InputAction.IA_MODIFIER:
116
+ return "IA_MODIFIER";
117
+ case InputAction.UNRECOGNIZED:
118
+ default:
119
+ return "UNRECOGNIZED";
120
+ }
121
+ }
122
+ /** PointerEventType is a kind of interaction that can be detected. */
123
+ var PointerEventType;
124
+ (function (PointerEventType) {
125
+ PointerEventType[PointerEventType["PET_UP"] = 0] = "PET_UP";
126
+ PointerEventType[PointerEventType["PET_DOWN"] = 1] = "PET_DOWN";
127
+ PointerEventType[PointerEventType["PET_HOVER_ENTER"] = 2] = "PET_HOVER_ENTER";
128
+ PointerEventType[PointerEventType["PET_HOVER_LEAVE"] = 3] = "PET_HOVER_LEAVE";
129
+ PointerEventType[PointerEventType["PET_PROXIMITY_ENTER"] = 4] = "PET_PROXIMITY_ENTER";
130
+ PointerEventType[PointerEventType["PET_PROXIMITY_LEAVE"] = 5] = "PET_PROXIMITY_LEAVE";
131
+ PointerEventType[PointerEventType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
132
+ })(PointerEventType || (exports.PointerEventType = PointerEventType = {}));
133
+ function pointerEventTypeFromJSON(object) {
134
+ switch (object) {
135
+ case 0:
136
+ case "PET_UP":
137
+ return PointerEventType.PET_UP;
138
+ case 1:
139
+ case "PET_DOWN":
140
+ return PointerEventType.PET_DOWN;
141
+ case 2:
142
+ case "PET_HOVER_ENTER":
143
+ return PointerEventType.PET_HOVER_ENTER;
144
+ case 3:
145
+ case "PET_HOVER_LEAVE":
146
+ return PointerEventType.PET_HOVER_LEAVE;
147
+ case 4:
148
+ case "PET_PROXIMITY_ENTER":
149
+ return PointerEventType.PET_PROXIMITY_ENTER;
150
+ case 5:
151
+ case "PET_PROXIMITY_LEAVE":
152
+ return PointerEventType.PET_PROXIMITY_LEAVE;
153
+ case -1:
154
+ case "UNRECOGNIZED":
155
+ default:
156
+ return PointerEventType.UNRECOGNIZED;
157
+ }
158
+ }
159
+ function pointerEventTypeToJSON(object) {
160
+ switch (object) {
161
+ case PointerEventType.PET_UP:
162
+ return "PET_UP";
163
+ case PointerEventType.PET_DOWN:
164
+ return "PET_DOWN";
165
+ case PointerEventType.PET_HOVER_ENTER:
166
+ return "PET_HOVER_ENTER";
167
+ case PointerEventType.PET_HOVER_LEAVE:
168
+ return "PET_HOVER_LEAVE";
169
+ case PointerEventType.PET_PROXIMITY_ENTER:
170
+ return "PET_PROXIMITY_ENTER";
171
+ case PointerEventType.PET_PROXIMITY_LEAVE:
172
+ return "PET_PROXIMITY_LEAVE";
173
+ case PointerEventType.UNRECOGNIZED:
174
+ default:
175
+ return "UNRECOGNIZED";
176
+ }
177
+ }
178
+ var InteractionType;
179
+ (function (InteractionType) {
180
+ InteractionType[InteractionType["CURSOR"] = 0] = "CURSOR";
181
+ InteractionType[InteractionType["PROXIMITY"] = 1] = "PROXIMITY";
182
+ InteractionType[InteractionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
183
+ })(InteractionType || (exports.InteractionType = InteractionType = {}));
184
+ function interactionTypeFromJSON(object) {
185
+ switch (object) {
186
+ case 0:
187
+ case "CURSOR":
188
+ return InteractionType.CURSOR;
189
+ case 1:
190
+ case "PROXIMITY":
191
+ return InteractionType.PROXIMITY;
192
+ case -1:
193
+ case "UNRECOGNIZED":
194
+ default:
195
+ return InteractionType.UNRECOGNIZED;
196
+ }
197
+ }
198
+ function interactionTypeToJSON(object) {
199
+ switch (object) {
200
+ case InteractionType.CURSOR:
201
+ return "CURSOR";
202
+ case InteractionType.PROXIMITY:
203
+ return "PROXIMITY";
204
+ case InteractionType.UNRECOGNIZED:
205
+ default:
206
+ return "UNRECOGNIZED";
207
+ }
208
+ }
209
+ //# sourceMappingURL=input_action.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"input_action.gen.js","sourceRoot":"","sources":["../../../../../out-ts/decentraland/sdk/components/common/input_action.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAwBpB,kDAoDC;AAED,8CAoCC;AAaD,4DAyBC;AAED,wDAkBC;AAQD,0DAaC;AAED,sDAUC;AA3MY,QAAA,eAAe,GAAG,oCAAoC,CAAC;AAEpE,IAAY,WAkBX;AAlBD,WAAY,WAAW;IACrB,yDAAc,CAAA;IACd,yDAAc,CAAA;IACd,6DAAgB,CAAA;IAChB,iDAAU,CAAA;IACV,yDAAc,CAAA;IACd,2DAAe,CAAA;IACf,qDAAY,CAAA;IACZ,mDAAW,CAAA;IACX,mDAAW,CAAA;IACX,mDAAW,CAAA;IACX,4DAAgB,CAAA;IAChB,4DAAgB,CAAA;IAChB,4DAAgB,CAAA;IAChB,4DAAgB,CAAA;IAChB,oDAAoD;IACpD,4DAAgB,CAAA;IAChB,8DAAiB,CAAA;AACnB,CAAC,EAlBW,WAAW,2BAAX,WAAW,QAkBtB;AAED,SAAgB,mBAAmB,CAAC,MAAW;IAC7C,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,CAAC,CAAC;QACP,KAAK,YAAY;YACf,OAAO,WAAW,CAAC,UAAU,CAAC;QAChC,KAAK,CAAC,CAAC;QACP,KAAK,YAAY;YACf,OAAO,WAAW,CAAC,UAAU,CAAC;QAChC,KAAK,CAAC,CAAC;QACP,KAAK,cAAc;YACjB,OAAO,WAAW,CAAC,YAAY,CAAC;QAClC,KAAK,CAAC,CAAC;QACP,K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MAAM,CAAC;QAChC,KAAK,CAAC,CAAC;QACP,KAAK,WAAW;YACd,OAAO,eAAe,CAAC,SAAS,CAAC;QACnC,KAAK,CAAC,CAAC,CAAC;QACR,KAAK,cAAc,CAAC;QACpB;YACE,OAAO,eAAe,CAAC,YAAY,CAAC;IACxC,CAAC;AACH,CAAC;AAED,SAAgB,qBAAqB,CAAC,MAAuB;IAC3D,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,eAAe,CAAC,MAAM;YACzB,OAAO,QAAQ,CAAC;QAClB,KAAK,eAAe,CAAC,SAAS;YAC5B,OAAO,WAAW,CAAC;QACrB,KAAK,eAAe,CAAC,YAAY,CAAC;QAClC;YACE,OAAO,cAAc,CAAC;IAC1B,CAAC;AACH,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare const protobufPackage = "decentraland.sdk.components.common";
2
+ export declare enum LoadingState {
3
+ UNKNOWN = 0,
4
+ LOADING = 1,
5
+ NOT_FOUND = 2,
6
+ FINISHED_WITH_ERROR = 3,
7
+ FINISHED = 4,
8
+ UNRECOGNIZED = -1
9
+ }
10
+ export declare function loadingStateFromJSON(object: any): LoadingState;
11
+ export declare function loadingStateToJSON(object: LoadingState): string;
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.LoadingState = exports.protobufPackage = void 0;
5
+ exports.loadingStateFromJSON = loadingStateFromJSON;
6
+ exports.loadingStateToJSON = loadingStateToJSON;
7
+ exports.protobufPackage = "decentraland.sdk.components.common";
8
+ var LoadingState;
9
+ (function (LoadingState) {
10
+ LoadingState[LoadingState["UNKNOWN"] = 0] = "UNKNOWN";
11
+ LoadingState[LoadingState["LOADING"] = 1] = "LOADING";
12
+ LoadingState[LoadingState["NOT_FOUND"] = 2] = "NOT_FOUND";
13
+ LoadingState[LoadingState["FINISHED_WITH_ERROR"] = 3] = "FINISHED_WITH_ERROR";
14
+ LoadingState[LoadingState["FINISHED"] = 4] = "FINISHED";
15
+ LoadingState[LoadingState["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
16
+ })(LoadingState || (exports.LoadingState = LoadingState = {}));
17
+ function loadingStateFromJSON(object) {
18
+ switch (object) {
19
+ case 0:
20
+ case "UNKNOWN":
21
+ return LoadingState.UNKNOWN;
22
+ case 1:
23
+ case "LOADING":
24
+ return LoadingState.LOADING;
25
+ case 2:
26
+ case "NOT_FOUND":
27
+ return LoadingState.NOT_FOUND;
28
+ case 3:
29
+ case "FINISHED_WITH_ERROR":
30
+ return LoadingState.FINISHED_WITH_ERROR;
31
+ case 4:
32
+ case "FINISHED":
33
+ return LoadingState.FINISHED;
34
+ case -1:
35
+ case "UNRECOGNIZED":
36
+ default:
37
+ return LoadingState.UNRECOGNIZED;
38
+ }
39
+ }
40
+ function loadingStateToJSON(object) {
41
+ switch (object) {
42
+ case LoadingState.UNKNOWN:
43
+ return "UNKNOWN";
44
+ case LoadingState.LOADING:
45
+ return "LOADING";
46
+ case LoadingState.NOT_FOUND:
47
+ return "NOT_FOUND";
48
+ case LoadingState.FINISHED_WITH_ERROR:
49
+ return "FINISHED_WITH_ERROR";
50
+ case LoadingState.FINISHED:
51
+ return "FINISHED";
52
+ case LoadingState.UNRECOGNIZED:
53
+ default:
54
+ return "UNRECOGNIZED";
55
+ }
56
+ }
57
+ //# sourceMappingURL=loading_state.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loading_state.gen.js","sourceRoot":"","sources":["../../../../../out-ts/decentraland/sdk/components/common/loading_state.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAapB,oDAsBC;AAED,gDAgBC;AAnDY,QAAA,eAAe,GAAG,oCAAoC,CAAC;AAEpE,IAAY,YAOX;AAPD,WAAY,YAAY;IACtB,qDAAW,CAAA;IACX,qDAAW,CAAA;IACX,yDAAa,CAAA;IACb,6EAAuB,CAAA;IACvB,uDAAY,CAAA;IACZ,gEAAiB,CAAA;AACnB,CAAC,EAPW,YAAY,4BAAZ,YAAY,QAOvB;AAED,SAAgB,oBAAoB,CAAC,MAAW;IAC9C,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,CAAC,CAAC;QACP,KAAK,SAAS;YACZ,OAAO,YAAY,CAAC,OAAO,CAAC;QAC9B,KAAK,CAAC,CAAC;QACP,KAAK,SAAS;YACZ,OAAO,YAAY,CAAC,OAAO,CAAC;QAC9B,KAAK,CAAC,CAAC;QACP,KAAK,WAAW;YACd,OAAO,YAAY,CAAC,SAAS,CAAC;QAChC,KAAK,CAAC,CAAC;QACP,KAAK,qBAAqB;YACxB,OAAO,YAAY,CAAC,mBAAmB,CAAC;QAC1C,KAAK,CAAC,CAAC;QACP,KAAK,UAAU;YACb,OAAO,YAAY,CAAC,QAAQ,CAAC;QAC/B,KAAK,CAAC,CAAC,CAAC;QACR,KAAK,cAAc,CAAC;QACpB;YACE,OAAO,YAAY,CAAC,YAAY,CAAC;IACrC,CAAC;AACH,CAAC;AAED,SAAgB,kBAAkB,CAAC,MAAoB;IACrD,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,YAAY,CAAC,OAAO;YACvB,OAAO,SAAS,CAAC;QACnB,KAAK,YAAY,CAAC,OAAO;YACvB,OAAO,SAAS,CAAC;QACnB,KAAK,YAAY,CAAC,SAAS;YACzB,OAAO,WAAW,CAAC;QACrB,KAAK,YAAY,CAAC,mBAAmB;YACnC,OAAO,qBAAqB,CAAC;QAC/B,KAAK,YAAY,CAAC,QAAQ;YACxB,OAAO,UAAU,CAAC;QACpB,KAAK,YAAY,CAAC,YAAY,CAAC;QAC/B;YACE,OAAO,cAAc,CAAC;IAC1B,CAAC;AACH,CAAC"}
@@ -0,0 +1,45 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { Vector3 } from "../../../common/vectors.gen";
3
+ export declare const protobufPackage = "decentraland.sdk.components.common";
4
+ /** RaycastHit contains information about the intersection of a ray with a mesh. */
5
+ export interface RaycastHit {
6
+ /** Position will be relative to the scene */
7
+ position: Vector3 | undefined;
8
+ /** the starting point of the ray in global coordinates */
9
+ globalOrigin: Vector3 | undefined;
10
+ /** the direction vector of the ray in global coordinates */
11
+ direction: Vector3 | undefined;
12
+ /** normal of the hit surface in global coordinates */
13
+ normalHit: Vector3 | undefined;
14
+ /** the distance between the ray origin and the hit position */
15
+ length: number;
16
+ /** mesh name, if collision happened inside a GltfContainer */
17
+ meshName?: string | undefined;
18
+ /** the ID of the Entity that has the impacted mesh attached */
19
+ entityId?: number | undefined;
20
+ }
21
+ export declare namespace RaycastHit {
22
+ function encode(message: RaycastHit, writer?: _m0.Writer): _m0.Writer;
23
+ function decode(input: _m0.Reader | Uint8Array, length?: number): RaycastHit;
24
+ function fromJSON(object: any): RaycastHit;
25
+ function toJSON(message: RaycastHit): unknown;
26
+ function create<I extends Exact<DeepPartial<RaycastHit>, I>>(base?: I): RaycastHit;
27
+ function fromPartial<I extends Exact<DeepPartial<RaycastHit>, I>>(object: I): RaycastHit;
28
+ }
29
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
30
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
31
+ $case: string;
32
+ } ? {
33
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
34
+ } & {
35
+ $case: T["$case"];
36
+ } : T extends {} ? {
37
+ [K in keyof T]?: DeepPartial<T[K]>;
38
+ } : Partial<T>;
39
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
40
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
41
+ [K in keyof P]: Exact<P[K], I[K]>;
42
+ } & {
43
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
44
+ };
45
+ export {};