@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,648 @@
1
+ /* eslint-disable */
2
+ import _m0 from "protobufjs/minimal";
3
+ import { Quaternion, Vector3 } from "../../common/vectors.gen";
4
+
5
+ export const protobufPackage = "decentraland.sdk.components";
6
+
7
+ /**
8
+ * Implementation guidelines for these easing functions can be found
9
+ * at https://github.com/ai/easings.net/blob/6fcd5f852a470bf1a7890e8178afa0f471d5f2ec/src/easings/easingsFunctions.ts
10
+ */
11
+ export enum EasingFunction {
12
+ /** EF_LINEAR - default */
13
+ EF_LINEAR = 0,
14
+ EF_EASEINQUAD = 1,
15
+ EF_EASEOUTQUAD = 2,
16
+ EF_EASEQUAD = 3,
17
+ EF_EASEINSINE = 4,
18
+ EF_EASEOUTSINE = 5,
19
+ EF_EASESINE = 6,
20
+ EF_EASEINEXPO = 7,
21
+ EF_EASEOUTEXPO = 8,
22
+ EF_EASEEXPO = 9,
23
+ EF_EASEINELASTIC = 10,
24
+ EF_EASEOUTELASTIC = 11,
25
+ EF_EASEELASTIC = 12,
26
+ EF_EASEINBOUNCE = 13,
27
+ EF_EASEOUTBOUNCE = 14,
28
+ EF_EASEBOUNCE = 15,
29
+ EF_EASEINCUBIC = 16,
30
+ EF_EASEOUTCUBIC = 17,
31
+ EF_EASECUBIC = 18,
32
+ EF_EASEINQUART = 19,
33
+ EF_EASEOUTQUART = 20,
34
+ EF_EASEQUART = 21,
35
+ EF_EASEINQUINT = 22,
36
+ EF_EASEOUTQUINT = 23,
37
+ EF_EASEQUINT = 24,
38
+ EF_EASEINCIRC = 25,
39
+ EF_EASEOUTCIRC = 26,
40
+ EF_EASECIRC = 27,
41
+ EF_EASEINBACK = 28,
42
+ EF_EASEOUTBACK = 29,
43
+ EF_EASEBACK = 30,
44
+ UNRECOGNIZED = -1,
45
+ }
46
+
47
+ export function easingFunctionFromJSON(object: any): EasingFunction {
48
+ switch (object) {
49
+ case 0:
50
+ case "EF_LINEAR":
51
+ return EasingFunction.EF_LINEAR;
52
+ case 1:
53
+ case "EF_EASEINQUAD":
54
+ return EasingFunction.EF_EASEINQUAD;
55
+ case 2:
56
+ case "EF_EASEOUTQUAD":
57
+ return EasingFunction.EF_EASEOUTQUAD;
58
+ case 3:
59
+ case "EF_EASEQUAD":
60
+ return EasingFunction.EF_EASEQUAD;
61
+ case 4:
62
+ case "EF_EASEINSINE":
63
+ return EasingFunction.EF_EASEINSINE;
64
+ case 5:
65
+ case "EF_EASEOUTSINE":
66
+ return EasingFunction.EF_EASEOUTSINE;
67
+ case 6:
68
+ case "EF_EASESINE":
69
+ return EasingFunction.EF_EASESINE;
70
+ case 7:
71
+ case "EF_EASEINEXPO":
72
+ return EasingFunction.EF_EASEINEXPO;
73
+ case 8:
74
+ case "EF_EASEOUTEXPO":
75
+ return EasingFunction.EF_EASEOUTEXPO;
76
+ case 9:
77
+ case "EF_EASEEXPO":
78
+ return EasingFunction.EF_EASEEXPO;
79
+ case 10:
80
+ case "EF_EASEINELASTIC":
81
+ return EasingFunction.EF_EASEINELASTIC;
82
+ case 11:
83
+ case "EF_EASEOUTELASTIC":
84
+ return EasingFunction.EF_EASEOUTELASTIC;
85
+ case 12:
86
+ case "EF_EASEELASTIC":
87
+ return EasingFunction.EF_EASEELASTIC;
88
+ case 13:
89
+ case "EF_EASEINBOUNCE":
90
+ return EasingFunction.EF_EASEINBOUNCE;
91
+ case 14:
92
+ case "EF_EASEOUTBOUNCE":
93
+ return EasingFunction.EF_EASEOUTBOUNCE;
94
+ case 15:
95
+ case "EF_EASEBOUNCE":
96
+ return EasingFunction.EF_EASEBOUNCE;
97
+ case 16:
98
+ case "EF_EASEINCUBIC":
99
+ return EasingFunction.EF_EASEINCUBIC;
100
+ case 17:
101
+ case "EF_EASEOUTCUBIC":
102
+ return EasingFunction.EF_EASEOUTCUBIC;
103
+ case 18:
104
+ case "EF_EASECUBIC":
105
+ return EasingFunction.EF_EASECUBIC;
106
+ case 19:
107
+ case "EF_EASEINQUART":
108
+ return EasingFunction.EF_EASEINQUART;
109
+ case 20:
110
+ case "EF_EASEOUTQUART":
111
+ return EasingFunction.EF_EASEOUTQUART;
112
+ case 21:
113
+ case "EF_EASEQUART":
114
+ return EasingFunction.EF_EASEQUART;
115
+ case 22:
116
+ case "EF_EASEINQUINT":
117
+ return EasingFunction.EF_EASEINQUINT;
118
+ case 23:
119
+ case "EF_EASEOUTQUINT":
120
+ return EasingFunction.EF_EASEOUTQUINT;
121
+ case 24:
122
+ case "EF_EASEQUINT":
123
+ return EasingFunction.EF_EASEQUINT;
124
+ case 25:
125
+ case "EF_EASEINCIRC":
126
+ return EasingFunction.EF_EASEINCIRC;
127
+ case 26:
128
+ case "EF_EASEOUTCIRC":
129
+ return EasingFunction.EF_EASEOUTCIRC;
130
+ case 27:
131
+ case "EF_EASECIRC":
132
+ return EasingFunction.EF_EASECIRC;
133
+ case 28:
134
+ case "EF_EASEINBACK":
135
+ return EasingFunction.EF_EASEINBACK;
136
+ case 29:
137
+ case "EF_EASEOUTBACK":
138
+ return EasingFunction.EF_EASEOUTBACK;
139
+ case 30:
140
+ case "EF_EASEBACK":
141
+ return EasingFunction.EF_EASEBACK;
142
+ case -1:
143
+ case "UNRECOGNIZED":
144
+ default:
145
+ return EasingFunction.UNRECOGNIZED;
146
+ }
147
+ }
148
+
149
+ export function easingFunctionToJSON(object: EasingFunction): string {
150
+ switch (object) {
151
+ case EasingFunction.EF_LINEAR:
152
+ return "EF_LINEAR";
153
+ case EasingFunction.EF_EASEINQUAD:
154
+ return "EF_EASEINQUAD";
155
+ case EasingFunction.EF_EASEOUTQUAD:
156
+ return "EF_EASEOUTQUAD";
157
+ case EasingFunction.EF_EASEQUAD:
158
+ return "EF_EASEQUAD";
159
+ case EasingFunction.EF_EASEINSINE:
160
+ return "EF_EASEINSINE";
161
+ case EasingFunction.EF_EASEOUTSINE:
162
+ return "EF_EASEOUTSINE";
163
+ case EasingFunction.EF_EASESINE:
164
+ return "EF_EASESINE";
165
+ case EasingFunction.EF_EASEINEXPO:
166
+ return "EF_EASEINEXPO";
167
+ case EasingFunction.EF_EASEOUTEXPO:
168
+ return "EF_EASEOUTEXPO";
169
+ case EasingFunction.EF_EASEEXPO:
170
+ return "EF_EASEEXPO";
171
+ case EasingFunction.EF_EASEINELASTIC:
172
+ return "EF_EASEINELASTIC";
173
+ case EasingFunction.EF_EASEOUTELASTIC:
174
+ return "EF_EASEOUTELASTIC";
175
+ case EasingFunction.EF_EASEELASTIC:
176
+ return "EF_EASEELASTIC";
177
+ case EasingFunction.EF_EASEINBOUNCE:
178
+ return "EF_EASEINBOUNCE";
179
+ case EasingFunction.EF_EASEOUTBOUNCE:
180
+ return "EF_EASEOUTBOUNCE";
181
+ case EasingFunction.EF_EASEBOUNCE:
182
+ return "EF_EASEBOUNCE";
183
+ case EasingFunction.EF_EASEINCUBIC:
184
+ return "EF_EASEINCUBIC";
185
+ case EasingFunction.EF_EASEOUTCUBIC:
186
+ return "EF_EASEOUTCUBIC";
187
+ case EasingFunction.EF_EASECUBIC:
188
+ return "EF_EASECUBIC";
189
+ case EasingFunction.EF_EASEINQUART:
190
+ return "EF_EASEINQUART";
191
+ case EasingFunction.EF_EASEOUTQUART:
192
+ return "EF_EASEOUTQUART";
193
+ case EasingFunction.EF_EASEQUART:
194
+ return "EF_EASEQUART";
195
+ case EasingFunction.EF_EASEINQUINT:
196
+ return "EF_EASEINQUINT";
197
+ case EasingFunction.EF_EASEOUTQUINT:
198
+ return "EF_EASEOUTQUINT";
199
+ case EasingFunction.EF_EASEQUINT:
200
+ return "EF_EASEQUINT";
201
+ case EasingFunction.EF_EASEINCIRC:
202
+ return "EF_EASEINCIRC";
203
+ case EasingFunction.EF_EASEOUTCIRC:
204
+ return "EF_EASEOUTCIRC";
205
+ case EasingFunction.EF_EASECIRC:
206
+ return "EF_EASECIRC";
207
+ case EasingFunction.EF_EASEINBACK:
208
+ return "EF_EASEINBACK";
209
+ case EasingFunction.EF_EASEOUTBACK:
210
+ return "EF_EASEOUTBACK";
211
+ case EasingFunction.EF_EASEBACK:
212
+ return "EF_EASEBACK";
213
+ case EasingFunction.UNRECOGNIZED:
214
+ default:
215
+ return "UNRECOGNIZED";
216
+ }
217
+ }
218
+
219
+ export interface PBTween {
220
+ /** in milliseconds */
221
+ duration: number;
222
+ easingFunction: EasingFunction;
223
+ mode?:
224
+ | { $case: "move"; move: Move }
225
+ | { $case: "rotate"; rotate: Rotate }
226
+ | { $case: "scale"; scale: Scale }
227
+ | undefined;
228
+ /** default true (pause or running) */
229
+ playing?:
230
+ | boolean
231
+ | undefined;
232
+ /** between 0 and 1 */
233
+ currentTime?: number | undefined;
234
+ }
235
+
236
+ export interface Move {
237
+ start: Vector3 | undefined;
238
+ end: Vector3 | undefined;
239
+ faceDirection?: boolean | undefined;
240
+ }
241
+
242
+ export interface Rotate {
243
+ start: Quaternion | undefined;
244
+ end: Quaternion | undefined;
245
+ }
246
+
247
+ export interface Scale {
248
+ start: Vector3 | undefined;
249
+ end: Vector3 | undefined;
250
+ }
251
+
252
+ function createBasePBTween(): PBTween {
253
+ return { duration: 0, easingFunction: 0, mode: undefined, playing: undefined, currentTime: undefined };
254
+ }
255
+
256
+ export namespace PBTween {
257
+ export function encode(message: PBTween, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
258
+ if (message.duration !== 0) {
259
+ writer.uint32(13).float(message.duration);
260
+ }
261
+ if (message.easingFunction !== 0) {
262
+ writer.uint32(16).int32(message.easingFunction);
263
+ }
264
+ switch (message.mode?.$case) {
265
+ case "move":
266
+ Move.encode(message.mode.move, writer.uint32(26).fork()).ldelim();
267
+ break;
268
+ case "rotate":
269
+ Rotate.encode(message.mode.rotate, writer.uint32(34).fork()).ldelim();
270
+ break;
271
+ case "scale":
272
+ Scale.encode(message.mode.scale, writer.uint32(42).fork()).ldelim();
273
+ break;
274
+ }
275
+ if (message.playing !== undefined) {
276
+ writer.uint32(48).bool(message.playing);
277
+ }
278
+ if (message.currentTime !== undefined) {
279
+ writer.uint32(61).float(message.currentTime);
280
+ }
281
+ return writer;
282
+ }
283
+
284
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTween {
285
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
286
+ let end = length === undefined ? reader.len : reader.pos + length;
287
+ const message = createBasePBTween();
288
+ while (reader.pos < end) {
289
+ const tag = reader.uint32();
290
+ switch (tag >>> 3) {
291
+ case 1:
292
+ if (tag !== 13) {
293
+ break;
294
+ }
295
+
296
+ message.duration = reader.float();
297
+ continue;
298
+ case 2:
299
+ if (tag !== 16) {
300
+ break;
301
+ }
302
+
303
+ message.easingFunction = reader.int32() as any;
304
+ continue;
305
+ case 3:
306
+ if (tag !== 26) {
307
+ break;
308
+ }
309
+
310
+ message.mode = { $case: "move", move: Move.decode(reader, reader.uint32()) };
311
+ continue;
312
+ case 4:
313
+ if (tag !== 34) {
314
+ break;
315
+ }
316
+
317
+ message.mode = { $case: "rotate", rotate: Rotate.decode(reader, reader.uint32()) };
318
+ continue;
319
+ case 5:
320
+ if (tag !== 42) {
321
+ break;
322
+ }
323
+
324
+ message.mode = { $case: "scale", scale: Scale.decode(reader, reader.uint32()) };
325
+ continue;
326
+ case 6:
327
+ if (tag !== 48) {
328
+ break;
329
+ }
330
+
331
+ message.playing = reader.bool();
332
+ continue;
333
+ case 7:
334
+ if (tag !== 61) {
335
+ break;
336
+ }
337
+
338
+ message.currentTime = reader.float();
339
+ continue;
340
+ }
341
+ if ((tag & 7) === 4 || tag === 0) {
342
+ break;
343
+ }
344
+ reader.skipType(tag & 7);
345
+ }
346
+ return message;
347
+ }
348
+
349
+ export function fromJSON(object: any): PBTween {
350
+ return {
351
+ duration: isSet(object.duration) ? Number(object.duration) : 0,
352
+ easingFunction: isSet(object.easingFunction) ? easingFunctionFromJSON(object.easingFunction) : 0,
353
+ mode: isSet(object.move)
354
+ ? { $case: "move", move: Move.fromJSON(object.move) }
355
+ : isSet(object.rotate)
356
+ ? { $case: "rotate", rotate: Rotate.fromJSON(object.rotate) }
357
+ : isSet(object.scale)
358
+ ? { $case: "scale", scale: Scale.fromJSON(object.scale) }
359
+ : undefined,
360
+ playing: isSet(object.playing) ? Boolean(object.playing) : undefined,
361
+ currentTime: isSet(object.currentTime) ? Number(object.currentTime) : undefined,
362
+ };
363
+ }
364
+
365
+ export function toJSON(message: PBTween): unknown {
366
+ const obj: any = {};
367
+ message.duration !== undefined && (obj.duration = message.duration);
368
+ message.easingFunction !== undefined && (obj.easingFunction = easingFunctionToJSON(message.easingFunction));
369
+ message.mode?.$case === "move" && (obj.move = message.mode?.move ? Move.toJSON(message.mode?.move) : undefined);
370
+ message.mode?.$case === "rotate" &&
371
+ (obj.rotate = message.mode?.rotate ? Rotate.toJSON(message.mode?.rotate) : undefined);
372
+ message.mode?.$case === "scale" &&
373
+ (obj.scale = message.mode?.scale ? Scale.toJSON(message.mode?.scale) : undefined);
374
+ message.playing !== undefined && (obj.playing = message.playing);
375
+ message.currentTime !== undefined && (obj.currentTime = message.currentTime);
376
+ return obj;
377
+ }
378
+
379
+ export function create<I extends Exact<DeepPartial<PBTween>, I>>(base?: I): PBTween {
380
+ return PBTween.fromPartial(base ?? {});
381
+ }
382
+
383
+ export function fromPartial<I extends Exact<DeepPartial<PBTween>, I>>(object: I): PBTween {
384
+ const message = createBasePBTween();
385
+ message.duration = object.duration ?? 0;
386
+ message.easingFunction = object.easingFunction ?? 0;
387
+ if (object.mode?.$case === "move" && object.mode?.move !== undefined && object.mode?.move !== null) {
388
+ message.mode = { $case: "move", move: Move.fromPartial(object.mode.move) };
389
+ }
390
+ if (object.mode?.$case === "rotate" && object.mode?.rotate !== undefined && object.mode?.rotate !== null) {
391
+ message.mode = { $case: "rotate", rotate: Rotate.fromPartial(object.mode.rotate) };
392
+ }
393
+ if (object.mode?.$case === "scale" && object.mode?.scale !== undefined && object.mode?.scale !== null) {
394
+ message.mode = { $case: "scale", scale: Scale.fromPartial(object.mode.scale) };
395
+ }
396
+ message.playing = object.playing ?? undefined;
397
+ message.currentTime = object.currentTime ?? undefined;
398
+ return message;
399
+ }
400
+ }
401
+
402
+ function createBaseMove(): Move {
403
+ return { start: undefined, end: undefined, faceDirection: undefined };
404
+ }
405
+
406
+ export namespace Move {
407
+ export function encode(message: Move, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
408
+ if (message.start !== undefined) {
409
+ Vector3.encode(message.start, writer.uint32(10).fork()).ldelim();
410
+ }
411
+ if (message.end !== undefined) {
412
+ Vector3.encode(message.end, writer.uint32(18).fork()).ldelim();
413
+ }
414
+ if (message.faceDirection !== undefined) {
415
+ writer.uint32(24).bool(message.faceDirection);
416
+ }
417
+ return writer;
418
+ }
419
+
420
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): Move {
421
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
422
+ let end = length === undefined ? reader.len : reader.pos + length;
423
+ const message = createBaseMove();
424
+ while (reader.pos < end) {
425
+ const tag = reader.uint32();
426
+ switch (tag >>> 3) {
427
+ case 1:
428
+ if (tag !== 10) {
429
+ break;
430
+ }
431
+
432
+ message.start = Vector3.decode(reader, reader.uint32());
433
+ continue;
434
+ case 2:
435
+ if (tag !== 18) {
436
+ break;
437
+ }
438
+
439
+ message.end = Vector3.decode(reader, reader.uint32());
440
+ continue;
441
+ case 3:
442
+ if (tag !== 24) {
443
+ break;
444
+ }
445
+
446
+ message.faceDirection = reader.bool();
447
+ continue;
448
+ }
449
+ if ((tag & 7) === 4 || tag === 0) {
450
+ break;
451
+ }
452
+ reader.skipType(tag & 7);
453
+ }
454
+ return message;
455
+ }
456
+
457
+ export function fromJSON(object: any): Move {
458
+ return {
459
+ start: isSet(object.start) ? Vector3.fromJSON(object.start) : undefined,
460
+ end: isSet(object.end) ? Vector3.fromJSON(object.end) : undefined,
461
+ faceDirection: isSet(object.faceDirection) ? Boolean(object.faceDirection) : undefined,
462
+ };
463
+ }
464
+
465
+ export function toJSON(message: Move): unknown {
466
+ const obj: any = {};
467
+ message.start !== undefined && (obj.start = message.start ? Vector3.toJSON(message.start) : undefined);
468
+ message.end !== undefined && (obj.end = message.end ? Vector3.toJSON(message.end) : undefined);
469
+ message.faceDirection !== undefined && (obj.faceDirection = message.faceDirection);
470
+ return obj;
471
+ }
472
+
473
+ export function create<I extends Exact<DeepPartial<Move>, I>>(base?: I): Move {
474
+ return Move.fromPartial(base ?? {});
475
+ }
476
+
477
+ export function fromPartial<I extends Exact<DeepPartial<Move>, I>>(object: I): Move {
478
+ const message = createBaseMove();
479
+ message.start = (object.start !== undefined && object.start !== null)
480
+ ? Vector3.fromPartial(object.start)
481
+ : undefined;
482
+ message.end = (object.end !== undefined && object.end !== null) ? Vector3.fromPartial(object.end) : undefined;
483
+ message.faceDirection = object.faceDirection ?? undefined;
484
+ return message;
485
+ }
486
+ }
487
+
488
+ function createBaseRotate(): Rotate {
489
+ return { start: undefined, end: undefined };
490
+ }
491
+
492
+ export namespace Rotate {
493
+ export function encode(message: Rotate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
494
+ if (message.start !== undefined) {
495
+ Quaternion.encode(message.start, writer.uint32(10).fork()).ldelim();
496
+ }
497
+ if (message.end !== undefined) {
498
+ Quaternion.encode(message.end, writer.uint32(18).fork()).ldelim();
499
+ }
500
+ return writer;
501
+ }
502
+
503
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): Rotate {
504
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
505
+ let end = length === undefined ? reader.len : reader.pos + length;
506
+ const message = createBaseRotate();
507
+ while (reader.pos < end) {
508
+ const tag = reader.uint32();
509
+ switch (tag >>> 3) {
510
+ case 1:
511
+ if (tag !== 10) {
512
+ break;
513
+ }
514
+
515
+ message.start = Quaternion.decode(reader, reader.uint32());
516
+ continue;
517
+ case 2:
518
+ if (tag !== 18) {
519
+ break;
520
+ }
521
+
522
+ message.end = Quaternion.decode(reader, reader.uint32());
523
+ continue;
524
+ }
525
+ if ((tag & 7) === 4 || tag === 0) {
526
+ break;
527
+ }
528
+ reader.skipType(tag & 7);
529
+ }
530
+ return message;
531
+ }
532
+
533
+ export function fromJSON(object: any): Rotate {
534
+ return {
535
+ start: isSet(object.start) ? Quaternion.fromJSON(object.start) : undefined,
536
+ end: isSet(object.end) ? Quaternion.fromJSON(object.end) : undefined,
537
+ };
538
+ }
539
+
540
+ export function toJSON(message: Rotate): unknown {
541
+ const obj: any = {};
542
+ message.start !== undefined && (obj.start = message.start ? Quaternion.toJSON(message.start) : undefined);
543
+ message.end !== undefined && (obj.end = message.end ? Quaternion.toJSON(message.end) : undefined);
544
+ return obj;
545
+ }
546
+
547
+ export function create<I extends Exact<DeepPartial<Rotate>, I>>(base?: I): Rotate {
548
+ return Rotate.fromPartial(base ?? {});
549
+ }
550
+
551
+ export function fromPartial<I extends Exact<DeepPartial<Rotate>, I>>(object: I): Rotate {
552
+ const message = createBaseRotate();
553
+ message.start = (object.start !== undefined && object.start !== null)
554
+ ? Quaternion.fromPartial(object.start)
555
+ : undefined;
556
+ message.end = (object.end !== undefined && object.end !== null) ? Quaternion.fromPartial(object.end) : undefined;
557
+ return message;
558
+ }
559
+ }
560
+
561
+ function createBaseScale(): Scale {
562
+ return { start: undefined, end: undefined };
563
+ }
564
+
565
+ export namespace Scale {
566
+ export function encode(message: Scale, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
567
+ if (message.start !== undefined) {
568
+ Vector3.encode(message.start, writer.uint32(10).fork()).ldelim();
569
+ }
570
+ if (message.end !== undefined) {
571
+ Vector3.encode(message.end, writer.uint32(18).fork()).ldelim();
572
+ }
573
+ return writer;
574
+ }
575
+
576
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): Scale {
577
+ const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
578
+ let end = length === undefined ? reader.len : reader.pos + length;
579
+ const message = createBaseScale();
580
+ while (reader.pos < end) {
581
+ const tag = reader.uint32();
582
+ switch (tag >>> 3) {
583
+ case 1:
584
+ if (tag !== 10) {
585
+ break;
586
+ }
587
+
588
+ message.start = Vector3.decode(reader, reader.uint32());
589
+ continue;
590
+ case 2:
591
+ if (tag !== 18) {
592
+ break;
593
+ }
594
+
595
+ message.end = Vector3.decode(reader, reader.uint32());
596
+ continue;
597
+ }
598
+ if ((tag & 7) === 4 || tag === 0) {
599
+ break;
600
+ }
601
+ reader.skipType(tag & 7);
602
+ }
603
+ return message;
604
+ }
605
+
606
+ export function fromJSON(object: any): Scale {
607
+ return {
608
+ start: isSet(object.start) ? Vector3.fromJSON(object.start) : undefined,
609
+ end: isSet(object.end) ? Vector3.fromJSON(object.end) : undefined,
610
+ };
611
+ }
612
+
613
+ export function toJSON(message: Scale): unknown {
614
+ const obj: any = {};
615
+ message.start !== undefined && (obj.start = message.start ? Vector3.toJSON(message.start) : undefined);
616
+ message.end !== undefined && (obj.end = message.end ? Vector3.toJSON(message.end) : undefined);
617
+ return obj;
618
+ }
619
+
620
+ export function create<I extends Exact<DeepPartial<Scale>, I>>(base?: I): Scale {
621
+ return Scale.fromPartial(base ?? {});
622
+ }
623
+
624
+ export function fromPartial<I extends Exact<DeepPartial<Scale>, I>>(object: I): Scale {
625
+ const message = createBaseScale();
626
+ message.start = (object.start !== undefined && object.start !== null)
627
+ ? Vector3.fromPartial(object.start)
628
+ : undefined;
629
+ message.end = (object.end !== undefined && object.end !== null) ? Vector3.fromPartial(object.end) : undefined;
630
+ return message;
631
+ }
632
+ }
633
+
634
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
635
+
636
+ export type DeepPartial<T> = T extends Builtin ? T
637
+ : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
638
+ : T extends { $case: string } ? { [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]> } & { $case: T["$case"] }
639
+ : T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
640
+ : Partial<T>;
641
+
642
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
643
+ export type Exact<P, I extends P> = P extends Builtin ? P
644
+ : P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
645
+
646
+ function isSet(value: any): boolean {
647
+ return value !== null && value !== undefined;
648
+ }