@dcl/protocol 1.0.0-10043247792.commit-428d1eb

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 (473) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +69 -0
  3. package/out-js/about.gen.d.ts +1 -0
  4. package/out-js/about.gen.js +6 -0
  5. package/out-js/about.gen.js.map +1 -0
  6. package/out-js/comms.gen.d.ts +1 -0
  7. package/out-js/comms.gen.js +6 -0
  8. package/out-js/comms.gen.js.map +1 -0
  9. package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
  10. package/out-js/decentraland/common/border_rect.gen.js +201 -0
  11. package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
  12. package/out-js/decentraland/common/colors.gen.d.ts +46 -0
  13. package/out-js/decentraland/common/colors.gen.js +189 -0
  14. package/out-js/decentraland/common/colors.gen.js.map +1 -0
  15. package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
  16. package/out-js/decentraland/common/content_mapping.gen.js +80 -0
  17. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
  18. package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
  19. package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
  20. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
  21. package/out-js/decentraland/common/texture.gen.d.ts +100 -0
  22. package/out-js/decentraland/common/texture.gen.js +446 -0
  23. package/out-js/decentraland/common/texture.gen.js.map +1 -0
  24. package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
  25. package/out-js/decentraland/common/vectors.gen.js +338 -0
  26. package/out-js/decentraland/common/vectors.gen.js.map +1 -0
  27. package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +76 -0
  28. package/out-js/decentraland/kernel/apis/comms_api.gen.js +257 -0
  29. package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
  30. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +89 -0
  31. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +301 -0
  32. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
  33. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
  34. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
  35. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
  36. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
  37. package/out-js/decentraland/kernel/apis/engine_api.gen.js +1452 -0
  38. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
  39. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
  40. package/out-js/decentraland/kernel/apis/environment_api.gen.js +1122 -0
  41. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
  42. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
  43. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
  44. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
  45. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
  46. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +557 -0
  47. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
  48. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
  49. package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
  50. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
  51. package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
  52. package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
  53. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
  54. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
  55. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
  56. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
  57. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +244 -0
  58. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +824 -0
  59. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
  60. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +217 -0
  61. package/out-js/decentraland/kernel/apis/runtime.gen.js +801 -0
  62. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
  63. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
  64. package/out-js/decentraland/kernel/apis/scene.gen.js +171 -0
  65. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
  66. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +139 -0
  67. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
  68. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
  69. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
  70. package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
  71. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
  72. package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
  73. package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
  74. package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
  75. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +56 -0
  76. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
  77. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
  78. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
  79. package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
  80. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
  81. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +213 -0
  82. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1282 -0
  83. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
  84. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
  85. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
  86. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
  87. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +224 -0
  88. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1204 -0
  89. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
  90. package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
  91. package/out-js/decentraland/quests/definitions.gen.js +2728 -0
  92. package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
  93. package/out-js/decentraland/realm/about.gen.d.ts +150 -0
  94. package/out-js/decentraland/realm/about.gen.js +914 -0
  95. package/out-js/decentraland/realm/about.gen.js.map +1 -0
  96. package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
  97. package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
  98. package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
  99. package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
  100. package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
  101. package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
  102. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +40 -0
  103. package/out-js/decentraland/sdk/components/audio_stream.gen.js +95 -0
  104. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
  105. package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
  106. package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
  107. package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
  108. package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
  109. package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
  110. package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
  111. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +37 -0
  112. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +95 -0
  113. package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
  114. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
  115. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
  116. package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
  117. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +60 -0
  118. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +153 -0
  119. package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
  120. package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +72 -0
  121. package/out-js/decentraland/sdk/components/avatar_shape.gen.js +251 -0
  122. package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
  123. package/out-js/decentraland/sdk/components/billboard.gen.d.ts +54 -0
  124. package/out-js/decentraland/sdk/components/billboard.gen.js +128 -0
  125. package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
  126. package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
  127. package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
  128. package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
  129. package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
  130. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
  131. package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
  132. package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
  133. package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
  134. package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
  135. package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
  136. package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
  137. package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
  138. package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +30 -0
  139. package/out-js/decentraland/sdk/components/common/input_action.gen.js +157 -0
  140. package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
  141. package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
  142. package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
  143. package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
  144. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
  145. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
  146. package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
  147. package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
  148. package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
  149. package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
  150. package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +41 -0
  151. package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
  152. package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
  153. package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
  154. package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
  155. package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
  156. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
  157. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
  158. package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
  159. package/out-js/decentraland/sdk/components/material.gen.d.ts +106 -0
  160. package/out-js/decentraland/sdk/components/material.gen.js +515 -0
  161. package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
  162. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +128 -0
  163. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +469 -0
  164. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
  165. package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +104 -0
  166. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
  167. package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
  168. package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
  169. package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
  170. package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
  171. package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
  172. package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
  173. package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
  174. package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +79 -0
  175. package/out-js/decentraland/sdk/components/pointer_events.gen.js +247 -0
  176. package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
  177. package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
  178. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
  179. package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
  180. package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
  181. package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
  182. package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
  183. package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
  184. package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
  185. package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
  186. package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
  187. package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
  188. package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
  189. package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +35 -0
  190. package/out-js/decentraland/sdk/components/realm_info.gen.js +131 -0
  191. package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
  192. package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
  193. package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
  194. package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
  195. package/out-js/decentraland/sdk/components/tween.gen.d.ts +125 -0
  196. package/out-js/decentraland/sdk/components/tween.gen.js +598 -0
  197. package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
  198. package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
  199. package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
  200. package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
  201. package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
  202. package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
  203. package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
  204. package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
  205. package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
  206. package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
  207. package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
  208. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
  209. package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
  210. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
  211. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
  212. package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
  213. package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
  214. package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
  215. package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
  216. package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
  217. package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
  218. package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
  219. package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
  220. package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -0
  221. package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
  222. package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +204 -0
  223. package/out-js/decentraland/sdk/components/ui_transform.gen.js +1210 -0
  224. package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
  225. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +41 -0
  226. package/out-js/decentraland/sdk/components/video_player.gen.js +138 -0
  227. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
  228. package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +31 -0
  229. package/out-js/decentraland/sdk/components/visibility_component.gen.js +69 -0
  230. package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
  231. package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
  232. package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
  233. package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
  234. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
  235. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
  236. package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
  237. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
  238. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
  239. package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
  240. package/out-js/decentraland/social/friendships/friendships.gen.d.ts +500 -0
  241. package/out-js/decentraland/social/friendships/friendships.gen.js +2517 -0
  242. package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -0
  243. package/out-js/decentraland/social_service_v2/social_service.gen.d.ts +357 -0
  244. package/out-js/decentraland/social_service_v2/social_service.gen.js +1554 -0
  245. package/out-js/decentraland/social_service_v2/social_service.gen.js.map +1 -0
  246. package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
  247. package/out-js/google/protobuf/descriptor.gen.js +3173 -0
  248. package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
  249. package/out-js/google/protobuf/empty.gen.d.ts +38 -0
  250. package/out-js/google/protobuf/empty.gen.js +54 -0
  251. package/out-js/google/protobuf/empty.gen.js.map +1 -0
  252. package/out-js/quests.gen.d.ts +1 -0
  253. package/out-js/quests.gen.js +6 -0
  254. package/out-js/quests.gen.js.map +1 -0
  255. package/out-js/sdk-apis.gen.d.ts +1 -0
  256. package/out-js/sdk-apis.gen.js +6 -0
  257. package/out-js/sdk-apis.gen.js.map +1 -0
  258. package/out-js/sdk-components.gen.d.ts +1 -0
  259. package/out-js/sdk-components.gen.js +6 -0
  260. package/out-js/sdk-components.gen.js.map +1 -0
  261. package/out-js/sdk-development.gen.d.ts +1 -0
  262. package/out-js/sdk-development.gen.js +6 -0
  263. package/out-js/sdk-development.gen.js.map +1 -0
  264. package/out-js/social.gen.d.ts +1 -0
  265. package/out-js/social.gen.js +6 -0
  266. package/out-js/social.gen.js.map +1 -0
  267. package/out-js/social_service_v2.gen.d.ts +1 -0
  268. package/out-js/social_service_v2.gen.js +6 -0
  269. package/out-js/social_service_v2.gen.js.map +1 -0
  270. package/out-ts/about.gen.ts +3 -0
  271. package/out-ts/comms.gen.ts +3 -0
  272. package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
  273. package/out-ts/decentraland/common/colors.gen.ts +214 -0
  274. package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
  275. package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
  276. package/out-ts/decentraland/common/texture.gen.ts +500 -0
  277. package/out-ts/decentraland/common/vectors.gen.ts +377 -0
  278. package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +295 -0
  279. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +327 -0
  280. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
  281. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
  282. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
  283. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
  284. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
  285. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
  286. package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
  287. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
  288. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +895 -0
  289. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
  290. package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
  291. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
  292. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
  293. package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
  294. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
  295. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
  296. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1440 -0
  297. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
  298. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1338 -0
  299. package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
  300. package/out-ts/decentraland/realm/about.gen.ts +1062 -0
  301. package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
  302. package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
  303. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +122 -0
  304. package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
  305. package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
  306. package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +115 -0
  307. package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
  308. package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +188 -0
  309. package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +333 -0
  310. package/out-ts/decentraland/sdk/components/billboard.gen.ts +148 -0
  311. package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
  312. package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
  313. package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
  314. package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
  315. package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +154 -0
  316. package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
  317. package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
  318. package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
  319. package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
  320. package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
  321. package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
  322. package/out-ts/decentraland/sdk/components/material.gen.ts +629 -0
  323. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +534 -0
  324. package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
  325. package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
  326. package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
  327. package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +310 -0
  328. package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
  329. package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
  330. package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
  331. package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
  332. package/out-ts/decentraland/sdk/components/realm_info.gen.ts +152 -0
  333. package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
  334. package/out-ts/decentraland/sdk/components/tween.gen.ts +648 -0
  335. package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
  336. package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
  337. package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
  338. package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
  339. package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
  340. package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
  341. package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
  342. package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
  343. package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1361 -0
  344. package/out-ts/decentraland/sdk/components/video_player.gen.ts +173 -0
  345. package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +83 -0
  346. package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
  347. package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
  348. package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
  349. package/out-ts/decentraland/social/friendships/friendships.gen.ts +2798 -0
  350. package/out-ts/decentraland/social_service_v2/social_service.gen.ts +1709 -0
  351. package/out-ts/google/protobuf/descriptor.gen.ts +3470 -0
  352. package/out-ts/google/protobuf/empty.gen.ts +72 -0
  353. package/out-ts/quests.gen.ts +3 -0
  354. package/out-ts/sdk-apis.gen.ts +3 -0
  355. package/out-ts/sdk-components.gen.ts +3 -0
  356. package/out-ts/sdk-development.gen.ts +3 -0
  357. package/out-ts/social.gen.ts +3 -0
  358. package/out-ts/social_service_v2.gen.ts +3 -0
  359. package/package.json +33 -0
  360. package/proto/buf.yaml +47 -0
  361. package/proto/decentraland/common/border_rect.proto +18 -0
  362. package/proto/decentraland/common/colors.proto +15 -0
  363. package/proto/decentraland/common/content_mapping.proto +7 -0
  364. package/proto/decentraland/common/entity.proto +13 -0
  365. package/proto/decentraland/common/sdk/user_data.proto +25 -0
  366. package/proto/decentraland/common/texture.proto +40 -0
  367. package/proto/decentraland/common/vectors.proto +26 -0
  368. package/proto/decentraland/kernel/apis/comms_api.proto +25 -0
  369. package/proto/decentraland/kernel/apis/communications_controller.proto +23 -0
  370. package/proto/decentraland/kernel/apis/dev_tools.proto +15 -0
  371. package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
  372. package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
  373. package/proto/decentraland/kernel/apis/ethereum_controller.proto +64 -0
  374. package/proto/decentraland/kernel/apis/parcel_identity.proto +43 -0
  375. package/proto/decentraland/kernel/apis/permissions.proto +36 -0
  376. package/proto/decentraland/kernel/apis/players.proto +35 -0
  377. package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
  378. package/proto/decentraland/kernel/apis/restricted_actions.proto +78 -0
  379. package/proto/decentraland/kernel/apis/runtime.proto +71 -0
  380. package/proto/decentraland/kernel/apis/scene.proto +16 -0
  381. package/proto/decentraland/kernel/apis/signed_fetch.proto +33 -0
  382. package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
  383. package/proto/decentraland/kernel/apis/testing.proto +100 -0
  384. package/proto/decentraland/kernel/apis/user_action_module.proto +13 -0
  385. package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
  386. package/proto/decentraland/kernel/comms/rfc4/comms.proto +110 -0
  387. package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +104 -0
  388. package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
  389. package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
  390. package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
  391. package/proto/decentraland/kernel/comms/v3/archipelago.proto +86 -0
  392. package/proto/decentraland/kernel/comms/v3/comms.proto +64 -0
  393. package/proto/decentraland/quests/definitions.proto +185 -0
  394. package/proto/decentraland/realm/about.proto +73 -0
  395. package/proto/decentraland/sdk/components/README.md +32 -0
  396. package/proto/decentraland/sdk/components/Transform.md +25 -0
  397. package/proto/decentraland/sdk/components/animator.proto +31 -0
  398. package/proto/decentraland/sdk/components/audio_event.proto +12 -0
  399. package/proto/decentraland/sdk/components/audio_source.proto +31 -0
  400. package/proto/decentraland/sdk/components/audio_stream.proto +14 -0
  401. package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
  402. package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
  403. package/proto/decentraland/sdk/components/avatar_emote_command.proto +13 -0
  404. package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
  405. package/proto/decentraland/sdk/components/avatar_modifier_area.proto +32 -0
  406. package/proto/decentraland/sdk/components/avatar_shape.proto +42 -0
  407. package/proto/decentraland/sdk/components/billboard.proto +29 -0
  408. package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
  409. package/proto/decentraland/sdk/components/camera_mode_area.proto +25 -0
  410. package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
  411. package/proto/decentraland/sdk/components/common/id.md +2 -0
  412. package/proto/decentraland/sdk/components/common/id.proto +8 -0
  413. package/proto/decentraland/sdk/components/common/input_action.proto +28 -0
  414. package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
  415. package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
  416. package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
  417. package/proto/decentraland/sdk/components/common/texts.proto +21 -0
  418. package/proto/decentraland/sdk/components/engine_info.proto +15 -0
  419. package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
  420. package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
  421. package/proto/decentraland/sdk/components/material.proto +57 -0
  422. package/proto/decentraland/sdk/components/mesh_collider.proto +62 -0
  423. package/proto/decentraland/sdk/components/mesh_renderer.proto +43 -0
  424. package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
  425. package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
  426. package/proto/decentraland/sdk/components/pointer_events.proto +37 -0
  427. package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
  428. package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
  429. package/proto/decentraland/sdk/components/raycast.proto +58 -0
  430. package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
  431. package/proto/decentraland/sdk/components/realm_info.proto +14 -0
  432. package/proto/decentraland/sdk/components/text_shape.proto +45 -0
  433. package/proto/decentraland/sdk/components/tween.proto +74 -0
  434. package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
  435. package/proto/decentraland/sdk/components/tween_state.proto +18 -0
  436. package/proto/decentraland/sdk/components/ui_background.proto +34 -0
  437. package/proto/decentraland/sdk/components/ui_canvas_information.proto +24 -0
  438. package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
  439. package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
  440. package/proto/decentraland/sdk/components/ui_input.proto +20 -0
  441. package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
  442. package/proto/decentraland/sdk/components/ui_text.proto +26 -0
  443. package/proto/decentraland/sdk/components/ui_transform.proto +148 -0
  444. package/proto/decentraland/sdk/components/video_event.proto +25 -0
  445. package/proto/decentraland/sdk/components/video_player.proto +16 -0
  446. package/proto/decentraland/sdk/components/visibility_component.proto +9 -0
  447. package/proto/decentraland/sdk/development/local_development.proto +29 -0
  448. package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
  449. package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
  450. package/proto/decentraland/social/friendships/friendships.proto +162 -0
  451. package/proto/decentraland/social_service_v2/social_service.proto +111 -0
  452. package/proto/google/LICENSE +27 -0
  453. package/proto/google/README.md +1 -0
  454. package/proto/google/api/annotations.json +83 -0
  455. package/proto/google/api/annotations.proto +11 -0
  456. package/proto/google/api/http.json +86 -0
  457. package/proto/google/api/http.proto +31 -0
  458. package/proto/google/protobuf/api.json +118 -0
  459. package/proto/google/protobuf/api.proto +34 -0
  460. package/proto/google/protobuf/descriptor.json +739 -0
  461. package/proto/google/protobuf/descriptor.proto +286 -0
  462. package/proto/google/protobuf/source_context.json +20 -0
  463. package/proto/google/protobuf/source_context.proto +7 -0
  464. package/proto/google/protobuf/type.json +202 -0
  465. package/proto/google/protobuf/type.proto +89 -0
  466. package/public/about.proto +5 -0
  467. package/public/comms.proto +5 -0
  468. package/public/quests.proto +5 -0
  469. package/public/sdk-apis.proto +25 -0
  470. package/public/sdk-components.proto +42 -0
  471. package/public/sdk-development.proto +5 -0
  472. package/public/social.proto +4 -0
  473. package/public/social_service_v2.proto +4 -0
