@dcl/protocol 1.0.0-3338184295.commit-c785923 → 1.0.0-33413306233.commit-16d337c

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 (545) hide show
  1. package/README.md +265 -5
  2. package/out-js/about.gen.d.ts +1 -0
  3. package/out-js/about.gen.js +6 -0
  4. package/out-js/about.gen.js.map +1 -0
  5. package/out-js/comms.gen.d.ts +1 -0
  6. package/out-js/comms.gen.js +6 -0
  7. package/out-js/comms.gen.js.map +1 -0
  8. package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
  9. package/out-js/decentraland/common/border_rect.gen.js +201 -0
  10. package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
  11. package/out-js/decentraland/common/colors.gen.d.ts +59 -0
  12. package/out-js/decentraland/common/colors.gen.js +260 -0
  13. package/out-js/decentraland/common/colors.gen.js.map +1 -0
  14. package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
  15. package/out-js/decentraland/common/content_mapping.gen.js +80 -0
  16. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
  17. package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
  18. package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
  19. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
  20. package/out-js/decentraland/common/texture.gen.d.ts +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 +353 -0
  57. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1241 -0
  58. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
  59. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +217 -0
  60. package/out-js/decentraland/kernel/apis/runtime.gen.js +801 -0
  61. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
  62. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
  63. package/out-js/decentraland/kernel/apis/scene.gen.js +171 -0
  64. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
  65. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +139 -0
  66. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
  67. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
  68. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
  69. package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
  70. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
  71. package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
  72. package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
  73. package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
  74. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +56 -0
  75. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
  76. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
  77. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
  78. package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
  79. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
  80. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +334 -0
  81. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +2093 -0
  82. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
  83. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
  84. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
  85. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
  86. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +249 -0
  87. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1384 -0
  88. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
  89. package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
  90. package/out-js/decentraland/quests/definitions.gen.js +2728 -0
  91. package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
  92. package/out-js/decentraland/realm/about.gen.d.ts +229 -0
  93. package/out-js/decentraland/realm/about.gen.js +1185 -0
  94. package/out-js/decentraland/realm/about.gen.js.map +1 -0
  95. package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
  96. package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
  97. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
  98. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
  99. package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
  100. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
  101. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +50 -0
  102. package/out-js/decentraland/sdk/components/audio_stream.gen.js +138 -0
  103. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
  104. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
  105. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
  106. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
  107. package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
  108. package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
  109. package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
  110. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
  111. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
  112. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
  113. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
  114. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
  115. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
  116. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +62 -0
  117. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +160 -0
  118. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
  119. package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +54 -0
  120. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
  121. package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
  122. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +82 -0
  123. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +298 -0
  124. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
  125. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +61 -0
  126. package/out-js/decentraland/sdk/components/billboard.gen.js +142 -0
  127. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
  128. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
  129. package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
  130. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
  131. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
  132. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
  133. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
  134. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
  135. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
  136. package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js.map +1 -0
  137. package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
  138. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
  139. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
  140. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +17 -0
  141. package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +73 -0
  142. package/out-js/decentraland/sdk/components/common/explorer_ui.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 +41 -0
  147. package/out-js/decentraland/sdk/components/common/input_action.gen.js +209 -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 +43 -0
  159. package/out-js/decentraland/sdk/components/engine_info.gen.js +107 -0
  160. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  161. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +68 -0
  162. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +219 -0
  163. package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
  164. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
  165. package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
  166. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
  167. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
  168. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
  169. package/out-js/decentraland/sdk/components/gltf_container_loading_state.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/material.gen.d.ts +108 -0
  174. package/out-js/decentraland/sdk/components/material.gen.js +536 -0
  175. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
  176. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +130 -0
  177. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +471 -0
  178. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
  179. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +104 -0
  180. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
  181. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
  182. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
  183. package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
  184. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
  185. package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
  186. package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
  187. package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
  188. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +110 -0
  189. package/out-js/decentraland/sdk/components/pointer_events.gen.js +306 -0
  190. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
  191. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
  192. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
  193. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
  194. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
  195. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
  196. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
  197. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
  198. package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
  199. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
  200. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
  201. package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
  202. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
  203. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
  204. package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
  205. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
  206. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
  207. package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
  208. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
  209. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
  210. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +201 -0
  211. package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
  212. package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
  213. package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
  214. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  215. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  216. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
  217. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  218. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  219. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  220. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  221. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
  222. package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
  223. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
  224. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
  225. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
  226. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
  227. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
  228. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
  229. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
  230. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
  231. package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
  232. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
  233. package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
  234. package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
  235. package/out-js/decentraland/sdk/components/ui_input_binding.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 +50 -0
  240. package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -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 +238 -0
  243. package/out-js/decentraland/sdk/components/ui_transform.gen.js +1547 -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/decentraland/common/border_rect.gen.ts +230 -0
  292. package/out-ts/decentraland/common/colors.gen.ts +293 -0
  293. package/out-ts/decentraland/common/content_mapping.gen.ts +31 -18
  294. package/out-ts/decentraland/common/sdk/user_data.gen.ts +133 -62
  295. package/out-ts/decentraland/common/texture.gen.ts +539 -0
  296. package/out-ts/decentraland/common/vectors.gen.ts +207 -56
  297. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
  298. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +338 -33
  299. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +54 -34
  300. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1032 -1574
  301. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +506 -293
  302. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +386 -211
  303. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +231 -140
  304. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +136 -72
  305. package/out-ts/decentraland/kernel/apis/players.gen.ts +170 -100
  306. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +305 -158
  307. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1176 -149
  308. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
  309. package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
  310. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +356 -94
  311. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +85 -51
  312. package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
  313. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +50 -33
  314. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +99 -66
  315. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1876 -261
  316. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +404 -241
  317. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1092 -611
  318. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  319. package/out-ts/decentraland/realm/about.gen.ts +1415 -0
  320. package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
  321. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
  322. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +182 -0
  323. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
  324. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
  325. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
  326. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
  327. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +195 -0
  328. package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +158 -0
  329. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +383 -0
  330. package/out-ts/decentraland/sdk/components/billboard.gen.ts +172 -0
  331. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
  332. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
  333. package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
  334. package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
  335. package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +70 -0
  336. package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
  337. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +206 -0
  338. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  339. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
  340. package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
  341. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +134 -0
  342. package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +263 -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 +89 -0
  345. package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
  346. package/out-ts/decentraland/sdk/components/material.gen.ts +655 -0
  347. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +536 -0
  348. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
  349. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
  350. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  351. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +415 -0
  352. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
  353. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
  354. package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
  355. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
  356. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
  357. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
  358. package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
  359. package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
  360. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  361. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  362. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
  363. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
  364. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
  365. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
  366. package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
  367. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
  368. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
  369. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1775 -0
  370. package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
  371. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -0
  372. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  373. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  374. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  375. package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
  376. package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
  377. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
  378. package/out-ts/google/protobuf/descriptor.gen.ts +1145 -536
  379. package/out-ts/google/protobuf/empty.gen.ts +21 -16
  380. package/out-ts/quests.gen.ts +3 -0
  381. package/out-ts/sdk-components.gen.ts +3 -0
  382. package/out-ts/sdk-development.gen.ts +3 -0
  383. package/out-ts/social.gen.ts +3 -0
  384. package/package.json +22 -11
  385. package/proto/decentraland/common/border_rect.proto +18 -0
  386. package/proto/decentraland/common/colors.proto +6 -0
  387. package/proto/decentraland/common/entity.proto +1 -1
  388. package/proto/decentraland/common/floats.proto +8 -0
  389. package/proto/decentraland/common/options.proto +51 -0
  390. package/proto/decentraland/common/quantization_example.proto +164 -0
  391. package/proto/decentraland/common/texture.proto +19 -8
  392. package/proto/decentraland/common/vectors.proto +7 -0
  393. package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
  394. package/proto/decentraland/kernel/apis/communications_controller.proto +19 -2
  395. package/proto/decentraland/kernel/apis/dev_tools.proto +2 -0
  396. package/proto/decentraland/kernel/apis/engine_api.proto +49 -110
  397. package/proto/decentraland/kernel/apis/environment_api.proto +7 -0
  398. package/proto/decentraland/kernel/apis/ethereum_controller.proto +10 -0
  399. package/proto/decentraland/kernel/apis/parcel_identity.proto +3 -0
  400. package/proto/decentraland/kernel/apis/permissions.proto +4 -0
  401. package/proto/decentraland/kernel/apis/players.proto +6 -0
  402. package/proto/decentraland/kernel/apis/portable_experiences.proto +15 -1
  403. package/proto/decentraland/kernel/apis/restricted_actions.proto +115 -12
  404. package/proto/decentraland/kernel/apis/runtime.proto +71 -0
  405. package/proto/decentraland/kernel/apis/scene.proto +16 -0
  406. package/proto/decentraland/kernel/apis/signed_fetch.proto +8 -0
  407. package/proto/decentraland/kernel/apis/social_controller.proto +6 -3
  408. package/proto/decentraland/kernel/apis/testing.proto +100 -0
  409. package/proto/decentraland/kernel/apis/user_action_module.proto +1 -0
  410. package/proto/decentraland/kernel/apis/user_identity.proto +1 -0
  411. package/proto/decentraland/kernel/comms/rfc4/comms.proto +103 -0
  412. package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +6 -3
  413. package/proto/decentraland/kernel/comms/v3/archipelago.proto +58 -34
  414. package/proto/decentraland/pulse/pulse_client.proto +101 -0
  415. package/proto/decentraland/pulse/pulse_server.proto +144 -0
  416. package/proto/decentraland/pulse/pulse_shared.proto +57 -0
  417. package/proto/decentraland/quests/definitions.proto +185 -0
  418. package/proto/decentraland/realm/about.proto +138 -0
  419. package/proto/decentraland/sdk/components/animator.proto +20 -8
  420. package/proto/decentraland/sdk/components/asset_load.proto +10 -0
  421. package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
  422. package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
  423. package/proto/decentraland/sdk/components/audio_event.proto +12 -0
  424. package/proto/decentraland/sdk/components/audio_source.proto +24 -6
  425. package/proto/decentraland/sdk/components/audio_stream.proto +14 -3
  426. package/proto/decentraland/sdk/components/avatar_attach.proto +37 -5
  427. package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
  428. package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
  429. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
  430. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
  431. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +21 -7
  432. package/proto/decentraland/sdk/components/avatar_nametag.proto +31 -0
  433. package/proto/decentraland/sdk/components/avatar_shape.proto +40 -23
  434. package/proto/decentraland/sdk/components/billboard.proto +24 -6
  435. package/proto/decentraland/sdk/components/camera_mode.proto +3 -1
  436. package/proto/decentraland/sdk/components/camera_mode_area.proto +13 -2
  437. package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
  438. package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
  439. package/proto/decentraland/sdk/components/common/camera_type.proto +1 -0
  440. package/proto/decentraland/sdk/components/common/explorer_ui.proto +14 -0
  441. package/proto/decentraland/sdk/components/common/input_action.proto +17 -0
  442. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  443. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  444. package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
  445. package/proto/decentraland/sdk/components/common/texts.proto +3 -2
  446. package/proto/decentraland/sdk/components/engine_info.proto +16 -0
  447. package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +31 -0
  448. package/proto/decentraland/sdk/components/gltf_container.proto +11 -5
  449. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
  450. package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
  451. package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
  452. package/proto/decentraland/sdk/components/light_source.proto +28 -0
  453. package/proto/decentraland/sdk/components/main_camera.proto +11 -0
  454. package/proto/decentraland/sdk/components/map_pin.proto +16 -0
  455. package/proto/decentraland/sdk/components/material.proto +37 -22
  456. package/proto/decentraland/sdk/components/mesh_collider.proto +36 -9
  457. package/proto/decentraland/sdk/components/mesh_renderer.proto +17 -4
  458. package/proto/decentraland/sdk/components/nft_shape.proto +15 -7
  459. package/proto/decentraland/sdk/components/particle_system.proto +133 -0
  460. package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
  461. package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
  462. package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
  463. package/proto/decentraland/sdk/components/pointer_events.proto +64 -0
  464. package/proto/decentraland/sdk/components/pointer_events_result.proto +8 -14
  465. package/proto/decentraland/sdk/components/pointer_lock.proto +3 -1
  466. package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
  467. package/proto/decentraland/sdk/components/raycast.proto +45 -8
  468. package/proto/decentraland/sdk/components/raycast_result.proto +12 -16
  469. package/proto/decentraland/sdk/components/realm_info.proto +15 -0
  470. package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
  471. package/proto/decentraland/sdk/components/text_shape.proto +33 -21
  472. package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
  473. package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
  474. package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
  475. package/proto/decentraland/sdk/components/tween.proto +117 -0
  476. package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
  477. package/proto/decentraland/sdk/components/tween_state.proto +18 -0
  478. package/proto/decentraland/sdk/components/ui_background.proto +25 -2
  479. package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
  480. package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
  481. package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
  482. package/proto/decentraland/sdk/components/ui_input.proto +20 -0
  483. package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
  484. package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
  485. package/proto/decentraland/sdk/components/ui_text.proto +14 -5
  486. package/proto/decentraland/sdk/components/ui_transform.proto +97 -82
  487. package/proto/decentraland/sdk/components/video_event.proto +25 -0
  488. package/proto/decentraland/sdk/components/video_player.proto +24 -0
  489. package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
  490. package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
  491. package/proto/decentraland/sdk/development/local_development.proto +29 -0
  492. package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
  493. package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
  494. package/proto/decentraland/social_service/errors.proto +30 -0
  495. package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
  496. package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
  497. package/protoc-gen-bitwise/generator_csharp.js +248 -0
  498. package/protoc-gen-bitwise/options.js +139 -0
  499. package/protoc-gen-bitwise/plugin.js +87 -0
  500. package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
  501. package/protoc-gen-bitwise/wire.js +239 -0
  502. package/public/about.proto +5 -0
  503. package/public/quests.proto +5 -0
  504. package/public/sdk-apis.proto +6 -2
  505. package/public/sdk-components.proto +47 -0
  506. package/public/sdk-development.proto +5 -0
  507. package/public/social.proto +6 -0
  508. package/out-ts/bff-services.gen.ts +0 -3
  509. package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -279
  510. package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -239
  511. package/out-ts/decentraland/bff/comms_service.gen.ts +0 -194
  512. package/out-ts/decentraland/bff/http_endpoints.gen.ts +0 -845
  513. package/out-ts/decentraland/bff/topics_service.gen.ts +0 -405
  514. package/out-ts/decentraland/kernel/apis/experimental_api.gen.ts +0 -279
  515. package/out-ts/decentraland/renderer/engine_interface.gen.ts +0 -8669
  516. package/out-ts/decentraland/renderer/protocol.gen.ts +0 -267
  517. package/out-ts/google/api/annotations.gen.ts +0 -3
  518. package/out-ts/google/api/http.gen.ts +0 -295
  519. package/out-ts/renderer-interface.gen.ts +0 -3
  520. package/proto/buf.yaml +0 -45
  521. package/proto/decentraland/bff/authentication_service.proto +0 -27
  522. package/proto/decentraland/bff/comms_director_service.proto +0 -33
  523. package/proto/decentraland/bff/comms_service.proto +0 -25
  524. package/proto/decentraland/bff/http_endpoints.proto +0 -82
  525. package/proto/decentraland/bff/topics_service.proto +0 -34
  526. package/proto/decentraland/kernel/apis/experimental_api.proto +0 -17
  527. package/proto/decentraland/renderer/engine_interface.proto +0 -709
  528. package/proto/decentraland/renderer/protocol.proto +0 -21
  529. package/proto/decentraland/sdk/components/pointer_hover_feedback.proto +0 -31
  530. package/proto/google/LICENSE +0 -27
  531. package/proto/google/README.md +0 -1
  532. package/proto/google/api/annotations.json +0 -83
  533. package/proto/google/api/annotations.proto +0 -11
  534. package/proto/google/api/http.json +0 -86
  535. package/proto/google/api/http.proto +0 -31
  536. package/proto/google/protobuf/api.json +0 -118
  537. package/proto/google/protobuf/api.proto +0 -34
  538. package/proto/google/protobuf/descriptor.json +0 -739
  539. package/proto/google/protobuf/descriptor.proto +0 -286
  540. package/proto/google/protobuf/source_context.json +0 -20
  541. package/proto/google/protobuf/source_context.proto +0 -7
  542. package/proto/google/protobuf/type.json +0 -202
  543. package/proto/google/protobuf/type.proto +0 -89
  544. package/public/bff-services.proto +0 -16
  545. package/public/renderer-interface.proto +0 -4
