@dcl/protocol 1.0.0-2569677750.commit-6ce832a → 1.0.0-25751414897.commit-a9f7d81

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 +68 -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 +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 +76 -0
  27. package/out-js/decentraland/kernel/apis/comms_api.gen.js +257 -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 +391 -0
  57. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1359 -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 +261 -0
  81. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1639 -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 +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 +45 -0
  117. package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +138 -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 +101 -0
  120. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +391 -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 +36 -0
  123. package/out-js/decentraland/sdk/components/avatar_movement.gen.js +113 -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 +48 -0
  126. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +207 -0
  127. package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +1 -0
  128. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +76 -0
  129. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +282 -0
  130. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
  131. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +54 -0
  132. package/out-js/decentraland/sdk/components/billboard.gen.js +128 -0
  133. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
  134. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
  135. package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
  136. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
  137. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +82 -0
  138. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +254 -0
  139. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
  140. package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
  141. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
  142. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
  143. package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
  144. package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
  145. package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
  146. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +43 -0
  147. package/out-js/decentraland/sdk/components/common/input_action.gen.js +226 -0
  148. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
  149. package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
  150. package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
  151. package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
  152. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
  153. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
  154. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
  155. package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
  156. package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
  157. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
  158. package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +41 -0
  159. package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
  160. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  161. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
  162. package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
  163. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
  164. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +54 -0
  165. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +157 -0
  166. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
  167. package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +66 -0
  168. package/out-js/decentraland/sdk/components/gltf_node.gen.js +69 -0
  169. package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +1 -0
  170. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
  171. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
  172. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
  173. package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +43 -0
  174. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +122 -0
  175. package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +1 -0
  176. package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +52 -0
  177. package/out-js/decentraland/sdk/components/input_modifier.gen.js +233 -0
  178. package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +1 -0
  179. package/out-js/decentraland/sdk/components/material.gen.d.ts +128 -0
  180. package/out-js/decentraland/sdk/components/material.gen.js +620 -0
  181. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
  182. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +147 -0
  183. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +556 -0
  184. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
  185. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +120 -0
  186. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +468 -0
  187. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
  188. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
  189. package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
  190. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
  191. package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
  192. package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
  193. package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
  194. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +110 -0
  195. package/out-js/decentraland/sdk/components/pointer_events.gen.js +306 -0
  196. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
  197. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
  198. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
  199. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
  200. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
  201. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
  202. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
  203. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +92 -0
  204. package/out-js/decentraland/sdk/components/raycast.gen.js +336 -0
  205. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
  206. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
  207. package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
  208. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
  209. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
  210. package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
  211. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
  212. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
  213. package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
  214. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
  215. package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
  216. package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
  217. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  218. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  219. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
  220. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  221. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  222. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  223. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  224. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
  225. package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
  226. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
  227. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
  228. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
  229. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
  230. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
  231. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
  232. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
  233. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +48 -0
  234. package/out-js/decentraland/sdk/components/ui_input.gen.js +198 -0
  235. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
  236. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
  237. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
  238. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
  239. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +54 -0
  240. package/out-js/decentraland/sdk/components/ui_text.gen.js +206 -0
  241. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
  242. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +271 -0
  243. package/out-js/decentraland/sdk/components/ui_transform.gen.js +1720 -0
  244. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
  245. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +51 -0
  246. package/out-js/decentraland/sdk/components/video_player.gen.js +177 -0
  247. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
  248. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
  249. package/out-js/decentraland/sdk/components/visibility_component.gen.js +83 -0
  250. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
  251. package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
  252. package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
  253. package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
  254. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
  255. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
  256. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
  257. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
  258. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
  259. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
  260. package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
  261. package/out-js/decentraland/social_service/errors.gen.js +405 -0
  262. package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
  263. package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
  264. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
  265. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
  266. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
  267. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
  268. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
  269. package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
  270. package/out-js/google/protobuf/descriptor.gen.js +3173 -0
  271. package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
  272. package/out-js/google/protobuf/empty.gen.d.ts +38 -0
  273. package/out-js/google/protobuf/empty.gen.js +54 -0
  274. package/out-js/google/protobuf/empty.gen.js.map +1 -0
  275. package/out-js/quests.gen.d.ts +1 -0
  276. package/out-js/quests.gen.js +6 -0
  277. package/out-js/quests.gen.js.map +1 -0
  278. package/out-js/sdk-apis.gen.d.ts +1 -0
  279. package/out-js/sdk-apis.gen.js +6 -0
  280. package/out-js/sdk-apis.gen.js.map +1 -0
  281. package/out-js/sdk-components.gen.d.ts +1 -0
  282. package/out-js/sdk-components.gen.js +6 -0
  283. package/out-js/sdk-components.gen.js.map +1 -0
  284. package/out-js/sdk-development.gen.d.ts +1 -0
  285. package/out-js/sdk-development.gen.js +6 -0
  286. package/out-js/sdk-development.gen.js.map +1 -0
  287. package/out-js/social.gen.d.ts +1 -0
  288. package/out-js/social.gen.js +6 -0
  289. package/out-js/social.gen.js.map +1 -0
  290. package/out-ts/about.gen.ts +3 -0
  291. package/out-ts/comms.gen.ts +3 -0
  292. package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
  293. package/out-ts/decentraland/common/colors.gen.ts +293 -0
  294. package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
  295. package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
  296. package/out-ts/decentraland/common/texture.gen.ts +654 -0
  297. package/out-ts/decentraland/common/vectors.gen.ts +377 -0
  298. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +295 -0
  299. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +434 -0
  300. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
  301. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
  302. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
  303. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
  304. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
  305. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
  306. package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
  307. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
  308. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1474 -0
  309. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
  310. package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
  311. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
  312. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
  313. package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
  314. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
  315. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
  316. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1849 -0
  317. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
  318. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1338 -0
  319. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  320. package/out-ts/decentraland/realm/about.gen.ts +1415 -0
  321. package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
  322. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
  323. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +182 -0
  324. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
  325. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
  326. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +115 -0
  327. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +124 -0
  328. package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +183 -0
  329. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +479 -0
  330. package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +136 -0
  331. package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +249 -0
  332. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +371 -0
  333. package/out-ts/decentraland/sdk/components/billboard.gen.ts +148 -0
  334. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
  335. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +331 -0
  336. package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
  337. package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
  338. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +223 -0
  339. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  340. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
  341. package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
  342. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
  343. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
  344. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +195 -0
  345. package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +116 -0
  346. package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
  347. package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +139 -0
  348. package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +265 -0
  349. package/out-ts/decentraland/sdk/components/material.gen.ts +756 -0
  350. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +634 -0
  351. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +551 -0
  352. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
  353. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  354. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +415 -0
  355. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
  356. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
  357. package/out-ts/decentraland/sdk/components/raycast.gen.ts +405 -0
  358. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
  359. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
  360. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
  361. package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
  362. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  363. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  364. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
  365. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
  366. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
  367. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +251 -0
  368. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
  369. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +258 -0
  370. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1968 -0
  371. package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
  372. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -0
  373. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  374. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  375. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  376. package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
  377. package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
  378. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
  379. package/out-ts/google/protobuf/descriptor.gen.ts +3470 -0
  380. package/out-ts/google/protobuf/empty.gen.ts +72 -0
  381. package/out-ts/quests.gen.ts +3 -0
  382. package/out-ts/sdk-apis.gen.ts +3 -0
  383. package/out-ts/sdk-components.gen.ts +3 -0
  384. package/out-ts/sdk-development.gen.ts +3 -0
  385. package/out-ts/social.gen.ts +3 -0
  386. package/package.json +26 -10
  387. package/proto/buf.yaml +47 -0
  388. package/proto/decentraland/common/border_rect.proto +18 -0
  389. package/proto/decentraland/common/colors.proto +21 -0
  390. package/proto/decentraland/common/content_mapping.proto +7 -0
  391. package/proto/decentraland/common/entity.proto +13 -0
  392. package/proto/decentraland/common/floats.proto +8 -0
  393. package/proto/decentraland/common/sdk/user_data.proto +25 -0
  394. package/proto/decentraland/common/texture.proto +52 -0
  395. package/proto/decentraland/common/vectors.proto +26 -0
  396. package/proto/decentraland/kernel/apis/comms_api.proto +25 -0
  397. package/proto/decentraland/kernel/apis/communications_controller.proto +29 -0
  398. package/proto/decentraland/kernel/apis/dev_tools.proto +15 -0
  399. package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
  400. package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
  401. package/proto/decentraland/kernel/apis/ethereum_controller.proto +64 -0
  402. package/proto/decentraland/kernel/apis/parcel_identity.proto +43 -0
  403. package/proto/decentraland/kernel/apis/permissions.proto +36 -0
  404. package/proto/decentraland/kernel/apis/players.proto +35 -0
  405. package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
  406. package/proto/decentraland/kernel/apis/restricted_actions.proto +131 -0
  407. package/proto/decentraland/kernel/apis/runtime.proto +71 -0
  408. package/proto/decentraland/kernel/apis/scene.proto +16 -0
  409. package/proto/decentraland/kernel/apis/signed_fetch.proto +33 -0
  410. package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
  411. package/proto/decentraland/kernel/apis/testing.proto +100 -0
  412. package/proto/decentraland/kernel/apis/user_action_module.proto +13 -0
  413. package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
  414. package/proto/decentraland/kernel/comms/rfc4/comms.proto +140 -0
  415. package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +104 -0
  416. package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
  417. package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
  418. package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
  419. package/proto/decentraland/kernel/comms/v3/archipelago.proto +86 -0
  420. package/proto/decentraland/kernel/comms/v3/comms.proto +64 -0
  421. package/proto/decentraland/quests/definitions.proto +185 -0
  422. package/proto/decentraland/realm/about.proto +138 -0
  423. package/proto/decentraland/sdk/components/README.md +32 -0
  424. package/proto/decentraland/sdk/components/Transform.md +25 -0
  425. package/proto/decentraland/sdk/components/animator.proto +31 -0
  426. package/proto/decentraland/sdk/components/asset_load.proto +10 -0
  427. package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
  428. package/proto/decentraland/sdk/components/audio_event.proto +12 -0
  429. package/proto/decentraland/sdk/components/audio_source.proto +31 -0
  430. package/proto/decentraland/sdk/components/audio_stream.proto +22 -0
  431. package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
  432. package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
  433. package/proto/decentraland/sdk/components/avatar_emote_command.proto +13 -0
  434. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +14 -0
  435. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +18 -0
  436. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +53 -0
  437. package/proto/decentraland/sdk/components/avatar_movement.proto +46 -0
  438. package/proto/decentraland/sdk/components/avatar_movement_info.proto +22 -0
  439. package/proto/decentraland/sdk/components/avatar_shape.proto +45 -0
  440. package/proto/decentraland/sdk/components/billboard.proto +29 -0
  441. package/proto/decentraland/sdk/components/camera_layer.proto +30 -0
  442. package/proto/decentraland/sdk/components/camera_layers.proto +11 -0
  443. package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
  444. package/proto/decentraland/sdk/components/camera_mode_area.proto +44 -0
  445. package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
  446. package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
  447. package/proto/decentraland/sdk/components/common/id.md +2 -0
  448. package/proto/decentraland/sdk/components/common/id.proto +8 -0
  449. package/proto/decentraland/sdk/components/common/input_action.proto +39 -0
  450. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  451. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  452. package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
  453. package/proto/decentraland/sdk/components/common/texts.proto +21 -0
  454. package/proto/decentraland/sdk/components/engine_info.proto +15 -0
  455. package/proto/decentraland/sdk/components/global_light.proto +22 -0
  456. package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
  457. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +26 -0
  458. package/proto/decentraland/sdk/components/gltf_node.proto +42 -0
  459. package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
  460. package/proto/decentraland/sdk/components/gltf_node_state.proto +20 -0
  461. package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
  462. package/proto/decentraland/sdk/components/light_source.proto +28 -0
  463. package/proto/decentraland/sdk/components/main_camera.proto +11 -0
  464. package/proto/decentraland/sdk/components/map_pin.proto +16 -0
  465. package/proto/decentraland/sdk/components/material.proto +69 -0
  466. package/proto/decentraland/sdk/components/mesh_collider.proto +69 -0
  467. package/proto/decentraland/sdk/components/mesh_renderer.proto +48 -0
  468. package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
  469. package/proto/decentraland/sdk/components/particle_system.proto +129 -0
  470. package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
  471. package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
  472. package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
  473. package/proto/decentraland/sdk/components/pointer_events.proto +64 -0
  474. package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
  475. package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
  476. package/proto/decentraland/sdk/components/primary_pointer_info.proto +44 -0
  477. package/proto/decentraland/sdk/components/raycast.proto +71 -0
  478. package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
  479. package/proto/decentraland/sdk/components/realm_info.proto +15 -0
  480. package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
  481. package/proto/decentraland/sdk/components/text_shape.proto +45 -0
  482. package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
  483. package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
  484. package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
  485. package/proto/decentraland/sdk/components/tween.proto +117 -0
  486. package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
  487. package/proto/decentraland/sdk/components/tween_state.proto +18 -0
  488. package/proto/decentraland/sdk/components/ui_background.proto +34 -0
  489. package/proto/decentraland/sdk/components/ui_canvas.proto +16 -0
  490. package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
  491. package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
  492. package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
  493. package/proto/decentraland/sdk/components/ui_input.proto +22 -0
  494. package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
  495. package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
  496. package/proto/decentraland/sdk/components/ui_text.proto +29 -0
  497. package/proto/decentraland/sdk/components/ui_transform.proto +198 -0
  498. package/proto/decentraland/sdk/components/video_event.proto +25 -0
  499. package/proto/decentraland/sdk/components/video_player.proto +24 -0
  500. package/proto/decentraland/sdk/components/virtual_camera.proto +16 -0
  501. package/proto/decentraland/sdk/components/visibility_component.proto +16 -0
  502. package/proto/decentraland/sdk/development/local_development.proto +29 -0
  503. package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
  504. package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
  505. package/proto/decentraland/social_service/errors.proto +30 -0
  506. package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
  507. package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
  508. package/proto/google/LICENSE +27 -0
  509. package/proto/google/README.md +1 -0
  510. package/proto/google/api/annotations.json +83 -0
  511. package/proto/google/api/annotations.proto +11 -0
  512. package/proto/google/api/http.json +86 -0
  513. package/proto/google/api/http.proto +31 -0
  514. package/proto/google/protobuf/api.json +118 -0
  515. package/proto/google/protobuf/api.proto +34 -0
  516. package/proto/google/protobuf/descriptor.json +739 -0
  517. package/proto/google/protobuf/descriptor.proto +286 -0
  518. package/proto/google/protobuf/source_context.json +20 -0
  519. package/proto/google/protobuf/source_context.proto +7 -0
  520. package/proto/google/protobuf/type.json +202 -0
  521. package/proto/google/protobuf/type.proto +89 -0
  522. package/public/about.proto +5 -0
  523. package/public/comms.proto +5 -0
  524. package/public/quests.proto +5 -0
  525. package/public/sdk-apis.proto +25 -0
  526. package/public/sdk-components.proto +47 -0
  527. package/public/sdk-development.proto +5 -0
  528. package/public/social.proto +6 -0
  529. package/renderer-protocol/RendererProtocol.proto +0 -21