@@ -0,0 +1,372 @@
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.PlayersServiceDefinition = exports.GetConnectedPlayersRequest = exports.GetPlayersInSceneRequest = exports.GetPlayerDataRequest = exports.PlayerListResponse = exports.PlayersGetUserDataResponse = exports.Player = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ const user_data_gen_1 = require("../../common/sdk/user_data.gen");
10
+ exports.protobufPackage = "decentraland.kernel.apis";
11
+ function createBasePlayer() {
12
+ return { userId: "" };
13
+ }
14
+ var Player;
15
+ (function (Player) {
16
+ function encode(message, writer = minimal_1.default.Writer.create()) {
17
+ if (message.userId !== "") {
18
+ writer.uint32(10).string(message.userId);
19
+ }
20
+ return writer;
21
+ }
22
+ Player.encode = encode;
23
+ function decode(input, length) {
24
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
25
+ let end = length === undefined ? reader.len : reader.pos + length;
26
+ const message = createBasePlayer();
27
+ while (reader.pos < end) {
28
+ const tag = reader.uint32();
29
+ switch (tag >>> 3) {
30
+ case 1:
31
+ if (tag !== 10) {
32
+ break;
33
+ }
34
+ message.userId = reader.string();
35
+ continue;
36
+ }
37
+ if ((tag & 7) === 4 || tag === 0) {
38
+ break;
39
+ }
40
+ reader.skipType(tag & 7);
41
+ }
42
+ return message;
43
+ }
44
+ Player.decode = decode;
45
+ function fromJSON(object) {
46
+ return { userId: isSet(object.userId) ? String(object.userId) : "" };
47
+ }
48
+ Player.fromJSON = fromJSON;
49
+ function toJSON(message) {
50
+ const obj = {};
51
+ message.userId !== undefined && (obj.userId = message.userId);
52
+ return obj;
53
+ }
54
+ Player.toJSON = toJSON;
55
+ function create(base) {
56
+ return Player.fromPartial(base !== null && base !== void 0 ? base : {});
57
+ }
58
+ Player.create = create;
59
+ function fromPartial(object) {
60
+ var _a;
61
+ const message = createBasePlayer();
62
+ message.userId = (_a = object.userId) !== null && _a !== void 0 ? _a : "";
63
+ return message;
64
+ }
65
+ Player.fromPartial = fromPartial;
66
+ })(Player || (exports.Player = Player = {}));
67
+ function createBasePlayersGetUserDataResponse() {
68
+ return { data: undefined };
69
+ }
70
+ var PlayersGetUserDataResponse;
71
+ (function (PlayersGetUserDataResponse) {
72
+ function encode(message, writer = minimal_1.default.Writer.create()) {
73
+ if (message.data !== undefined) {
74
+ user_data_gen_1.UserData.encode(message.data, writer.uint32(10).fork()).ldelim();
75
+ }
76
+ return writer;
77
+ }
78
+ PlayersGetUserDataResponse.encode = encode;
79
+ function decode(input, length) {
80
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
81
+ let end = length === undefined ? reader.len : reader.pos + length;
82
+ const message = createBasePlayersGetUserDataResponse();
83
+ while (reader.pos < end) {
84
+ const tag = reader.uint32();
85
+ switch (tag >>> 3) {
86
+ case 1:
87
+ if (tag !== 10) {
88
+ break;
89
+ }
90
+ message.data = user_data_gen_1.UserData.decode(reader, reader.uint32());
91
+ continue;
92
+ }
93
+ if ((tag & 7) === 4 || tag === 0) {
94
+ break;
95
+ }
96
+ reader.skipType(tag & 7);
97
+ }
98
+ return message;
99
+ }
100
+ PlayersGetUserDataResponse.decode = decode;
101
+ function fromJSON(object) {
102
+ return { data: isSet(object.data) ? user_data_gen_1.UserData.fromJSON(object.data) : undefined };
103
+ }
104
+ PlayersGetUserDataResponse.fromJSON = fromJSON;
105
+ function toJSON(message) {
106
+ const obj = {};
107
+ message.data !== undefined && (obj.data = message.data ? user_data_gen_1.UserData.toJSON(message.data) : undefined);
108
+ return obj;
109
+ }
110
+ PlayersGetUserDataResponse.toJSON = toJSON;
111
+ function create(base) {
112
+ return PlayersGetUserDataResponse.fromPartial(base !== null && base !== void 0 ? base : {});
113
+ }
114
+ PlayersGetUserDataResponse.create = create;
115
+ function fromPartial(object) {
116
+ const message = createBasePlayersGetUserDataResponse();
117
+ message.data = (object.data !== undefined && object.data !== null) ? user_data_gen_1.UserData.fromPartial(object.data) : undefined;
118
+ return message;
119
+ }
120
+ PlayersGetUserDataResponse.fromPartial = fromPartial;
121
+ })(PlayersGetUserDataResponse || (exports.PlayersGetUserDataResponse = PlayersGetUserDataResponse = {}));
122
+ function createBasePlayerListResponse() {
123
+ return { players: [] };
124
+ }
125
+ var PlayerListResponse;
126
+ (function (PlayerListResponse) {
127
+ function encode(message, writer = minimal_1.default.Writer.create()) {
128
+ for (const v of message.players) {
129
+ Player.encode(v, writer.uint32(10).fork()).ldelim();
130
+ }
131
+ return writer;
132
+ }
133
+ PlayerListResponse.encode = encode;
134
+ function decode(input, length) {
135
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
136
+ let end = length === undefined ? reader.len : reader.pos + length;
137
+ const message = createBasePlayerListResponse();
138
+ while (reader.pos < end) {
139
+ const tag = reader.uint32();
140
+ switch (tag >>> 3) {
141
+ case 1:
142
+ if (tag !== 10) {
143
+ break;
144
+ }
145
+ message.players.push(Player.decode(reader, reader.uint32()));
146
+ continue;
147
+ }
148
+ if ((tag & 7) === 4 || tag === 0) {
149
+ break;
150
+ }
151
+ reader.skipType(tag & 7);
152
+ }
153
+ return message;
154
+ }
155
+ PlayerListResponse.decode = decode;
156
+ function fromJSON(object) {
157
+ return { players: Array.isArray(object === null || object === void 0 ? void 0 : object.players) ? object.players.map((e) => Player.fromJSON(e)) : [] };
158
+ }
159
+ PlayerListResponse.fromJSON = fromJSON;
160
+ function toJSON(message) {
161
+ const obj = {};
162
+ if (message.players) {
163
+ obj.players = message.players.map((e) => e ? Player.toJSON(e) : undefined);
164
+ }
165
+ else {
166
+ obj.players = [];
167
+ }
168
+ return obj;
169
+ }
170
+ PlayerListResponse.toJSON = toJSON;
171
+ function create(base) {
172
+ return PlayerListResponse.fromPartial(base !== null && base !== void 0 ? base : {});
173
+ }
174
+ PlayerListResponse.create = create;
175
+ function fromPartial(object) {
176
+ var _a;
177
+ const message = createBasePlayerListResponse();
178
+ message.players = ((_a = object.players) === null || _a === void 0 ? void 0 : _a.map((e) => Player.fromPartial(e))) || [];
179
+ return message;
180
+ }
181
+ PlayerListResponse.fromPartial = fromPartial;
182
+ })(PlayerListResponse || (exports.PlayerListResponse = PlayerListResponse = {}));
183
+ function createBaseGetPlayerDataRequest() {
184
+ return { userId: "" };
185
+ }
186
+ var GetPlayerDataRequest;
187
+ (function (GetPlayerDataRequest) {
188
+ function encode(message, writer = minimal_1.default.Writer.create()) {
189
+ if (message.userId !== "") {
190
+ writer.uint32(10).string(message.userId);
191
+ }
192
+ return writer;
193
+ }
194
+ GetPlayerDataRequest.encode = encode;
195
+ function decode(input, length) {
196
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
197
+ let end = length === undefined ? reader.len : reader.pos + length;
198
+ const message = createBaseGetPlayerDataRequest();
199
+ while (reader.pos < end) {
200
+ const tag = reader.uint32();
201
+ switch (tag >>> 3) {
202
+ case 1:
203
+ if (tag !== 10) {
204
+ break;
205
+ }
206
+ message.userId = reader.string();
207
+ continue;
208
+ }
209
+ if ((tag & 7) === 4 || tag === 0) {
210
+ break;
211
+ }
212
+ reader.skipType(tag & 7);
213
+ }
214
+ return message;
215
+ }
216
+ GetPlayerDataRequest.decode = decode;
217
+ function fromJSON(object) {
218
+ return { userId: isSet(object.userId) ? String(object.userId) : "" };
219
+ }
220
+ GetPlayerDataRequest.fromJSON = fromJSON;
221
+ function toJSON(message) {
222
+ const obj = {};
223
+ message.userId !== undefined && (obj.userId = message.userId);
224
+ return obj;
225
+ }
226
+ GetPlayerDataRequest.toJSON = toJSON;
227
+ function create(base) {
228
+ return GetPlayerDataRequest.fromPartial(base !== null && base !== void 0 ? base : {});
229
+ }
230
+ GetPlayerDataRequest.create = create;
231
+ function fromPartial(object) {
232
+ var _a;
233
+ const message = createBaseGetPlayerDataRequest();
234
+ message.userId = (_a = object.userId) !== null && _a !== void 0 ? _a : "";
235
+ return message;
236
+ }
237
+ GetPlayerDataRequest.fromPartial = fromPartial;
238
+ })(GetPlayerDataRequest || (exports.GetPlayerDataRequest = GetPlayerDataRequest = {}));
239
+ function createBaseGetPlayersInSceneRequest() {
240
+ return {};
241
+ }
242
+ var GetPlayersInSceneRequest;
243
+ (function (GetPlayersInSceneRequest) {
244
+ function encode(_, writer = minimal_1.default.Writer.create()) {
245
+ return writer;
246
+ }
247
+ GetPlayersInSceneRequest.encode = encode;
248
+ function decode(input, length) {
249
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
250
+ let end = length === undefined ? reader.len : reader.pos + length;
251
+ const message = createBaseGetPlayersInSceneRequest();
252
+ while (reader.pos < end) {
253
+ const tag = reader.uint32();
254
+ switch (tag >>> 3) {
255
+ }
256
+ if ((tag & 7) === 4 || tag === 0) {
257
+ break;
258
+ }
259
+ reader.skipType(tag & 7);
260
+ }
261
+ return message;
262
+ }
263
+ GetPlayersInSceneRequest.decode = decode;
264
+ function fromJSON(_) {
265
+ return {};
266
+ }
267
+ GetPlayersInSceneRequest.fromJSON = fromJSON;
268
+ function toJSON(_) {
269
+ const obj = {};
270
+ return obj;
271
+ }
272
+ GetPlayersInSceneRequest.toJSON = toJSON;
273
+ function create(base) {
274
+ return GetPlayersInSceneRequest.fromPartial(base !== null && base !== void 0 ? base : {});
275
+ }
276
+ GetPlayersInSceneRequest.create = create;
277
+ function fromPartial(_) {
278
+ const message = createBaseGetPlayersInSceneRequest();
279
+ return message;
280
+ }
281
+ GetPlayersInSceneRequest.fromPartial = fromPartial;
282
+ })(GetPlayersInSceneRequest || (exports.GetPlayersInSceneRequest = GetPlayersInSceneRequest = {}));
283
+ function createBaseGetConnectedPlayersRequest() {
284
+ return {};
285
+ }
286
+ var GetConnectedPlayersRequest;
287
+ (function (GetConnectedPlayersRequest) {
288
+ function encode(_, writer = minimal_1.default.Writer.create()) {
289
+ return writer;
290
+ }
291
+ GetConnectedPlayersRequest.encode = encode;
292
+ function decode(input, length) {
293
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
294
+ let end = length === undefined ? reader.len : reader.pos + length;
295
+ const message = createBaseGetConnectedPlayersRequest();
296
+ while (reader.pos < end) {
297
+ const tag = reader.uint32();
298
+ switch (tag >>> 3) {
299
+ }
300
+ if ((tag & 7) === 4 || tag === 0) {
301
+ break;
302
+ }
303
+ reader.skipType(tag & 7);
304
+ }
305
+ return message;
306
+ }
307
+ GetConnectedPlayersRequest.decode = decode;
308
+ function fromJSON(_) {
309
+ return {};
310
+ }
311
+ GetConnectedPlayersRequest.fromJSON = fromJSON;
312
+ function toJSON(_) {
313
+ const obj = {};
314
+ return obj;
315
+ }
316
+ GetConnectedPlayersRequest.toJSON = toJSON;
317
+ function create(base) {
318
+ return GetConnectedPlayersRequest.fromPartial(base !== null && base !== void 0 ? base : {});
319
+ }
320
+ GetConnectedPlayersRequest.create = create;
321
+ function fromPartial(_) {
322
+ const message = createBaseGetConnectedPlayersRequest();
323
+ return message;
324
+ }
325
+ GetConnectedPlayersRequest.fromPartial = fromPartial;
326
+ })(GetConnectedPlayersRequest || (exports.GetConnectedPlayersRequest = GetConnectedPlayersRequest = {}));
327
+ exports.PlayersServiceDefinition = {
328
+ name: "PlayersService",
329
+ fullName: "decentraland.kernel.apis.PlayersService",
330
+ methods: {
331
+ /**
332
+ * Returns data about a specific player, by id
333
+ * NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
334
+ */
335
+ getPlayerData: {
336
+ name: "GetPlayerData",
337
+ requestType: GetPlayerDataRequest,
338
+ requestStream: false,
339
+ responseType: PlayersGetUserDataResponse,
340
+ responseStream: false,
341
+ options: {},
342
+ },
343
+ /**
344
+ * Returns a list of all the ids of players who are currently standing within the parcels of the scene
345
+ * NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
346
+ */
347
+ getPlayersInScene: {
348
+ name: "GetPlayersInScene",
349
+ requestType: GetPlayersInSceneRequest,
350
+ requestStream: false,
351
+ responseType: PlayerListResponse,
352
+ responseStream: false,
353
+ options: {},
354
+ },
355
+ /**
356
+ * Returns a list of all the ids of players who are currently connected to the same server and grouped together
357
+ * NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
358
+ */
359
+ getConnectedPlayers: {
360
+ name: "GetConnectedPlayers",
361
+ requestType: GetConnectedPlayersRequest,
362
+ requestStream: false,
363
+ responseType: PlayerListResponse,
364
+ responseStream: false,
365
+ options: {},
366
+ },
367
+ },
368
+ };
369
+ function isSet(value) {
370
+ return value !== null && value !== undefined;
371
+ }
372
+ //# sourceMappingURL=players.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"players.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/kernel/apis/players.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,kEAA0D;AAE7C,QAAA,eAAe,GAAG,0BAA0B,CAAC;AAwB1D,SAAS,gBAAgB;IACvB,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC;AACxB,CAAC;AAED,IAAiB,MAAM,CAkDtB;AAlDD,WAAiB,MAAM;IACrB,SAAgB,MAAM,CAAC,OAAe,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC9E,IAAI,OAAO,CAAC,MAAM,KAAK,EAAE,EAAE,CAAC;YAC1B,MAAM,CAAC,MA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AC;AAcX,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,178 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "decentraland.kernel.apis";
3
+ export interface KillRequest {
4
+ pid: string;
5
+ }
6
+ export interface KillResponse {
7
+ status: boolean;
8
+ }
9
+ export interface SpawnRequest {
10
+ pid?: string | undefined;
11
+ ens?: string | undefined;
12
+ }
13
+ export interface SpawnResponse {
14
+ pid: string;
15
+ parentCid: string;
16
+ name: string;
17
+ ens?: string | undefined;
18
+ }
19
+ export interface PxRequest {
20
+ pid: string;
21
+ }
22
+ export interface GetPortableExperiencesLoadedRequest {
23
+ }
24
+ export interface GetPortableExperiencesLoadedResponse {
25
+ loaded: SpawnResponse[];
26
+ }
27
+ export interface ExitRequest {
28
+ }
29
+ export interface ExitResponse {
30
+ status: boolean;
31
+ }
32
+ export declare namespace KillRequest {
33
+ function encode(message: KillRequest, writer?: _m0.Writer): _m0.Writer;
34
+ function decode(input: _m0.Reader | Uint8Array, length?: number): KillRequest;
35
+ function fromJSON(object: any): KillRequest;
36
+ function toJSON(message: KillRequest): unknown;
37
+ function create<I extends Exact<DeepPartial<KillRequest>, I>>(base?: I): KillRequest;
38
+ function fromPartial<I extends Exact<DeepPartial<KillRequest>, I>>(object: I): KillRequest;
39
+ }
40
+ export declare namespace KillResponse {
41
+ function encode(message: KillResponse, writer?: _m0.Writer): _m0.Writer;
42
+ function decode(input: _m0.Reader | Uint8Array, length?: number): KillResponse;
43
+ function fromJSON(object: any): KillResponse;
44
+ function toJSON(message: KillResponse): unknown;
45
+ function create<I extends Exact<DeepPartial<KillResponse>, I>>(base?: I): KillResponse;
46
+ function fromPartial<I extends Exact<DeepPartial<KillResponse>, I>>(object: I): KillResponse;
47
+ }
48
+ export declare namespace SpawnRequest {
49
+ function encode(message: SpawnRequest, writer?: _m0.Writer): _m0.Writer;
50
+ function decode(input: _m0.Reader | Uint8Array, length?: number): SpawnRequest;
51
+ function fromJSON(object: any): SpawnRequest;
52
+ function toJSON(message: SpawnRequest): unknown;
53
+ function create<I extends Exact<DeepPartial<SpawnRequest>, I>>(base?: I): SpawnRequest;
54
+ function fromPartial<I extends Exact<DeepPartial<SpawnRequest>, I>>(object: I): SpawnRequest;
55
+ }
56
+ export declare namespace SpawnResponse {
57
+ function encode(message: SpawnResponse, writer?: _m0.Writer): _m0.Writer;
58
+ function decode(input: _m0.Reader | Uint8Array, length?: number): SpawnResponse;
59
+ function fromJSON(object: any): SpawnResponse;
60
+ function toJSON(message: SpawnResponse): unknown;
61
+ function create<I extends Exact<DeepPartial<SpawnResponse>, I>>(base?: I): SpawnResponse;
62
+ function fromPartial<I extends Exact<DeepPartial<SpawnResponse>, I>>(object: I): SpawnResponse;
63
+ }
64
+ export declare namespace PxRequest {
65
+ function encode(message: PxRequest, writer?: _m0.Writer): _m0.Writer;
66
+ function decode(input: _m0.Reader | Uint8Array, length?: number): PxRequest;
67
+ function fromJSON(object: any): PxRequest;
68
+ function toJSON(message: PxRequest): unknown;
69
+ function create<I extends Exact<DeepPartial<PxRequest>, I>>(base?: I): PxRequest;
70
+ function fromPartial<I extends Exact<DeepPartial<PxRequest>, I>>(object: I): PxRequest;
71
+ }
72
+ export declare namespace GetPortableExperiencesLoadedRequest {
73
+ function encode(_: GetPortableExperiencesLoadedRequest, writer?: _m0.Writer): _m0.Writer;
74
+ function decode(input: _m0.Reader | Uint8Array, length?: number): GetPortableExperiencesLoadedRequest;
75
+ function fromJSON(_: any): GetPortableExperiencesLoadedRequest;
76
+ function toJSON(_: GetPortableExperiencesLoadedRequest): unknown;
77
+ function create<I extends Exact<DeepPartial<GetPortableExperiencesLoadedRequest>, I>>(base?: I): GetPortableExperiencesLoadedRequest;
78
+ function fromPartial<I extends Exact<DeepPartial<GetPortableExperiencesLoadedRequest>, I>>(_: I): GetPortableExperiencesLoadedRequest;
79
+ }
80
+ export declare namespace GetPortableExperiencesLoadedResponse {
81
+ function encode(message: GetPortableExperiencesLoadedResponse, writer?: _m0.Writer): _m0.Writer;
82
+ function decode(input: _m0.Reader | Uint8Array, length?: number): GetPortableExperiencesLoadedResponse;
83
+ function fromJSON(object: any): GetPortableExperiencesLoadedResponse;
84
+ function toJSON(message: GetPortableExperiencesLoadedResponse): unknown;
85
+ function create<I extends Exact<DeepPartial<GetPortableExperiencesLoadedResponse>, I>>(base?: I): GetPortableExperiencesLoadedResponse;
86
+ function fromPartial<I extends Exact<DeepPartial<GetPortableExperiencesLoadedResponse>, I>>(object: I): GetPortableExperiencesLoadedResponse;
87
+ }
88
+ export declare namespace ExitRequest {
89
+ function encode(_: ExitRequest, writer?: _m0.Writer): _m0.Writer;
90
+ function decode(input: _m0.Reader | Uint8Array, length?: number): ExitRequest;
91
+ function fromJSON(_: any): ExitRequest;
92
+ function toJSON(_: ExitRequest): unknown;
93
+ function create<I extends Exact<DeepPartial<ExitRequest>, I>>(base?: I): ExitRequest;
94
+ function fromPartial<I extends Exact<DeepPartial<ExitRequest>, I>>(_: I): ExitRequest;
95
+ }
96
+ export declare namespace ExitResponse {
97
+ function encode(message: ExitResponse, writer?: _m0.Writer): _m0.Writer;
98
+ function decode(input: _m0.Reader | Uint8Array, length?: number): ExitResponse;
99
+ function fromJSON(object: any): ExitResponse;
100
+ function toJSON(message: ExitResponse): unknown;
101
+ function create<I extends Exact<DeepPartial<ExitResponse>, I>>(base?: I): ExitResponse;
102
+ function fromPartial<I extends Exact<DeepPartial<ExitResponse>, I>>(object: I): ExitResponse;
103
+ }
104
+ export type PortableExperiencesServiceDefinition = typeof PortableExperiencesServiceDefinition;
105
+ export declare const PortableExperiencesServiceDefinition: {
106
+ readonly name: "PortableExperiencesService";
107
+ readonly fullName: "decentraland.kernel.apis.PortableExperiencesService";
108
+ readonly methods: {
109
+ /**
110
+ * Spawns a new portable experience that is detached from the current scene.
111
+ * Spawned portable experiences can only be controlled by 1) the user (from the UI)
112
+ * and 2) from the parent scene. If the parent scene gets unloaded i.e. by distance,
113
+ * once the player re-loads the parent it will inherit the children portable experiences
114
+ * to gain control over them.
115
+ */
116
+ readonly spawn: {
117
+ readonly name: "Spawn";
118
+ readonly requestType: typeof SpawnRequest;
119
+ readonly requestStream: false;
120
+ readonly responseType: typeof SpawnResponse;
121
+ readonly responseStream: false;
122
+ readonly options: {};
123
+ };
124
+ /**
125
+ * Kill a child portable experience, this method only works if the child was
126
+ * spawned by the same process trying to kill it.
127
+ */
128
+ readonly kill: {
129
+ readonly name: "Kill";
130
+ readonly requestType: typeof KillRequest;
131
+ readonly requestStream: false;
132
+ readonly responseType: typeof KillResponse;
133
+ readonly responseStream: false;
134
+ readonly options: {};
135
+ };
136
+ /**
137
+ * Kill the current scene if the current scene is a portable experience. Other
138
+ * kind of scenes are not allowed to finish their programs like portable experiences.
139
+ */
140
+ readonly exit: {
141
+ readonly name: "Exit";
142
+ readonly requestType: typeof ExitRequest;
143
+ readonly requestStream: false;
144
+ readonly responseType: typeof ExitResponse;
145
+ readonly responseStream: false;
146
+ readonly options: {};
147
+ };
148
+ /**
149
+ * Gets a list of running portable experiences for the current user. Be mindful
150
+ * about the performance penalty of calling this function all frames.
151
+ */
152
+ readonly getPortableExperiencesLoaded: {
153
+ readonly name: "GetPortableExperiencesLoaded";
154
+ readonly requestType: typeof GetPortableExperiencesLoadedRequest;
155
+ readonly requestStream: false;
156
+ readonly responseType: typeof GetPortableExperiencesLoadedResponse;
157
+ readonly responseStream: false;
158
+ readonly options: {};
159
+ };
160
+ };
161
+ };
162
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
163
+ 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 {
164
+ $case: string;
165
+ } ? {
166
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
167
+ } & {
168
+ $case: T["$case"];
169
+ } : T extends {} ? {
170
+ [K in keyof T]?: DeepPartial<T[K]>;
171
+ } : Partial<T>;
172
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
173
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
174
+ [K in keyof P]: Exact<P[K], I[K]>;
175
+ } & {
176
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
177
+ };
178
+ export {};