@@ -7,13 +7,27 @@ import "decentraland/sdk/components/common/id.proto";
7
7
 
8
8
  option (common.ecs_component_id) = 1070;
9
9
 
10
- enum AvatarModifierType {
11
- AMT_HIDE_AVATARS = 0;
12
- AMT_DISABLE_PASSPORTS = 1;
10
+ // The AvatarModifierArea component can be attached to an Entity to define a region of space where
11
+ // avatar behavior changes.
12
+ //
13
+ // The Entity's Transform position determines the center-point of the region, while its size is
14
+ // given as a vector in the `area` property below. The Transform rotation is applied, but the scale
15
+ // is ignored.
16
+ //
17
+ // The modifier effect is only applied to avatars inside the region. It does not affect how players
18
+ // standing inside it see avatars on the other side of the boundary.
19
+ //
20
+ // Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
21
+ // is actually a 3D volume.
22
+ message PBAvatarModifierArea {
23
+ decentraland.common.Vector3 area = 1; // the 3D size of the region
24
+ repeated string exclude_ids = 2; // user IDs that can enter and remain unaffected
25
+ repeated AvatarModifierType modifiers = 3; // list of modifiers to apply
13
26
  }
14
27
 
15
- message PBAvatarModifierArea {
16
- decentraland.common.Vector3 area = 1;
17
- repeated string exclude_ids = 2;
18
- repeated AvatarModifierType modifiers = 3;
28
+ // AvatarModifierType is an effect that should be applied to avatars inside the region.
29
+ enum AvatarModifierType {
30
+ AMT_HIDE_AVATARS = 0; // avatars are invisible
31
+ AMT_DISABLE_PASSPORTS = 1; // selecting (e.g. clicking) an avatar will not bring up their profile.
32
+ AMT_HIDE_NAMETAGS = 2; // the name tag displayed above an avatar is hidden.
19
33
  }
@@ -0,0 +1,31 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components;
4
+
5
+ import "decentraland/common/colors.proto";
6
+ import "decentraland/sdk/components/common/id.proto";
7
+
8
+ option (common.ecs_component_id) = 1221;
9
+
10
+ // The AvatarNametag component adds a plate with scene-provided text above an avatar's nametag,
11
+ // for example to show a rank or a role that the scene assigns to that player.
12
+ //
13
+ // Valid only on an avatar-bearing entity:
14
+ // - the local player: `engine.PlayerEntity`
15
+ // - another player in the scene: that player's entity
16
+ // - an NPC: any entity with an AvatarShape
17
+ // Writes to any other entity are ignored.
18
+ //
19
+ // Player entity ids are not stable across disconnects: a write to a stale entity lands on
20
+ // whoever holds that id next. Resolve the entity from the user id on every write, and remove
21
+ // the component when the player leaves the scene.
22
+ //
23
+ // The plate is local to the client that renders it; it is never relayed to other players.
24
+ message PBAvatarNametag {
25
+ // The plate text: a single line, for example "Club Owner". Empty draws the plate without text.
26
+ string label = 1;
27
+
28
+ optional decentraland.common.Color3 label_color = 2; // (default: the client's native nametag text color)
29
+ optional decentraland.common.Color3 background_color = 3; // (default: the client's native nametag background color)
30
+ optional decentraland.common.Color3 border_color = 4; // (default: background_color, so the plate carries no visible border)
31
+ }
@@ -5,28 +5,45 @@ import "decentraland/sdk/components/common/id.proto";
5
5
  option (common.ecs_component_id) = 1080;
6
6
  import "decentraland/common/colors.proto";
7
7
 
8
+ // The AvatarShape component contains the information required to draw and animate avatar, acting as
9
+ // a simplified GLTF container for this specific case.
10
+ //
11
+ // All fields (except ID) are optional have reasonable default values. In the case of `wearables`,
12
+ // each slot on the Avatar's body that is not explicitly included in the list has its own default.
13
+ //
14
+ // Note that, while AvatarShape can be attached to any Entity, it's only actually used in the global
15
+ // Avatar Scene. Other requirements are usually better served by GLTFs.
8
16
  message PBAvatarShape {
9
- string id = 1;
10
- optional string name = 2; // default = NPC
11
- optional string body_shape = 3; // default = urn:decentraland:off-chain:base-avatars:BaseFemale
12
- optional decentraland.common.Color3 skin_color = 4; // default = decentraland.common.Color3(R = 0.6f, G = 0.462f, B = 0.356f)
13
- optional decentraland.common.Color3 hair_color = 5; // default = decentraland.common.Color3(R = 0.283f, G = 0.142f, B = 0f)
14
- optional decentraland.common.Color3 eye_color = 6; // default = decentraland.common.Color3(R = 0.6f, G = 0.462f, B = 0.356f)
15
- optional string expression_trigger_id = 7;
16
- optional int64 expression_trigger_timestamp = 8; // default = timestamp
17
- optional bool talking = 9;
18
- /**
19
- * default = ["urn:decentraland:off-chain:base-avatars:f_eyes_00",
20
- * "urn:decentraland:off-chain:base-avatars:f_eyebrows_00",
21
- * "urn:decentraland:off-chain:base-avatars:f_mouth_00"
22
- * "urn:decentraland:off-chain:base-avatars:standard_hair",
23
- * "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
24
- * "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
25
- * "urn:decentraland:off-chain:base-avatars:bun_shoes"]
26
- */
27
- repeated string wearables = 10;
28
- /**
29
- * default = []
30
- */
31
- repeated string emotes = 11;
17
+ string id = 1; // the user ID
18
+ optional string name = 2; // visible name (default: "NPC")
19
+ optional string body_shape = 3; // shape URN (default "urn:decentraland:off-chain:base-avatars:BaseFemale")
20
+
21
+ optional decentraland.common.Color3 skin_color = 4; // RGB (default [0.6, 0.462, 0.356])
22
+ optional decentraland.common.Color3 hair_color = 5; // RGB (default [0.283, 0.142, 0])
23
+ optional decentraland.common.Color3 eye_color = 6; // RGB (default [0.6, 0.462, 0.356])
24
+
25
+ optional string expression_trigger_id = 7; // current emote animations
26
+ optional int64 expression_trigger_timestamp = 8; // start of emote animations (in the same order)
27
+
28
+ optional bool talking = 9; // whether to display the floating voice chat icon
29
+
30
+ // Wearable URNs, one for each body slot.
31
+ // Default values for each unspecified slot:
32
+ // Eyes : "urn:decentraland:off-chain:base-avatars:f_eyes_00",
33
+ // Eyebrows: "urn:decentraland:off-chain:base-avatars:f_eyebrows_00",
34
+ // Mouth : "urn:decentraland:off-chain:base-avatars:f_mouth_00"
35
+ // Hair : "urn:decentraland:off-chain:base-avatars:standard_hair",
36
+ // Shirt : "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
37
+ // Trousers: "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
38
+ // Shoes : "urn:decentraland:off-chain:base-avatars:bun_shoes"]
39
+ repeated string wearables = 10;
40
+ repeated string emotes = 11; // available emotes (default empty)
41
+
42
+ optional bool show_only_wearables = 12; // hides the skin + hair + facial features (default: false)
43
+ }
44
+
45
+ // Mask for which bones an animation applies to.
46
+ enum AvatarEmoteMask {
47
+ AEM_FULL_BODY = 0;
48
+ AEM_UPPER_BODY = 1;
32
49
  }
@@ -4,14 +4,32 @@ package decentraland.sdk.components;
4
4
 
5
5
  import "decentraland/sdk/components/common/id.proto";
6
6
 
7
+ // https://adr.decentraland.org/adr/ADR-198
7
8
  option (common.ecs_component_id) = 1090;
8
9
 
9
- enum BillboardMode {
10
- BM_ALL_AXES = 0;
11
- BM_Y_AXE = 1;
10
+ // The Billboard component makes an Entity automatically reorient its rotation to face a target.
11
+ // By default (when target_entity is unset), the billboard faces the main camera. When target_entity
12
+ // is set, the billboard faces that entity instead. Setting target_entity to the camera reserved
13
+ // entity (2) is equivalent to leaving the field unset. If the referenced target entity doesn’t exist
14
+ // or is deleted, the billboard reorientation is disabled until the target exists again.
15
+ //
16
+ // As the name indicates, it’s used to display in-game billboards and frequently combined with
17
+ // the TextShape component.
18
+ //
19
+ // Billboard only affects the Entity’s rotation. Its scale and position are still determined by its
20
+ // Transform.
21
+ message PBBillboard {
22
+ optional BillboardMode billboard_mode = 1; // the BillboardMode (default: BM_ALL)
23
+ optional uint32 target_entity = 2; // entity to face instead of the camera; if the referenced entity doesn’t exist, the billboard behavior is disabled until it does
12
24
  }
13
25
 
14
- message PBBillboard {
15
- optional BillboardMode billboard_mode = 1; // default=BM_ALL_AXES
16
- optional bool opposite_direction = 2; // default=false
26
+ // BillboardMode indicates one or more axis for automatic rotation, in OR-able bit flag form.
27
+ // Only the values below and the (BM_X | BM_Y) combination are valid.
28
+ enum BillboardMode {
29
+ BM_NONE = 0;
30
+ BM_X = 1;
31
+ BM_Y = 2;
32
+ BM_Z = 4;
33
+ BM_ALL = 7; // bitwise combination BM_X | BM_Y | BM_Z
17
34
  }
35
+
@@ -5,6 +5,8 @@ import "decentraland/sdk/components/common/id.proto";
5
5
  option (common.ecs_component_id) = 1072;
6
6
  import "decentraland/sdk/components/common/camera_type.proto";
7
7
 
8
+ // The CameraMode component can be used to determine whether the player is using a first-person o
9
+ // third-person view.
8
10
  message PBCameraMode {
9
- common.CameraType mode = 1;
11
+ common.CameraType mode = 1; // the camera type (1st-person or 3rd-person)
10
12
  }
@@ -8,7 +8,18 @@ import "decentraland/sdk/components/common/id.proto";
8
8
 
9
9
  option (common.ecs_component_id) = 1071;
10
10
 
11
+ // The CameraModeArea component can be attached to an Entity to define a region of space where
12
+ // the player's camera mode (1st-person or 3rd-person) is overridden.
13
+ //
14
+ // The Entity's Transform position determines the center-point of the region, while its size is
15
+ // given as a vector in the `area` property below. The Transform rotation is applied, but the scale
16
+ // is ignored.
17
+ //
18
+ // When players leave the region, their previous setting is restored.
19
+ //
20
+ // Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
21
+ // is actually a 3D volume.
11
22
  message PBCameraModeArea {
12
- decentraland.common.Vector3 area = 1;
13
- common.CameraType mode = 2;
23
+ decentraland.common.Vector3 area = 1; // the 3D size of the region
24
+ common.CameraType mode = 2; // the camera mode to enforce
14
25
  }
@@ -0,0 +1,7 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components.common;
3
+
4
+ // Mask for which bones an animation applies to.
5
+ enum AvatarMask {
6
+ AM_UPPER_BODY = 0;
7
+ }
@@ -0,0 +1,11 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components.common;
3
+
4
+ // Defines the transition used towards the camera that contains the CameraTransition.
5
+ // This structure may be updated in the future to specify from/to entities and to have easing functions.
6
+ message CameraTransition {
7
+ oneof transition_mode {
8
+ float time = 1;
9
+ float speed = 2; // meters per second; e.g. speed 1 -> 1 meter per second
10
+ }
11
+ }
@@ -5,4 +5,5 @@ package decentraland.sdk.components.common;
5
5
  enum CameraType {
6
6
  CT_FIRST_PERSON = 0;
7
7
  CT_THIRD_PERSON = 1;
8
+ CT_CINEMATIC = 2; // controlled by the scene
8
9
  }
@@ -0,0 +1,14 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components.common;
3
+
4
+ // Identifies which fullscreen explorer panel OpenExplorerUi targets.
5
+ // EU_SETTINGS holds 0 so an unset `ui` field defaults to the least-intrusive panel.
6
+ enum ExplorerUi {
7
+ EU_SETTINGS = 0;
8
+ EU_MAP = 1;
9
+ EU_BACKPACK = 2;
10
+ EU_CAMERA_REEL = 3;
11
+ EU_COMMUNITIES = 4;
12
+ EU_PLACES = 5;
13
+ EU_EVENTS = 6;
14
+ }
@@ -17,4 +17,21 @@ enum InputAction {
17
17
  IA_ACTION_4 = 11;
18
18
  IA_ACTION_5 = 12;
19
19
  IA_ACTION_6 = 13;
20
+ // Modifier key (Shift on desktop)
21
+ IA_MODIFIER = 14;
20
22
  }
23
+
24
+ // PointerEventType is a kind of interaction that can be detected.
25
+ enum PointerEventType {
26
+ PET_UP = 0;
27
+ PET_DOWN = 1;
28
+ PET_HOVER_ENTER = 2;
29
+ PET_HOVER_LEAVE = 3;
30
+ PET_PROXIMITY_ENTER = 4;
31
+ PET_PROXIMITY_LEAVE = 5;
32
+ }
33
+
34
+ enum InteractionType {
35
+ CURSOR = 0;
36
+ PROXIMITY = 1;
37
+ }
@@ -0,0 +1,10 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components.common;
3
+
4
+ enum LoadingState {
5
+ UNKNOWN = 0;
6
+ LOADING = 1;
7
+ NOT_FOUND = 2;
8
+ FINISHED_WITH_ERROR = 3;
9
+ FINISHED = 4;
10
+ }
@@ -0,0 +1,13 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components.common;
3
+
4
+ enum MediaState {
5
+ MS_NONE = 0;
6
+ MS_ERROR = 1;
7
+ MS_LOADING = 2;
8
+ MS_READY = 3;
9
+ MS_PLAYING = 4;
10
+ MS_BUFFERING = 5;
11
+ MS_SEEKING = 6;
12
+ MS_PAUSED = 7;
13
+ }
@@ -0,0 +1,16 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components.common;
4
+ import "decentraland/common/vectors.proto";
5
+
6
+ // RaycastHit contains information about the intersection of a ray with a mesh.
7
+ message RaycastHit {
8
+ // Position will be relative to the scene
9
+ decentraland.common.Vector3 position = 1; // the intersection point in global coordinates
10
+ decentraland.common.Vector3 global_origin = 2; // the starting point of the ray in global coordinates
11
+ decentraland.common.Vector3 direction = 3; // the direction vector of the ray in global coordinates
12
+ decentraland.common.Vector3 normal_hit = 4; // normal of the hit surface in global coordinates
13
+ float length = 5; // the distance between the ray origin and the hit position
14
+ optional string mesh_name = 6; // mesh name, if collision happened inside a GltfContainer
15
+ optional uint32 entity_id = 7; // the ID of the Entity that has the impacted mesh attached
16
+ }
@@ -15,6 +15,7 @@ enum TextAlignMode {
15
15
  }
16
16
 
17
17
  enum Font {
18
- F_LIBERATION_SANS = 0;
19
- F_SANS_SERIF = 1;
18
+ F_SANS_SERIF = 0;
19
+ F_SERIF = 1;
20
+ F_MONOSPACE = 2;
20
21
  }
@@ -0,0 +1,16 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ option (common.ecs_component_id) = 1048;
6
+
7
+ // EngineInfo provides information about the graphics engine running the scene.
8
+ // The values of this component are written at the "physics" stage of the ADR-148. Meaning
9
+ // the tick_number and frame_number of the same frame could be used as correlation numbers
10
+ // for timestamps in other components.
11
+ message PBEngineInfo {
12
+ uint32 frame_number = 1; // frame counter of the engine
13
+ float total_runtime = 2; // total runtime of this scene in seconds
14
+ uint32 tick_number = 3; // tick counter of the scene as per ADR-148
15
+ bool scene_hidden = 4; // visibility state of the scene regarding Explorer fullscreen UI
16
+ }
@@ -0,0 +1,31 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ import "decentraland/sdk/components/common/explorer_ui.proto";
6
+
7
+ option (common.ecs_component_id) = 1220;
8
+
9
+ // PBExplorerUiEventsResult transports the lifecycle events of fullscreen explorer panels — a panel was
10
+ // opened, a panel was closed. It is a grow only value set appended to the scene root entity, so every
11
+ // event of a tick is delivered and none overwrites another.
12
+ message PBExplorerUiEventsResult {
13
+ // Emitted when a fullscreen explorer panel is opened.
14
+ message UiOpened {}
15
+
16
+ // Emitted when a fullscreen explorer panel is closed.
17
+ message UiClosed {}
18
+
19
+ decentraland.sdk.components.common.ExplorerUi ui = 1; // The panel that the event refers to
20
+ uint32 timestamp = 2; // The scene tick when the event occurred
21
+
22
+ // Extension point, deliberately narrow: a variant belongs here only if it is meaningful for every
23
+ // value of `ui`, because `ui` and `event` are independent axes and every combination of the two is
24
+ // representable. An event that belongs to one panel alone (an item was worn in the backpack, a photo
25
+ // was taken in the camera reel) is not added here — it gets its own result component, where the
26
+ // component identity carries the panel and no contradictory pair can be expressed at all.
27
+ oneof event {
28
+ UiOpened opened = 10;
29
+ UiClosed closed = 11;
30
+ }
31
+ }
@@ -4,10 +4,16 @@ package decentraland.sdk.components;
4
4
  import "decentraland/sdk/components/common/id.proto";
5
5
  option (common.ecs_component_id) = 1041;
6
6
 
7
+ // GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
8
+ //
9
+ // This allows the use of custom models, materials, collision boundaries and shapes that can't be
10
+ // achieved using MeshRenderer, MeshCollider and other standard components.
7
11
  message PBGltfContainer {
8
- // which file to load
9
- string src = 1;
10
-
11
- // SDK7xx which node to load
12
- // SDK7xx optional string scene_name = 2;
12
+ string src = 1; // the GLTF file path as listed in the scene's manifest.
13
+
14
+ reserved 2;
15
+ reserved 3;
16
+
17
+ optional uint32 visible_meshes_collision_mask = 4; // default: 0
18
+ optional uint32 invisible_meshes_collision_mask = 5; // default: CL_POINTER | CL_PHYSICS
13
19
  }
@@ -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) = 1049;
6
+
7
+ import "decentraland/sdk/components/common/loading_state.proto";
8
+
9
+ // GltfContainerLoadingState is set by the engine and provides information about
10
+ // the current state of the GltfContainer of an entity.
11
+ message PBGltfContainerLoadingState {
12
+ common.LoadingState current_state = 1;
13
+ }
@@ -0,0 +1,25 @@
1
+ syntax = "proto3";
2
+
3
+ package decentraland.sdk.components;
4
+
5
+ import "decentraland/sdk/components/common/id.proto";
6
+ import "decentraland/sdk/components/material.proto";
7
+
8
+ option (common.ecs_component_id) = 1099;
9
+
10
+ // GltfNodeModifiers component is to be used attached to entities that have the GltfContainer component.
11
+ //
12
+ // This allows to override either the Material or the Casting Shadows behaviour of the target GLTF Node.
13
+ //
14
+ // * If the 'path' of the first modifier in the collection is an empty string: the configuration will
15
+ // affect all of the GLTF Nodes (as a global modifier).
16
+ // * Otherwise, for the modifiers whose 'path' is found in the GLTF hierarchy, the modifier will affect only
17
+ // the target Nodes.
18
+ message PBGltfNodeModifiers {
19
+ message GltfNodeModifier {
20
+ string path = 1; // The GLTF hierarchy path of the target Node to be affected
21
+ optional bool cast_shadows = 2; // The casting shadows enabled override
22
+ optional PBMaterial material = 3; // The Material that will be overridden on the target Node
23
+ }
24
+ repeated GltfNodeModifier modifiers = 1;
25
+ }
@@ -0,0 +1,22 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+ import "decentraland/sdk/components/common/id.proto";
4
+ option (common.ecs_component_id) = 1078;
5
+
6
+ message PBInputModifier {
7
+ // when a boolean = false (default) the message is ignored and doesn't consume bandwidth
8
+ message StandardInput {
9
+ optional bool disable_all = 1;
10
+ optional bool disable_walk = 2;
11
+ optional bool disable_jog = 3;
12
+ optional bool disable_run = 4;
13
+ optional bool disable_jump = 5;
14
+ optional bool disable_emote = 6;
15
+ optional bool disable_double_jump = 7;
16
+ optional bool disable_gliding = 8;
17
+ }
18
+
19
+ oneof mode {
20
+ StandardInput standard = 1;
21
+ }
22
+ }
@@ -0,0 +1,28 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+ import "decentraland/sdk/components/common/id.proto";
4
+ import "decentraland/common/colors.proto";
5
+ import "decentraland/common/texture.proto";
6
+ option (common.ecs_component_id) = 1079;
7
+
8
+ message PBLightSource {
9
+ optional bool active = 1; // default = true, whether the lightSource is active or not.
10
+ optional decentraland.common.Color3 color = 2; // default = white, the tint of the light, in RGB format where each component is a floating point value with a range from 0 to 1.
11
+ optional float intensity = 3; // default = 16000, light intensity expressed in candels (lumens/m^2 at 1 m distance, or lumens divided by 4*pi)
12
+ optional float range = 4; // default = -1, how far the light travels, expressed in meters. If negative will be computed automatically as pow(intensity, 0.25)
13
+ optional bool shadow = 5; // default = false, whether the light casts shadows or not.
14
+ optional decentraland.common.TextureUnion shadow_mask_texture = 6; // Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window.
15
+
16
+ oneof type {
17
+ Point point = 7;
18
+ Spot spot = 8;
19
+ }
20
+
21
+ message Point {
22
+ }
23
+
24
+ message Spot {
25
+ optional float inner_angle = 9; // default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0. Max value is 179.
26
+ optional float outer_angle = 10; // default = 30. Outer angle can't be lower than inner angle, otherwise will inner angle will be set to same value. Max value is 179.
27
+ }
28
+ }
@@ -0,0 +1,11 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ option (common.ecs_component_id) = 1075;
6
+
7
+ // PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
8
+ // This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
9
+ message PBMainCamera {
10
+ optional uint32 virtual_camera_entity = 1; // current active virtual camera
11
+ }
@@ -0,0 +1,16 @@
1
+ syntax = "proto3";
2
+ package decentraland.sdk.components;
3
+ import "decentraland/common/vectors.proto";
4
+ import "decentraland/sdk/components/common/id.proto";
5
+ import "decentraland/common/texture.proto";
6
+ option (common.ecs_component_id) = 1097;
7
+
8
+ // @deprecated
9
+ // Used internally for the game orchestrator PX, not exposed in the SDK
10
+ message PBMapPin {
11
+ decentraland.common.Vector2 position = 1;
12
+ optional decentraland.common.TextureUnion texture = 2;
13
+ float icon_size = 3;
14
+ string title = 4;
15
+ string description = 5;
16
+ }
@@ -17,26 +17,41 @@ enum MaterialTransparencyMode {
17
17
  }
18
18
 
19
19
  message PBMaterial {
20
- optional decentraland.common.TextureUnion texture = 1; // default = null
20
+ message UnlitMaterial {
21
+ optional decentraland.common.TextureUnion texture = 1; // default = null
22
+ optional float alpha_test = 2; // default = 0.5. range value: from 0 to 1
23
+ optional bool cast_shadows = 3; // default = true
24
+ optional decentraland.common.Color4 diffuse_color = 4; // default = white;
25
+ optional decentraland.common.TextureUnion alpha_texture = 5; // default = null. Note that tilling and offset properties are ignored for this texture.
26
+ }
27
+
28
+ message PbrMaterial {
29
+ optional decentraland.common.TextureUnion texture = 1; // default = null
21
30
 
22
- optional float alpha_test = 2; // default = 0.5. range value: from 0 to 1
23
- optional bool cast_shadows = 3; // default = true
24
-
25
- optional decentraland.common.TextureUnion alpha_texture = 4; // default = null
26
- optional decentraland.common.TextureUnion emissive_texture = 5; // default = null
27
- optional decentraland.common.TextureUnion bump_texture = 6; // default = null
28
-
29
- optional decentraland.common.Color3 albedo_color = 7; // default = white;
30
- optional decentraland.common.Color3 emissive_color = 8; // default = black;
31
- optional decentraland.common.Color3 reflectivity_color = 9; // default = white;
32
-
33
- optional MaterialTransparencyMode transparency_mode = 10; // default = TransparencyMode.Auto
34
-
35
- optional float metallic = 11; // default = 0.5
36
- optional float roughness = 12; // default = 0.5
37
- optional float glossiness = 13; // default = 1
38
-
39
- optional float specular_intensity = 14; // default = 1
40
- optional float emissive_intensity = 15; // default = 2
41
- optional float direct_intensity = 16; // default = 1
42
- }
31
+ optional float alpha_test = 2; // default = 0.5. range value: from 0 to 1
32
+ optional bool cast_shadows = 3; // default = true
33
+
34
+ optional decentraland.common.TextureUnion alpha_texture = 4; // @deprecated Alpha textures are no longer supported on PBRMaterial and UnlitMaterial.alphaTexture should be used instead.
35
+ optional decentraland.common.TextureUnion emissive_texture = 5; // default = null. Note that tilling and offset properties are ignored for this texture.
36
+ optional decentraland.common.TextureUnion bump_texture = 6; // default = null. Note that tilling and offset properties are ignored for this texture.
37
+
38
+ optional decentraland.common.Color4 albedo_color = 7; // default = white;
39
+ optional decentraland.common.Color3 emissive_color = 8; // default = black;
40
+ optional decentraland.common.Color3 reflectivity_color = 9; // default = white;
41
+
42
+ optional MaterialTransparencyMode transparency_mode = 10; // default = TransparencyMode.Auto
43
+
44
+ optional float metallic = 11; // default = 0.5
45
+ optional float roughness = 12; // default = 0.5
46
+ reserved 13;
47
+
48
+ optional float specular_intensity = 14; // default = 1
49
+ optional float emissive_intensity = 15; // default = 2
50
+ optional float direct_intensity = 16; // default = 1
51
+ }
52
+
53
+ oneof material {
54
+ UnlitMaterial unlit = 1;
55
+ PbrMaterial pbr = 2;
56
+ }
57
+ }