@@ -0,0 +1,128 @@
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 };
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
+ return writer;
76
+ }
77
+ PBBillboard.encode = encode;
78
+ function decode(input, length) {
79
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
80
+ let end = length === undefined ? reader.len : reader.pos + length;
81
+ const message = createBasePBBillboard();
82
+ while (reader.pos < end) {
83
+ const tag = reader.uint32();
84
+ switch (tag >>> 3) {
85
+ case 1:
86
+ if (tag !== 8) {
87
+ break;
88
+ }
89
+ message.billboardMode = reader.int32();
90
+ continue;
91
+ }
92
+ if ((tag & 7) === 4 || tag === 0) {
93
+ break;
94
+ }
95
+ reader.skipType(tag & 7);
96
+ }
97
+ return message;
98
+ }
99
+ PBBillboard.decode = decode;
100
+ function fromJSON(object) {
101
+ return { billboardMode: isSet(object.billboardMode) ? billboardModeFromJSON(object.billboardMode) : undefined };
102
+ }
103
+ PBBillboard.fromJSON = fromJSON;
104
+ function toJSON(message) {
105
+ const obj = {};
106
+ message.billboardMode !== undefined &&
107
+ (obj.billboardMode = message.billboardMode !== undefined
108
+ ? billboardModeToJSON(message.billboardMode)
109
+ : undefined);
110
+ return obj;
111
+ }
112
+ PBBillboard.toJSON = toJSON;
113
+ function create(base) {
114
+ return PBBillboard.fromPartial(base !== null && base !== void 0 ? base : {});
115
+ }
116
+ PBBillboard.create = create;
117
+ function fromPartial(object) {
118
+ var _a;
119
+ const message = createBasePBBillboard();
120
+ message.billboardMode = (_a = object.billboardMode) !== null && _a !== void 0 ? _a : undefined;
121
+ return message;
122
+ }
123
+ PBBillboard.fromPartial = fromPartial;
124
+ })(PBBillboard || (exports.PBBillboard = PBBillboard = {}));
125
+ function isSet(value) {
126
+ return value !== null && value !== undefined;
127
+ }
128
+ //# 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,6BAAb,aAAa,QAQxB;AAED,SAAgB,qBAA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AC,qBAAqB,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAClH,CAAC;IAFe,oBAAQ,WAEvB,CAAA;IAED,SAAgB,MAAM,CAAC,OAAoB;QACzC,MAAM,GAAG,GAAQ,EAAE,CAAC;QACpB,OAAO,CAAC,aAAa,KAAK,SAAS;YACjC,CAAC,GAAG,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,KAAK,SAAS;gBACtD,CAAC,CAAC,mBAAmB,CAAC,OAAO,CAAC,aAAa,CAAC;gBAC5C,CAAC,CAAC,SAAS,CAAC,CAAC;QACjB,OAAO,GAAG,CAAC;IACb,CAAC;IAPe,kBAAM,SAOrB,CAAA;IAED,SAAgB,MAAM,CAA+C,IAAQ;QAC3E,OAAO,WAAW,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC;IAC7C,CAAC;IAFe,kBAAM,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,OAAO,CAAC;IACjB,CAAC;IAJe,uBAAW,cAI1B,CAAA;AACH,CAAC,EArDgB,WAAW,2BAAX,WAAW,QAqD3B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,36 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { CameraType } from "./common/camera_type.gen";
3
+ export declare const protobufPackage = "decentraland.sdk.components";
4
+ /**
5
+ * The CameraMode component can be used to determine whether the player is using a first-person o
6
+ * third-person view.
7
+ */
8
+ export interface PBCameraMode {
9
+ /** the camera type (1st-person or 3rd-person) */
10
+ mode: CameraType;
11
+ }
12
+ export declare namespace PBCameraMode {
13
+ function encode(message: PBCameraMode, writer?: _m0.Writer): _m0.Writer;
14
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraMode;
15
+ function fromJSON(object: any): PBCameraMode;
16
+ function toJSON(message: PBCameraMode): unknown;
17
+ function create<I extends Exact<DeepPartial<PBCameraMode>, I>>(base?: I): PBCameraMode;
18
+ function fromPartial<I extends Exact<DeepPartial<PBCameraMode>, I>>(object: I): PBCameraMode;
19
+ }
20
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
21
+ 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 {
22
+ $case: string;
23
+ } ? {
24
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
25
+ } & {
26
+ $case: T["$case"];
27
+ } : T extends {} ? {
28
+ [K in keyof T]?: DeepPartial<T[K]>;
29
+ } : Partial<T>;
30
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
31
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
32
+ [K in keyof P]: Exact<P[K], I[K]>;
33
+ } & {
34
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
35
+ };
36
+ export {};
@@ -0,0 +1,70 @@
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.PBCameraMode = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ const camera_type_gen_1 = require("./common/camera_type.gen");
10
+ exports.protobufPackage = "decentraland.sdk.components";
11
+ function createBasePBCameraMode() {
12
+ return { mode: 0 };
13
+ }
14
+ var PBCameraMode;
15
+ (function (PBCameraMode) {
16
+ function encode(message, writer = minimal_1.default.Writer.create()) {
17
+ if (message.mode !== 0) {
18
+ writer.uint32(8).int32(message.mode);
19
+ }
20
+ return writer;
21
+ }
22
+ PBCameraMode.encode = encode;
23
+ function decode(input, length) {
24
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
25
+ let end = length === undefined ? reader.len : reader.pos + length;
26
+ const message = createBasePBCameraMode();
27
+ while (reader.pos < end) {
28
+ const tag = reader.uint32();
29
+ switch (tag >>> 3) {
30
+ case 1:
31
+ if (tag !== 8) {
32
+ break;
33
+ }
34
+ message.mode = reader.int32();
35
+ continue;
36
+ }
37
+ if ((tag & 7) === 4 || tag === 0) {
38
+ break;
39
+ }
40
+ reader.skipType(tag & 7);
41
+ }
42
+ return message;
43
+ }
44
+ PBCameraMode.decode = decode;
45
+ function fromJSON(object) {
46
+ return { mode: isSet(object.mode) ? (0, camera_type_gen_1.cameraTypeFromJSON)(object.mode) : 0 };
47
+ }
48
+ PBCameraMode.fromJSON = fromJSON;
49
+ function toJSON(message) {
50
+ const obj = {};
51
+ message.mode !== undefined && (obj.mode = (0, camera_type_gen_1.cameraTypeToJSON)(message.mode));
52
+ return obj;
53
+ }
54
+ PBCameraMode.toJSON = toJSON;
55
+ function create(base) {
56
+ return PBCameraMode.fromPartial(base !== null && base !== void 0 ? base : {});
57
+ }
58
+ PBCameraMode.create = create;
59
+ function fromPartial(object) {
60
+ var _a;
61
+ const message = createBasePBCameraMode();
62
+ message.mode = (_a = object.mode) !== null && _a !== void 0 ? _a : 0;
63
+ return message;
64
+ }
65
+ PBCameraMode.fromPartial = fromPartial;
66
+ })(PBCameraMode || (exports.PBCameraMode = PBCameraMode = {}));
67
+ function isSet(value) {
68
+ return value !== null && value !== undefined;
69
+ }
70
+ //# sourceMappingURL=camera_mode.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camera_mode.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/camera_mode.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;A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-0,0 +1,82 @@
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, 3rd-person or cinematic) 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
+ * When mode is set to CtCinematic, the cinematic_settings field must also be provided.
19
+ */
20
+ export interface PBCameraModeArea {
21
+ /** the 3D size of the region */
22
+ area: Vector3 | undefined;
23
+ /** the camera mode to enforce */
24
+ mode: CameraType;
25
+ cinematicSettings?: CinematicSettings | undefined;
26
+ /** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
27
+ useColliderRange?: boolean | undefined;
28
+ }
29
+ export interface CinematicSettings {
30
+ /** Entity that defines the cinematic camera transform. */
31
+ cameraEntity: number;
32
+ /**
33
+ * Position -> camera's position
34
+ * Rotation -> camera's direction
35
+ * scale.z -> zoom level
36
+ * scale.x and scale.y -> unused
37
+ */
38
+ allowManualRotation?: boolean | undefined;
39
+ /** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
40
+ yawRange?: number | undefined;
41
+ /** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
42
+ pitchRange?: number | undefined;
43
+ /** note: cameras can never look up/down further than Vec3::Y */
44
+ rollRange?: number | undefined;
45
+ /** minimum zoom level. must be greater than 0. defaults to the input zoom level */
46
+ zoomMin?: number | undefined;
47
+ /** maximum zoom level. must be greater than 0. defaults to the input zoom level */
48
+ zoomMax?: number | undefined;
49
+ }
50
+ export declare namespace PBCameraModeArea {
51
+ function encode(message: PBCameraModeArea, writer?: _m0.Writer): _m0.Writer;
52
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraModeArea;
53
+ function fromJSON(object: any): PBCameraModeArea;
54
+ function toJSON(message: PBCameraModeArea): unknown;
55
+ function create<I extends Exact<DeepPartial<PBCameraModeArea>, I>>(base?: I): PBCameraModeArea;
56
+ function fromPartial<I extends Exact<DeepPartial<PBCameraModeArea>, I>>(object: I): PBCameraModeArea;
57
+ }
58
+ export declare namespace CinematicSettings {
59
+ function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
60
+ function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
61
+ function fromJSON(object: any): CinematicSettings;
62
+ function toJSON(message: CinematicSettings): unknown;
63
+ function create<I extends Exact<DeepPartial<CinematicSettings>, I>>(base?: I): CinematicSettings;
64
+ function fromPartial<I extends Exact<DeepPartial<CinematicSettings>, I>>(object: I): CinematicSettings;
65
+ }
66
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
67
+ 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 {
68
+ $case: string;
69
+ } ? {
70
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
71
+ } & {
72
+ $case: T["$case"];
73
+ } : T extends {} ? {
74
+ [K in keyof T]?: DeepPartial<T[K]>;
75
+ } : Partial<T>;
76
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
77
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
78
+ [K in keyof P]: Exact<P[K], I[K]>;
79
+ } & {
80
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
81
+ };
82
+ export {};
@@ -0,0 +1,254 @@
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.CinematicSettings = 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, cinematicSettings: undefined, useColliderRange: undefined };
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
+ if (message.cinematicSettings !== undefined) {
25
+ CinematicSettings.encode(message.cinematicSettings, writer.uint32(26).fork()).ldelim();
26
+ }
27
+ if (message.useColliderRange !== undefined) {
28
+ writer.uint32(32).bool(message.useColliderRange);
29
+ }
30
+ return writer;
31
+ }
32
+ PBCameraModeArea.encode = encode;
33
+ function decode(input, length) {
34
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
35
+ let end = length === undefined ? reader.len : reader.pos + length;
36
+ const message = createBasePBCameraModeArea();
37
+ while (reader.pos < end) {
38
+ const tag = reader.uint32();
39
+ switch (tag >>> 3) {
40
+ case 1:
41
+ if (tag !== 10) {
42
+ break;
43
+ }
44
+ message.area = vectors_gen_1.Vector3.decode(reader, reader.uint32());
45
+ continue;
46
+ case 2:
47
+ if (tag !== 16) {
48
+ break;
49
+ }
50
+ message.mode = reader.int32();
51
+ continue;
52
+ case 3:
53
+ if (tag !== 26) {
54
+ break;
55
+ }
56
+ message.cinematicSettings = CinematicSettings.decode(reader, reader.uint32());
57
+ continue;
58
+ case 4:
59
+ if (tag !== 32) {
60
+ break;
61
+ }
62
+ message.useColliderRange = reader.bool();
63
+ continue;
64
+ }
65
+ if ((tag & 7) === 4 || tag === 0) {
66
+ break;
67
+ }
68
+ reader.skipType(tag & 7);
69
+ }
70
+ return message;
71
+ }
72
+ PBCameraModeArea.decode = decode;
73
+ function fromJSON(object) {
74
+ return {
75
+ area: isSet(object.area) ? vectors_gen_1.Vector3.fromJSON(object.area) : undefined,
76
+ mode: isSet(object.mode) ? (0, camera_type_gen_1.cameraTypeFromJSON)(object.mode) : 0,
77
+ cinematicSettings: isSet(object.cinematicSettings)
78
+ ? CinematicSettings.fromJSON(object.cinematicSettings)
79
+ : undefined,
80
+ useColliderRange: isSet(object.useColliderRange) ? Boolean(object.useColliderRange) : undefined,
81
+ };
82
+ }
83
+ PBCameraModeArea.fromJSON = fromJSON;
84
+ function toJSON(message) {
85
+ const obj = {};
86
+ message.area !== undefined && (obj.area = message.area ? vectors_gen_1.Vector3.toJSON(message.area) : undefined);
87
+ message.mode !== undefined && (obj.mode = (0, camera_type_gen_1.cameraTypeToJSON)(message.mode));
88
+ message.cinematicSettings !== undefined &&
89
+ (obj.cinematicSettings = message.cinematicSettings
90
+ ? CinematicSettings.toJSON(message.cinematicSettings)
91
+ : undefined);
92
+ message.useColliderRange !== undefined && (obj.useColliderRange = message.useColliderRange);
93
+ return obj;
94
+ }
95
+ PBCameraModeArea.toJSON = toJSON;
96
+ function create(base) {
97
+ return PBCameraModeArea.fromPartial(base !== null && base !== void 0 ? base : {});
98
+ }
99
+ PBCameraModeArea.create = create;
100
+ function fromPartial(object) {
101
+ var _a, _b;
102
+ const message = createBasePBCameraModeArea();
103
+ message.area = (object.area !== undefined && object.area !== null) ? vectors_gen_1.Vector3.fromPartial(object.area) : undefined;
104
+ message.mode = (_a = object.mode) !== null && _a !== void 0 ? _a : 0;
105
+ message.cinematicSettings = (object.cinematicSettings !== undefined && object.cinematicSettings !== null)
106
+ ? CinematicSettings.fromPartial(object.cinematicSettings)
107
+ : undefined;
108
+ message.useColliderRange = (_b = object.useColliderRange) !== null && _b !== void 0 ? _b : undefined;
109
+ return message;
110
+ }
111
+ PBCameraModeArea.fromPartial = fromPartial;
112
+ })(PBCameraModeArea || (exports.PBCameraModeArea = PBCameraModeArea = {}));
113
+ function createBaseCinematicSettings() {
114
+ return {
115
+ cameraEntity: 0,
116
+ allowManualRotation: undefined,
117
+ yawRange: undefined,
118
+ pitchRange: undefined,
119
+ rollRange: undefined,
120
+ zoomMin: undefined,
121
+ zoomMax: undefined,
122
+ };
123
+ }
124
+ var CinematicSettings;
125
+ (function (CinematicSettings) {
126
+ function encode(message, writer = minimal_1.default.Writer.create()) {
127
+ if (message.cameraEntity !== 0) {
128
+ writer.uint32(8).uint32(message.cameraEntity);
129
+ }
130
+ if (message.allowManualRotation !== undefined) {
131
+ writer.uint32(16).bool(message.allowManualRotation);
132
+ }
133
+ if (message.yawRange !== undefined) {
134
+ writer.uint32(29).float(message.yawRange);
135
+ }
136
+ if (message.pitchRange !== undefined) {
137
+ writer.uint32(37).float(message.pitchRange);
138
+ }
139
+ if (message.rollRange !== undefined) {
140
+ writer.uint32(45).float(message.rollRange);
141
+ }
142
+ if (message.zoomMin !== undefined) {
143
+ writer.uint32(53).float(message.zoomMin);
144
+ }
145
+ if (message.zoomMax !== undefined) {
146
+ writer.uint32(61).float(message.zoomMax);
147
+ }
148
+ return writer;
149
+ }
150
+ CinematicSettings.encode = encode;
151
+ function decode(input, length) {
152
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
153
+ let end = length === undefined ? reader.len : reader.pos + length;
154
+ const message = createBaseCinematicSettings();
155
+ while (reader.pos < end) {
156
+ const tag = reader.uint32();
157
+ switch (tag >>> 3) {
158
+ case 1:
159
+ if (tag !== 8) {
160
+ break;
161
+ }
162
+ message.cameraEntity = reader.uint32();
163
+ continue;
164
+ case 2:
165
+ if (tag !== 16) {
166
+ break;
167
+ }
168
+ message.allowManualRotation = reader.bool();
169
+ continue;
170
+ case 3:
171
+ if (tag !== 29) {
172
+ break;
173
+ }
174
+ message.yawRange = reader.float();
175
+ continue;
176
+ case 4:
177
+ if (tag !== 37) {
178
+ break;
179
+ }
180
+ message.pitchRange = reader.float();
181
+ continue;
182
+ case 5:
183
+ if (tag !== 45) {
184
+ break;
185
+ }
186
+ message.rollRange = reader.float();
187
+ continue;
188
+ case 6:
189
+ if (tag !== 53) {
190
+ break;
191
+ }
192
+ message.zoomMin = reader.float();
193
+ continue;
194
+ case 7:
195
+ if (tag !== 61) {
196
+ break;
197
+ }
198
+ message.zoomMax = reader.float();
199
+ continue;
200
+ }
201
+ if ((tag & 7) === 4 || tag === 0) {
202
+ break;
203
+ }
204
+ reader.skipType(tag & 7);
205
+ }
206
+ return message;
207
+ }
208
+ CinematicSettings.decode = decode;
209
+ function fromJSON(object) {
210
+ return {
211
+ cameraEntity: isSet(object.cameraEntity) ? Number(object.cameraEntity) : 0,
212
+ allowManualRotation: isSet(object.allowManualRotation) ? Boolean(object.allowManualRotation) : undefined,
213
+ yawRange: isSet(object.yawRange) ? Number(object.yawRange) : undefined,
214
+ pitchRange: isSet(object.pitchRange) ? Number(object.pitchRange) : undefined,
215
+ rollRange: isSet(object.rollRange) ? Number(object.rollRange) : undefined,
216
+ zoomMin: isSet(object.zoomMin) ? Number(object.zoomMin) : undefined,
217
+ zoomMax: isSet(object.zoomMax) ? Number(object.zoomMax) : undefined,
218
+ };
219
+ }
220
+ CinematicSettings.fromJSON = fromJSON;
221
+ function toJSON(message) {
222
+ const obj = {};
223
+ message.cameraEntity !== undefined && (obj.cameraEntity = Math.round(message.cameraEntity));
224
+ message.allowManualRotation !== undefined && (obj.allowManualRotation = message.allowManualRotation);
225
+ message.yawRange !== undefined && (obj.yawRange = message.yawRange);
226
+ message.pitchRange !== undefined && (obj.pitchRange = message.pitchRange);
227
+ message.rollRange !== undefined && (obj.rollRange = message.rollRange);
228
+ message.zoomMin !== undefined && (obj.zoomMin = message.zoomMin);
229
+ message.zoomMax !== undefined && (obj.zoomMax = message.zoomMax);
230
+ return obj;
231
+ }
232
+ CinematicSettings.toJSON = toJSON;
233
+ function create(base) {
234
+ return CinematicSettings.fromPartial(base !== null && base !== void 0 ? base : {});
235
+ }
236
+ CinematicSettings.create = create;
237
+ function fromPartial(object) {
238
+ var _a, _b, _c, _d, _e, _f, _g;
239
+ const message = createBaseCinematicSettings();
240
+ message.cameraEntity = (_a = object.cameraEntity) !== null && _a !== void 0 ? _a : 0;
241
+ message.allowManualRotation = (_b = object.allowManualRotation) !== null && _b !== void 0 ? _b : undefined;
242
+ message.yawRange = (_c = object.yawRange) !== null && _c !== void 0 ? _c : undefined;
243
+ message.pitchRange = (_d = object.pitchRange) !== null && _d !== void 0 ? _d : undefined;
244
+ message.rollRange = (_e = object.rollRange) !== null && _e !== void 0 ? _e : undefined;
245
+ message.zoomMin = (_f = object.zoomMin) !== null && _f !== void 0 ? _f : undefined;
246
+ message.zoomMax = (_g = object.zoomMax) !== null && _g !== void 0 ? _g : undefined;
247
+ return message;
248
+ }
249
+ CinematicSettings.fromPartial = fromPartial;
250
+ })(CinematicSettings || (exports.CinematicSettings = CinematicSettings = {}));
251
+ function isSet(value) {
252
+ return value !== null && value !== undefined;
253
+ }
254
+ //# sourceMappingURL=camera_mode_area.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camera_mode_area.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/camera_mode_area.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,0DAAmD;AACnD,8DAA4F;AAE/E,QAAA,eAAe,GAAG,6BAA6B,CAAC;AA+D7D,SAAS,0BAA0B;IACjC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,iBAAiB,EAAE,SAAS,EAAE,gBAAgB,EAAE,SAAS,EAAE,CAAC;AACjG,CAAC;AAED,IAAiB,gBAAgB,CAkGhC;AAlGD,WAAiB,gBAAgB;IAC/B,SAAgB,MAAM,CAAC,OAAyB,EAAE,SAAqB,iB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 @@
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