@dcl/protocol 1.0.0-3548510624.commit-7609438 → 1.0.0-35600014993.commit-874bb91

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 (560) hide show
  1. package/README.md +241 -12
  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 +383 -0
  57. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1363 -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 +322 -0
  81. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +2009 -0
  82. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
  83. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
  84. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
  85. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
  86. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +249 -0
  87. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1384 -0
  88. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
  89. package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +61 -0
  90. package/out-js/decentraland/pulse/pulse_clusters.gen.js +119 -0
  91. package/out-js/decentraland/pulse/pulse_clusters.gen.js.map +1 -0
  92. package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
  93. package/out-js/decentraland/quests/definitions.gen.js +2728 -0
  94. package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
  95. package/out-js/decentraland/realm/about.gen.d.ts +229 -0
  96. package/out-js/decentraland/realm/about.gen.js +1185 -0
  97. package/out-js/decentraland/realm/about.gen.js.map +1 -0
  98. package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
  99. package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
  100. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
  101. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
  102. package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
  103. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
  104. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +50 -0
  105. package/out-js/decentraland/sdk/components/audio_stream.gen.js +138 -0
  106. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
  107. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
  108. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
  109. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
  110. package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
  111. package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
  112. package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
  113. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
  114. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
  115. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
  116. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
  117. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
  118. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
  119. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +62 -0
  120. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +160 -0
  121. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
  122. package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
  123. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
  124. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
  125. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +74 -0
  126. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +264 -0
  127. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
  128. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +61 -0
  129. package/out-js/decentraland/sdk/components/billboard.gen.js +142 -0
  130. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
  131. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
  132. package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
  133. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
  134. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
  135. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
  136. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
  137. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
  138. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
  139. package/out-js/decentraland/sdk/components/common/avatar_mask.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/explorer_ui.gen.d.ts +19 -0
  144. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +80 -0
  145. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
  146. package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
  147. package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
  148. package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
  149. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +41 -0
  150. package/out-js/decentraland/sdk/components/common/input_action.gen.js +209 -0
  151. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
  152. package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
  153. package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
  154. package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
  155. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
  156. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
  157. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
  158. package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
  159. package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
  160. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
  161. package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +43 -0
  162. package/out-js/decentraland/sdk/components/engine_info.gen.js +107 -0
  163. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  164. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
  165. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +308 -0
  166. package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
  167. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
  168. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +231 -0
  169. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
  170. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
  171. package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
  172. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
  173. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
  174. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
  175. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
  176. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
  177. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
  178. package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
  179. package/out-js/decentraland/sdk/components/material.gen.d.ts +108 -0
  180. package/out-js/decentraland/sdk/components/material.gen.js +536 -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 +130 -0
  183. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +471 -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 +104 -0
  186. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -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 +115 -0
  195. package/out-js/decentraland/sdk/components/pointer_events.gen.js +319 -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 +79 -0
  204. package/out-js/decentraland/sdk/components/raycast.gen.js +274 -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/touch_screen_controls.gen.d.ts +77 -0
  216. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +201 -0
  217. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
  218. package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
  219. package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
  220. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  221. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  222. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
  223. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  224. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  225. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  226. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  227. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
  228. package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
  229. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
  230. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
  231. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
  232. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
  233. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
  234. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
  235. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
  236. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
  237. package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
  238. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
  239. package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
  240. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
  241. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
  242. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
  243. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
  244. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
  245. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
  246. package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -0
  247. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
  248. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +238 -0
  249. package/out-js/decentraland/sdk/components/ui_transform.gen.js +1547 -0
  250. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
  251. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +51 -0
  252. package/out-js/decentraland/sdk/components/video_player.gen.js +177 -0
  253. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
  254. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
  255. package/out-js/decentraland/sdk/components/visibility_component.gen.js +83 -0
  256. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
  257. package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
  258. package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
  259. package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
  260. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
  261. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
  262. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
  263. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
  264. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
  265. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
  266. package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
  267. package/out-js/decentraland/social_service/errors.gen.js +405 -0
  268. package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
  269. package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
  270. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
  271. package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
  272. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
  273. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
  274. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
  275. package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
  276. package/out-js/google/protobuf/descriptor.gen.js +3173 -0
  277. package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
  278. package/out-js/google/protobuf/empty.gen.d.ts +38 -0
  279. package/out-js/google/protobuf/empty.gen.js +54 -0
  280. package/out-js/google/protobuf/empty.gen.js.map +1 -0
  281. package/out-js/quests.gen.d.ts +1 -0
  282. package/out-js/quests.gen.js +6 -0
  283. package/out-js/quests.gen.js.map +1 -0
  284. package/out-js/sdk-apis.gen.d.ts +1 -0
  285. package/out-js/sdk-apis.gen.js +6 -0
  286. package/out-js/sdk-apis.gen.js.map +1 -0
  287. package/out-js/sdk-components.gen.d.ts +1 -0
  288. package/out-js/sdk-components.gen.js +6 -0
  289. package/out-js/sdk-components.gen.js.map +1 -0
  290. package/out-js/sdk-development.gen.d.ts +1 -0
  291. package/out-js/sdk-development.gen.js +6 -0
  292. package/out-js/sdk-development.gen.js.map +1 -0
  293. package/out-js/social.gen.d.ts +1 -0
  294. package/out-js/social.gen.js +6 -0
  295. package/out-js/social.gen.js.map +1 -0
  296. package/out-ts/about.gen.ts +3 -0
  297. package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
  298. package/out-ts/decentraland/common/colors.gen.ts +293 -0
  299. package/out-ts/decentraland/common/content_mapping.gen.ts +31 -18
  300. package/out-ts/decentraland/common/sdk/user_data.gen.ts +133 -62
  301. package/out-ts/decentraland/common/texture.gen.ts +539 -0
  302. package/out-ts/decentraland/common/vectors.gen.ts +207 -56
  303. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
  304. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +338 -33
  305. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +54 -34
  306. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +739 -1679
  307. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +506 -293
  308. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +386 -211
  309. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +231 -140
  310. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +136 -72
  311. package/out-ts/decentraland/kernel/apis/players.gen.ts +170 -100
  312. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +305 -158
  313. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1339 -162
  314. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
  315. package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
  316. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +356 -94
  317. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +85 -51
  318. package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
  319. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +50 -33
  320. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +99 -66
  321. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1743 -242
  322. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +404 -241
  323. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1092 -611
  324. package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +165 -0
  325. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  326. package/out-ts/decentraland/realm/about.gen.ts +1415 -0
  327. package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
  328. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
  329. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +182 -0
  330. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
  331. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
  332. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
  333. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
  334. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +195 -0
  335. package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
  336. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +349 -0
  337. package/out-ts/decentraland/sdk/components/billboard.gen.ts +172 -0
  338. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
  339. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
  340. package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
  341. package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
  342. package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +77 -0
  343. package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
  344. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +206 -0
  345. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  346. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
  347. package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
  348. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +134 -0
  349. package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
  350. package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
  351. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
  352. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
  353. package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
  354. package/out-ts/decentraland/sdk/components/material.gen.ts +655 -0
  355. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +536 -0
  356. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
  357. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
  358. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  359. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +436 -0
  360. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
  361. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
  362. package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
  363. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
  364. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
  365. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
  366. package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
  367. package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
  368. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  369. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  370. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
  371. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
  372. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
  373. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
  374. package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
  375. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
  376. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
  377. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1775 -0
  378. package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
  379. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -0
  380. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  381. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  382. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  383. package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
  384. package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
  385. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
  386. package/out-ts/google/protobuf/descriptor.gen.ts +1145 -536
  387. package/out-ts/google/protobuf/empty.gen.ts +21 -16
  388. package/out-ts/quests.gen.ts +3 -0
  389. package/out-ts/sdk-components.gen.ts +3 -0
  390. package/out-ts/sdk-development.gen.ts +3 -0
  391. package/out-ts/social.gen.ts +3 -0
  392. package/package.json +21 -11
  393. package/proto/decentraland/common/border_rect.proto +18 -0
  394. package/proto/decentraland/common/colors.proto +6 -0
  395. package/proto/decentraland/common/entity.proto +1 -1
  396. package/proto/decentraland/common/floats.proto +8 -0
  397. package/proto/decentraland/common/options.proto +51 -0
  398. package/proto/decentraland/common/quantization_example.proto +164 -0
  399. package/proto/decentraland/common/texture.proto +19 -8
  400. package/proto/decentraland/common/vectors.proto +7 -0
  401. package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
  402. package/proto/decentraland/kernel/apis/communications_controller.proto +19 -2
  403. package/proto/decentraland/kernel/apis/dev_tools.proto +2 -0
  404. package/proto/decentraland/kernel/apis/engine_api.proto +13 -111
  405. package/proto/decentraland/kernel/apis/environment_api.proto +7 -0
  406. package/proto/decentraland/kernel/apis/ethereum_controller.proto +10 -0
  407. package/proto/decentraland/kernel/apis/parcel_identity.proto +3 -0
  408. package/proto/decentraland/kernel/apis/permissions.proto +4 -0
  409. package/proto/decentraland/kernel/apis/players.proto +6 -0
  410. package/proto/decentraland/kernel/apis/portable_experiences.proto +15 -1
  411. package/proto/decentraland/kernel/apis/restricted_actions.proto +127 -12
  412. package/proto/decentraland/kernel/apis/runtime.proto +71 -0
  413. package/proto/decentraland/kernel/apis/scene.proto +16 -0
  414. package/proto/decentraland/kernel/apis/signed_fetch.proto +8 -0
  415. package/proto/decentraland/kernel/apis/social_controller.proto +6 -3
  416. package/proto/decentraland/kernel/apis/testing.proto +100 -0
  417. package/proto/decentraland/kernel/apis/user_action_module.proto +1 -0
  418. package/proto/decentraland/kernel/apis/user_identity.proto +1 -0
  419. package/proto/decentraland/kernel/comms/rfc4/comms.proto +101 -0
  420. package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +6 -3
  421. package/proto/decentraland/kernel/comms/v3/archipelago.proto +58 -34
  422. package/proto/decentraland/pulse/pulse_client.proto +120 -0
  423. package/proto/decentraland/pulse/pulse_clusters.proto +33 -0
  424. package/proto/decentraland/pulse/pulse_server.proto +144 -0
  425. package/proto/decentraland/pulse/pulse_shared.proto +57 -0
  426. package/proto/decentraland/quests/definitions.proto +185 -0
  427. package/proto/decentraland/realm/about.proto +138 -0
  428. package/proto/decentraland/sdk/components/animator.proto +20 -8
  429. package/proto/decentraland/sdk/components/asset_load.proto +10 -0
  430. package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
  431. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  432. package/proto/decentraland/sdk/components/audio_event.proto +12 -0
  433. package/proto/decentraland/sdk/components/audio_source.proto +24 -6
  434. package/proto/decentraland/sdk/components/audio_stream.proto +14 -3
  435. package/proto/decentraland/sdk/components/avatar_attach.proto +37 -5
  436. package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
  437. package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
  438. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
  439. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
  440. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +21 -7
  441. package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
  442. package/proto/decentraland/sdk/components/avatar_shape.proto +36 -24
  443. package/proto/decentraland/sdk/components/billboard.proto +24 -6
  444. package/proto/decentraland/sdk/components/camera_mode.proto +3 -1
  445. package/proto/decentraland/sdk/components/camera_mode_area.proto +13 -2
  446. package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
  447. package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
  448. package/proto/decentraland/sdk/components/common/camera_type.proto +1 -0
  449. package/proto/decentraland/sdk/components/common/explorer_ui.proto +15 -0
  450. package/proto/decentraland/sdk/components/common/input_action.proto +17 -0
  451. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  452. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  453. package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
  454. package/proto/decentraland/sdk/components/common/texts.proto +3 -2
  455. package/proto/decentraland/sdk/components/engine_info.proto +16 -0
  456. package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
  457. package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
  458. package/proto/decentraland/sdk/components/gltf_container.proto +11 -5
  459. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
  460. package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -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 +8 -7
  466. package/proto/decentraland/sdk/components/mesh_collider.proto +36 -9
  467. package/proto/decentraland/sdk/components/mesh_renderer.proto +17 -4
  468. package/proto/decentraland/sdk/components/nft_shape.proto +15 -7
  469. package/proto/decentraland/sdk/components/particle_system.proto +133 -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 +68 -0
  474. package/proto/decentraland/sdk/components/pointer_events_result.proto +8 -14
  475. package/proto/decentraland/sdk/components/pointer_lock.proto +3 -1
  476. package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
  477. package/proto/decentraland/sdk/components/raycast.proto +45 -7
  478. package/proto/decentraland/sdk/components/raycast_result.proto +12 -16
  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 +33 -21
  482. package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -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 +25 -2
  489. package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
  490. package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
  491. package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
  492. package/proto/decentraland/sdk/components/ui_input.proto +20 -0
  493. package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
  494. package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
  495. package/proto/decentraland/sdk/components/ui_text.proto +14 -5
  496. package/proto/decentraland/sdk/components/ui_transform.proto +37 -0
  497. package/proto/decentraland/sdk/components/video_event.proto +25 -0
  498. package/proto/decentraland/sdk/components/video_player.proto +24 -0
  499. package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
  500. package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
  501. package/proto/decentraland/sdk/development/local_development.proto +29 -0
  502. package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
  503. package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
  504. package/proto/decentraland/social_service/errors.proto +30 -0
  505. package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
  506. package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
  507. package/protoc-gen-bitwise/generator_csharp.js +248 -0
  508. package/protoc-gen-bitwise/options.js +139 -0
  509. package/protoc-gen-bitwise/plugin.js +87 -0
  510. package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
  511. package/protoc-gen-bitwise/wire.js +239 -0
  512. package/public/about.proto +5 -0
  513. package/public/comms.proto +2 -1
  514. package/public/quests.proto +5 -0
  515. package/public/sdk-apis.proto +4 -0
  516. package/public/sdk-components.proto +48 -0
  517. package/public/sdk-development.proto +5 -0
  518. package/public/social.proto +6 -0
  519. package/out-ts/bff-services.gen.ts +0 -3
  520. package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -279
  521. package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -239
  522. package/out-ts/decentraland/bff/comms_service.gen.ts +0 -194
  523. package/out-ts/decentraland/bff/http_endpoints.gen.ts +0 -845
  524. package/out-ts/decentraland/bff/topics_service.gen.ts +0 -405
  525. package/out-ts/decentraland/renderer/engine_interface.gen.ts +0 -8669
  526. package/out-ts/decentraland/renderer/kernel_services/emotes_kernel.gen.ts +0 -143
  527. package/out-ts/decentraland/renderer/renderer_services/crdt.gen.ts +0 -267
  528. package/out-ts/decentraland/renderer/renderer_services/emotes_renderer.gen.ts +0 -135
  529. package/out-ts/decentraland/renderer/renderer_services/transport.gen.ts +0 -137
  530. package/out-ts/google/api/annotations.gen.ts +0 -3
  531. package/out-ts/google/api/http.gen.ts +0 -295
  532. package/out-ts/renderer-interface.gen.ts +0 -3
  533. package/proto/buf.yaml +0 -45
  534. package/proto/decentraland/bff/authentication_service.proto +0 -27
  535. package/proto/decentraland/bff/comms_director_service.proto +0 -33
  536. package/proto/decentraland/bff/comms_service.proto +0 -25
  537. package/proto/decentraland/bff/http_endpoints.proto +0 -82
  538. package/proto/decentraland/bff/topics_service.proto +0 -34
  539. package/proto/decentraland/renderer/engine_interface.proto +0 -709
  540. package/proto/decentraland/renderer/kernel_services/emotes_kernel.proto +0 -16
  541. package/proto/decentraland/renderer/renderer_services/crdt.proto +0 -21
  542. package/proto/decentraland/renderer/renderer_services/emotes_renderer.proto +0 -15
  543. package/proto/decentraland/renderer/renderer_services/transport.proto +0 -14
  544. package/proto/decentraland/sdk/components/pointer_hover_feedback.proto +0 -31
  545. package/proto/google/LICENSE +0 -27
  546. package/proto/google/README.md +0 -1
  547. package/proto/google/api/annotations.json +0 -83
  548. package/proto/google/api/annotations.proto +0 -11
  549. package/proto/google/api/http.json +0 -86
  550. package/proto/google/api/http.proto +0 -31
  551. package/proto/google/protobuf/api.json +0 -118
  552. package/proto/google/protobuf/api.proto +0 -34
  553. package/proto/google/protobuf/descriptor.json +0 -739
  554. package/proto/google/protobuf/descriptor.proto +0 -286
  555. package/proto/google/protobuf/source_context.json +0 -20
  556. package/proto/google/protobuf/source_context.proto +0 -7
  557. package/proto/google/protobuf/type.json +0 -202
  558. package/proto/google/protobuf/type.proto +0 -89
  559. package/public/bff-services.proto +0 -16
  560. package/public/renderer-interface.proto +0 -7
