@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.
- package/LICENSE +201 -0
- package/README.md +69 -0
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/about.gen.js +6 -0
- package/out-js/about.gen.js.map +1 -0
- package/out-js/comms.gen.d.ts +1 -0
- package/out-js/comms.gen.js +6 -0
- package/out-js/comms.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
- package/out-js/decentraland/common/border_rect.gen.js +201 -0
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
- package/out-js/decentraland/common/colors.gen.d.ts +46 -0
- package/out-js/decentraland/common/colors.gen.js +189 -0
- package/out-js/decentraland/common/colors.gen.js.map +1 -0
- package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
- package/out-js/decentraland/common/content_mapping.gen.js +80 -0
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
- package/out-js/decentraland/common/texture.gen.d.ts +100 -0
- package/out-js/decentraland/common/texture.gen.js +446 -0
- package/out-js/decentraland/common/texture.gen.js.map +1 -0
- package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
- package/out-js/decentraland/common/vectors.gen.js +338 -0
- package/out-js/decentraland/common/vectors.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +76 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +257 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +89 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +301 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +1452 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +1122 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +557 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
- package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +244 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +824 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +217 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js +801 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js +171 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +139 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +56 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +213 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1282 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +224 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1204 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2728 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +150 -0
- package/out-js/decentraland/realm/about.gen.js +914 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
- package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +95 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +95 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +60 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +153 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +72 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +251 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +54 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js +128 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +157 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +106 -0
- package/out-js/decentraland/sdk/components/material.gen.js +515 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +128 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +469 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +104 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +247 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +131 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +125 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +598 -0
- package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +204 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1210 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +138 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +31 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +69 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +500 -0
- package/out-js/decentraland/social/friendships/friendships.gen.js +2517 -0
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.d.ts +357 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.js +1554 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.js.map +1 -0
- package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
- package/out-js/google/protobuf/descriptor.gen.js +3173 -0
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
- package/out-js/google/protobuf/empty.gen.d.ts +38 -0
- package/out-js/google/protobuf/empty.gen.js +54 -0
- package/out-js/google/protobuf/empty.gen.js.map +1 -0
- package/out-js/quests.gen.d.ts +1 -0
- package/out-js/quests.gen.js +6 -0
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-apis.gen.d.ts +1 -0
- package/out-js/sdk-apis.gen.js +6 -0
- package/out-js/sdk-apis.gen.js.map +1 -0
- package/out-js/sdk-components.gen.d.ts +1 -0
- package/out-js/sdk-components.gen.js +6 -0
- package/out-js/sdk-components.gen.js.map +1 -0
- package/out-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-js/social.gen.d.ts +1 -0
- package/out-js/social.gen.js +6 -0
- package/out-js/social.gen.js.map +1 -0
- package/out-js/social_service_v2.gen.d.ts +1 -0
- package/out-js/social_service_v2.gen.js +6 -0
- package/out-js/social_service_v2.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/comms.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
- package/out-ts/decentraland/common/colors.gen.ts +214 -0
- package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
- package/out-ts/decentraland/common/texture.gen.ts +500 -0
- package/out-ts/decentraland/common/vectors.gen.ts +377 -0
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +295 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +327 -0
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
- package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +895 -0
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1440 -0
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1338 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/realm/about.gen.ts +1062 -0
- package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +122 -0
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +188 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +333 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +148 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +154 -0
- package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +629 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +534 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +310 -0
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +152 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +648 -0
- package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1361 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +173 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +83 -0
- package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +2798 -0
- package/out-ts/decentraland/social_service_v2/social_service.gen.ts +1709 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +3470 -0
- package/out-ts/google/protobuf/empty.gen.ts +72 -0
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-apis.gen.ts +3 -0
- package/out-ts/sdk-components.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/out-ts/social.gen.ts +3 -0
- package/out-ts/social_service_v2.gen.ts +3 -0
- package/package.json +33 -0
- package/proto/buf.yaml +47 -0
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +15 -0
- package/proto/decentraland/common/content_mapping.proto +7 -0
- package/proto/decentraland/common/entity.proto +13 -0
- package/proto/decentraland/common/sdk/user_data.proto +25 -0
- package/proto/decentraland/common/texture.proto +40 -0
- package/proto/decentraland/common/vectors.proto +26 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +25 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +23 -0
- package/proto/decentraland/kernel/apis/dev_tools.proto +15 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
- package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
- package/proto/decentraland/kernel/apis/ethereum_controller.proto +64 -0
- package/proto/decentraland/kernel/apis/parcel_identity.proto +43 -0
- package/proto/decentraland/kernel/apis/permissions.proto +36 -0
- package/proto/decentraland/kernel/apis/players.proto +35 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
- package/proto/decentraland/kernel/apis/restricted_actions.proto +78 -0
- package/proto/decentraland/kernel/apis/runtime.proto +71 -0
- package/proto/decentraland/kernel/apis/scene.proto +16 -0
- package/proto/decentraland/kernel/apis/signed_fetch.proto +33 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/apis/user_action_module.proto +13 -0
- package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +110 -0
- package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +104 -0
- package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
- package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
- package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +86 -0
- package/proto/decentraland/kernel/comms/v3/comms.proto +64 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +73 -0
- package/proto/decentraland/sdk/components/README.md +32 -0
- package/proto/decentraland/sdk/components/Transform.md +25 -0
- package/proto/decentraland/sdk/components/animator.proto +31 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +31 -0
- package/proto/decentraland/sdk/components/audio_stream.proto +14 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
- package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +42 -0
- package/proto/decentraland/sdk/components/billboard.proto +29 -0
- package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +25 -0
- package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
- package/proto/decentraland/sdk/components/common/id.md +2 -0
- package/proto/decentraland/sdk/components/common/id.proto +8 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +28 -0
- package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
- package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
- package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
- package/proto/decentraland/sdk/components/common/texts.proto +21 -0
- package/proto/decentraland/sdk/components/engine_info.proto +15 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
- package/proto/decentraland/sdk/components/material.proto +57 -0
- package/proto/decentraland/sdk/components/mesh_collider.proto +62 -0
- package/proto/decentraland/sdk/components/mesh_renderer.proto +43 -0
- package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +37 -0
- package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
- package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
- package/proto/decentraland/sdk/components/raycast.proto +58 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
- package/proto/decentraland/sdk/components/realm_info.proto +14 -0
- package/proto/decentraland/sdk/components/text_shape.proto +45 -0
- package/proto/decentraland/sdk/components/tween.proto +74 -0
- package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
- package/proto/decentraland/sdk/components/tween_state.proto +18 -0
- package/proto/decentraland/sdk/components/ui_background.proto +34 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +24 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
- package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
- package/proto/decentraland/sdk/components/ui_input.proto +20 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +26 -0
- package/proto/decentraland/sdk/components/ui_transform.proto +148 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +16 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +9 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social/friendships/friendships.proto +162 -0
- package/proto/decentraland/social_service_v2/social_service.proto +111 -0
- package/proto/google/LICENSE +27 -0
- package/proto/google/README.md +1 -0
- package/proto/google/api/annotations.json +83 -0
- package/proto/google/api/annotations.proto +11 -0
- package/proto/google/api/http.json +86 -0
- package/proto/google/api/http.proto +31 -0
- package/proto/google/protobuf/api.json +118 -0
- package/proto/google/protobuf/api.proto +34 -0
- package/proto/google/protobuf/descriptor.json +739 -0
- package/proto/google/protobuf/descriptor.proto +286 -0
- package/proto/google/protobuf/source_context.json +20 -0
- package/proto/google/protobuf/source_context.proto +7 -0
- package/proto/google/protobuf/type.json +202 -0
- package/proto/google/protobuf/type.proto +89 -0
- package/public/about.proto +5 -0
- package/public/comms.proto +5 -0
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +25 -0
- package/public/sdk-components.proto +42 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +4 -0
- package/public/social_service_v2.proto +4 -0
|
@@ -0,0 +1,85 @@
|
|
|
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.PBCameraModeArea = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
const vectors_gen_1 = require("../../common/vectors.gen");
|
|
10
|
+
const camera_type_gen_1 = require("./common/camera_type.gen");
|
|
11
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
12
|
+
function createBasePBCameraModeArea() {
|
|
13
|
+
return { area: undefined, mode: 0 };
|
|
14
|
+
}
|
|
15
|
+
var PBCameraModeArea;
|
|
16
|
+
(function (PBCameraModeArea) {
|
|
17
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
18
|
+
if (message.area !== undefined) {
|
|
19
|
+
vectors_gen_1.Vector3.encode(message.area, writer.uint32(10).fork()).ldelim();
|
|
20
|
+
}
|
|
21
|
+
if (message.mode !== 0) {
|
|
22
|
+
writer.uint32(16).int32(message.mode);
|
|
23
|
+
}
|
|
24
|
+
return writer;
|
|
25
|
+
}
|
|
26
|
+
PBCameraModeArea.encode = encode;
|
|
27
|
+
function decode(input, length) {
|
|
28
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
29
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
30
|
+
const message = createBasePBCameraModeArea();
|
|
31
|
+
while (reader.pos < end) {
|
|
32
|
+
const tag = reader.uint32();
|
|
33
|
+
switch (tag >>> 3) {
|
|
34
|
+
case 1:
|
|
35
|
+
if (tag !== 10) {
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
message.area = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
39
|
+
continue;
|
|
40
|
+
case 2:
|
|
41
|
+
if (tag !== 16) {
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
message.mode = reader.int32();
|
|
45
|
+
continue;
|
|
46
|
+
}
|
|
47
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
48
|
+
break;
|
|
49
|
+
}
|
|
50
|
+
reader.skipType(tag & 7);
|
|
51
|
+
}
|
|
52
|
+
return message;
|
|
53
|
+
}
|
|
54
|
+
PBCameraModeArea.decode = decode;
|
|
55
|
+
function fromJSON(object) {
|
|
56
|
+
return {
|
|
57
|
+
area: isSet(object.area) ? vectors_gen_1.Vector3.fromJSON(object.area) : undefined,
|
|
58
|
+
mode: isSet(object.mode) ? (0, camera_type_gen_1.cameraTypeFromJSON)(object.mode) : 0,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
PBCameraModeArea.fromJSON = fromJSON;
|
|
62
|
+
function toJSON(message) {
|
|
63
|
+
const obj = {};
|
|
64
|
+
message.area !== undefined && (obj.area = message.area ? vectors_gen_1.Vector3.toJSON(message.area) : undefined);
|
|
65
|
+
message.mode !== undefined && (obj.mode = (0, camera_type_gen_1.cameraTypeToJSON)(message.mode));
|
|
66
|
+
return obj;
|
|
67
|
+
}
|
|
68
|
+
PBCameraModeArea.toJSON = toJSON;
|
|
69
|
+
function create(base) {
|
|
70
|
+
return PBCameraModeArea.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
71
|
+
}
|
|
72
|
+
PBCameraModeArea.create = create;
|
|
73
|
+
function fromPartial(object) {
|
|
74
|
+
var _a;
|
|
75
|
+
const message = createBasePBCameraModeArea();
|
|
76
|
+
message.area = (object.area !== undefined && object.area !== null) ? vectors_gen_1.Vector3.fromPartial(object.area) : undefined;
|
|
77
|
+
message.mode = (_a = object.mode) !== null && _a !== void 0 ? _a : 0;
|
|
78
|
+
return message;
|
|
79
|
+
}
|
|
80
|
+
PBCameraModeArea.fromPartial = fromPartial;
|
|
81
|
+
})(PBCameraModeArea || (exports.PBCameraModeArea = PBCameraModeArea = {}));
|
|
82
|
+
function isSet(value) {
|
|
83
|
+
return value !== null && value !== undefined;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=camera_mode_area.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"camera_mode_area.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/camera_mode_area.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,0DAAmD;AACnD,8DAA4F;AAE/E,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAwB7D,SAAS,0BAA0B;IACjC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AACtC,CAAC;AAED,IAAiB,gBAAgB,CAiEhC;AAjED,WAAiB,gBAAgB;IAC/B,SAAgB,MAAM,CAAC,OAAyB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACxF,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YAC/B,qBAAO,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;QAClE,CAAC;QACD,IAAI,OAAO,CA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AM,CAAC,IAAI,KAAK,SAAS,IAAI,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,qBAAO,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;QAClH,OAAO,CAAC,IAAI,GAAG,MAAA,MAAM,CAAC,IAAI,mCAAI,CAAC,CAAC;QAChC,OAAO,OAAO,CAAC;IACjB,CAAC;IALe,4BAAW,cAK1B,CAAA;AACH,CAAC,EAjEgB,gBAAgB,gCAAhB,gBAAgB,QAiEhC;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const protobufPackage = "decentraland.sdk.components.common";
|
|
2
|
+
export declare enum CameraType {
|
|
3
|
+
CT_FIRST_PERSON = 0,
|
|
4
|
+
CT_THIRD_PERSON = 1,
|
|
5
|
+
/** CT_CINEMATIC - controlled by the scene */
|
|
6
|
+
CT_CINEMATIC = 2,
|
|
7
|
+
UNRECOGNIZED = -1
|
|
8
|
+
}
|
|
9
|
+
export declare function cameraTypeFromJSON(object: any): CameraType;
|
|
10
|
+
export declare function cameraTypeToJSON(object: CameraType): string;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CameraType = exports.protobufPackage = void 0;
|
|
5
|
+
exports.cameraTypeFromJSON = cameraTypeFromJSON;
|
|
6
|
+
exports.cameraTypeToJSON = cameraTypeToJSON;
|
|
7
|
+
exports.protobufPackage = "decentraland.sdk.components.common";
|
|
8
|
+
var CameraType;
|
|
9
|
+
(function (CameraType) {
|
|
10
|
+
CameraType[CameraType["CT_FIRST_PERSON"] = 0] = "CT_FIRST_PERSON";
|
|
11
|
+
CameraType[CameraType["CT_THIRD_PERSON"] = 1] = "CT_THIRD_PERSON";
|
|
12
|
+
/** CT_CINEMATIC - controlled by the scene */
|
|
13
|
+
CameraType[CameraType["CT_CINEMATIC"] = 2] = "CT_CINEMATIC";
|
|
14
|
+
CameraType[CameraType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
15
|
+
})(CameraType || (exports.CameraType = CameraType = {}));
|
|
16
|
+
function cameraTypeFromJSON(object) {
|
|
17
|
+
switch (object) {
|
|
18
|
+
case 0:
|
|
19
|
+
case "CT_FIRST_PERSON":
|
|
20
|
+
return CameraType.CT_FIRST_PERSON;
|
|
21
|
+
case 1:
|
|
22
|
+
case "CT_THIRD_PERSON":
|
|
23
|
+
return CameraType.CT_THIRD_PERSON;
|
|
24
|
+
case 2:
|
|
25
|
+
case "CT_CINEMATIC":
|
|
26
|
+
return CameraType.CT_CINEMATIC;
|
|
27
|
+
case -1:
|
|
28
|
+
case "UNRECOGNIZED":
|
|
29
|
+
default:
|
|
30
|
+
return CameraType.UNRECOGNIZED;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
function cameraTypeToJSON(object) {
|
|
34
|
+
switch (object) {
|
|
35
|
+
case CameraType.CT_FIRST_PERSON:
|
|
36
|
+
return "CT_FIRST_PERSON";
|
|
37
|
+
case CameraType.CT_THIRD_PERSON:
|
|
38
|
+
return "CT_THIRD_PERSON";
|
|
39
|
+
case CameraType.CT_CINEMATIC:
|
|
40
|
+
return "CT_CINEMATIC";
|
|
41
|
+
case CameraType.UNRECOGNIZED:
|
|
42
|
+
default:
|
|
43
|
+
return "UNRECOGNIZED";
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=camera_type.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"camera_type.gen.js","sourceRoot":"","sources":["../../../../../out-ts/decentraland/sdk/components/common/camera_type.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAYpB,gDAgBC;AAED,4CAYC;AAxCY,QAAA,eAAe,GAAG,oCAAoC,CAAC;AAEpE,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,iEAAmB,CAAA;IACnB,iEAAmB,CAAA;IACnB,6CAA6C;IAC7C,2DAAgB,CAAA;IAChB,4DAAiB,CAAA;AACnB,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAED,SAAgB,kBAAkB,CAAC,MAAW;IAC5C,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,CAAC,CAAC;QACP,KAAK,iBAAiB;YACpB,OAAO,UAAU,CAAC,eAAe,CAAC;QACpC,KAAK,CAAC,CAAC;QACP,KAAK,iBAAiB;YACpB,OAAO,UAAU,CAAC,eAAe,CAAC;QACpC,KAAK,CAAC,CAAC;QACP,KAAK,cAAc;YACjB,OAAO,UAAU,CAAC,YAAY,CAAC;QACjC,KAAK,CAAC,CAAC,CAAC;QACR,KAAK,cAAc,CAAC;QACpB;YACE,OAAO,UAAU,CAAC,YAAY,CAAC;IACnC,CAAC;AACH,CAAC;AAED,SAAgB,gBAAgB,CAAC,MAAkB;IACjD,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,UAAU,CAAC,eAAe;YAC7B,OAAO,iBAAiB,CAAC;QAC3B,KAAK,UAAU,CAAC,eAAe;YAC7B,OAAO,iBAAiB,CAAC;QAC3B,KAAK,UAAU,CAAC,YAAY;YAC1B,OAAO,cAAc,CAAC;QACxB,KAAK,UAAU,CAAC,YAAY,CAAC;QAC7B;YACE,OAAO,cAAc,CAAC;IAC1B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const protobufPackage = "decentraland.sdk.components.common";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"id.gen.js","sourceRoot":"","sources":["../../../../../out-ts/decentraland/sdk/components/common/id.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAEP,QAAA,eAAe,GAAG,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const protobufPackage = "decentraland.sdk.components.common";
|
|
2
|
+
export declare enum InputAction {
|
|
3
|
+
IA_POINTER = 0,
|
|
4
|
+
IA_PRIMARY = 1,
|
|
5
|
+
IA_SECONDARY = 2,
|
|
6
|
+
IA_ANY = 3,
|
|
7
|
+
IA_FORWARD = 4,
|
|
8
|
+
IA_BACKWARD = 5,
|
|
9
|
+
IA_RIGHT = 6,
|
|
10
|
+
IA_LEFT = 7,
|
|
11
|
+
IA_JUMP = 8,
|
|
12
|
+
IA_WALK = 9,
|
|
13
|
+
IA_ACTION_3 = 10,
|
|
14
|
+
IA_ACTION_4 = 11,
|
|
15
|
+
IA_ACTION_5 = 12,
|
|
16
|
+
IA_ACTION_6 = 13,
|
|
17
|
+
UNRECOGNIZED = -1
|
|
18
|
+
}
|
|
19
|
+
export declare function inputActionFromJSON(object: any): InputAction;
|
|
20
|
+
export declare function inputActionToJSON(object: InputAction): string;
|
|
21
|
+
/** PointerEventType is a kind of interaction that can be detected. */
|
|
22
|
+
export declare enum PointerEventType {
|
|
23
|
+
PET_UP = 0,
|
|
24
|
+
PET_DOWN = 1,
|
|
25
|
+
PET_HOVER_ENTER = 2,
|
|
26
|
+
PET_HOVER_LEAVE = 3,
|
|
27
|
+
UNRECOGNIZED = -1
|
|
28
|
+
}
|
|
29
|
+
export declare function pointerEventTypeFromJSON(object: any): PointerEventType;
|
|
30
|
+
export declare function pointerEventTypeToJSON(object: PointerEventType): string;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PointerEventType = exports.InputAction = exports.protobufPackage = void 0;
|
|
5
|
+
exports.inputActionFromJSON = inputActionFromJSON;
|
|
6
|
+
exports.inputActionToJSON = inputActionToJSON;
|
|
7
|
+
exports.pointerEventTypeFromJSON = pointerEventTypeFromJSON;
|
|
8
|
+
exports.pointerEventTypeToJSON = pointerEventTypeToJSON;
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components.common";
|
|
10
|
+
var InputAction;
|
|
11
|
+
(function (InputAction) {
|
|
12
|
+
InputAction[InputAction["IA_POINTER"] = 0] = "IA_POINTER";
|
|
13
|
+
InputAction[InputAction["IA_PRIMARY"] = 1] = "IA_PRIMARY";
|
|
14
|
+
InputAction[InputAction["IA_SECONDARY"] = 2] = "IA_SECONDARY";
|
|
15
|
+
InputAction[InputAction["IA_ANY"] = 3] = "IA_ANY";
|
|
16
|
+
InputAction[InputAction["IA_FORWARD"] = 4] = "IA_FORWARD";
|
|
17
|
+
InputAction[InputAction["IA_BACKWARD"] = 5] = "IA_BACKWARD";
|
|
18
|
+
InputAction[InputAction["IA_RIGHT"] = 6] = "IA_RIGHT";
|
|
19
|
+
InputAction[InputAction["IA_LEFT"] = 7] = "IA_LEFT";
|
|
20
|
+
InputAction[InputAction["IA_JUMP"] = 8] = "IA_JUMP";
|
|
21
|
+
InputAction[InputAction["IA_WALK"] = 9] = "IA_WALK";
|
|
22
|
+
InputAction[InputAction["IA_ACTION_3"] = 10] = "IA_ACTION_3";
|
|
23
|
+
InputAction[InputAction["IA_ACTION_4"] = 11] = "IA_ACTION_4";
|
|
24
|
+
InputAction[InputAction["IA_ACTION_5"] = 12] = "IA_ACTION_5";
|
|
25
|
+
InputAction[InputAction["IA_ACTION_6"] = 13] = "IA_ACTION_6";
|
|
26
|
+
InputAction[InputAction["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
27
|
+
})(InputAction || (exports.InputAction = InputAction = {}));
|
|
28
|
+
function inputActionFromJSON(object) {
|
|
29
|
+
switch (object) {
|
|
30
|
+
case 0:
|
|
31
|
+
case "IA_POINTER":
|
|
32
|
+
return InputAction.IA_POINTER;
|
|
33
|
+
case 1:
|
|
34
|
+
case "IA_PRIMARY":
|
|
35
|
+
return InputAction.IA_PRIMARY;
|
|
36
|
+
case 2:
|
|
37
|
+
case "IA_SECONDARY":
|
|
38
|
+
return InputAction.IA_SECONDARY;
|
|
39
|
+
case 3:
|
|
40
|
+
case "IA_ANY":
|
|
41
|
+
return InputAction.IA_ANY;
|
|
42
|
+
case 4:
|
|
43
|
+
case "IA_FORWARD":
|
|
44
|
+
return InputAction.IA_FORWARD;
|
|
45
|
+
case 5:
|
|
46
|
+
case "IA_BACKWARD":
|
|
47
|
+
return InputAction.IA_BACKWARD;
|
|
48
|
+
case 6:
|
|
49
|
+
case "IA_RIGHT":
|
|
50
|
+
return InputAction.IA_RIGHT;
|
|
51
|
+
case 7:
|
|
52
|
+
case "IA_LEFT":
|
|
53
|
+
return InputAction.IA_LEFT;
|
|
54
|
+
case 8:
|
|
55
|
+
case "IA_JUMP":
|
|
56
|
+
return InputAction.IA_JUMP;
|
|
57
|
+
case 9:
|
|
58
|
+
case "IA_WALK":
|
|
59
|
+
return InputAction.IA_WALK;
|
|
60
|
+
case 10:
|
|
61
|
+
case "IA_ACTION_3":
|
|
62
|
+
return InputAction.IA_ACTION_3;
|
|
63
|
+
case 11:
|
|
64
|
+
case "IA_ACTION_4":
|
|
65
|
+
return InputAction.IA_ACTION_4;
|
|
66
|
+
case 12:
|
|
67
|
+
case "IA_ACTION_5":
|
|
68
|
+
return InputAction.IA_ACTION_5;
|
|
69
|
+
case 13:
|
|
70
|
+
case "IA_ACTION_6":
|
|
71
|
+
return InputAction.IA_ACTION_6;
|
|
72
|
+
case -1:
|
|
73
|
+
case "UNRECOGNIZED":
|
|
74
|
+
default:
|
|
75
|
+
return InputAction.UNRECOGNIZED;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function inputActionToJSON(object) {
|
|
79
|
+
switch (object) {
|
|
80
|
+
case InputAction.IA_POINTER:
|
|
81
|
+
return "IA_POINTER";
|
|
82
|
+
case InputAction.IA_PRIMARY:
|
|
83
|
+
return "IA_PRIMARY";
|
|
84
|
+
case InputAction.IA_SECONDARY:
|
|
85
|
+
return "IA_SECONDARY";
|
|
86
|
+
case InputAction.IA_ANY:
|
|
87
|
+
return "IA_ANY";
|
|
88
|
+
case InputAction.IA_FORWARD:
|
|
89
|
+
return "IA_FORWARD";
|
|
90
|
+
case InputAction.IA_BACKWARD:
|
|
91
|
+
return "IA_BACKWARD";
|
|
92
|
+
case InputAction.IA_RIGHT:
|
|
93
|
+
return "IA_RIGHT";
|
|
94
|
+
case InputAction.IA_LEFT:
|
|
95
|
+
return "IA_LEFT";
|
|
96
|
+
case InputAction.IA_JUMP:
|
|
97
|
+
return "IA_JUMP";
|
|
98
|
+
case InputAction.IA_WALK:
|
|
99
|
+
return "IA_WALK";
|
|
100
|
+
case InputAction.IA_ACTION_3:
|
|
101
|
+
return "IA_ACTION_3";
|
|
102
|
+
case InputAction.IA_ACTION_4:
|
|
103
|
+
return "IA_ACTION_4";
|
|
104
|
+
case InputAction.IA_ACTION_5:
|
|
105
|
+
return "IA_ACTION_5";
|
|
106
|
+
case InputAction.IA_ACTION_6:
|
|
107
|
+
return "IA_ACTION_6";
|
|
108
|
+
case InputAction.UNRECOGNIZED:
|
|
109
|
+
default:
|
|
110
|
+
return "UNRECOGNIZED";
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
/** PointerEventType is a kind of interaction that can be detected. */
|
|
114
|
+
var PointerEventType;
|
|
115
|
+
(function (PointerEventType) {
|
|
116
|
+
PointerEventType[PointerEventType["PET_UP"] = 0] = "PET_UP";
|
|
117
|
+
PointerEventType[PointerEventType["PET_DOWN"] = 1] = "PET_DOWN";
|
|
118
|
+
PointerEventType[PointerEventType["PET_HOVER_ENTER"] = 2] = "PET_HOVER_ENTER";
|
|
119
|
+
PointerEventType[PointerEventType["PET_HOVER_LEAVE"] = 3] = "PET_HOVER_LEAVE";
|
|
120
|
+
PointerEventType[PointerEventType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
121
|
+
})(PointerEventType || (exports.PointerEventType = PointerEventType = {}));
|
|
122
|
+
function pointerEventTypeFromJSON(object) {
|
|
123
|
+
switch (object) {
|
|
124
|
+
case 0:
|
|
125
|
+
case "PET_UP":
|
|
126
|
+
return PointerEventType.PET_UP;
|
|
127
|
+
case 1:
|
|
128
|
+
case "PET_DOWN":
|
|
129
|
+
return PointerEventType.PET_DOWN;
|
|
130
|
+
case 2:
|
|
131
|
+
case "PET_HOVER_ENTER":
|
|
132
|
+
return PointerEventType.PET_HOVER_ENTER;
|
|
133
|
+
case 3:
|
|
134
|
+
case "PET_HOVER_LEAVE":
|
|
135
|
+
return PointerEventType.PET_HOVER_LEAVE;
|
|
136
|
+
case -1:
|
|
137
|
+
case "UNRECOGNIZED":
|
|
138
|
+
default:
|
|
139
|
+
return PointerEventType.UNRECOGNIZED;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function pointerEventTypeToJSON(object) {
|
|
143
|
+
switch (object) {
|
|
144
|
+
case PointerEventType.PET_UP:
|
|
145
|
+
return "PET_UP";
|
|
146
|
+
case PointerEventType.PET_DOWN:
|
|
147
|
+
return "PET_DOWN";
|
|
148
|
+
case PointerEventType.PET_HOVER_ENTER:
|
|
149
|
+
return "PET_HOVER_ENTER";
|
|
150
|
+
case PointerEventType.PET_HOVER_LEAVE:
|
|
151
|
+
return "PET_HOVER_LEAVE";
|
|
152
|
+
case PointerEventType.UNRECOGNIZED:
|
|
153
|
+
default:
|
|
154
|
+
return "UNRECOGNIZED";
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
//# sourceMappingURL=input_action.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input_action.gen.js","sourceRoot":"","sources":["../../../../../out-ts/decentraland/sdk/components/common/input_action.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAsBpB,kDAiDC;AAED,8CAkCC;AAWD,4DAmBC;AAED,wDAcC;AAvJY,QAAA,eAAe,GAAG,oCAAoC,CAAC;AAEpE,IAAY,WAgBX;AAhBD,WAAY,WAAW;IACrB,yDAAc,CAAA;IACd,yD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;IAC1B,CAAC;AACH,CAAC;AAED,sEAAsE;AACtE,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,2DAAU,CAAA;IACV,+DAAY,CAAA;IACZ,6EAAmB,CAAA;IACnB,6EAAmB,CAAA;IACnB,wEAAiB,CAAA;AACnB,CAAC,EANW,gBAAgB,gCAAhB,gBAAgB,QAM3B;AAED,SAAgB,wBAAwB,CAAC,MAAW;IAClD,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,CAAC,CAAC;QACP,KAAK,QAAQ;YACX,OAAO,gBAAgB,CAAC,MAAM,CAAC;QACjC,KAAK,CAAC,CAAC;QACP,KAAK,UAAU;YACb,OAAO,gBAAgB,CAAC,QAAQ,CAAC;QACnC,KAAK,CAAC,CAAC;QACP,KAAK,iBAAiB;YACpB,OAAO,gBAAgB,CAAC,eAAe,CAAC;QAC1C,KAAK,CAAC,CAAC;QACP,KAAK,iBAAiB;YACpB,OAAO,gBAAgB,CAAC,eAAe,CAAC;QAC1C,KAAK,CAAC,CAAC,CAAC;QACR,KAAK,cAAc,CAAC;QACpB;YACE,OAAO,gBAAgB,CAAC,YAAY,CAAC;IACzC,CAAC;AACH,CAAC;AAED,SAAgB,sBAAsB,CAAC,MAAwB;IAC7D,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,gBAAgB,CAAC,MAAM;YAC1B,OAAO,QAAQ,CAAC;QAClB,KAAK,gBAAgB,CAAC,QAAQ;YAC5B,OAAO,UAAU,CAAC;QACpB,KAAK,gBAAgB,CAAC,eAAe;YACnC,OAAO,iBAAiB,CAAC;QAC3B,KAAK,gBAAgB,CAAC,eAAe;YACnC,OAAO,iBAAiB,CAAC;QAC3B,KAAK,gBAAgB,CAAC,YAAY,CAAC;QACnC;YACE,OAAO,cAAc,CAAC;IAC1B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const protobufPackage = "decentraland.sdk.components.common";
|
|
2
|
+
export declare enum LoadingState {
|
|
3
|
+
UNKNOWN = 0,
|
|
4
|
+
LOADING = 1,
|
|
5
|
+
NOT_FOUND = 2,
|
|
6
|
+
FINISHED_WITH_ERROR = 3,
|
|
7
|
+
FINISHED = 4,
|
|
8
|
+
UNRECOGNIZED = -1
|
|
9
|
+
}
|
|
10
|
+
export declare function loadingStateFromJSON(object: any): LoadingState;
|
|
11
|
+
export declare function loadingStateToJSON(object: LoadingState): string;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.LoadingState = exports.protobufPackage = void 0;
|
|
5
|
+
exports.loadingStateFromJSON = loadingStateFromJSON;
|
|
6
|
+
exports.loadingStateToJSON = loadingStateToJSON;
|
|
7
|
+
exports.protobufPackage = "decentraland.sdk.components.common";
|
|
8
|
+
var LoadingState;
|
|
9
|
+
(function (LoadingState) {
|
|
10
|
+
LoadingState[LoadingState["UNKNOWN"] = 0] = "UNKNOWN";
|
|
11
|
+
LoadingState[LoadingState["LOADING"] = 1] = "LOADING";
|
|
12
|
+
LoadingState[LoadingState["NOT_FOUND"] = 2] = "NOT_FOUND";
|
|
13
|
+
LoadingState[LoadingState["FINISHED_WITH_ERROR"] = 3] = "FINISHED_WITH_ERROR";
|
|
14
|
+
LoadingState[LoadingState["FINISHED"] = 4] = "FINISHED";
|
|
15
|
+
LoadingState[LoadingState["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
16
|
+
})(LoadingState || (exports.LoadingState = LoadingState = {}));
|
|
17
|
+
function loadingStateFromJSON(object) {
|
|
18
|
+
switch (object) {
|
|
19
|
+
case 0:
|
|
20
|
+
case "UNKNOWN":
|
|
21
|
+
return LoadingState.UNKNOWN;
|
|
22
|
+
case 1:
|
|
23
|
+
case "LOADING":
|
|
24
|
+
return LoadingState.LOADING;
|
|
25
|
+
case 2:
|
|
26
|
+
case "NOT_FOUND":
|
|
27
|
+
return LoadingState.NOT_FOUND;
|
|
28
|
+
case 3:
|
|
29
|
+
case "FINISHED_WITH_ERROR":
|
|
30
|
+
return LoadingState.FINISHED_WITH_ERROR;
|
|
31
|
+
case 4:
|
|
32
|
+
case "FINISHED":
|
|
33
|
+
return LoadingState.FINISHED;
|
|
34
|
+
case -1:
|
|
35
|
+
case "UNRECOGNIZED":
|
|
36
|
+
default:
|
|
37
|
+
return LoadingState.UNRECOGNIZED;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function loadingStateToJSON(object) {
|
|
41
|
+
switch (object) {
|
|
42
|
+
case LoadingState.UNKNOWN:
|
|
43
|
+
return "UNKNOWN";
|
|
44
|
+
case LoadingState.LOADING:
|
|
45
|
+
return "LOADING";
|
|
46
|
+
case LoadingState.NOT_FOUND:
|
|
47
|
+
return "NOT_FOUND";
|
|
48
|
+
case LoadingState.FINISHED_WITH_ERROR:
|
|
49
|
+
return "FINISHED_WITH_ERROR";
|
|
50
|
+
case LoadingState.FINISHED:
|
|
51
|
+
return "FINISHED";
|
|
52
|
+
case LoadingState.UNRECOGNIZED:
|
|
53
|
+
default:
|
|
54
|
+
return "UNRECOGNIZED";
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=loading_state.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loading_state.gen.js","sourceRoot":"","sources":["../../../../../out-ts/decentraland/sdk/components/common/loading_state.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAapB,oDAsBC;AAED,gDAgBC;AAnDY,QAAA,eAAe,GAAG,oCAAoC,CAAC;AAEpE,IAAY,YAOX;AAPD,WAAY,YAAY;IACtB,qDAAW,CAAA;IACX,qDAAW,CAAA;IACX,yDAAa,CAAA;IACb,6EAAuB,CAAA;IACvB,uDAAY,CAAA;IACZ,gEAAiB,CAAA;AACnB,CAAC,EAPW,YAAY,4BAAZ,YAAY,QAOvB;AAED,SAAgB,oBAAoB,CAAC,MAAW;IAC9C,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,CAAC,CAAC;QACP,KAAK,SAAS;YACZ,OAAO,YAAY,CAAC,OAAO,CAAC;QAC9B,KAAK,CAAC,CAAC;QACP,KAAK,SAAS;YACZ,OAAO,YAAY,CAAC,OAAO,CAAC;QAC9B,KAAK,CAAC,CAAC;QACP,KAAK,WAAW;YACd,OAAO,YAAY,CAAC,SAAS,CAAC;QAChC,KAAK,CAAC,CAAC;QACP,KAAK,qBAAqB;YACxB,OAAO,YAAY,CAAC,mBAAmB,CAAC;QAC1C,KAAK,CAAC,CAAC;QACP,KAAK,UAAU;YACb,OAAO,YAAY,CAAC,QAAQ,CAAC;QAC/B,KAAK,CAAC,CAAC,CAAC;QACR,KAAK,cAAc,CAAC;QACpB;YACE,OAAO,YAAY,CAAC,YAAY,CAAC;IACrC,CAAC;AACH,CAAC;AAED,SAAgB,kBAAkB,CAAC,MAAoB;IACrD,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,YAAY,CAAC,OAAO;YACvB,OAAO,SAAS,CAAC;QACnB,KAAK,YAAY,CAAC,OAAO;YACvB,OAAO,SAAS,CAAC;QACnB,KAAK,YAAY,CAAC,SAAS;YACzB,OAAO,WAAW,CAAC;QACrB,KAAK,YAAY,CAAC,mBAAmB;YACnC,OAAO,qBAAqB,CAAC;QAC/B,KAAK,YAAY,CAAC,QAAQ;YACxB,OAAO,UAAU,CAAC;QACpB,KAAK,YAAY,CAAC,YAAY,CAAC;QAC/B;YACE,OAAO,cAAc,CAAC;IAC1B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Vector3 } from "../../../common/vectors.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.sdk.components.common";
|
|
4
|
+
/** RaycastHit contains information about the intersection of a ray with a mesh. */
|
|
5
|
+
export interface RaycastHit {
|
|
6
|
+
/** Position will be relative to the scene */
|
|
7
|
+
position: Vector3 | undefined;
|
|
8
|
+
/** the starting point of the ray in global coordinates */
|
|
9
|
+
globalOrigin: Vector3 | undefined;
|
|
10
|
+
/** the direction vector of the ray in global coordinates */
|
|
11
|
+
direction: Vector3 | undefined;
|
|
12
|
+
/** normal of the hit surface in global coordinates */
|
|
13
|
+
normalHit: Vector3 | undefined;
|
|
14
|
+
/** the distance between the ray origin and the hit position */
|
|
15
|
+
length: number;
|
|
16
|
+
/** mesh name, if collision happened inside a GltfContainer */
|
|
17
|
+
meshName?: string | undefined;
|
|
18
|
+
/** the ID of the Entity that has the impacted mesh attached */
|
|
19
|
+
entityId?: number | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace RaycastHit {
|
|
22
|
+
function encode(message: RaycastHit, writer?: _m0.Writer): _m0.Writer;
|
|
23
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): RaycastHit;
|
|
24
|
+
function fromJSON(object: any): RaycastHit;
|
|
25
|
+
function toJSON(message: RaycastHit): unknown;
|
|
26
|
+
function create<I extends Exact<DeepPartial<RaycastHit>, I>>(base?: I): RaycastHit;
|
|
27
|
+
function fromPartial<I extends Exact<DeepPartial<RaycastHit>, I>>(object: I): RaycastHit;
|
|
28
|
+
}
|
|
29
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
30
|
+
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 {
|
|
31
|
+
$case: string;
|
|
32
|
+
} ? {
|
|
33
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
34
|
+
} & {
|
|
35
|
+
$case: T["$case"];
|
|
36
|
+
} : T extends {} ? {
|
|
37
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
38
|
+
} : Partial<T>;
|
|
39
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
40
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
41
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
42
|
+
} & {
|
|
43
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
44
|
+
};
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,163 @@
|
|
|
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.RaycastHit = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
const vectors_gen_1 = require("../../../common/vectors.gen");
|
|
10
|
+
exports.protobufPackage = "decentraland.sdk.components.common";
|
|
11
|
+
function createBaseRaycastHit() {
|
|
12
|
+
return {
|
|
13
|
+
position: undefined,
|
|
14
|
+
globalOrigin: undefined,
|
|
15
|
+
direction: undefined,
|
|
16
|
+
normalHit: undefined,
|
|
17
|
+
length: 0,
|
|
18
|
+
meshName: undefined,
|
|
19
|
+
entityId: undefined,
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
var RaycastHit;
|
|
23
|
+
(function (RaycastHit) {
|
|
24
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
25
|
+
if (message.position !== undefined) {
|
|
26
|
+
vectors_gen_1.Vector3.encode(message.position, writer.uint32(10).fork()).ldelim();
|
|
27
|
+
}
|
|
28
|
+
if (message.globalOrigin !== undefined) {
|
|
29
|
+
vectors_gen_1.Vector3.encode(message.globalOrigin, writer.uint32(18).fork()).ldelim();
|
|
30
|
+
}
|
|
31
|
+
if (message.direction !== undefined) {
|
|
32
|
+
vectors_gen_1.Vector3.encode(message.direction, writer.uint32(26).fork()).ldelim();
|
|
33
|
+
}
|
|
34
|
+
if (message.normalHit !== undefined) {
|
|
35
|
+
vectors_gen_1.Vector3.encode(message.normalHit, writer.uint32(34).fork()).ldelim();
|
|
36
|
+
}
|
|
37
|
+
if (message.length !== 0) {
|
|
38
|
+
writer.uint32(45).float(message.length);
|
|
39
|
+
}
|
|
40
|
+
if (message.meshName !== undefined) {
|
|
41
|
+
writer.uint32(50).string(message.meshName);
|
|
42
|
+
}
|
|
43
|
+
if (message.entityId !== undefined) {
|
|
44
|
+
writer.uint32(56).uint32(message.entityId);
|
|
45
|
+
}
|
|
46
|
+
return writer;
|
|
47
|
+
}
|
|
48
|
+
RaycastHit.encode = encode;
|
|
49
|
+
function decode(input, length) {
|
|
50
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
51
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
52
|
+
const message = createBaseRaycastHit();
|
|
53
|
+
while (reader.pos < end) {
|
|
54
|
+
const tag = reader.uint32();
|
|
55
|
+
switch (tag >>> 3) {
|
|
56
|
+
case 1:
|
|
57
|
+
if (tag !== 10) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
message.position = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
61
|
+
continue;
|
|
62
|
+
case 2:
|
|
63
|
+
if (tag !== 18) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.globalOrigin = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
67
|
+
continue;
|
|
68
|
+
case 3:
|
|
69
|
+
if (tag !== 26) {
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
message.direction = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
73
|
+
continue;
|
|
74
|
+
case 4:
|
|
75
|
+
if (tag !== 34) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.normalHit = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
79
|
+
continue;
|
|
80
|
+
case 5:
|
|
81
|
+
if (tag !== 45) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
message.length = reader.float();
|
|
85
|
+
continue;
|
|
86
|
+
case 6:
|
|
87
|
+
if (tag !== 50) {
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
message.meshName = reader.string();
|
|
91
|
+
continue;
|
|
92
|
+
case 7:
|
|
93
|
+
if (tag !== 56) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.entityId = reader.uint32();
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
reader.skipType(tag & 7);
|
|
103
|
+
}
|
|
104
|
+
return message;
|
|
105
|
+
}
|
|
106
|
+
RaycastHit.decode = decode;
|
|
107
|
+
function fromJSON(object) {
|
|
108
|
+
return {
|
|
109
|
+
position: isSet(object.position) ? vectors_gen_1.Vector3.fromJSON(object.position) : undefined,
|
|
110
|
+
globalOrigin: isSet(object.globalOrigin) ? vectors_gen_1.Vector3.fromJSON(object.globalOrigin) : undefined,
|
|
111
|
+
direction: isSet(object.direction) ? vectors_gen_1.Vector3.fromJSON(object.direction) : undefined,
|
|
112
|
+
normalHit: isSet(object.normalHit) ? vectors_gen_1.Vector3.fromJSON(object.normalHit) : undefined,
|
|
113
|
+
length: isSet(object.length) ? Number(object.length) : 0,
|
|
114
|
+
meshName: isSet(object.meshName) ? String(object.meshName) : undefined,
|
|
115
|
+
entityId: isSet(object.entityId) ? Number(object.entityId) : undefined,
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
RaycastHit.fromJSON = fromJSON;
|
|
119
|
+
function toJSON(message) {
|
|
120
|
+
const obj = {};
|
|
121
|
+
message.position !== undefined && (obj.position = message.position ? vectors_gen_1.Vector3.toJSON(message.position) : undefined);
|
|
122
|
+
message.globalOrigin !== undefined &&
|
|
123
|
+
(obj.globalOrigin = message.globalOrigin ? vectors_gen_1.Vector3.toJSON(message.globalOrigin) : undefined);
|
|
124
|
+
message.direction !== undefined &&
|
|
125
|
+
(obj.direction = message.direction ? vectors_gen_1.Vector3.toJSON(message.direction) : undefined);
|
|
126
|
+
message.normalHit !== undefined &&
|
|
127
|
+
(obj.normalHit = message.normalHit ? vectors_gen_1.Vector3.toJSON(message.normalHit) : undefined);
|
|
128
|
+
message.length !== undefined && (obj.length = message.length);
|
|
129
|
+
message.meshName !== undefined && (obj.meshName = message.meshName);
|
|
130
|
+
message.entityId !== undefined && (obj.entityId = Math.round(message.entityId));
|
|
131
|
+
return obj;
|
|
132
|
+
}
|
|
133
|
+
RaycastHit.toJSON = toJSON;
|
|
134
|
+
function create(base) {
|
|
135
|
+
return RaycastHit.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
136
|
+
}
|
|
137
|
+
RaycastHit.create = create;
|
|
138
|
+
function fromPartial(object) {
|
|
139
|
+
var _a, _b, _c;
|
|
140
|
+
const message = createBaseRaycastHit();
|
|
141
|
+
message.position = (object.position !== undefined && object.position !== null)
|
|
142
|
+
? vectors_gen_1.Vector3.fromPartial(object.position)
|
|
143
|
+
: undefined;
|
|
144
|
+
message.globalOrigin = (object.globalOrigin !== undefined && object.globalOrigin !== null)
|
|
145
|
+
? vectors_gen_1.Vector3.fromPartial(object.globalOrigin)
|
|
146
|
+
: undefined;
|
|
147
|
+
message.direction = (object.direction !== undefined && object.direction !== null)
|
|
148
|
+
? vectors_gen_1.Vector3.fromPartial(object.direction)
|
|
149
|
+
: undefined;
|
|
150
|
+
message.normalHit = (object.normalHit !== undefined && object.normalHit !== null)
|
|
151
|
+
? vectors_gen_1.Vector3.fromPartial(object.normalHit)
|
|
152
|
+
: undefined;
|
|
153
|
+
message.length = (_a = object.length) !== null && _a !== void 0 ? _a : 0;
|
|
154
|
+
message.meshName = (_b = object.meshName) !== null && _b !== void 0 ? _b : undefined;
|
|
155
|
+
message.entityId = (_c = object.entityId) !== null && _c !== void 0 ? _c : undefined;
|
|
156
|
+
return message;
|
|
157
|
+
}
|
|
158
|
+
RaycastHit.fromPartial = fromPartial;
|
|
159
|
+
})(RaycastHit || (exports.RaycastHit = RaycastHit = {}));
|
|
160
|
+
function isSet(value) {
|
|
161
|
+
return value !== null && value !== undefined;
|
|
162
|
+
}
|
|
163
|
+
//# sourceMappingURL=raycast_hit.gen.js.map
|