@dcl/protocol 1.0.0-4427886959.commit-6b9dcb5 → 1.0.0-4468031496.commit-eace17b

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 (336) hide show
  1. package/out-js/decentraland/bff/authentication_service.gen.d.ts +6 -2
  2. package/out-js/decentraland/bff/authentication_service.gen.js +46 -24
  3. package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -1
  4. package/out-js/decentraland/bff/comms_director_service.gen.d.ts +6 -2
  5. package/out-js/decentraland/bff/comms_director_service.gen.js +33 -18
  6. package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -1
  7. package/out-js/decentraland/bff/comms_service.gen.d.ts +21 -7
  8. package/out-js/decentraland/bff/comms_service.gen.js +25 -17
  9. package/out-js/decentraland/bff/comms_service.gen.js.map +1 -1
  10. package/out-js/decentraland/bff/http_endpoints.gen.d.ts +3 -1
  11. package/out-js/decentraland/bff/http_endpoints.gen.js +197 -72
  12. package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -1
  13. package/out-js/decentraland/bff/topics_service.gen.d.ts +9 -3
  14. package/out-js/decentraland/bff/topics_service.gen.js +64 -32
  15. package/out-js/decentraland/bff/topics_service.gen.js.map +1 -1
  16. package/out-js/decentraland/common/border_rect.gen.d.ts +54 -0
  17. package/out-js/decentraland/common/border_rect.gen.js +100 -0
  18. package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
  19. package/out-js/decentraland/common/colors.gen.d.ts +82 -0
  20. package/out-js/decentraland/common/colors.gen.js +175 -0
  21. package/out-js/decentraland/common/colors.gen.js.map +1 -0
  22. package/out-js/decentraland/common/content_mapping.gen.js +13 -6
  23. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
  24. package/out-js/decentraland/common/sdk/user_data.gen.js +71 -26
  25. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
  26. package/out-js/decentraland/common/texture.gen.d.ts +319 -0
  27. package/out-js/decentraland/common/texture.gen.js +424 -0
  28. package/out-js/decentraland/common/texture.gen.js.map +1 -0
  29. package/out-js/decentraland/common/vectors.gen.js +47 -20
  30. package/out-js/decentraland/common/vectors.gen.js.map +1 -1
  31. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +3 -1
  32. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +15 -10
  33. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
  34. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +3 -1
  35. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +19 -11
  36. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
  37. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +18 -6
  38. package/out-js/decentraland/kernel/apis/engine_api.gen.js +443 -206
  39. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
  40. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +21 -7
  41. package/out-js/decentraland/kernel/apis/environment_api.gen.js +176 -96
  42. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
  43. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +15 -5
  44. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +141 -72
  45. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
  46. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +9 -3
  47. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +91 -47
  48. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
  49. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +6 -2
  50. package/out-js/decentraland/kernel/apis/permissions.gen.js +42 -28
  51. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
  52. package/out-js/decentraland/kernel/apis/players.gen.d.ts +9 -3
  53. package/out-js/decentraland/kernel/apis/players.gen.js +49 -31
  54. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
  55. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +12 -4
  56. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +81 -48
  57. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
  58. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +21 -7
  59. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +123 -69
  60. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  61. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +6 -2
  62. package/out-js/decentraland/kernel/apis/runtime.gen.js +55 -29
  63. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
  64. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +3 -1
  65. package/out-js/decentraland/kernel/apis/scene.gen.js +27 -13
  66. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
  67. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +3 -1
  68. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +82 -35
  69. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
  70. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +3 -1
  71. package/out-js/decentraland/kernel/apis/social_controller.gen.js +28 -16
  72. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
  73. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +3 -1
  74. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +15 -10
  75. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
  76. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +6 -2
  77. package/out-js/decentraland/kernel/apis/user_identity.gen.js +30 -20
  78. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
  79. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +148 -59
  80. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  81. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +142 -63
  82. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
  83. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +201 -86
  84. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
  85. package/out-js/decentraland/sdk/components/animator.gen.d.ts +184 -0
  86. package/out-js/decentraland/sdk/components/animator.gen.js +198 -0
  87. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
  88. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +74 -0
  89. package/out-js/decentraland/sdk/components/audio_source.gen.js +112 -0
  90. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
  91. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +56 -0
  92. package/out-js/decentraland/sdk/components/audio_stream.gen.js +88 -0
  93. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
  94. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +65 -0
  95. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +122 -0
  96. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
  97. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +100 -0
  98. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +146 -0
  99. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
  100. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +192 -0
  101. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +244 -0
  102. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
  103. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +59 -0
  104. package/out-js/decentraland/sdk/components/billboard.gen.js +118 -0
  105. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
  106. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +44 -0
  107. package/out-js/decentraland/sdk/components/camera_mode.gen.js +63 -0
  108. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
  109. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +84 -0
  110. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +78 -0
  111. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
  112. package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +8 -0
  113. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +39 -0
  114. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
  115. package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
  116. package/out-js/{renderer-interface.gen.js → decentraland/sdk/components/common/id.gen.js} +2 -2
  117. package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
  118. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +20 -0
  119. package/out-js/decentraland/sdk/components/common/input_action.gen.js +111 -0
  120. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
  121. package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
  122. package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
  123. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
  124. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +45 -0
  125. package/out-js/decentraland/sdk/components/gltf_container.gen.js +62 -0
  126. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
  127. package/out-js/decentraland/sdk/components/material.gen.d.ts +3452 -0
  128. package/out-js/decentraland/sdk/components/material.gen.js +506 -0
  129. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
  130. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +250 -0
  131. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +350 -0
  132. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
  133. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +284 -0
  134. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +347 -0
  135. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
  136. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +114 -0
  137. package/out-js/decentraland/sdk/components/nft_shape.gen.js +252 -0
  138. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
  139. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +249 -0
  140. package/out-js/decentraland/sdk/components/pointer_events.gen.js +272 -0
  141. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
  142. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +241 -0
  143. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +115 -0
  144. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
  145. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +43 -0
  146. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +62 -0
  147. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
  148. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +118 -0
  149. package/out-js/decentraland/sdk/components/raycast.gen.js +140 -0
  150. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
  151. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +536 -0
  152. package/out-js/decentraland/sdk/components/raycast_result.gen.js +278 -0
  153. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
  154. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +247 -0
  155. package/out-js/decentraland/sdk/components/text_shape.gen.js +338 -0
  156. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
  157. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +369 -0
  158. package/out-js/decentraland/sdk/components/ui_background.gen.js +190 -0
  159. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
  160. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +115 -0
  161. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +180 -0
  162. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
  163. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +38 -0
  164. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +62 -0
  165. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
  166. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +140 -0
  167. package/out-js/decentraland/sdk/components/ui_input.gen.js +165 -0
  168. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
  169. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +38 -0
  170. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +62 -0
  171. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
  172. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +95 -0
  173. package/out-js/decentraland/sdk/components/ui_text.gen.js +117 -0
  174. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
  175. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +403 -0
  176. package/out-js/decentraland/sdk/components/ui_transform.gen.js +1154 -0
  177. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
  178. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +69 -0
  179. package/out-js/decentraland/sdk/components/video_player.gen.js +131 -0
  180. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
  181. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
  182. package/out-js/decentraland/sdk/components/visibility_component.gen.js +62 -0
  183. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
  184. package/out-js/decentraland/social/friendships/friendships.gen.d.ts +12 -4
  185. package/out-js/decentraland/social/friendships/friendships.gen.js +231 -113
  186. package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -1
  187. package/out-js/google/protobuf/descriptor.gen.d.ts +87384 -0
  188. package/out-js/google/protobuf/descriptor.gen.js +2998 -0
  189. package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
  190. package/out-js/google/protobuf/empty.gen.js +5 -4
  191. package/out-js/google/protobuf/empty.gen.js.map +1 -1
  192. package/out-js/sdk-components.gen.d.ts +1 -0
  193. package/out-js/sdk-components.gen.js +6 -0
  194. package/out-js/sdk-components.gen.js.map +1 -0
  195. package/out-ts/decentraland/bff/authentication_service.gen.ts +52 -24
  196. package/out-ts/decentraland/bff/comms_director_service.gen.ts +37 -18
  197. package/out-ts/decentraland/bff/comms_service.gen.ts +27 -17
  198. package/out-ts/decentraland/bff/http_endpoints.gen.ts +236 -72
  199. package/out-ts/decentraland/bff/topics_service.gen.ts +73 -32
  200. package/out-ts/decentraland/common/border_rect.gen.ts +125 -0
  201. package/out-ts/decentraland/common/colors.gen.ts +214 -0
  202. package/out-ts/decentraland/common/content_mapping.gen.ts +15 -6
  203. package/out-ts/decentraland/common/sdk/user_data.gen.ts +85 -26
  204. package/out-ts/decentraland/common/texture.gen.ts +506 -0
  205. package/out-ts/decentraland/common/vectors.gen.ts +55 -20
  206. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +16 -10
  207. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +21 -11
  208. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +511 -206
  209. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +197 -96
  210. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +160 -72
  211. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +103 -47
  212. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +50 -26
  213. package/out-ts/decentraland/kernel/apis/players.gen.ts +53 -31
  214. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +89 -48
  215. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +137 -69
  216. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +62 -29
  217. package/out-ts/decentraland/kernel/apis/scene.gen.ts +31 -13
  218. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +96 -35
  219. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +31 -16
  220. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +16 -10
  221. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +32 -20
  222. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +175 -59
  223. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +165 -63
  224. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +235 -86
  225. package/out-ts/decentraland/sdk/components/animator.gen.ts +263 -0
  226. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +162 -0
  227. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +122 -0
  228. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +156 -0
  229. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +187 -0
  230. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +333 -0
  231. package/out-ts/decentraland/sdk/components/billboard.gen.ts +145 -0
  232. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
  233. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
  234. package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +36 -0
  235. package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
  236. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +108 -0
  237. package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
  238. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +87 -0
  239. package/out-ts/decentraland/sdk/components/material.gen.ts +637 -0
  240. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +436 -0
  241. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +436 -0
  242. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
  243. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +347 -0
  244. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +145 -0
  245. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
  246. package/out-ts/decentraland/sdk/components/raycast.gen.ts +176 -0
  247. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +361 -0
  248. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
  249. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +222 -0
  250. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
  251. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
  252. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
  253. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +80 -0
  254. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +161 -0
  255. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1309 -0
  256. package/out-ts/decentraland/sdk/components/video_player.gen.ts +173 -0
  257. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +81 -0
  258. package/out-ts/decentraland/social/friendships/friendships.gen.ts +264 -113
  259. package/out-ts/google/protobuf/descriptor.gen.ts +3440 -0
  260. package/out-ts/google/protobuf/empty.gen.ts +5 -4
  261. package/out-ts/sdk-components.gen.ts +3 -0
  262. package/package.json +2 -2
  263. package/public/sdk-components.proto +33 -0
  264. package/out-js/decentraland/common/entity.gen.d.ts +0 -89
  265. package/out-js/decentraland/common/entity.gen.js +0 -107
  266. package/out-js/decentraland/common/entity.gen.js.map +0 -1
  267. package/out-js/decentraland/renderer/common/friend_request_common.gen.d.ts +0 -69
  268. package/out-js/decentraland/renderer/common/friend_request_common.gen.js +0 -179
  269. package/out-js/decentraland/renderer/common/friend_request_common.gen.js.map +0 -1
  270. package/out-js/decentraland/renderer/engine_interface.gen.d.ts +0 -18476
  271. package/out-js/decentraland/renderer/engine_interface.gen.js +0 -7796
  272. package/out-js/decentraland/renderer/engine_interface.gen.js.map +0 -1
  273. package/out-js/decentraland/renderer/kernel_services/analytics.gen.d.ts +0 -670
  274. package/out-js/decentraland/renderer/kernel_services/analytics.gen.js +0 -846
  275. package/out-js/decentraland/renderer/kernel_services/analytics.gen.js.map +0 -1
  276. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.d.ts +0 -96
  277. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.js +0 -120
  278. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.js.map +0 -1
  279. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.d.ts +0 -2326
  280. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.js +0 -968
  281. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.js.map +0 -1
  282. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.d.ts +0 -111
  283. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.js +0 -162
  284. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.js.map +0 -1
  285. package/out-js/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.d.ts +0 -103
  286. package/out-js/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.js +0 -122
  287. package/out-js/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.js.map +0 -1
  288. package/out-js/decentraland/renderer/kernel_services/sign_request.gen.d.ts +0 -148
  289. package/out-js/decentraland/renderer/kernel_services/sign_request.gen.js +0 -239
  290. package/out-js/decentraland/renderer/kernel_services/sign_request.gen.js.map +0 -1
  291. package/out-js/decentraland/renderer/renderer_services/crdt.gen.d.ts +0 -182
  292. package/out-js/decentraland/renderer/renderer_services/crdt.gen.js +0 -235
  293. package/out-js/decentraland/renderer/renderer_services/crdt.gen.js.map +0 -1
  294. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.d.ts +0 -87
  295. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.js +0 -109
  296. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.js.map +0 -1
  297. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.d.ts +0 -335
  298. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.js +0 -380
  299. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.js.map +0 -1
  300. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.d.ts +0 -494
  301. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.js +0 -473
  302. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.js.map +0 -1
  303. package/out-js/decentraland/renderer/renderer_services/transport.gen.d.ts +0 -88
  304. package/out-js/decentraland/renderer/renderer_services/transport.gen.js +0 -114
  305. package/out-js/decentraland/renderer/renderer_services/transport.gen.js.map +0 -1
  306. package/out-js/renderer-interface.gen.d.ts +0 -1
  307. package/out-js/renderer-interface.gen.js.map +0 -1
  308. package/out-ts/decentraland/common/entity.gen.ts +0 -126
  309. package/out-ts/decentraland/renderer/common/friend_request_common.gen.ts +0 -206
  310. package/out-ts/decentraland/renderer/engine_interface.gen.ts +0 -8939
  311. package/out-ts/decentraland/renderer/kernel_services/analytics.gen.ts +0 -1004
  312. package/out-ts/decentraland/renderer/kernel_services/emotes_kernel.gen.ts +0 -151
  313. package/out-ts/decentraland/renderer/kernel_services/friend_request_kernel.gen.ts +0 -1146
  314. package/out-ts/decentraland/renderer/kernel_services/friends_kernel.gen.ts +0 -191
  315. package/out-ts/decentraland/renderer/kernel_services/mutual_friends_kernel.gen.ts +0 -151
  316. package/out-ts/decentraland/renderer/kernel_services/sign_request.gen.ts +0 -277
  317. package/out-ts/decentraland/renderer/renderer_services/crdt.gen.ts +0 -284
  318. package/out-ts/decentraland/renderer/renderer_services/emotes_renderer.gen.ts +0 -147
  319. package/out-ts/decentraland/renderer/renderer_services/friend_request_renderer.gen.ts +0 -470
  320. package/out-ts/decentraland/renderer/renderer_services/scene_controller.gen.ts +0 -579
  321. package/out-ts/decentraland/renderer/renderer_services/transport.gen.ts +0 -141
  322. package/out-ts/renderer-interface.gen.ts +0 -3
  323. package/proto/decentraland/renderer/common/friend_request_common.proto +0 -20
  324. package/proto/decentraland/renderer/engine_interface.proto +0 -709
  325. package/proto/decentraland/renderer/kernel_services/analytics.proto +0 -69
  326. package/proto/decentraland/renderer/kernel_services/emotes_kernel.proto +0 -16
  327. package/proto/decentraland/renderer/kernel_services/friend_request_kernel.proto +0 -100
  328. package/proto/decentraland/renderer/kernel_services/friends_kernel.proto +0 -22
  329. package/proto/decentraland/renderer/kernel_services/mutual_friends_kernel.proto +0 -15
  330. package/proto/decentraland/renderer/kernel_services/sign_request.proto +0 -27
  331. package/proto/decentraland/renderer/renderer_services/crdt.proto +0 -29
  332. package/proto/decentraland/renderer/renderer_services/emotes_renderer.proto +0 -15
  333. package/proto/decentraland/renderer/renderer_services/friend_request_renderer.proto +0 -36
  334. package/proto/decentraland/renderer/renderer_services/scene_controller.proto +0 -54
  335. package/proto/decentraland/renderer/renderer_services/transport.proto +0 -14
  336. package/public/renderer-interface.proto +0 -14
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PBAudioSource = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ exports.protobufPackage = "decentraland.sdk.components";
10
+ function createBasePBAudioSource() {
11
+ return { playing: undefined, volume: undefined, loop: undefined, pitch: undefined, audioClipUrl: "" };
12
+ }
13
+ exports.PBAudioSource = {
14
+ encode(message, writer = minimal_1.default.Writer.create()) {
15
+ if (message.playing !== undefined) {
16
+ writer.uint32(8).bool(message.playing);
17
+ }
18
+ if (message.volume !== undefined) {
19
+ writer.uint32(21).float(message.volume);
20
+ }
21
+ if (message.loop !== undefined) {
22
+ writer.uint32(24).bool(message.loop);
23
+ }
24
+ if (message.pitch !== undefined) {
25
+ writer.uint32(37).float(message.pitch);
26
+ }
27
+ if (message.audioClipUrl !== "") {
28
+ writer.uint32(42).string(message.audioClipUrl);
29
+ }
30
+ return writer;
31
+ },
32
+ decode(input, length) {
33
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
34
+ let end = length === undefined ? reader.len : reader.pos + length;
35
+ const message = createBasePBAudioSource();
36
+ while (reader.pos < end) {
37
+ const tag = reader.uint32();
38
+ switch (tag >>> 3) {
39
+ case 1:
40
+ if (tag != 8) {
41
+ break;
42
+ }
43
+ message.playing = reader.bool();
44
+ continue;
45
+ case 2:
46
+ if (tag != 21) {
47
+ break;
48
+ }
49
+ message.volume = reader.float();
50
+ continue;
51
+ case 3:
52
+ if (tag != 24) {
53
+ break;
54
+ }
55
+ message.loop = reader.bool();
56
+ continue;
57
+ case 4:
58
+ if (tag != 37) {
59
+ break;
60
+ }
61
+ message.pitch = reader.float();
62
+ continue;
63
+ case 5:
64
+ if (tag != 42) {
65
+ break;
66
+ }
67
+ message.audioClipUrl = reader.string();
68
+ continue;
69
+ }
70
+ if ((tag & 7) == 4 || tag == 0) {
71
+ break;
72
+ }
73
+ reader.skipType(tag & 7);
74
+ }
75
+ return message;
76
+ },
77
+ fromJSON(object) {
78
+ return {
79
+ playing: isSet(object.playing) ? Boolean(object.playing) : undefined,
80
+ volume: isSet(object.volume) ? Number(object.volume) : undefined,
81
+ loop: isSet(object.loop) ? Boolean(object.loop) : undefined,
82
+ pitch: isSet(object.pitch) ? Number(object.pitch) : undefined,
83
+ audioClipUrl: isSet(object.audioClipUrl) ? String(object.audioClipUrl) : "",
84
+ };
85
+ },
86
+ toJSON(message) {
87
+ const obj = {};
88
+ message.playing !== undefined && (obj.playing = message.playing);
89
+ message.volume !== undefined && (obj.volume = message.volume);
90
+ message.loop !== undefined && (obj.loop = message.loop);
91
+ message.pitch !== undefined && (obj.pitch = message.pitch);
92
+ message.audioClipUrl !== undefined && (obj.audioClipUrl = message.audioClipUrl);
93
+ return obj;
94
+ },
95
+ create(base) {
96
+ return exports.PBAudioSource.fromPartial(base !== null && base !== void 0 ? base : {});
97
+ },
98
+ fromPartial(object) {
99
+ var _a, _b, _c, _d, _e;
100
+ const message = createBasePBAudioSource();
101
+ message.playing = (_a = object.playing) !== null && _a !== void 0 ? _a : undefined;
102
+ message.volume = (_b = object.volume) !== null && _b !== void 0 ? _b : undefined;
103
+ message.loop = (_c = object.loop) !== null && _c !== void 0 ? _c : undefined;
104
+ message.pitch = (_d = object.pitch) !== null && _d !== void 0 ? _d : undefined;
105
+ message.audioClipUrl = (_e = object.audioClipUrl) !== null && _e !== void 0 ? _e : "";
106
+ return message;
107
+ },
108
+ };
109
+ function isSet(value) {
110
+ return value !== null && value !== undefined;
111
+ }
112
+ //# sourceMappingURL=audio_source.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio_source.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/audio_source.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAkC7D,SAAS,uBAAuB;IAC9B,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;AACxG,CAAC;AAEY,QAAA,aAAa,GAAG;IAC3B,MAAM,CAAC,OAAsB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACrE,IAAI,OAAO,CAAC,OAAO,KAAK,SAAS,EAAE;YACjC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;SACxC;QACD,IAAI,OAAO,CAAC,MAAM,KAAK,SAAS,EAAE;YAChC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;SACzC;QACD,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,EAAE;YAC9B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC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Y,GAAG,MAAA,MAAM,CAAC,YAAY,mCAAI,EAAE,CAAC;QACjD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC;AAcF,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,56 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "decentraland.sdk.components";
3
+ /**
4
+ * The AudioStream component can play external audio clips given a URL, streaming it in real-time.
5
+ *
6
+ * Despite being attached to a particular entity, the sound is not affected by its position.
7
+ */
8
+ export interface PBAudioStream {
9
+ /** whether the clip is currently playing */
10
+ playing?: boolean | undefined;
11
+ /** the audio volume (default: 1.0) */
12
+ volume?: number | undefined;
13
+ /** the audio stream HTTP URL */
14
+ url: string;
15
+ }
16
+ export declare const PBAudioStream: {
17
+ encode(message: PBAudioStream, writer?: _m0.Writer): _m0.Writer;
18
+ decode(input: _m0.Reader | Uint8Array, length?: number): PBAudioStream;
19
+ fromJSON(object: any): PBAudioStream;
20
+ toJSON(message: PBAudioStream): unknown;
21
+ create<I extends {
22
+ playing?: boolean | undefined;
23
+ volume?: number | undefined;
24
+ url?: string | undefined;
25
+ } & {
26
+ playing?: boolean | undefined;
27
+ volume?: number | undefined;
28
+ url?: string | undefined;
29
+ } & { [K in Exclude<keyof I, keyof PBAudioStream>]: never; }>(base?: I | undefined): PBAudioStream;
30
+ fromPartial<I_1 extends {
31
+ playing?: boolean | undefined;
32
+ volume?: number | undefined;
33
+ url?: string | undefined;
34
+ } & {
35
+ playing?: boolean | undefined;
36
+ volume?: number | undefined;
37
+ url?: string | undefined;
38
+ } & { [K_1 in Exclude<keyof I_1, keyof PBAudioStream>]: never; }>(object: I_1): PBAudioStream;
39
+ };
40
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
41
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
42
+ $case: string;
43
+ } ? {
44
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
45
+ } & {
46
+ $case: T["$case"];
47
+ } : T extends {} ? {
48
+ [K in keyof T]?: DeepPartial<T[K]>;
49
+ } : Partial<T>;
50
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
51
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
52
+ [K in keyof P]: Exact<P[K], I[K]>;
53
+ } & {
54
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
55
+ };
56
+ export {};
@@ -0,0 +1,88 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PBAudioStream = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ exports.protobufPackage = "decentraland.sdk.components";
10
+ function createBasePBAudioStream() {
11
+ return { playing: undefined, volume: undefined, url: "" };
12
+ }
13
+ exports.PBAudioStream = {
14
+ encode(message, writer = minimal_1.default.Writer.create()) {
15
+ if (message.playing !== undefined) {
16
+ writer.uint32(8).bool(message.playing);
17
+ }
18
+ if (message.volume !== undefined) {
19
+ writer.uint32(21).float(message.volume);
20
+ }
21
+ if (message.url !== "") {
22
+ writer.uint32(26).string(message.url);
23
+ }
24
+ return writer;
25
+ },
26
+ decode(input, length) {
27
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
28
+ let end = length === undefined ? reader.len : reader.pos + length;
29
+ const message = createBasePBAudioStream();
30
+ while (reader.pos < end) {
31
+ const tag = reader.uint32();
32
+ switch (tag >>> 3) {
33
+ case 1:
34
+ if (tag != 8) {
35
+ break;
36
+ }
37
+ message.playing = reader.bool();
38
+ continue;
39
+ case 2:
40
+ if (tag != 21) {
41
+ break;
42
+ }
43
+ message.volume = reader.float();
44
+ continue;
45
+ case 3:
46
+ if (tag != 26) {
47
+ break;
48
+ }
49
+ message.url = reader.string();
50
+ continue;
51
+ }
52
+ if ((tag & 7) == 4 || tag == 0) {
53
+ break;
54
+ }
55
+ reader.skipType(tag & 7);
56
+ }
57
+ return message;
58
+ },
59
+ fromJSON(object) {
60
+ return {
61
+ playing: isSet(object.playing) ? Boolean(object.playing) : undefined,
62
+ volume: isSet(object.volume) ? Number(object.volume) : undefined,
63
+ url: isSet(object.url) ? String(object.url) : "",
64
+ };
65
+ },
66
+ toJSON(message) {
67
+ const obj = {};
68
+ message.playing !== undefined && (obj.playing = message.playing);
69
+ message.volume !== undefined && (obj.volume = message.volume);
70
+ message.url !== undefined && (obj.url = message.url);
71
+ return obj;
72
+ },
73
+ create(base) {
74
+ return exports.PBAudioStream.fromPartial(base !== null && base !== void 0 ? base : {});
75
+ },
76
+ fromPartial(object) {
77
+ var _a, _b, _c;
78
+ const message = createBasePBAudioStream();
79
+ message.playing = (_a = object.playing) !== null && _a !== void 0 ? _a : undefined;
80
+ message.volume = (_b = object.volume) !== null && _b !== void 0 ? _b : undefined;
81
+ message.url = (_c = object.url) !== null && _c !== void 0 ? _c : "";
82
+ return message;
83
+ },
84
+ };
85
+ function isSet(value) {
86
+ return value !== null && value !== undefined;
87
+ }
88
+ //# sourceMappingURL=audio_stream.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio_stream.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/audio_stream.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAoB7D,SAAS,uBAAuB;IAC9B,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC;AAC5D,CAAC;AAEY,QAAA,aAAa,GAAG;IAC3B,MAAM,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,GAAG,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;QACrD,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAiD,IAAQ;QAC7D,OAAO,qBAAa,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC;IAC/C,CAAC;IAED,WAAW,CAAiD,MAAS;;QACnE,MAAM,OAAO,GAAG,uBAAuB,EAAE,CAAC;QAC1C,OAAO,CAAC,OAAO,GAAG,MAAA,MAAM,CAAC,OAAO,mCAAI,SAAS,CAAC;QAC9C,OAAO,CAAC,MAAM,GAAG,MAAA,MAAM,CAAC,MAAM,mCAAI,SAAS,CAAC;QAC5C,OAAO,CAAC,GAAG,GAAG,MAAA,MAAM,CAAC,GAAG,mCAAI,EAAE,CAAC;QAC/B,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC;AAcF,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,65 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "decentraland.sdk.components";
3
+ /** AvatarAnchorPointType determines the part of the avatar's body that anchors the Entity. */
4
+ export declare enum AvatarAnchorPointType {
5
+ AAPT_POSITION = 0,
6
+ AAPT_NAME_TAG = 1,
7
+ AAPT_LEFT_HAND = 2,
8
+ AAPT_RIGHT_HAND = 3,
9
+ UNRECOGNIZED = -1
10
+ }
11
+ export declare function avatarAnchorPointTypeFromJSON(object: any): AvatarAnchorPointType;
12
+ export declare function avatarAnchorPointTypeToJSON(object: AvatarAnchorPointType): string;
13
+ /**
14
+ * The AvatarAttach component automatically repositions an Entity to maintain the same position and
15
+ * rotation relative to some part of an avatar, called the "anchor point". The Entity
16
+ * will follow this anchor as it moves.
17
+ *
18
+ * The Entity's own Transform is overridden by this component. To offset position and adjust scale,
19
+ * add a child to the anchored Entity and set a Transform on it instead.
20
+ *
21
+ * AvatarAnchorPointType indicates which part of the avatar the Entity must follow.
22
+ */
23
+ export interface PBAvatarAttach {
24
+ /** the user ID of the avatar (default: local user) */
25
+ avatarId?: string | undefined;
26
+ /** the anchor point. */
27
+ anchorPointId: AvatarAnchorPointType;
28
+ }
29
+ export declare const PBAvatarAttach: {
30
+ encode(message: PBAvatarAttach, writer?: _m0.Writer): _m0.Writer;
31
+ decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarAttach;
32
+ fromJSON(object: any): PBAvatarAttach;
33
+ toJSON(message: PBAvatarAttach): unknown;
34
+ create<I extends {
35
+ avatarId?: string | undefined;
36
+ anchorPointId?: AvatarAnchorPointType | undefined;
37
+ } & {
38
+ avatarId?: string | undefined;
39
+ anchorPointId?: AvatarAnchorPointType | undefined;
40
+ } & { [K in Exclude<keyof I, keyof PBAvatarAttach>]: never; }>(base?: I | undefined): PBAvatarAttach;
41
+ fromPartial<I_1 extends {
42
+ avatarId?: string | undefined;
43
+ anchorPointId?: AvatarAnchorPointType | undefined;
44
+ } & {
45
+ avatarId?: string | undefined;
46
+ anchorPointId?: AvatarAnchorPointType | undefined;
47
+ } & { [K_1 in Exclude<keyof I_1, keyof PBAvatarAttach>]: never; }>(object: I_1): PBAvatarAttach;
48
+ };
49
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
50
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
51
+ $case: string;
52
+ } ? {
53
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
54
+ } & {
55
+ $case: T["$case"];
56
+ } : T extends {} ? {
57
+ [K in keyof T]?: DeepPartial<T[K]>;
58
+ } : Partial<T>;
59
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
60
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
61
+ [K in keyof P]: Exact<P[K], I[K]>;
62
+ } & {
63
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
64
+ };
65
+ export {};
@@ -0,0 +1,122 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PBAvatarAttach = exports.avatarAnchorPointTypeToJSON = exports.avatarAnchorPointTypeFromJSON = exports.AvatarAnchorPointType = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ exports.protobufPackage = "decentraland.sdk.components";
10
+ /** AvatarAnchorPointType determines the part of the avatar's body that anchors the Entity. */
11
+ var AvatarAnchorPointType;
12
+ (function (AvatarAnchorPointType) {
13
+ AvatarAnchorPointType[AvatarAnchorPointType["AAPT_POSITION"] = 0] = "AAPT_POSITION";
14
+ AvatarAnchorPointType[AvatarAnchorPointType["AAPT_NAME_TAG"] = 1] = "AAPT_NAME_TAG";
15
+ AvatarAnchorPointType[AvatarAnchorPointType["AAPT_LEFT_HAND"] = 2] = "AAPT_LEFT_HAND";
16
+ AvatarAnchorPointType[AvatarAnchorPointType["AAPT_RIGHT_HAND"] = 3] = "AAPT_RIGHT_HAND";
17
+ AvatarAnchorPointType[AvatarAnchorPointType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
18
+ })(AvatarAnchorPointType = exports.AvatarAnchorPointType || (exports.AvatarAnchorPointType = {}));
19
+ function avatarAnchorPointTypeFromJSON(object) {
20
+ switch (object) {
21
+ case 0:
22
+ case "AAPT_POSITION":
23
+ return AvatarAnchorPointType.AAPT_POSITION;
24
+ case 1:
25
+ case "AAPT_NAME_TAG":
26
+ return AvatarAnchorPointType.AAPT_NAME_TAG;
27
+ case 2:
28
+ case "AAPT_LEFT_HAND":
29
+ return AvatarAnchorPointType.AAPT_LEFT_HAND;
30
+ case 3:
31
+ case "AAPT_RIGHT_HAND":
32
+ return AvatarAnchorPointType.AAPT_RIGHT_HAND;
33
+ case -1:
34
+ case "UNRECOGNIZED":
35
+ default:
36
+ return AvatarAnchorPointType.UNRECOGNIZED;
37
+ }
38
+ }
39
+ exports.avatarAnchorPointTypeFromJSON = avatarAnchorPointTypeFromJSON;
40
+ function avatarAnchorPointTypeToJSON(object) {
41
+ switch (object) {
42
+ case AvatarAnchorPointType.AAPT_POSITION:
43
+ return "AAPT_POSITION";
44
+ case AvatarAnchorPointType.AAPT_NAME_TAG:
45
+ return "AAPT_NAME_TAG";
46
+ case AvatarAnchorPointType.AAPT_LEFT_HAND:
47
+ return "AAPT_LEFT_HAND";
48
+ case AvatarAnchorPointType.AAPT_RIGHT_HAND:
49
+ return "AAPT_RIGHT_HAND";
50
+ case AvatarAnchorPointType.UNRECOGNIZED:
51
+ default:
52
+ return "UNRECOGNIZED";
53
+ }
54
+ }
55
+ exports.avatarAnchorPointTypeToJSON = avatarAnchorPointTypeToJSON;
56
+ function createBasePBAvatarAttach() {
57
+ return { avatarId: undefined, anchorPointId: 0 };
58
+ }
59
+ exports.PBAvatarAttach = {
60
+ encode(message, writer = minimal_1.default.Writer.create()) {
61
+ if (message.avatarId !== undefined) {
62
+ writer.uint32(10).string(message.avatarId);
63
+ }
64
+ if (message.anchorPointId !== 0) {
65
+ writer.uint32(16).int32(message.anchorPointId);
66
+ }
67
+ return writer;
68
+ },
69
+ decode(input, length) {
70
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
71
+ let end = length === undefined ? reader.len : reader.pos + length;
72
+ const message = createBasePBAvatarAttach();
73
+ while (reader.pos < end) {
74
+ const tag = reader.uint32();
75
+ switch (tag >>> 3) {
76
+ case 1:
77
+ if (tag != 10) {
78
+ break;
79
+ }
80
+ message.avatarId = reader.string();
81
+ continue;
82
+ case 2:
83
+ if (tag != 16) {
84
+ break;
85
+ }
86
+ message.anchorPointId = reader.int32();
87
+ continue;
88
+ }
89
+ if ((tag & 7) == 4 || tag == 0) {
90
+ break;
91
+ }
92
+ reader.skipType(tag & 7);
93
+ }
94
+ return message;
95
+ },
96
+ fromJSON(object) {
97
+ return {
98
+ avatarId: isSet(object.avatarId) ? String(object.avatarId) : undefined,
99
+ anchorPointId: isSet(object.anchorPointId) ? avatarAnchorPointTypeFromJSON(object.anchorPointId) : 0,
100
+ };
101
+ },
102
+ toJSON(message) {
103
+ const obj = {};
104
+ message.avatarId !== undefined && (obj.avatarId = message.avatarId);
105
+ message.anchorPointId !== undefined && (obj.anchorPointId = avatarAnchorPointTypeToJSON(message.anchorPointId));
106
+ return obj;
107
+ },
108
+ create(base) {
109
+ return exports.PBAvatarAttach.fromPartial(base !== null && base !== void 0 ? base : {});
110
+ },
111
+ fromPartial(object) {
112
+ var _a, _b;
113
+ const message = createBasePBAvatarAttach();
114
+ message.avatarId = (_a = object.avatarId) !== null && _a !== void 0 ? _a : undefined;
115
+ message.anchorPointId = (_b = object.anchorPointId) !== null && _b !== void 0 ? _b : 0;
116
+ return message;
117
+ },
118
+ };
119
+ function isSet(value) {
120
+ return value !== null && value !== undefined;
121
+ }
122
+ //# sourceMappingURL=avatar_attach.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar_attach.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/avatar_attach.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAE7D,8FAA8F;AAC9F,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,mFAAiB,CAAA;IACjB,mFAAiB,CAAA;IACjB,qFAAkB,CAAA;IAClB,uFAAmB,CAAA;IACnB,kFAAiB,CAAA;AACnB,CAAC,EANW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAMhC;AAED,SAAgB,6BAA6B,CAAC,MAAW;IACvD,QAAQ,MAAM,EAAE;QACd,KAAK,CAAC,CAAC;QACP,KAAK,eAAe;YAClB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AAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS;YACtE,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,6BAA6B,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;SACrG,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,OAAuB;QAC5B,MAAM,GAAG,GAAQ,EAAE,CAAC;QACpB,OAAO,CAAC,QAAQ,KAAK,SAAS,IAAI,CAAC,GAAG,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;QACpE,OAAO,CAAC,aAAa,KAAK,SAAS,IAAI,CAAC,GAAG,CAAC,aAAa,GAAG,2BAA2B,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;QAChH,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAkD,IAAQ;QAC9D,OAAO,sBAAc,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC;IAChD,CAAC;IAED,WAAW,CAAkD,MAAS;;QACpE,MAAM,OAAO,GAAG,wBAAwB,EAAE,CAAC;QAC3C,OAAO,CAAC,QAAQ,GAAG,MAAA,MAAM,CAAC,QAAQ,mCAAI,SAAS,CAAC;QAChD,OAAO,CAAC,aAAa,GAAG,MAAA,MAAM,CAAC,aAAa,mCAAI,CAAC,CAAC;QAClD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC;AAcF,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,100 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ import { Vector3 } from "../../common/vectors.gen";
3
+ export declare const protobufPackage = "decentraland.sdk.components";
4
+ /** AvatarModifierType is an effect that should be applied to avatars inside the region. */
5
+ export declare enum AvatarModifierType {
6
+ /** AMT_HIDE_AVATARS - avatars are invisible */
7
+ AMT_HIDE_AVATARS = 0,
8
+ /** AMT_DISABLE_PASSPORTS - selecting (e.g. clicking) an avatar will not bring up their profile. */
9
+ AMT_DISABLE_PASSPORTS = 1,
10
+ UNRECOGNIZED = -1
11
+ }
12
+ export declare function avatarModifierTypeFromJSON(object: any): AvatarModifierType;
13
+ export declare function avatarModifierTypeToJSON(object: AvatarModifierType): string;
14
+ /**
15
+ * The AvatarModifierArea component can be attached to an Entity to define a region of space where
16
+ * avatar behavior changes.
17
+ *
18
+ * The Entity's Transform position determines the center-point of the region, while its size is
19
+ * given as a vector in the `area` property below. The Transform rotation is applied, but the scale
20
+ * is ignored.
21
+ *
22
+ * The modifier effect is only applied to avatars inside the region. It does not affect how players
23
+ * standing inside it see avatars on the other side of the boundary.
24
+ *
25
+ * Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
26
+ * is actually a 3D volume.
27
+ */
28
+ export interface PBAvatarModifierArea {
29
+ /** the 3D size of the region */
30
+ area: Vector3 | undefined;
31
+ /** user IDs that can enter and remain unaffected */
32
+ excludeIds: string[];
33
+ /** list of modifiers to apply */
34
+ modifiers: AvatarModifierType[];
35
+ }
36
+ export declare const PBAvatarModifierArea: {
37
+ encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
38
+ decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarModifierArea;
39
+ fromJSON(object: any): PBAvatarModifierArea;
40
+ toJSON(message: PBAvatarModifierArea): unknown;
41
+ create<I extends {
42
+ area?: {
43
+ x?: number | undefined;
44
+ y?: number | undefined;
45
+ z?: number | undefined;
46
+ } | undefined;
47
+ excludeIds?: string[] | undefined;
48
+ modifiers?: AvatarModifierType[] | undefined;
49
+ } & {
50
+ area?: ({
51
+ x?: number | undefined;
52
+ y?: number | undefined;
53
+ z?: number | undefined;
54
+ } & {
55
+ x?: number | undefined;
56
+ y?: number | undefined;
57
+ z?: number | undefined;
58
+ } & { [K in Exclude<keyof I["area"], keyof Vector3>]: never; }) | undefined;
59
+ excludeIds?: (string[] & string[] & { [K_1 in Exclude<keyof I["excludeIds"], keyof string[]>]: never; }) | undefined;
60
+ modifiers?: (AvatarModifierType[] & AvatarModifierType[] & { [K_2 in Exclude<keyof I["modifiers"], keyof AvatarModifierType[]>]: never; }) | undefined;
61
+ } & { [K_3 in Exclude<keyof I, keyof PBAvatarModifierArea>]: never; }>(base?: I | undefined): PBAvatarModifierArea;
62
+ fromPartial<I_1 extends {
63
+ area?: {
64
+ x?: number | undefined;
65
+ y?: number | undefined;
66
+ z?: number | undefined;
67
+ } | undefined;
68
+ excludeIds?: string[] | undefined;
69
+ modifiers?: AvatarModifierType[] | undefined;
70
+ } & {
71
+ area?: ({
72
+ x?: number | undefined;
73
+ y?: number | undefined;
74
+ z?: number | undefined;
75
+ } & {
76
+ x?: number | undefined;
77
+ y?: number | undefined;
78
+ z?: number | undefined;
79
+ } & { [K_4 in Exclude<keyof I_1["area"], keyof Vector3>]: never; }) | undefined;
80
+ excludeIds?: (string[] & string[] & { [K_5 in Exclude<keyof I_1["excludeIds"], keyof string[]>]: never; }) | undefined;
81
+ modifiers?: (AvatarModifierType[] & AvatarModifierType[] & { [K_6 in Exclude<keyof I_1["modifiers"], keyof AvatarModifierType[]>]: never; }) | undefined;
82
+ } & { [K_7 in Exclude<keyof I_1, keyof PBAvatarModifierArea>]: never; }>(object: I_1): PBAvatarModifierArea;
83
+ };
84
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
85
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
86
+ $case: string;
87
+ } ? {
88
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
89
+ } & {
90
+ $case: T["$case"];
91
+ } : T extends {} ? {
92
+ [K in keyof T]?: DeepPartial<T[K]>;
93
+ } : Partial<T>;
94
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
95
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
96
+ [K in keyof P]: Exact<P[K], I[K]>;
97
+ } & {
98
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
99
+ };
100
+ export {};