@dcl/protocol 1.0.0-2569677750.commit-6ce832a → 1.0.0-25748996127.commit-767845e
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/README.md +68 -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 +59 -0
- package/out-js/decentraland/common/colors.gen.js +260 -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 +123 -0
- package/out-js/decentraland/common/texture.gen.js +575 -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 +105 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +400 -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 +391 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1359 -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 +261 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1639 -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 +229 -0
- package/out-js/decentraland/realm/about.gen.js +1185 -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 +50 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +138 -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 +38 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +107 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +138 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +101 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +391 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +113 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +207 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +76 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +282 -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 +82 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +254 -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 +43 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +226 -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 +54 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +157 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +66 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.js +69 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.js +233 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +128 -0
- package/out-js/decentraland/sdk/components/material.gen.js +620 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +147 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +556 -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 +120 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +468 -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 +110 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +306 -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 +92 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +336 -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 +43 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -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 +220 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +1213 -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 +46 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +185 -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 +54 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +206 -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 +271 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1720 -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 +51 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +177 -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 +39 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +83 -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_service/errors.gen.d.ts +96 -0
- package/out-js/decentraland/social_service/errors.gen.js +405 -0
- package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.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-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 +293 -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 +654 -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 +434 -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 +1474 -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 +1849 -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 +1415 -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 +182 -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 +124 -0
- package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +479 -0
- package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +136 -0
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +249 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +371 -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 +331 -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 +223 -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 +195 -0
- package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +116 -0
- package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +139 -0
- package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +265 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +756 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +634 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +551 -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 +415 -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 +405 -0
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -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 +233 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +258 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1968 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -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_service/errors.gen.ts +442 -0
- package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -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/package.json +26 -10
- package/proto/buf.yaml +47 -0
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +21 -0
- package/proto/decentraland/common/content_mapping.proto +7 -0
- package/proto/decentraland/common/entity.proto +13 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/proto/decentraland/common/sdk/user_data.proto +25 -0
- package/proto/decentraland/common/texture.proto +52 -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 +29 -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 +131 -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 +140 -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 +138 -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/asset_load.proto +10 -0
- package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -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 +22 -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 +14 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +18 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +53 -0
- package/proto/decentraland/sdk/components/avatar_movement.proto +46 -0
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +45 -0
- package/proto/decentraland/sdk/components/billboard.proto +29 -0
- package/proto/decentraland/sdk/components/camera_layer.proto +30 -0
- package/proto/decentraland/sdk/components/camera_layers.proto +11 -0
- package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +44 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -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 +39 -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/global_light.proto +22 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +26 -0
- package/proto/decentraland/sdk/components/gltf_node.proto +42 -0
- package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
- package/proto/decentraland/sdk/components/gltf_node_state.proto +20 -0
- package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
- package/proto/decentraland/sdk/components/light_source.proto +28 -0
- package/proto/decentraland/sdk/components/main_camera.proto +11 -0
- package/proto/decentraland/sdk/components/map_pin.proto +16 -0
- package/proto/decentraland/sdk/components/material.proto +69 -0
- package/proto/decentraland/sdk/components/mesh_collider.proto +69 -0
- package/proto/decentraland/sdk/components/mesh_renderer.proto +48 -0
- package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
- package/proto/decentraland/sdk/components/particle_system.proto +129 -0
- package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
- package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +64 -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/primary_pointer_info.proto +44 -0
- package/proto/decentraland/sdk/components/raycast.proto +71 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/text_shape.proto +45 -0
- package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
- package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
- package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
- package/proto/decentraland/sdk/components/tween.proto +117 -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.proto +16 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -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 +21 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +29 -0
- package/proto/decentraland/sdk/components/ui_transform.proto +198 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +24 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +16 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +16 -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_service/errors.proto +30 -0
- package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
- package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -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 +47 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +6 -0
- package/renderer-protocol/RendererProtocol.proto +0 -21
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/**
|
|
4
|
+
* a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
|
|
5
|
+
* This component must be added to a direct child of an entity with a PBGltfContainer component, or
|
|
6
|
+
* to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
|
|
7
|
+
* in the parent.
|
|
8
|
+
* The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
|
|
9
|
+
*
|
|
10
|
+
* The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
|
|
11
|
+
* - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
|
|
12
|
+
* - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
|
|
13
|
+
* - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
|
|
14
|
+
* - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
|
|
15
|
+
*
|
|
16
|
+
* After creation, if an animation moves the node, the `Transform` will be updated.
|
|
17
|
+
*
|
|
18
|
+
* From the scene, you can modify various components to alter the gltf node:
|
|
19
|
+
* - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
|
|
20
|
+
* regardless of any intermediate gltf node hierarchy.
|
|
21
|
+
* If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
|
|
22
|
+
* - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
|
|
23
|
+
* - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
|
|
24
|
+
* - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
|
|
25
|
+
* - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
|
|
26
|
+
* used as a base, and any gltf features (e.g. occlusion maps) from the gtlf spec that the renderer supports but that are not exposed in the
|
|
27
|
+
* PBMaterial will be maintained.
|
|
28
|
+
*
|
|
29
|
+
* The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
|
|
30
|
+
* - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
|
|
31
|
+
* change the state to `GNS_FAILED`.
|
|
32
|
+
* - deleting the scene entity will not delete the gltf node.
|
|
33
|
+
*
|
|
34
|
+
* Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
|
|
35
|
+
* are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
|
|
36
|
+
* the gltf node will also be displayed.
|
|
37
|
+
*/
|
|
38
|
+
export interface PBGltfNode {
|
|
39
|
+
/** the path of the target node in the Gltf. */
|
|
40
|
+
path: string;
|
|
41
|
+
}
|
|
42
|
+
export declare namespace PBGltfNode {
|
|
43
|
+
function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
44
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
45
|
+
function fromJSON(object: any): PBGltfNode;
|
|
46
|
+
function toJSON(message: PBGltfNode): unknown;
|
|
47
|
+
function create<I extends Exact<DeepPartial<PBGltfNode>, I>>(base?: I): PBGltfNode;
|
|
48
|
+
function fromPartial<I extends Exact<DeepPartial<PBGltfNode>, I>>(object: I): PBGltfNode;
|
|
49
|
+
}
|
|
50
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
51
|
+
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 {
|
|
52
|
+
$case: string;
|
|
53
|
+
} ? {
|
|
54
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
55
|
+
} & {
|
|
56
|
+
$case: T["$case"];
|
|
57
|
+
} : T extends {} ? {
|
|
58
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
59
|
+
} : Partial<T>;
|
|
60
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
61
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
62
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
63
|
+
} & {
|
|
64
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
65
|
+
};
|
|
66
|
+
export {};
|
|
@@ -0,0 +1,69 @@
|
|
|
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.PBGltfNode = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
function createBasePBGltfNode() {
|
|
11
|
+
return { path: "" };
|
|
12
|
+
}
|
|
13
|
+
var PBGltfNode;
|
|
14
|
+
(function (PBGltfNode) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
if (message.path !== "") {
|
|
17
|
+
writer.uint32(10).string(message.path);
|
|
18
|
+
}
|
|
19
|
+
return writer;
|
|
20
|
+
}
|
|
21
|
+
PBGltfNode.encode = encode;
|
|
22
|
+
function decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBasePBGltfNode();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
case 1:
|
|
30
|
+
if (tag !== 10) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
message.path = reader.string();
|
|
34
|
+
continue;
|
|
35
|
+
}
|
|
36
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
reader.skipType(tag & 7);
|
|
40
|
+
}
|
|
41
|
+
return message;
|
|
42
|
+
}
|
|
43
|
+
PBGltfNode.decode = decode;
|
|
44
|
+
function fromJSON(object) {
|
|
45
|
+
return { path: isSet(object.path) ? String(object.path) : "" };
|
|
46
|
+
}
|
|
47
|
+
PBGltfNode.fromJSON = fromJSON;
|
|
48
|
+
function toJSON(message) {
|
|
49
|
+
const obj = {};
|
|
50
|
+
message.path !== undefined && (obj.path = message.path);
|
|
51
|
+
return obj;
|
|
52
|
+
}
|
|
53
|
+
PBGltfNode.toJSON = toJSON;
|
|
54
|
+
function create(base) {
|
|
55
|
+
return PBGltfNode.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
56
|
+
}
|
|
57
|
+
PBGltfNode.create = create;
|
|
58
|
+
function fromPartial(object) {
|
|
59
|
+
var _a;
|
|
60
|
+
const message = createBasePBGltfNode();
|
|
61
|
+
message.path = (_a = object.path) !== null && _a !== void 0 ? _a : "";
|
|
62
|
+
return message;
|
|
63
|
+
}
|
|
64
|
+
PBGltfNode.fromPartial = fromPartial;
|
|
65
|
+
})(PBGltfNode || (exports.PBGltfNode = PBGltfNode = {}));
|
|
66
|
+
function isSet(value) {
|
|
67
|
+
return value !== null && value !== undefined;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=gltf_node.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gltf_node.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/gltf_node.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AA0C7D,SAAS,oBAAoB;IAC3B,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;AACtB,CAAC;AAED,IAAiB,UAAU,CAkD1B;AAlDD,WAAiB,UAAU;IACzB,SAAgB,MAAM,CAAC,OAAmB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAClF,IAAI,OAAO,CAAC,IAAI,KAAK,EAAE,EAAE,CAAC;YACxB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACzC,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IALe,iBAAM,SAKrB,CAAA;IAED,SAAgB,MAAM,CAAC,KAA8B,EAAE,MAAe;QACpE,MAAM,MAAM,GAAG,KAAK,YAAY,iBAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC9E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC;QAClE,MAAM,OAAO,GAAG,oBAAoB,EAAE,CAAC;QACvC,OAAO,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE,CAAC;YACxB,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;YAC5B,QAA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jC,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,sBAAW,cAI1B,CAAA;AACH,CAAC,EAlDgB,UAAU,0BAAV,UAAU,QAkD1B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { PBMaterial } from "./material.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
4
|
+
/**
|
|
5
|
+
* GltfNodeModifiers component is to be used attached to entities that have the GltfContainer component.
|
|
6
|
+
*
|
|
7
|
+
* This allows to override either the Material or the Casting Shadows behaviour of the target GLTF Node.
|
|
8
|
+
*
|
|
9
|
+
* * If the 'path' of the first modifier in the collection is an empty string: the configuration will
|
|
10
|
+
* affect all of the GLTF Nodes (as a global modifier).
|
|
11
|
+
* * Otherwise, for the modifiers whose 'path' is found in the GLTF hierarchy, the modifier will affect only
|
|
12
|
+
* the target Nodes.
|
|
13
|
+
*/
|
|
14
|
+
export interface PBGltfNodeModifiers {
|
|
15
|
+
modifiers: PBGltfNodeModifiers_GltfNodeModifier[];
|
|
16
|
+
}
|
|
17
|
+
export interface PBGltfNodeModifiers_GltfNodeModifier {
|
|
18
|
+
/** The GLTF hierarchy path of the target Node to be affected */
|
|
19
|
+
path: string;
|
|
20
|
+
/** The casting shadows enabled override */
|
|
21
|
+
castShadows?: boolean | undefined;
|
|
22
|
+
/** The Material that will be overridden on the target Node */
|
|
23
|
+
material?: PBMaterial | undefined;
|
|
24
|
+
}
|
|
25
|
+
export declare namespace PBGltfNodeModifiers {
|
|
26
|
+
function encode(message: PBGltfNodeModifiers, writer?: _m0.Writer): _m0.Writer;
|
|
27
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeModifiers;
|
|
28
|
+
function fromJSON(object: any): PBGltfNodeModifiers;
|
|
29
|
+
function toJSON(message: PBGltfNodeModifiers): unknown;
|
|
30
|
+
function create<I extends Exact<DeepPartial<PBGltfNodeModifiers>, I>>(base?: I): PBGltfNodeModifiers;
|
|
31
|
+
function fromPartial<I extends Exact<DeepPartial<PBGltfNodeModifiers>, I>>(object: I): PBGltfNodeModifiers;
|
|
32
|
+
}
|
|
33
|
+
export declare namespace PBGltfNodeModifiers_GltfNodeModifier {
|
|
34
|
+
function encode(message: PBGltfNodeModifiers_GltfNodeModifier, writer?: _m0.Writer): _m0.Writer;
|
|
35
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeModifiers_GltfNodeModifier;
|
|
36
|
+
function fromJSON(object: any): PBGltfNodeModifiers_GltfNodeModifier;
|
|
37
|
+
function toJSON(message: PBGltfNodeModifiers_GltfNodeModifier): unknown;
|
|
38
|
+
function create<I extends Exact<DeepPartial<PBGltfNodeModifiers_GltfNodeModifier>, I>>(base?: I): PBGltfNodeModifiers_GltfNodeModifier;
|
|
39
|
+
function fromPartial<I extends Exact<DeepPartial<PBGltfNodeModifiers_GltfNodeModifier>, I>>(object: I): PBGltfNodeModifiers_GltfNodeModifier;
|
|
40
|
+
}
|
|
41
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
42
|
+
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 {
|
|
43
|
+
$case: string;
|
|
44
|
+
} ? {
|
|
45
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
46
|
+
} & {
|
|
47
|
+
$case: T["$case"];
|
|
48
|
+
} : T extends {} ? {
|
|
49
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
50
|
+
} : Partial<T>;
|
|
51
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
52
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
53
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
54
|
+
} & {
|
|
55
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
56
|
+
};
|
|
57
|
+
export {};
|
|
@@ -0,0 +1,164 @@
|
|
|
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.PBGltfNodeModifiers_GltfNodeModifier = exports.PBGltfNodeModifiers = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
const material_gen_1 = require("./material.gen");
|
|
10
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
11
|
+
function createBasePBGltfNodeModifiers() {
|
|
12
|
+
return { modifiers: [] };
|
|
13
|
+
}
|
|
14
|
+
var PBGltfNodeModifiers;
|
|
15
|
+
(function (PBGltfNodeModifiers) {
|
|
16
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
17
|
+
for (const v of message.modifiers) {
|
|
18
|
+
PBGltfNodeModifiers_GltfNodeModifier.encode(v, writer.uint32(10).fork()).ldelim();
|
|
19
|
+
}
|
|
20
|
+
return writer;
|
|
21
|
+
}
|
|
22
|
+
PBGltfNodeModifiers.encode = encode;
|
|
23
|
+
function decode(input, length) {
|
|
24
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
25
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
26
|
+
const message = createBasePBGltfNodeModifiers();
|
|
27
|
+
while (reader.pos < end) {
|
|
28
|
+
const tag = reader.uint32();
|
|
29
|
+
switch (tag >>> 3) {
|
|
30
|
+
case 1:
|
|
31
|
+
if (tag !== 10) {
|
|
32
|
+
break;
|
|
33
|
+
}
|
|
34
|
+
message.modifiers.push(PBGltfNodeModifiers_GltfNodeModifier.decode(reader, reader.uint32()));
|
|
35
|
+
continue;
|
|
36
|
+
}
|
|
37
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
38
|
+
break;
|
|
39
|
+
}
|
|
40
|
+
reader.skipType(tag & 7);
|
|
41
|
+
}
|
|
42
|
+
return message;
|
|
43
|
+
}
|
|
44
|
+
PBGltfNodeModifiers.decode = decode;
|
|
45
|
+
function fromJSON(object) {
|
|
46
|
+
return {
|
|
47
|
+
modifiers: Array.isArray(object === null || object === void 0 ? void 0 : object.modifiers)
|
|
48
|
+
? object.modifiers.map((e) => PBGltfNodeModifiers_GltfNodeModifier.fromJSON(e))
|
|
49
|
+
: [],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
PBGltfNodeModifiers.fromJSON = fromJSON;
|
|
53
|
+
function toJSON(message) {
|
|
54
|
+
const obj = {};
|
|
55
|
+
if (message.modifiers) {
|
|
56
|
+
obj.modifiers = message.modifiers.map((e) => e ? PBGltfNodeModifiers_GltfNodeModifier.toJSON(e) : undefined);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
obj.modifiers = [];
|
|
60
|
+
}
|
|
61
|
+
return obj;
|
|
62
|
+
}
|
|
63
|
+
PBGltfNodeModifiers.toJSON = toJSON;
|
|
64
|
+
function create(base) {
|
|
65
|
+
return PBGltfNodeModifiers.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
66
|
+
}
|
|
67
|
+
PBGltfNodeModifiers.create = create;
|
|
68
|
+
function fromPartial(object) {
|
|
69
|
+
var _a;
|
|
70
|
+
const message = createBasePBGltfNodeModifiers();
|
|
71
|
+
message.modifiers = ((_a = object.modifiers) === null || _a === void 0 ? void 0 : _a.map((e) => PBGltfNodeModifiers_GltfNodeModifier.fromPartial(e))) || [];
|
|
72
|
+
return message;
|
|
73
|
+
}
|
|
74
|
+
PBGltfNodeModifiers.fromPartial = fromPartial;
|
|
75
|
+
})(PBGltfNodeModifiers || (exports.PBGltfNodeModifiers = PBGltfNodeModifiers = {}));
|
|
76
|
+
function createBasePBGltfNodeModifiers_GltfNodeModifier() {
|
|
77
|
+
return { path: "", castShadows: undefined, material: undefined };
|
|
78
|
+
}
|
|
79
|
+
var PBGltfNodeModifiers_GltfNodeModifier;
|
|
80
|
+
(function (PBGltfNodeModifiers_GltfNodeModifier) {
|
|
81
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
82
|
+
if (message.path !== "") {
|
|
83
|
+
writer.uint32(10).string(message.path);
|
|
84
|
+
}
|
|
85
|
+
if (message.castShadows !== undefined) {
|
|
86
|
+
writer.uint32(16).bool(message.castShadows);
|
|
87
|
+
}
|
|
88
|
+
if (message.material !== undefined) {
|
|
89
|
+
material_gen_1.PBMaterial.encode(message.material, writer.uint32(26).fork()).ldelim();
|
|
90
|
+
}
|
|
91
|
+
return writer;
|
|
92
|
+
}
|
|
93
|
+
PBGltfNodeModifiers_GltfNodeModifier.encode = encode;
|
|
94
|
+
function decode(input, length) {
|
|
95
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
96
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
97
|
+
const message = createBasePBGltfNodeModifiers_GltfNodeModifier();
|
|
98
|
+
while (reader.pos < end) {
|
|
99
|
+
const tag = reader.uint32();
|
|
100
|
+
switch (tag >>> 3) {
|
|
101
|
+
case 1:
|
|
102
|
+
if (tag !== 10) {
|
|
103
|
+
break;
|
|
104
|
+
}
|
|
105
|
+
message.path = reader.string();
|
|
106
|
+
continue;
|
|
107
|
+
case 2:
|
|
108
|
+
if (tag !== 16) {
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
message.castShadows = reader.bool();
|
|
112
|
+
continue;
|
|
113
|
+
case 3:
|
|
114
|
+
if (tag !== 26) {
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
message.material = material_gen_1.PBMaterial.decode(reader, reader.uint32());
|
|
118
|
+
continue;
|
|
119
|
+
}
|
|
120
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
reader.skipType(tag & 7);
|
|
124
|
+
}
|
|
125
|
+
return message;
|
|
126
|
+
}
|
|
127
|
+
PBGltfNodeModifiers_GltfNodeModifier.decode = decode;
|
|
128
|
+
function fromJSON(object) {
|
|
129
|
+
return {
|
|
130
|
+
path: isSet(object.path) ? String(object.path) : "",
|
|
131
|
+
castShadows: isSet(object.castShadows) ? Boolean(object.castShadows) : undefined,
|
|
132
|
+
material: isSet(object.material) ? material_gen_1.PBMaterial.fromJSON(object.material) : undefined,
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
PBGltfNodeModifiers_GltfNodeModifier.fromJSON = fromJSON;
|
|
136
|
+
function toJSON(message) {
|
|
137
|
+
const obj = {};
|
|
138
|
+
message.path !== undefined && (obj.path = message.path);
|
|
139
|
+
message.castShadows !== undefined && (obj.castShadows = message.castShadows);
|
|
140
|
+
message.material !== undefined &&
|
|
141
|
+
(obj.material = message.material ? material_gen_1.PBMaterial.toJSON(message.material) : undefined);
|
|
142
|
+
return obj;
|
|
143
|
+
}
|
|
144
|
+
PBGltfNodeModifiers_GltfNodeModifier.toJSON = toJSON;
|
|
145
|
+
function create(base) {
|
|
146
|
+
return PBGltfNodeModifiers_GltfNodeModifier.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
147
|
+
}
|
|
148
|
+
PBGltfNodeModifiers_GltfNodeModifier.create = create;
|
|
149
|
+
function fromPartial(object) {
|
|
150
|
+
var _a, _b;
|
|
151
|
+
const message = createBasePBGltfNodeModifiers_GltfNodeModifier();
|
|
152
|
+
message.path = (_a = object.path) !== null && _a !== void 0 ? _a : "";
|
|
153
|
+
message.castShadows = (_b = object.castShadows) !== null && _b !== void 0 ? _b : undefined;
|
|
154
|
+
message.material = (object.material !== undefined && object.material !== null)
|
|
155
|
+
? material_gen_1.PBMaterial.fromPartial(object.material)
|
|
156
|
+
: undefined;
|
|
157
|
+
return message;
|
|
158
|
+
}
|
|
159
|
+
PBGltfNodeModifiers_GltfNodeModifier.fromPartial = fromPartial;
|
|
160
|
+
})(PBGltfNodeModifiers_GltfNodeModifier || (exports.PBGltfNodeModifiers_GltfNodeModifier = PBGltfNodeModifiers_GltfNodeModifier = {}));
|
|
161
|
+
function isSet(value) {
|
|
162
|
+
return value !== null && value !== undefined;
|
|
163
|
+
}
|
|
164
|
+
//# sourceMappingURL=gltf_node_modifiers.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gltf_node_modifiers.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,iDAA4C;AAE/B,QAAA,eAAe,GAAG,6BAA6B,CAAC;AA2B7D,SAAS,6BAA6B;IACpC,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;AAC3B,CAAC;AAED,IAAiB,mBAAmB,CA0DnC;AA1DD,WAAiB,mBAAmB;IAClC,SAAgB,MAAM,CAAC,OAA4B,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC3F,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC;YAClC,oCAAoC,CAAC,MAAM,CAAC,CAAE,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;QACrF,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IALe,0BAAM,SAKrB,CAAA;IAED,SAAgB,MAAM,CAAC,KAA8B,EAAE,MAAe;QACpE,MAAM,MAAM,GAAG,KAAK,YAAY,iBAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAG,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC9E,IA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|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
export declare enum GltfNodeStateValue {
|
|
4
|
+
GNSV_PENDING = 0,
|
|
5
|
+
GNSV_FAILED = 1,
|
|
6
|
+
GNSV_READY = 2,
|
|
7
|
+
UNRECOGNIZED = -1
|
|
8
|
+
}
|
|
9
|
+
export declare function gltfNodeStateValueFromJSON(object: any): GltfNodeStateValue;
|
|
10
|
+
export declare function gltfNodeStateValueToJSON(object: GltfNodeStateValue): string;
|
|
11
|
+
/**
|
|
12
|
+
* The state of a linked gltf node.
|
|
13
|
+
* If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
|
|
14
|
+
*/
|
|
15
|
+
export interface PBGltfNodeState {
|
|
16
|
+
state: GltfNodeStateValue;
|
|
17
|
+
error?: string | undefined;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace PBGltfNodeState {
|
|
20
|
+
function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
22
|
+
function fromJSON(object: any): PBGltfNodeState;
|
|
23
|
+
function toJSON(message: PBGltfNodeState): unknown;
|
|
24
|
+
function create<I extends Exact<DeepPartial<PBGltfNodeState>, I>>(base?: I): PBGltfNodeState;
|
|
25
|
+
function fromPartial<I extends Exact<DeepPartial<PBGltfNodeState>, I>>(object: I): PBGltfNodeState;
|
|
26
|
+
}
|
|
27
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
28
|
+
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 {
|
|
29
|
+
$case: string;
|
|
30
|
+
} ? {
|
|
31
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
$case: T["$case"];
|
|
34
|
+
} : T extends {} ? {
|
|
35
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
36
|
+
} : Partial<T>;
|
|
37
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
38
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
39
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
40
|
+
} & {
|
|
41
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PBGltfNodeState = exports.GltfNodeStateValue = exports.protobufPackage = void 0;
|
|
7
|
+
exports.gltfNodeStateValueFromJSON = gltfNodeStateValueFromJSON;
|
|
8
|
+
exports.gltfNodeStateValueToJSON = gltfNodeStateValueToJSON;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
11
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
12
|
+
var GltfNodeStateValue;
|
|
13
|
+
(function (GltfNodeStateValue) {
|
|
14
|
+
GltfNodeStateValue[GltfNodeStateValue["GNSV_PENDING"] = 0] = "GNSV_PENDING";
|
|
15
|
+
GltfNodeStateValue[GltfNodeStateValue["GNSV_FAILED"] = 1] = "GNSV_FAILED";
|
|
16
|
+
GltfNodeStateValue[GltfNodeStateValue["GNSV_READY"] = 2] = "GNSV_READY";
|
|
17
|
+
GltfNodeStateValue[GltfNodeStateValue["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
18
|
+
})(GltfNodeStateValue || (exports.GltfNodeStateValue = GltfNodeStateValue = {}));
|
|
19
|
+
function gltfNodeStateValueFromJSON(object) {
|
|
20
|
+
switch (object) {
|
|
21
|
+
case 0:
|
|
22
|
+
case "GNSV_PENDING":
|
|
23
|
+
return GltfNodeStateValue.GNSV_PENDING;
|
|
24
|
+
case 1:
|
|
25
|
+
case "GNSV_FAILED":
|
|
26
|
+
return GltfNodeStateValue.GNSV_FAILED;
|
|
27
|
+
case 2:
|
|
28
|
+
case "GNSV_READY":
|
|
29
|
+
return GltfNodeStateValue.GNSV_READY;
|
|
30
|
+
case -1:
|
|
31
|
+
case "UNRECOGNIZED":
|
|
32
|
+
default:
|
|
33
|
+
return GltfNodeStateValue.UNRECOGNIZED;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function gltfNodeStateValueToJSON(object) {
|
|
37
|
+
switch (object) {
|
|
38
|
+
case GltfNodeStateValue.GNSV_PENDING:
|
|
39
|
+
return "GNSV_PENDING";
|
|
40
|
+
case GltfNodeStateValue.GNSV_FAILED:
|
|
41
|
+
return "GNSV_FAILED";
|
|
42
|
+
case GltfNodeStateValue.GNSV_READY:
|
|
43
|
+
return "GNSV_READY";
|
|
44
|
+
case GltfNodeStateValue.UNRECOGNIZED:
|
|
45
|
+
default:
|
|
46
|
+
return "UNRECOGNIZED";
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function createBasePBGltfNodeState() {
|
|
50
|
+
return { state: 0, error: undefined };
|
|
51
|
+
}
|
|
52
|
+
var PBGltfNodeState;
|
|
53
|
+
(function (PBGltfNodeState) {
|
|
54
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
55
|
+
if (message.state !== 0) {
|
|
56
|
+
writer.uint32(8).int32(message.state);
|
|
57
|
+
}
|
|
58
|
+
if (message.error !== undefined) {
|
|
59
|
+
writer.uint32(18).string(message.error);
|
|
60
|
+
}
|
|
61
|
+
return writer;
|
|
62
|
+
}
|
|
63
|
+
PBGltfNodeState.encode = encode;
|
|
64
|
+
function decode(input, length) {
|
|
65
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
66
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
67
|
+
const message = createBasePBGltfNodeState();
|
|
68
|
+
while (reader.pos < end) {
|
|
69
|
+
const tag = reader.uint32();
|
|
70
|
+
switch (tag >>> 3) {
|
|
71
|
+
case 1:
|
|
72
|
+
if (tag !== 8) {
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
message.state = reader.int32();
|
|
76
|
+
continue;
|
|
77
|
+
case 2:
|
|
78
|
+
if (tag !== 18) {
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
message.error = reader.string();
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
reader.skipType(tag & 7);
|
|
88
|
+
}
|
|
89
|
+
return message;
|
|
90
|
+
}
|
|
91
|
+
PBGltfNodeState.decode = decode;
|
|
92
|
+
function fromJSON(object) {
|
|
93
|
+
return {
|
|
94
|
+
state: isSet(object.state) ? gltfNodeStateValueFromJSON(object.state) : 0,
|
|
95
|
+
error: isSet(object.error) ? String(object.error) : undefined,
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
PBGltfNodeState.fromJSON = fromJSON;
|
|
99
|
+
function toJSON(message) {
|
|
100
|
+
const obj = {};
|
|
101
|
+
message.state !== undefined && (obj.state = gltfNodeStateValueToJSON(message.state));
|
|
102
|
+
message.error !== undefined && (obj.error = message.error);
|
|
103
|
+
return obj;
|
|
104
|
+
}
|
|
105
|
+
PBGltfNodeState.toJSON = toJSON;
|
|
106
|
+
function create(base) {
|
|
107
|
+
return PBGltfNodeState.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
108
|
+
}
|
|
109
|
+
PBGltfNodeState.create = create;
|
|
110
|
+
function fromPartial(object) {
|
|
111
|
+
var _a, _b;
|
|
112
|
+
const message = createBasePBGltfNodeState();
|
|
113
|
+
message.state = (_a = object.state) !== null && _a !== void 0 ? _a : 0;
|
|
114
|
+
message.error = (_b = object.error) !== null && _b !== void 0 ? _b : undefined;
|
|
115
|
+
return message;
|
|
116
|
+
}
|
|
117
|
+
PBGltfNodeState.fromPartial = fromPartial;
|
|
118
|
+
})(PBGltfNodeState || (exports.PBGltfNodeState = PBGltfNodeState = {}));
|
|
119
|
+
function isSet(value) {
|
|
120
|
+
return value !== null && value !== undefined;
|
|
121
|
+
}
|
|
122
|
+
//# sourceMappingURL=gltf_node_state.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gltf_node_state.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/gltf_node_state.gen.ts"],"names":[],"mappings":";;;;;;AAYA,gEAgBC;AAED,4DAYC;AA1CD,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAE7D,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,2EAAgB,CAAA;IAChB,yEAAe,CAAA;IACf,uEAAc,CAAA;IACd,4EAAiB,CAAA;AACnB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAED,SAAgB,0BAA0B,CAAC,MAAW;IACpD,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,CAAC,CAAC;QACP,KAAK,cAAc;YACjB,OAAO,kBAAkB,CAAC,YAAY,CAAC;QACzC,KAAK,CAAC,CAAC;QACP,KAAK,aAAa;YAChB,OAAO,kBAAkB,CAAC,WAAW,CAAC;QACxC,KAAK,CAAC,CAAC;QACP,KAAK,YAAY;YACf,OAAO,kBAAkB,CAAC,UAAU,CAAC;QACvC,KAAK,CAAC,CAAC,CAAC;QACR,KAAK,cAAc,CAAC;QACpB;YACE,OAAO,kBAAkB,CAAC,YAAY,CAAC;IAC3C,CAAC;AACH,CAAC;AAED,SAAgB,wBAAwB,CAAC,MAA0B;IACjE,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,kBAAkB,CAAC,YAAY;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AO,CAAC,KAAK,CAAC,CAAC,CAAC;QACrF,OAAO,CAAC,KAAK,KAAK,SAAS,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;QAC3D,OAAO,GAAG,CAAC;IACb,CAAC;IALe,sBAAM,SAKrB,CAAA;IAED,SAAgB,MAAM,CAAmD,IAAQ;QAC/E,OAAO,eAAe,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC;IACjD,CAAC;IAFe,sBAAM,SAErB,CAAA;IAED,SAAgB,WAAW,CAAmD,MAAS;;QACrF,MAAM,OAAO,GAAG,yBAAyB,EAAE,CAAC;QAC5C,OAAO,CAAC,KAAK,GAAG,MAAA,MAAM,CAAC,KAAK,mCAAI,CAAC,CAAC;QAClC,OAAO,CAAC,KAAK,GAAG,MAAA,MAAM,CAAC,KAAK,mCAAI,SAAS,CAAC;QAC1C,OAAO,OAAO,CAAC;IACjB,CAAC;IALe,2BAAW,cAK1B,CAAA;AACH,CAAC,EAjEgB,eAAe,+BAAf,eAAe,QAiE/B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
export interface PBInputModifier {
|
|
4
|
+
mode?: {
|
|
5
|
+
$case: "standard";
|
|
6
|
+
standard: PBInputModifier_StandardInput;
|
|
7
|
+
} | undefined;
|
|
8
|
+
}
|
|
9
|
+
/** when a boolean = false (default) the message is ignored and doesn't consume bandwidth */
|
|
10
|
+
export interface PBInputModifier_StandardInput {
|
|
11
|
+
disableAll?: boolean | undefined;
|
|
12
|
+
disableWalk?: boolean | undefined;
|
|
13
|
+
disableJog?: boolean | undefined;
|
|
14
|
+
disableRun?: boolean | undefined;
|
|
15
|
+
disableJump?: boolean | undefined;
|
|
16
|
+
disableEmote?: boolean | undefined;
|
|
17
|
+
disableDoubleJump?: boolean | undefined;
|
|
18
|
+
disableGliding?: boolean | undefined;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace PBInputModifier {
|
|
21
|
+
function encode(message: PBInputModifier, writer?: _m0.Writer): _m0.Writer;
|
|
22
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier;
|
|
23
|
+
function fromJSON(object: any): PBInputModifier;
|
|
24
|
+
function toJSON(message: PBInputModifier): unknown;
|
|
25
|
+
function create<I extends Exact<DeepPartial<PBInputModifier>, I>>(base?: I): PBInputModifier;
|
|
26
|
+
function fromPartial<I extends Exact<DeepPartial<PBInputModifier>, I>>(object: I): PBInputModifier;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace PBInputModifier_StandardInput {
|
|
29
|
+
function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
|
|
30
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
|
31
|
+
function fromJSON(object: any): PBInputModifier_StandardInput;
|
|
32
|
+
function toJSON(message: PBInputModifier_StandardInput): unknown;
|
|
33
|
+
function create<I extends Exact<DeepPartial<PBInputModifier_StandardInput>, I>>(base?: I): PBInputModifier_StandardInput;
|
|
34
|
+
function fromPartial<I extends Exact<DeepPartial<PBInputModifier_StandardInput>, I>>(object: I): PBInputModifier_StandardInput;
|
|
35
|
+
}
|
|
36
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
37
|
+
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 {
|
|
38
|
+
$case: string;
|
|
39
|
+
} ? {
|
|
40
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
41
|
+
} & {
|
|
42
|
+
$case: T["$case"];
|
|
43
|
+
} : T extends {} ? {
|
|
44
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
45
|
+
} : Partial<T>;
|
|
46
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
47
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
48
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
49
|
+
} & {
|
|
50
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
51
|
+
};
|
|
52
|
+
export {};
|