@dcl/protocol 1.0.0-2569677750.commit-6ce832a → 1.0.0-25751414897.commit-a9f7d81
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 +48 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +198 -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 +251 -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 +22 -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 @@
|
|
|
1
|
+
{"version":3,"file":"avatar_base.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/avatar_base.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,wDAAiD;AAEpC,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAW7D,SAAS,sBAAsB;IAC7B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC;AAC1G,CAAC;AAED,IAAiB,YAAY,CAiH5B;AAjHD,WAAiB,YAAY;IAC3B,SAAgB,MAAM,CAAC,OAAqB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACpF,IAAI,OAAO,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;YACpC,mBAAM,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;QACtE,CAAC;QACD,IAAI,OAAO,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;YACpC,mBAAM,CAAC,MAAM,CAAC,OAAO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AW,CAAC,MAAM,CAAC,SAAS,CAAC;YACtC,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,CAAC,YAAY,GAAG,MAAA,MAAM,CAAC,YAAY,mCAAI,EAAE,CAAC;QACjD,OAAO,CAAC,IAAI,GAAG,MAAA,MAAM,CAAC,IAAI,mCAAI,EAAE,CAAC;QACjC,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,wBAAW,cAc1B,CAAA;AACH,CAAC,EAjHgB,YAAY,4BAAZ,YAAY,QAiH5B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/**
|
|
4
|
+
* AvatarEmoteCommand is a grow only value set, used to signal the renderer about
|
|
5
|
+
* avatar emotes playback.
|
|
6
|
+
*/
|
|
7
|
+
export interface PBAvatarEmoteCommand {
|
|
8
|
+
emoteUrn: string;
|
|
9
|
+
loop: boolean;
|
|
10
|
+
/** monotonic counter */
|
|
11
|
+
timestamp: number;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace PBAvatarEmoteCommand {
|
|
14
|
+
function encode(message: PBAvatarEmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
|
15
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand;
|
|
16
|
+
function fromJSON(object: any): PBAvatarEmoteCommand;
|
|
17
|
+
function toJSON(message: PBAvatarEmoteCommand): unknown;
|
|
18
|
+
function create<I extends Exact<DeepPartial<PBAvatarEmoteCommand>, I>>(base?: I): PBAvatarEmoteCommand;
|
|
19
|
+
function fromPartial<I extends Exact<DeepPartial<PBAvatarEmoteCommand>, I>>(object: I): PBAvatarEmoteCommand;
|
|
20
|
+
}
|
|
21
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
22
|
+
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 {
|
|
23
|
+
$case: string;
|
|
24
|
+
} ? {
|
|
25
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
26
|
+
} & {
|
|
27
|
+
$case: T["$case"];
|
|
28
|
+
} : T extends {} ? {
|
|
29
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
30
|
+
} : Partial<T>;
|
|
31
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
32
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
33
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
34
|
+
} & {
|
|
35
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
36
|
+
};
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,95 @@
|
|
|
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.PBAvatarEmoteCommand = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
function createBasePBAvatarEmoteCommand() {
|
|
11
|
+
return { emoteUrn: "", loop: false, timestamp: 0 };
|
|
12
|
+
}
|
|
13
|
+
var PBAvatarEmoteCommand;
|
|
14
|
+
(function (PBAvatarEmoteCommand) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
if (message.emoteUrn !== "") {
|
|
17
|
+
writer.uint32(10).string(message.emoteUrn);
|
|
18
|
+
}
|
|
19
|
+
if (message.loop === true) {
|
|
20
|
+
writer.uint32(16).bool(message.loop);
|
|
21
|
+
}
|
|
22
|
+
if (message.timestamp !== 0) {
|
|
23
|
+
writer.uint32(24).uint32(message.timestamp);
|
|
24
|
+
}
|
|
25
|
+
return writer;
|
|
26
|
+
}
|
|
27
|
+
PBAvatarEmoteCommand.encode = encode;
|
|
28
|
+
function decode(input, length) {
|
|
29
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBasePBAvatarEmoteCommand();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 10) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.emoteUrn = reader.string();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 16) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.loop = reader.bool();
|
|
46
|
+
continue;
|
|
47
|
+
case 3:
|
|
48
|
+
if (tag !== 24) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
message.timestamp = reader.uint32();
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
reader.skipType(tag & 7);
|
|
58
|
+
}
|
|
59
|
+
return message;
|
|
60
|
+
}
|
|
61
|
+
PBAvatarEmoteCommand.decode = decode;
|
|
62
|
+
function fromJSON(object) {
|
|
63
|
+
return {
|
|
64
|
+
emoteUrn: isSet(object.emoteUrn) ? String(object.emoteUrn) : "",
|
|
65
|
+
loop: isSet(object.loop) ? Boolean(object.loop) : false,
|
|
66
|
+
timestamp: isSet(object.timestamp) ? Number(object.timestamp) : 0,
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
PBAvatarEmoteCommand.fromJSON = fromJSON;
|
|
70
|
+
function toJSON(message) {
|
|
71
|
+
const obj = {};
|
|
72
|
+
message.emoteUrn !== undefined && (obj.emoteUrn = message.emoteUrn);
|
|
73
|
+
message.loop !== undefined && (obj.loop = message.loop);
|
|
74
|
+
message.timestamp !== undefined && (obj.timestamp = Math.round(message.timestamp));
|
|
75
|
+
return obj;
|
|
76
|
+
}
|
|
77
|
+
PBAvatarEmoteCommand.toJSON = toJSON;
|
|
78
|
+
function create(base) {
|
|
79
|
+
return PBAvatarEmoteCommand.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
80
|
+
}
|
|
81
|
+
PBAvatarEmoteCommand.create = create;
|
|
82
|
+
function fromPartial(object) {
|
|
83
|
+
var _a, _b, _c;
|
|
84
|
+
const message = createBasePBAvatarEmoteCommand();
|
|
85
|
+
message.emoteUrn = (_a = object.emoteUrn) !== null && _a !== void 0 ? _a : "";
|
|
86
|
+
message.loop = (_b = object.loop) !== null && _b !== void 0 ? _b : false;
|
|
87
|
+
message.timestamp = (_c = object.timestamp) !== null && _c !== void 0 ? _c : 0;
|
|
88
|
+
return message;
|
|
89
|
+
}
|
|
90
|
+
PBAvatarEmoteCommand.fromPartial = fromPartial;
|
|
91
|
+
})(PBAvatarEmoteCommand || (exports.PBAvatarEmoteCommand = PBAvatarEmoteCommand = {}));
|
|
92
|
+
function isSet(value) {
|
|
93
|
+
return value !== null && value !== undefined;
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=avatar_emote_command.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar_emote_command.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAa7D,SAAS,8BAA8B;IACrC,OAAO,EAAE,QAAQ,EAAE,EAAE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
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/**
|
|
4
|
+
* AvatarEquipData is used to read the information about the avatar's owneables.
|
|
5
|
+
* this component is written by the engine using the communications transports'
|
|
6
|
+
* data.
|
|
7
|
+
*/
|
|
8
|
+
export interface PBAvatarEquippedData {
|
|
9
|
+
wearableUrns: string[];
|
|
10
|
+
emoteUrns: string[];
|
|
11
|
+
/** slots that will render even if hidden */
|
|
12
|
+
forceRender: string[];
|
|
13
|
+
}
|
|
14
|
+
export declare namespace PBAvatarEquippedData {
|
|
15
|
+
function encode(message: PBAvatarEquippedData, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEquippedData;
|
|
17
|
+
function fromJSON(object: any): PBAvatarEquippedData;
|
|
18
|
+
function toJSON(message: PBAvatarEquippedData): unknown;
|
|
19
|
+
function create<I extends Exact<DeepPartial<PBAvatarEquippedData>, I>>(base?: I): PBAvatarEquippedData;
|
|
20
|
+
function fromPartial<I extends Exact<DeepPartial<PBAvatarEquippedData>, I>>(object: I): PBAvatarEquippedData;
|
|
21
|
+
}
|
|
22
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
23
|
+
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 {
|
|
24
|
+
$case: string;
|
|
25
|
+
} ? {
|
|
26
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
27
|
+
} & {
|
|
28
|
+
$case: T["$case"];
|
|
29
|
+
} : T extends {} ? {
|
|
30
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
31
|
+
} : Partial<T>;
|
|
32
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
33
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
34
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
35
|
+
} & {
|
|
36
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
37
|
+
};
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,107 @@
|
|
|
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.PBAvatarEquippedData = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
function createBasePBAvatarEquippedData() {
|
|
11
|
+
return { wearableUrns: [], emoteUrns: [], forceRender: [] };
|
|
12
|
+
}
|
|
13
|
+
var PBAvatarEquippedData;
|
|
14
|
+
(function (PBAvatarEquippedData) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
for (const v of message.wearableUrns) {
|
|
17
|
+
writer.uint32(10).string(v);
|
|
18
|
+
}
|
|
19
|
+
for (const v of message.emoteUrns) {
|
|
20
|
+
writer.uint32(18).string(v);
|
|
21
|
+
}
|
|
22
|
+
for (const v of message.forceRender) {
|
|
23
|
+
writer.uint32(26).string(v);
|
|
24
|
+
}
|
|
25
|
+
return writer;
|
|
26
|
+
}
|
|
27
|
+
PBAvatarEquippedData.encode = encode;
|
|
28
|
+
function decode(input, length) {
|
|
29
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBasePBAvatarEquippedData();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 10) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.wearableUrns.push(reader.string());
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 18) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.emoteUrns.push(reader.string());
|
|
46
|
+
continue;
|
|
47
|
+
case 3:
|
|
48
|
+
if (tag !== 26) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
message.forceRender.push(reader.string());
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
reader.skipType(tag & 7);
|
|
58
|
+
}
|
|
59
|
+
return message;
|
|
60
|
+
}
|
|
61
|
+
PBAvatarEquippedData.decode = decode;
|
|
62
|
+
function fromJSON(object) {
|
|
63
|
+
return {
|
|
64
|
+
wearableUrns: Array.isArray(object === null || object === void 0 ? void 0 : object.wearableUrns) ? object.wearableUrns.map((e) => String(e)) : [],
|
|
65
|
+
emoteUrns: Array.isArray(object === null || object === void 0 ? void 0 : object.emoteUrns) ? object.emoteUrns.map((e) => String(e)) : [],
|
|
66
|
+
forceRender: Array.isArray(object === null || object === void 0 ? void 0 : object.forceRender) ? object.forceRender.map((e) => String(e)) : [],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
PBAvatarEquippedData.fromJSON = fromJSON;
|
|
70
|
+
function toJSON(message) {
|
|
71
|
+
const obj = {};
|
|
72
|
+
if (message.wearableUrns) {
|
|
73
|
+
obj.wearableUrns = message.wearableUrns.map((e) => e);
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
obj.wearableUrns = [];
|
|
77
|
+
}
|
|
78
|
+
if (message.emoteUrns) {
|
|
79
|
+
obj.emoteUrns = message.emoteUrns.map((e) => e);
|
|
80
|
+
}
|
|
81
|
+
else {
|
|
82
|
+
obj.emoteUrns = [];
|
|
83
|
+
}
|
|
84
|
+
if (message.forceRender) {
|
|
85
|
+
obj.forceRender = message.forceRender.map((e) => e);
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
obj.forceRender = [];
|
|
89
|
+
}
|
|
90
|
+
return obj;
|
|
91
|
+
}
|
|
92
|
+
PBAvatarEquippedData.toJSON = toJSON;
|
|
93
|
+
function create(base) {
|
|
94
|
+
return PBAvatarEquippedData.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
95
|
+
}
|
|
96
|
+
PBAvatarEquippedData.create = create;
|
|
97
|
+
function fromPartial(object) {
|
|
98
|
+
var _a, _b, _c;
|
|
99
|
+
const message = createBasePBAvatarEquippedData();
|
|
100
|
+
message.wearableUrns = ((_a = object.wearableUrns) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
101
|
+
message.emoteUrns = ((_b = object.emoteUrns) === null || _b === void 0 ? void 0 : _b.map((e) => e)) || [];
|
|
102
|
+
message.forceRender = ((_c = object.forceRender) === null || _c === void 0 ? void 0 : _c.map((e) => e)) || [];
|
|
103
|
+
return message;
|
|
104
|
+
}
|
|
105
|
+
PBAvatarEquippedData.fromPartial = fromPartial;
|
|
106
|
+
})(PBAvatarEquippedData || (exports.PBAvatarEquippedData = PBAvatarEquippedData = {}));
|
|
107
|
+
//# sourceMappingURL=avatar_equipped_data.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar_equipped_data.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAc7D,SAAS,8BAA8B;IACrC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC;AAC9D,CAAC;AAED,IAAiB,oBAAoB,CA0FpC;AA1FD,WAAiB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AErB,CAAA;IAED,SAAgB,WAAW,CAAwD,MAAS;;QAC1F,MAAM,OAAO,GAAG,8BAA8B,EAAE,CAAC;QACjD,OAAO,CAAC,YAAY,GAAG,CAAA,MAAA,MAAM,CAAC,YAAY,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QAChE,OAAO,CAAC,SAAS,GAAG,CAAA,MAAA,MAAM,CAAC,SAAS,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QAC1D,OAAO,CAAC,WAAW,GAAG,CAAA,MAAA,MAAM,CAAC,WAAW,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QAC9D,OAAO,OAAO,CAAC;IACjB,CAAC;IANe,gCAAW,cAM1B,CAAA;AACH,CAAC,EA1FgB,oBAAoB,oCAApB,oBAAoB,QA0FpC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/**
|
|
4
|
+
* The PBAvatarLocomotionSettings component allows scenes to modify locomotion settings defining things such
|
|
5
|
+
* as the avatar movement speed, jump height etc.
|
|
6
|
+
*/
|
|
7
|
+
export interface PBAvatarLocomotionSettings {
|
|
8
|
+
/** Maximum speed when walking (in meters per second) */
|
|
9
|
+
walkSpeed?: number | undefined;
|
|
10
|
+
/** Maximum speed when jogging (in meters per second) */
|
|
11
|
+
jogSpeed?: number | undefined;
|
|
12
|
+
/** Maximum speed when running (in meters per second) */
|
|
13
|
+
runSpeed?: number | undefined;
|
|
14
|
+
/** Height of a regular jump (in meters) */
|
|
15
|
+
jumpHeight?: number | undefined;
|
|
16
|
+
/** Height of a jump while running (in meters) */
|
|
17
|
+
runJumpHeight?: number | undefined;
|
|
18
|
+
/** Cooldown time after a hard landing before the avatar can move again (in seconds) */
|
|
19
|
+
hardLandingCooldown?: number | undefined;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace PBAvatarLocomotionSettings {
|
|
22
|
+
function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
|
|
23
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
|
|
24
|
+
function fromJSON(object: any): PBAvatarLocomotionSettings;
|
|
25
|
+
function toJSON(message: PBAvatarLocomotionSettings): unknown;
|
|
26
|
+
function create<I extends Exact<DeepPartial<PBAvatarLocomotionSettings>, I>>(base?: I): PBAvatarLocomotionSettings;
|
|
27
|
+
function fromPartial<I extends Exact<DeepPartial<PBAvatarLocomotionSettings>, I>>(object: I): PBAvatarLocomotionSettings;
|
|
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,138 @@
|
|
|
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.PBAvatarLocomotionSettings = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
function createBasePBAvatarLocomotionSettings() {
|
|
11
|
+
return {
|
|
12
|
+
walkSpeed: undefined,
|
|
13
|
+
jogSpeed: undefined,
|
|
14
|
+
runSpeed: undefined,
|
|
15
|
+
jumpHeight: undefined,
|
|
16
|
+
runJumpHeight: undefined,
|
|
17
|
+
hardLandingCooldown: undefined,
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
var PBAvatarLocomotionSettings;
|
|
21
|
+
(function (PBAvatarLocomotionSettings) {
|
|
22
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
23
|
+
if (message.walkSpeed !== undefined) {
|
|
24
|
+
writer.uint32(13).float(message.walkSpeed);
|
|
25
|
+
}
|
|
26
|
+
if (message.jogSpeed !== undefined) {
|
|
27
|
+
writer.uint32(21).float(message.jogSpeed);
|
|
28
|
+
}
|
|
29
|
+
if (message.runSpeed !== undefined) {
|
|
30
|
+
writer.uint32(29).float(message.runSpeed);
|
|
31
|
+
}
|
|
32
|
+
if (message.jumpHeight !== undefined) {
|
|
33
|
+
writer.uint32(37).float(message.jumpHeight);
|
|
34
|
+
}
|
|
35
|
+
if (message.runJumpHeight !== undefined) {
|
|
36
|
+
writer.uint32(45).float(message.runJumpHeight);
|
|
37
|
+
}
|
|
38
|
+
if (message.hardLandingCooldown !== undefined) {
|
|
39
|
+
writer.uint32(53).float(message.hardLandingCooldown);
|
|
40
|
+
}
|
|
41
|
+
return writer;
|
|
42
|
+
}
|
|
43
|
+
PBAvatarLocomotionSettings.encode = encode;
|
|
44
|
+
function decode(input, length) {
|
|
45
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
46
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
47
|
+
const message = createBasePBAvatarLocomotionSettings();
|
|
48
|
+
while (reader.pos < end) {
|
|
49
|
+
const tag = reader.uint32();
|
|
50
|
+
switch (tag >>> 3) {
|
|
51
|
+
case 1:
|
|
52
|
+
if (tag !== 13) {
|
|
53
|
+
break;
|
|
54
|
+
}
|
|
55
|
+
message.walkSpeed = reader.float();
|
|
56
|
+
continue;
|
|
57
|
+
case 2:
|
|
58
|
+
if (tag !== 21) {
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
message.jogSpeed = reader.float();
|
|
62
|
+
continue;
|
|
63
|
+
case 3:
|
|
64
|
+
if (tag !== 29) {
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
message.runSpeed = reader.float();
|
|
68
|
+
continue;
|
|
69
|
+
case 4:
|
|
70
|
+
if (tag !== 37) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.jumpHeight = reader.float();
|
|
74
|
+
continue;
|
|
75
|
+
case 5:
|
|
76
|
+
if (tag !== 45) {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
message.runJumpHeight = reader.float();
|
|
80
|
+
continue;
|
|
81
|
+
case 6:
|
|
82
|
+
if (tag !== 53) {
|
|
83
|
+
break;
|
|
84
|
+
}
|
|
85
|
+
message.hardLandingCooldown = reader.float();
|
|
86
|
+
continue;
|
|
87
|
+
}
|
|
88
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
reader.skipType(tag & 7);
|
|
92
|
+
}
|
|
93
|
+
return message;
|
|
94
|
+
}
|
|
95
|
+
PBAvatarLocomotionSettings.decode = decode;
|
|
96
|
+
function fromJSON(object) {
|
|
97
|
+
return {
|
|
98
|
+
walkSpeed: isSet(object.walkSpeed) ? Number(object.walkSpeed) : undefined,
|
|
99
|
+
jogSpeed: isSet(object.jogSpeed) ? Number(object.jogSpeed) : undefined,
|
|
100
|
+
runSpeed: isSet(object.runSpeed) ? Number(object.runSpeed) : undefined,
|
|
101
|
+
jumpHeight: isSet(object.jumpHeight) ? Number(object.jumpHeight) : undefined,
|
|
102
|
+
runJumpHeight: isSet(object.runJumpHeight) ? Number(object.runJumpHeight) : undefined,
|
|
103
|
+
hardLandingCooldown: isSet(object.hardLandingCooldown) ? Number(object.hardLandingCooldown) : undefined,
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
PBAvatarLocomotionSettings.fromJSON = fromJSON;
|
|
107
|
+
function toJSON(message) {
|
|
108
|
+
const obj = {};
|
|
109
|
+
message.walkSpeed !== undefined && (obj.walkSpeed = message.walkSpeed);
|
|
110
|
+
message.jogSpeed !== undefined && (obj.jogSpeed = message.jogSpeed);
|
|
111
|
+
message.runSpeed !== undefined && (obj.runSpeed = message.runSpeed);
|
|
112
|
+
message.jumpHeight !== undefined && (obj.jumpHeight = message.jumpHeight);
|
|
113
|
+
message.runJumpHeight !== undefined && (obj.runJumpHeight = message.runJumpHeight);
|
|
114
|
+
message.hardLandingCooldown !== undefined && (obj.hardLandingCooldown = message.hardLandingCooldown);
|
|
115
|
+
return obj;
|
|
116
|
+
}
|
|
117
|
+
PBAvatarLocomotionSettings.toJSON = toJSON;
|
|
118
|
+
function create(base) {
|
|
119
|
+
return PBAvatarLocomotionSettings.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
120
|
+
}
|
|
121
|
+
PBAvatarLocomotionSettings.create = create;
|
|
122
|
+
function fromPartial(object) {
|
|
123
|
+
var _a, _b, _c, _d, _e, _f;
|
|
124
|
+
const message = createBasePBAvatarLocomotionSettings();
|
|
125
|
+
message.walkSpeed = (_a = object.walkSpeed) !== null && _a !== void 0 ? _a : undefined;
|
|
126
|
+
message.jogSpeed = (_b = object.jogSpeed) !== null && _b !== void 0 ? _b : undefined;
|
|
127
|
+
message.runSpeed = (_c = object.runSpeed) !== null && _c !== void 0 ? _c : undefined;
|
|
128
|
+
message.jumpHeight = (_d = object.jumpHeight) !== null && _d !== void 0 ? _d : undefined;
|
|
129
|
+
message.runJumpHeight = (_e = object.runJumpHeight) !== null && _e !== void 0 ? _e : undefined;
|
|
130
|
+
message.hardLandingCooldown = (_f = object.hardLandingCooldown) !== null && _f !== void 0 ? _f : undefined;
|
|
131
|
+
return message;
|
|
132
|
+
}
|
|
133
|
+
PBAvatarLocomotionSettings.fromPartial = fromPartial;
|
|
134
|
+
})(PBAvatarLocomotionSettings || (exports.PBAvatarLocomotionSettings = PBAvatarLocomotionSettings = {}));
|
|
135
|
+
function isSet(value) {
|
|
136
|
+
return value !== null && value !== undefined;
|
|
137
|
+
}
|
|
138
|
+
//# sourceMappingURL=avatar_locomotion_settings.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar_locomotion_settings.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AA+B7D,SAAS,oCAAoC;IAC3C,OAAO;QACL,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,mBAAmB,EAAE,SAAS;KAC/B,CAAC;AACJ,CAAC;AAED,IAAiB,0BAA0B,CAyH1C;AAzHD,WAAiB,0BAA0B;IACzC,SAAgB,MAAM,CAAC,OAAmC,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAClG,IAAI,OAAO,CAAC,SAAS,KAAK,SAAS,EAAE,CAAC;YACpC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAC7C,CAAC;QACD,IAA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,SAAS,CAAC;QACtE,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,sCAAW,cAW1B,CAAA;AACH,CAAC,EAzHgB,0BAA0B,0CAA1B,0BAA0B,QAyH1C;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Vector3 } from "../../common/vectors.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
4
|
+
/** AvatarModifierType is an effect that should be applied to avatars inside the region. */
|
|
5
|
+
export declare enum AvatarModifierType {
|
|
6
|
+
/** AMT_HIDE_AVATARS - avatars are invisible */
|
|
7
|
+
AMT_HIDE_AVATARS = 0,
|
|
8
|
+
/** AMT_DISABLE_PASSPORTS - selecting (e.g. clicking) an avatar will not bring up their profile. */
|
|
9
|
+
AMT_DISABLE_PASSPORTS = 1,
|
|
10
|
+
UNRECOGNIZED = -1
|
|
11
|
+
}
|
|
12
|
+
export declare function avatarModifierTypeFromJSON(object: any): AvatarModifierType;
|
|
13
|
+
export declare function avatarModifierTypeToJSON(object: AvatarModifierType): string;
|
|
14
|
+
export declare enum AvatarControlType {
|
|
15
|
+
/** CCT_NONE - avatar cannot move */
|
|
16
|
+
CCT_NONE = 0,
|
|
17
|
+
/** CCT_RELATIVE - avatar moves relative to the camera origin */
|
|
18
|
+
CCT_RELATIVE = 1,
|
|
19
|
+
/** CCT_TANK - avatar moves like a tank: left/right rotate the player, forward/backward advance/retreat the player */
|
|
20
|
+
CCT_TANK = 2,
|
|
21
|
+
UNRECOGNIZED = -1
|
|
22
|
+
}
|
|
23
|
+
export declare function avatarControlTypeFromJSON(object: any): AvatarControlType;
|
|
24
|
+
export declare function avatarControlTypeToJSON(object: AvatarControlType): string;
|
|
25
|
+
/**
|
|
26
|
+
* The AvatarModifierArea component can be attached to an Entity to define a region of space where
|
|
27
|
+
* avatar behavior changes.
|
|
28
|
+
*
|
|
29
|
+
* The Entity's Transform position determines the center-point of the region, while its size is
|
|
30
|
+
* given as a vector in the `area` property below. The Transform rotation is applied, but the scale
|
|
31
|
+
* is ignored.
|
|
32
|
+
*
|
|
33
|
+
* The modifier effect is only applied to avatars inside the region. It does not affect how players
|
|
34
|
+
* standing inside it see avatars on the other side of the boundary.
|
|
35
|
+
*
|
|
36
|
+
* Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
|
|
37
|
+
* is actually a 3D volume.
|
|
38
|
+
*/
|
|
39
|
+
export interface PBAvatarModifierArea {
|
|
40
|
+
/** the 3D size of the region */
|
|
41
|
+
area: Vector3 | undefined;
|
|
42
|
+
/** user IDs that can enter and remain unaffected */
|
|
43
|
+
excludeIds: string[];
|
|
44
|
+
/** list of modifiers to apply */
|
|
45
|
+
modifiers: AvatarModifierType[];
|
|
46
|
+
movementSettings?: AvatarMovementSettings | undefined;
|
|
47
|
+
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
|
48
|
+
useColliderRange?: boolean | undefined;
|
|
49
|
+
}
|
|
50
|
+
export interface AvatarMovementSettings {
|
|
51
|
+
controlMode?: AvatarControlType | undefined;
|
|
52
|
+
/** if not explicitly set, the following properties default to user's preference settings */
|
|
53
|
+
runSpeed?: number | undefined;
|
|
54
|
+
/** how fast the player gets up to speed or comes to rest. higher = more responsive */
|
|
55
|
+
friction?: number | undefined;
|
|
56
|
+
/** how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative */
|
|
57
|
+
gravity?: number | undefined;
|
|
58
|
+
/** how high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible */
|
|
59
|
+
jumpHeight?: number | undefined;
|
|
60
|
+
/** max fall speed in m/s. should normally be negative */
|
|
61
|
+
maxFallSpeed?: number | undefined;
|
|
62
|
+
/** speed the player turns in tank mode, in radians/s */
|
|
63
|
+
turnSpeed?: number | undefined;
|
|
64
|
+
/** speed the player walks at, in m/s */
|
|
65
|
+
walkSpeed?: number | undefined;
|
|
66
|
+
/** whether to allow player to move at a slower speed (e.g. with a walk-key or when using a gamepad/joystick). defaults to true */
|
|
67
|
+
allowWeightedMovement?: boolean | undefined;
|
|
68
|
+
}
|
|
69
|
+
export declare namespace PBAvatarModifierArea {
|
|
70
|
+
function encode(message: PBAvatarModifierArea, writer?: _m0.Writer): _m0.Writer;
|
|
71
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarModifierArea;
|
|
72
|
+
function fromJSON(object: any): PBAvatarModifierArea;
|
|
73
|
+
function toJSON(message: PBAvatarModifierArea): unknown;
|
|
74
|
+
function create<I extends Exact<DeepPartial<PBAvatarModifierArea>, I>>(base?: I): PBAvatarModifierArea;
|
|
75
|
+
function fromPartial<I extends Exact<DeepPartial<PBAvatarModifierArea>, I>>(object: I): PBAvatarModifierArea;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace AvatarMovementSettings {
|
|
78
|
+
function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
|
79
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
|
80
|
+
function fromJSON(object: any): AvatarMovementSettings;
|
|
81
|
+
function toJSON(message: AvatarMovementSettings): unknown;
|
|
82
|
+
function create<I extends Exact<DeepPartial<AvatarMovementSettings>, I>>(base?: I): AvatarMovementSettings;
|
|
83
|
+
function fromPartial<I extends Exact<DeepPartial<AvatarMovementSettings>, I>>(object: I): AvatarMovementSettings;
|
|
84
|
+
}
|
|
85
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
86
|
+
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 {
|
|
87
|
+
$case: string;
|
|
88
|
+
} ? {
|
|
89
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
90
|
+
} & {
|
|
91
|
+
$case: T["$case"];
|
|
92
|
+
} : T extends {} ? {
|
|
93
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
94
|
+
} : Partial<T>;
|
|
95
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
96
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
97
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
98
|
+
} & {
|
|
99
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
100
|
+
};
|
|
101
|
+
export {};
|