@@ -6,25 +6,31 @@ import "decentraland/sdk/components/common/id.proto";
6
6
 
7
7
  option (common.ecs_component_id) = 1019;
8
8
 
9
- enum ColliderLayer {
10
- CL_NONE = 0;
11
- CL_POINTER = 1;
12
- CL_PHYSICS = 2;
13
- }
14
-
9
+ // The MeshCollider component provides basic collision detection between Entities and Avatars. It
10
+ // can behave like a cube, a plane, a sphere or a cylinder.
11
+ //
12
+ // The Entity's Transform affects the MeshCollider, scaling it and rotating it appropriately. If
13
+ // the Transform for the collision mesh must be different than the Transform for rendering the Entity,
14
+ // two different Entities must be used.
15
+ //
16
+ // More complex shapes require the use of a `GltfContainer` component.
15
17
  message PBMeshCollider {
18
+ // BoxMesh is a prism shape that contains the Entity.
16
19
  message BoxMesh {}
17
20
 
21
+ // CylinderMesh is a truncated cone shape that contains the Entity.
18
22
  message CylinderMesh {
19
- optional float radius_top = 1; // default=1.0
20
- optional float radius_bottom = 2; // default=1.0
23
+ optional float radius_top = 1; // (default 0.5)
24
+ optional float radius_bottom = 2; // (default 0.5)
21
25
  }
22
26
 
27
+ // PlaneMesh is a 2D rectangle described by the Entity's Transform.
23
28
  message PlaneMesh {}
24
29
 
30
+ // SphereMesh is a sphere shape that contains the Entity.
25
31
  message SphereMesh {}
26
32
 
27
- optional int32 collision_mask = 1; // default = ColliderLayer.Physics | ColliderLayer.Pointer
33
+ optional uint32 collision_mask = 1; // enabled ColliderLayers (default CL_POINTER | CL_PHYSICS)
28
34
 
29
35
  oneof mesh {
30
36
  BoxMesh box = 2;
@@ -33,3 +39,24 @@ message PBMeshCollider {
33
39
  PlaneMesh plane = 5;
34
40
  }
35
41
  }
42
+
43
+ // ColliderLayer determines the kind of collision to detect, in OR-able bit flag form.
44
+ enum ColliderLayer {
45
+ CL_NONE = 0; // no collisions
46
+ CL_POINTER = 1; // collisions with the player's pointer ray (e.g. mouse cursor hovering)
47
+ CL_PHYSICS = 2; // collision affecting your player's physics i.e. walls, floor, moving platfroms
48
+ CL_PLAYER = 4; // layer corresponding to any player avatar (main + remote)
49
+ CL_MAIN_PLAYER = 8; // layer corresponding to the local (main) player avatar
50
+ CL_RESERVED3 = 16;
51
+ CL_RESERVED4 = 32;
52
+ CL_RESERVED5 = 64;
53
+ CL_RESERVED6 = 128;
54
+ CL_CUSTOM1 = 256;
55
+ CL_CUSTOM2 = 512;
56
+ CL_CUSTOM3 = 1024;
57
+ CL_CUSTOM4 = 2048;
58
+ CL_CUSTOM5 = 4096;
59
+ CL_CUSTOM6 = 8192;
60
+ CL_CUSTOM7 = 16384;
61
+ CL_CUSTOM8 = 32768;
62
+ }
@@ -4,20 +4,33 @@ package decentraland.sdk.components;
4
4
  import "decentraland/sdk/components/common/id.proto";
5
5
  option (common.ecs_component_id) = 1018;
6
6
 
7
+ // The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
8
+ // plane, a sphere or a cylinder.
9
+ //
10
+ // The cube and plane variants can include a UV texture mapping, so specific areas of a material
11
+ // texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
12
+ // `float` coordinates, one for each corner of each side of each face.
13
+ //
14
+ // More complex shapes require the use of a `GltfContainer` component.
7
15
  message PBMeshRenderer {
16
+
17
+ // BoxMesh renders a prism shape.
8
18
  message BoxMesh {
9
- repeated float uvs = 1;
19
+ repeated float uvs = 1; // 96-value texture map (2D * 6 faces * 2 sides * 4 vertices)
10
20
  }
11
21
 
22
+ // CylinderMesh renders a truncated cone shape.
12
23
  message CylinderMesh {
13
- optional float radius_top = 1; // default=1.0
14
- optional float radius_bottom = 2; // default=1.0
24
+ optional float radius_top = 1; // (default 0.5)
25
+ optional float radius_bottom = 2; // (default 0.5)
15
26
  }
16
27
 
28
+ // PlaneMesh renders a 2D rectangular shape.
17
29
  message PlaneMesh {
18
- repeated float uvs = 1;
30
+ repeated float uvs = 1; // 16-value texture map (2D * 1 face * 2 sides * 4 vertices)
19
31
  }
20
32
 
33
+ // SphereMesh renders a spherical shape.
21
34
  message SphereMesh {
22
35
  }
23
36
 
@@ -7,6 +7,20 @@ import "decentraland/sdk/components/common/id.proto";
7
7
 
8
8
  option (common.ecs_component_id) = 1040;
9
9
 
10
+ // The NftShape component renders a framed picture from an NFT. It supports PNG, JPEG and GIF files.
11
+ //
12
+ // The `urn` field is the URI of the NFT, and must follow the format 'urn:decentraland:<CHAIN>:<CONTRACT_STANDARD>:<CONTRACT_ADDRESS>:<TOKEN_ID>'
13
+ // Example: 'urn:decentraland:ethereum:erc721:0x00000000:123'
14
+ //
15
+ // The picture frame can have several different styles, plus a background color for images that have
16
+ // transparent pixels.
17
+ message PBNftShape {
18
+ string urn = 1; // the URI of the NFT
19
+ optional NftFrameType style = 2; // the frame style (default NFT_CLASSIC)
20
+ optional decentraland.common.Color3 color = 3; // RGB background (default [0.6404918, 0.611472, 0.8584906])
21
+ }
22
+
23
+ // NftFrameType is a predefined framing style for the image.
10
24
  enum NftFrameType {
11
25
  NFT_CLASSIC = 0;
12
26
  NFT_BAROQUE_ORNAMENT = 1;
@@ -31,10 +45,4 @@ enum NftFrameType {
31
45
  NFT_WOOD_TWIGS = 20;
32
46
  NFT_CANVAS = 21;
33
47
  NFT_NONE = 22;
34
- }
35
-
36
- message PBNftShape {
37
- string src = 1;
38
- optional NftFrameType style = 2; // default = PictureFrameStyle.Classic
39
- optional decentraland.common.Color3 color = 3; // default = decentraland.common.Color3(0.6404918, 0.611472, 0.8584906)
40
- }
48
+ }
@@ -0,0 +1,133 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components;
4
+
5
+ import "decentraland/common/colors.proto";
6
+ import "decentraland/common/floats.proto";
7
+ import "decentraland/common/texture.proto";
8
+ import "decentraland/common/vectors.proto";
9
+ import "decentraland/sdk/components/common/id.proto";
10
+
11
+ option (common.ecs_component_id) = 1217;
12
+
13
+ message PBParticleSystem {
14
+ // --- Emission ---
15
+ optional bool active = 1; // default = true
16
+ optional float rate = 2; // default = 10. Particles emitted per second.
17
+ optional uint32 max_particles = 3; // default = 1000. Maximum number of live particles.
18
+ optional float lifetime = 4; // default = 5. Particle lifetime in seconds.
19
+
20
+ // --- Motion ---
21
+ optional float gravity = 5; // default = 0. Multiplier of Explorer's physics engine Gravity (normally -9.81)
22
+ optional decentraland.common.Vector3 additional_force = 6; // Constant force vector applied to each particle (world space).
23
+
24
+ // --- Size ---
25
+ optional decentraland.common.FloatRange initial_size = 7; // default = {1, 1}. Particle size at spawn.
26
+ optional decentraland.common.FloatRange size_over_time = 8; // default = {1, 1}. Particle size lerped from start to end over its lifetime.
27
+
28
+ // --- Rotation ---
29
+ optional decentraland.common.Quaternion initial_rotation = 9; // default = identity (0,0,0,1). 3D start rotation for each particle.
30
+ optional decentraland.common.Quaternion rotation_over_time = 10; // default = identity (0,0,0,1). Per-axis angular velocity as quaternion; converted to Euler XYZ.
31
+ optional bool face_travel_direction = 28; // default = false. Particles orient along their velocity direction.
32
+
33
+ // --- Color ---
34
+ optional decentraland.common.ColorRange initial_color = 11; // default = {white, white}. Particle color at spawn, randomized between start and end.
35
+ optional decentraland.common.ColorRange color_over_time = 12; // default = {white, white}. Particle color lerped from start to end over its lifetime.
36
+
37
+ // --- Velocity ---
38
+ optional decentraland.common.FloatRange initial_velocity_speed = 13; // default = {1, 1}. Initial speed in m/s, randomized between start and end.
39
+
40
+ // --- Rendering ---
41
+ optional decentraland.common.Texture texture = 14; // Particle texture. default = null (plain white quad).
42
+ optional BlendMode blend_mode = 15; // default = PSB_ALPHA
43
+ optional bool billboard = 16; // default = true
44
+
45
+ // --- Sprite Sheet Animation ---
46
+ optional SpriteSheetAnimation sprite_sheet = 17;
47
+
48
+ // --- Emitter Shape ---
49
+ oneof shape {
50
+ Point point = 18;
51
+ Sphere sphere = 19;
52
+ Cone cone = 20;
53
+ Box box = 21;
54
+ }
55
+
56
+ // --- Simulation ---
57
+ optional bool loop = 24; // default = true. Loop the emission cycle.
58
+ optional bool prewarm = 25; // default = false. Start as if already simulated for one full loop cycle. Requires loop = true.
59
+ optional SimulationSpace simulation_space = 27; // default = PSS_LOCAL. Controls whether particles simulate in local or world space.
60
+
61
+ // --- Limit Velocity Over Lifetime ---
62
+ optional LimitVelocity limit_velocity = 26; // Clamps particle speed over its lifetime.
63
+
64
+ // --- Playback ---
65
+ optional PlaybackState playback_state = 22; // default = PS_PLAYING
66
+
67
+ // --- Emission Bursts ---
68
+ optional BurstConfiguration bursts = 29;
69
+
70
+ // ---- Nested types ----
71
+
72
+ // Sprite sheet (texture atlas) animation settings.
73
+ message SpriteSheetAnimation {
74
+ uint32 tiles_x = 1; // Number of columns in the sprite sheet.
75
+ uint32 tiles_y = 2; // Number of rows in the sprite sheet.
76
+ optional float frames_per_second = 3; // default = 30. Playback speed in frames per second.
77
+ }
78
+
79
+ // Clamps particle speed over lifetime.
80
+ message LimitVelocity {
81
+ float speed = 1; // Maximum particle speed (m/s).
82
+ optional float dampen = 2; // default = 1. Fraction (0–1) of excess velocity removed per frame. 1 = hard clamp.
83
+ }
84
+
85
+ // Emitter spawns particles from a single point.
86
+ message Point {}
87
+
88
+ // Emitter spawns particles from the surface or volume of a sphere.
89
+ message Sphere {
90
+ optional float radius = 1; // default = 1
91
+ }
92
+
93
+ // Emitter spawns particles from the base of a cone and projects them outward.
94
+ message Cone {
95
+ optional float angle = 1; // default = 25. Half-angle of the cone in degrees.
96
+ optional float radius = 2; // default = 1. Base radius in meters.
97
+ }
98
+
99
+ // Emitter spawns particles from the surface or volume of a box.
100
+ message Box {
101
+ optional decentraland.common.Vector3 size = 1; // default = {1, 1, 1}
102
+ }
103
+
104
+ // Emission burst configuration.
105
+ message BurstConfiguration {
106
+ repeated Burst values = 1;
107
+ }
108
+
109
+ message Burst {
110
+ float time = 1; // Seconds from start of cycle.
111
+ uint32 count = 2; // Particles to emit.
112
+ optional int32 cycles = 3; // default = 1. Repeat count (0 = infinite).
113
+ optional float interval = 4; // default = 0.01. Seconds between cycles.
114
+ optional float probability = 5; // default = 1.0. Emission chance [0,1].
115
+ }
116
+
117
+ enum BlendMode {
118
+ PSB_ALPHA = 0; // Standard alpha transparency.
119
+ PSB_ADD = 1; // Additive blending (brightens underlying pixels).
120
+ PSB_MULTIPLY = 2; // Multiply blending (darkens underlying pixels).
121
+ }
122
+
123
+ enum PlaybackState {
124
+ PS_PLAYING = 0; // Particle system is emitting and simulating.
125
+ PS_PAUSED = 1; // Simulation is frozen; no new particles are emitted.
126
+ PS_STOPPED = 2; // Simulation stopped and existing particles cleared.
127
+ }
128
+
129
+ enum SimulationSpace {
130
+ PSS_LOCAL = 0; // Particles move with the entity transform.
131
+ PSS_WORLD = 1; // Particles stay in world position after emission.
132
+ }
133
+ }
@@ -0,0 +1,21 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components;
4
+
5
+ import "decentraland/common/vectors.proto";
6
+ import "decentraland/sdk/components/common/id.proto";
7
+
8
+ option (common.ecs_component_id) = 1216;
9
+
10
+ /**
11
+ * This component applies a continuous physics force.
12
+
13
+ * @remarks Low-level component. Use Physics.applyForceToPlayer()/.removeForceToPlayer() instead.
14
+ * Direct manipulation will conflict with the force accumulation registry.
15
+ * Summary component: stores the accumulated result of all active forces registered by the scene in the current frame.
16
+
17
+ * State-like component: the force is applied every physics tick while the component is present on the entity.
18
+ */
19
+ message PBPhysicsCombinedForce {
20
+ decentraland.common.Vector3 vector = 1; // Includes force direction and magnitude
21
+ }
@@ -0,0 +1,23 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components;
4
+
5
+ import "decentraland/common/vectors.proto";
6
+ import "decentraland/sdk/components/common/id.proto";
7
+
8
+ option (common.ecs_component_id) = 1215;
9
+
10
+ /**
11
+ * This component applies a one-shot physics summary impulse.
12
+
13
+ * @remarks Low-level component. Use Physics.applyImpulseToPlayer() instead.
14
+ * Direct manipulation will conflict with the force accumulation registry.
15
+ * Summary component: stores the accumulated result of all impulses registered by the scene in the current frame.
16
+
17
+ * Event-like component: each new impulse must increment the eventID to ensure delivery via CRDT, even if the direction is identical to the previous one.
18
+ * Renderer processes impulse with the unique ID only once. Increase eventID of the component to apply another impulse.
19
+ */
20
+ message PBPhysicsCombinedImpulse {
21
+ decentraland.common.Vector3 vector = 1; // Includes impulse direction and magnitude
22
+ uint32 event_id = 2; // Monotonic counter to distinguish different impulses.
23
+ }
@@ -0,0 +1,13 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ option (common.ecs_component_id) = 1089;
6
+
7
+ // PlayerIdentityData is used to read the information about the avatar's
8
+ // identity. this component is written by the engine using the communications
9
+ // transports' data.
10
+ message PBPlayerIdentityData {
11
+ string address = 1; // ethereum address of this player
12
+ bool is_guest = 3;
13
+ }
@@ -0,0 +1,68 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components;
4
+
5
+ import "decentraland/sdk/components/common/id.proto";
6
+ import "decentraland/sdk/components/common/input_action.proto";
7
+
8
+ option (common.ecs_component_id) = 1062;
9
+
10
+ // PointerEvents adds configurable pointer-based interactions to the attached Entity.
11
+ //
12
+ // Events that match the criteria defined in the PointerEvents structure are reported back to the
13
+ // Entity via the PointerEventsResult component.
14
+ //
15
+ // Some examples of events that can be detected:
16
+ // - Pointer hovering over the Entity.
17
+ // - Held mouse button released over the Entity.
18
+ // - Controller button pressed while targeting the Entity.
19
+ // - Key pressed while targeting the Entity, but only in close range.
20
+ //
21
+ // It also supports simple visual feedback when interactions occur, by showing floating text.
22
+ // More sophisticated feedback requires the use of other components.
23
+ //
24
+ // Distance rules
25
+ // --------------
26
+ // PointerEvents can enforce interaction range using two independent distance checks:
27
+ //
28
+ // - Player distance (`max_distance`): distance from the avatar/player position to the target entity.
29
+ // - Camera distance (`max_camera_distance`): distance from the active camera to the target entity.
30
+ //
31
+ // `max_player_distance` is deprecated: it is an alias for `max_distance` (both are player distance).
32
+ // If both are present, the larger of the two is used as the player distance threshold.
33
+ //
34
+ // How the interaction checks are combined:
35
+ //
36
+ // 1) Only `max_distance` is present
37
+ // - The interaction is allowed only if the player distance is <= `max_distance`.
38
+ //
39
+ // 2) Only `max_camera_distance` is present
40
+ // - The interaction is allowed only if the camera distance is <= `max_camera_distance`.
41
+ //
42
+ // 3) Both `max_distance` and `max_camera_distance` are present
43
+ // - The interaction is allowed if ANY of the checks passes (OR logic):
44
+ // (player distance <= `max_distance`) OR (camera distance <= `max_camera_distance`).
45
+ //
46
+ // 4) Neither `max_distance` nor `max_camera_distance` is present
47
+ // - The system behaves as if `max_distance` were set to its default value (10),
48
+ // i.e., it uses the player distance check with a threshold of 10.
49
+ message PBPointerEvents {
50
+ message Info {
51
+ optional common.InputAction button = 1; // key/button in use (default IA_ANY)
52
+ optional string hover_text = 2; // feedback on hover (default 'Interact')
53
+ optional float max_distance = 3; // range of interaction from the avatar's position (default 10)
54
+ optional bool show_feedback = 4; // enable or disable hover text and highlight (default true)
55
+ optional bool show_highlight = 5; // enable or disable hover highlight (default true)
56
+ optional float max_player_distance = 6; // @deprecated use `max_distance` instead (same semantics)
57
+ optional uint32 priority = 7; // resolution order when multiple events overlap, higher wins (default 0)
58
+ optional float max_camera_distance = 8; // range of interaction from the active camera's position (default none)
59
+ }
60
+
61
+ message Entry {
62
+ common.PointerEventType event_type = 1; // the kind of interaction to detect
63
+ Info event_info = 2; // additional configuration for this detection
64
+ optional common.InteractionType interaction_type = 3; // the type of interaction source (default 0 == CURSOR)
65
+ }
66
+
67
+ repeated Entry pointer_events = 1; // the list of relevant events to detect
68
+ }
@@ -4,22 +4,16 @@ package decentraland.sdk.components;
4
4
 
5
5
  import "decentraland/sdk/components/common/id.proto";
6
6
  import "decentraland/sdk/components/common/input_action.proto";
7
- import "decentraland/sdk/components/pointer_hover_feedback.proto";
8
- import "decentraland/sdk/components/raycast_result.proto";
7
+ import "decentraland/sdk/components/common/raycast_hit.proto";
9
8
 
10
9
  option (common.ecs_component_id) = 1063;
11
10
 
12
- // the renderer will set this component to the root entity once per frame with all the events
11
+ // renderer append a new object of this in each command, there can be many commands per frames
13
12
  message PBPointerEventsResult {
14
- // a list of the last N pointer commands (from the engine)
15
- repeated PointerCommand commands = 1;
16
-
17
- // this message represents a pointer event, used both for UP and DOWN actions
18
- message PointerCommand {
19
- common.InputAction button = 1; // identifier of the input
20
- RaycastHit hit = 2;
21
- PointerEventType state = 4;
22
- int32 timestamp = 5; // could be a Lamport timestamp
23
- optional float analog = 6; // if the input is analog then we store it here
24
- }
13
+ common.InputAction button = 1; // identifier of the input
14
+ common.RaycastHit hit = 2;
15
+ common.PointerEventType state = 4;
16
+ uint32 timestamp = 5; // monotonic counter
17
+ optional float analog = 6; // if the input is analog then we store it here
18
+ uint32 tick_number = 7; // number of tick in which the event was produced, equals to EngineInfo.tick_number
25
19
  }
@@ -4,6 +4,8 @@ package decentraland.sdk.components;
4
4
  import "decentraland/sdk/components/common/id.proto";
5
5
  option (common.ecs_component_id) = 1074;
6
6
 
7
+ // PointerLock indicates whether the mouse pointer is automatically following the camera’s point of
8
+ // focus (locked), or can move freely on the screen (unlocked).
7
9
  message PBPointerLock {
8
- bool is_pointer_locked = 1;
10
+ bool is_pointer_locked = 1; // whether the pointer is locked
9
11
  }
@@ -0,0 +1,39 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/common/vectors.proto";
5
+ import "decentraland/sdk/components/common/id.proto";
6
+
7
+ option (common.ecs_component_id) = 1209;
8
+
9
+ // The PBPrimaryPointerInfo component provides information about the current state of the primary
10
+ // pointer input device (mouse, touch, gamepad, or VR controller). It tracks the pointer's position,
11
+ // movement, and interaction capabilities in both 2D screen space and 3D world space.
12
+ //
13
+ // This component is essential for:
14
+ // - Tracking cursor/pointer position and movement
15
+ // - Converting 2D screen coordinates to 3D world space interactions
16
+ // - Supporting multiple input methods (mouse, touch, gamepad, VR)
17
+ // - Enabling ray-based interactions for 3D object selection
18
+ //
19
+ // The component can be used to:
20
+ // - Implement drag-and-drop functionality
21
+ // - Handle touch interactions on mobile devices
22
+ // - Support gamepad navigation
23
+ // - Enable VR controller interactions
24
+ // - Convert screen coordinates to world space rays for 3D interactions
25
+ //
26
+ // Note: Touch, Pad, and Wand support, as well as dragging, will be added later.
27
+ message PBPrimaryPointerInfo {
28
+ optional PointerType pointer_type = 1; // The type of input device being used
29
+ optional decentraland.common.Vector2 screen_coordinates = 2; // Current position in screen space (pixels)
30
+ optional decentraland.common.Vector2 screen_delta = 3; // Movement since last frame (pixels)
31
+ optional decentraland.common.Vector3 world_ray_direction = 4; // Direction vector for 3D ray casting
32
+ }
33
+
34
+ // PointerType enumerates the different input devices that can be used for pointer interactions.
35
+ // Each type has specific characteristics and use cases in the virtual world.
36
+ enum PointerType {
37
+ POT_NONE = 0; // No pointer input
38
+ POT_MOUSE = 1; // Traditional mouse input
39
+ }
@@ -7,14 +7,52 @@ import "decentraland/sdk/components/common/id.proto";
7
7
 
8
8
  option (common.ecs_component_id) = 1067;
9
9
 
10
- enum RaycastQueryType {
11
- RQT_HIT_FIRST = 0;
12
- RQT_QUERY_ALL = 1;
13
- }
14
-
10
+ // The PBRaycast component and PBRaycastResult are defined in https://adr.decentraland.org/adr/ADR-200
11
+ //
12
+ // The Raycast component allows scenes to request raycasting from the game engine. The results will
13
+ // be available in a RaycastResult component set later on the same Entity.
15
14
  message PBRaycast {
16
- decentraland.common.Vector3 origin = 2;
17
- decentraland.common.Vector3 direction = 3;
15
+ // Correlation ID, defined by the scene and used internally by the scene
16
+ optional uint32 timestamp = 1;
17
+
18
+ // How much to offset the starting point of the ray, relative to the entity's transform.
19
+ // Defaults to vec3(0,0,0)
20
+ optional decentraland.common.Vector3 origin_offset = 2;
21
+
22
+ oneof direction {
23
+ // The direction of the ray in local coordinates (relative to the origin point)
24
+ decentraland.common.Vector3 local_direction = 6;
25
+
26
+ // The direction of the ray in global coordinates (relative to origin)
27
+ decentraland.common.Vector3 global_direction = 3;
28
+
29
+ // Target coordinates of the raycast, in global coordinates
30
+ decentraland.common.Vector3 global_target = 7;
31
+
32
+ // Will point to the final world position of another entity
33
+ uint32 target_entity = 10;
34
+ }
35
+
36
+ // Maximum length of the ray in virtual meters (global space)
18
37
  float max_distance = 4;
38
+
39
+ // the RaycastQueryType behavior
19
40
  RaycastQueryType query_type = 5;
41
+
42
+ // Indicates the renderer to perform the raycast on every scene tick (ADR-148),
43
+ // otherwise it will be performed only once, defaults to false
44
+ optional bool continuous = 8;
45
+
46
+ // Collision mask, by default CL_POINTER | CL_PHYSICS
47
+ optional uint32 collision_mask = 9;
48
+ }
49
+
50
+ // RaycastQueryType indicates whether the ray should stop on the first collition, or continue.
51
+ enum RaycastQueryType {
52
+ // Pick the first (not necessarily the closest) hit within the range
53
+ RQT_HIT_FIRST = 0;
54
+ // Pick all hits within the range
55
+ RQT_QUERY_ALL = 1;
56
+ // Do not perform the raycast, only set the raycast result with empty hits
57
+ RQT_NONE = 2;
20
58
  }
@@ -1,25 +1,21 @@
1
1
  syntax = "proto3";
2
2
  package decentraland.sdk.components;
3
3
 
4
- import "decentraland/sdk/components/common/id.proto";
5
4
  import "decentraland/common/vectors.proto";
5
+ import "decentraland/sdk/components/common/id.proto";
6
+ import "decentraland/sdk/components/common/raycast_hit.proto";
6
7
 
7
8
  option (common.ecs_component_id) = 1068;
8
9
 
10
+ // The PBRaycast component and PBRaycastResult are defined in https://adr.decentraland.org/adr/ADR-200
11
+ //
12
+ // The RaycastResult component is added to an Entity when the results of a previously attached
13
+ // Raycast component are available. It contains information about the ray and any objects it
14
+ // collided with.
9
15
  message PBRaycastResult {
10
- int32 timestamp = 1;
11
- decentraland.common.Vector3 origin = 2;
12
- decentraland.common.Vector3 direction = 3;
13
- repeated RaycastHit hits = 4;
16
+ optional uint32 timestamp = 1; // timestamp is a correlation id, copied from the PBRaycast
17
+ decentraland.common.Vector3 global_origin = 2; // the starting point of the ray in global coordinates
18
+ decentraland.common.Vector3 direction = 3; // the direction vector of the ray in global coordinates
19
+ repeated decentraland.sdk.components.common.RaycastHit hits = 4; // zero or more hits
20
+ uint32 tick_number = 5; // number of tick in which the event was produced, equals to EngineInfo.tick_number
14
21
  }
15
-
16
- // Position will be relative to the scene
17
- message RaycastHit {
18
- decentraland.common.Vector3 position = 1;
19
- decentraland.common.Vector3 origin = 2;
20
- decentraland.common.Vector3 direction = 3;
21
- decentraland.common.Vector3 normal_hit = 4;
22
- float length = 5;
23
- optional string mesh_name = 6;
24
- optional int64 entity_id = 7;
25
- }
@@ -0,0 +1,15 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ option (common.ecs_component_id) = 1106;
6
+
7
+ message PBRealmInfo {
8
+ string base_url = 1; // the domain of the realm server
9
+ string realm_name = 2; // the name of the realm server (more info https://adr.decentraland.org/adr/ADR-110)
10
+ int32 network_id = 3; // the network id (1=Ethereum, more info https://chainlist.org/)
11
+ string comms_adapter = 4; // comms adapter (more info https://adr.decentraland.org/adr/ADR-180)
12
+ bool is_preview = 5; // true if the scene is running as a local preview, instead of published in Decentraland.
13
+ optional string room = 6; // the room session id.
14
+ optional bool is_connected_scene_room = 7; // true if the user is connected to the scene room.
15
+ }
@@ -0,0 +1,20 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+
5
+ import "decentraland/sdk/components/common/id.proto";
6
+
7
+ option (common.ecs_component_id) = 1210;
8
+
9
+ // The SkyboxTime component allows controlling the time of day for the skybox,
10
+ // affecting the lighting and appearance of the sky in the scene.
11
+ message PBSkyboxTime {
12
+ uint32 fixed_time = 1; // fixed time of day, represented as a number of seconds since the start of the day, where 0 is 00:00hs, 43200 is 12:00hs and 86400 is 24:00hs
13
+ optional TransitionMode transition_mode = 2; // default = TransitionMode.TM_FORWARD, controls the direction of time transitions
14
+ }
15
+
16
+ // Controls the direction for animated skybox transitions
17
+ enum TransitionMode {
18
+ TM_FORWARD = 0; // transitions forward (default)
19
+ TM_BACKWARD = 1; // transitions backward
20
+ }