@dcl/protocol 1.0.0-3587979266.commit-9fcad98 → 1.0.0-35899496093.commit-329ba0e
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 +241 -12
- 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 +206 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +792 -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 +474 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1643 -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 +313 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1973 -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 +249 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1384 -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 +38 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +148 -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 +64 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -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 +51 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +177 -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 +64 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +172 -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 +71 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +303 -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 +79 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +357 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.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 +61 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js +142 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +46 -0
- package/out-js/decentraland/sdk/components/camera_layer.gen.js +162 -0
- package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.js +80 -0
- package/out-js/decentraland/sdk/components/camera_layers.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 +50 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +97 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.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/explorer_ui.gen.d.ts +17 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +73 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.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 +44 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +227 -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 +43 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +107 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +68 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +219 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/global_light.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/global_light.gen.js +103 -0
- package/out-js/decentraland/sdk/components/global_light.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 +148 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +557 -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 +115 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +319 -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 +83 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +358 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +86 -0
- package/out-js/decentraland/sdk/components/texture_camera.gen.js +296 -0
- package/out-js/decentraland/sdk/components/texture_camera.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +201 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.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_canvas.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js +98 -0
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +47 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +200 -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 +50 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +211 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.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_scroll_result.gen.d.ts +31 -0
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +71 -0
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +190 -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/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 +31 -18
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +133 -62
- package/out-ts/decentraland/common/texture.gen.ts +654 -0
- package/out-ts/decentraland/common/vectors.gen.ts +207 -56
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +338 -33
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +54 -34
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +739 -1679
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +506 -293
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +386 -211
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +231 -140
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +136 -72
- package/out-ts/decentraland/kernel/apis/players.gen.ts +170 -100
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +305 -158
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1629 -163
- 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 +356 -94
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +85 -51
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +50 -33
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +99 -66
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1690 -239
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +392 -239
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1092 -611
- 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 +171 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -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 +237 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +210 -0
- package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +372 -0
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +432 -0
- package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +371 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +172 -0
- package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +202 -0
- package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +92 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +130 -0
- package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
- package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
- package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +70 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +224 -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 +134 -0
- package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +263 -0
- package/out-ts/decentraland/sdk/components/global_light.gen.ts +138 -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 +635 -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 +436 -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 +488 -0
- package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +362 -0
- package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -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_canvas.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +249 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +269 -0
- package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
- package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +83 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +237 -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 +1145 -536
- package/out-ts/google/protobuf/empty.gen.ts +21 -16
- package/out-ts/quests.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 +21 -10
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +6 -0
- package/proto/decentraland/common/entity.proto +1 -1
- package/proto/decentraland/common/floats.proto +8 -0
- package/proto/decentraland/common/options.proto +51 -0
- package/proto/decentraland/common/quantization_example.proto +164 -0
- package/proto/decentraland/common/texture.proto +27 -9
- package/proto/decentraland/common/vectors.proto +7 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +19 -2
- package/proto/decentraland/kernel/apis/dev_tools.proto +2 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +13 -111
- package/proto/decentraland/kernel/apis/environment_api.proto +7 -0
- package/proto/decentraland/kernel/apis/ethereum_controller.proto +10 -0
- package/proto/decentraland/kernel/apis/parcel_identity.proto +3 -0
- package/proto/decentraland/kernel/apis/permissions.proto +4 -0
- package/proto/decentraland/kernel/apis/players.proto +6 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +15 -1
- package/proto/decentraland/kernel/apis/restricted_actions.proto +159 -12
- 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 +8 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +6 -3
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/apis/user_action_module.proto +1 -0
- package/proto/decentraland/kernel/apis/user_identity.proto +1 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +92 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +58 -34
- package/proto/decentraland/pulse/pulse_client.proto +120 -0
- package/proto/decentraland/pulse/pulse_server.proto +144 -0
- package/proto/decentraland/pulse/pulse_shared.proto +57 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +138 -0
- package/proto/decentraland/sdk/components/animator.proto +20 -8
- 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_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +24 -6
- package/proto/decentraland/sdk/components/audio_stream.proto +14 -3
- package/proto/decentraland/sdk/components/avatar_attach.proto +37 -5
- package/proto/decentraland/sdk/components/avatar_base.proto +16 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +14 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +22 -7
- package/proto/decentraland/sdk/components/avatar_movement.proto +62 -0
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +36 -0
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +37 -24
- package/proto/decentraland/sdk/components/billboard.proto +24 -6
- 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 +3 -1
- package/proto/decentraland/sdk/components/camera_mode_area.proto +14 -2
- package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
- package/proto/decentraland/sdk/components/common/camera_type.proto +1 -0
- package/proto/decentraland/sdk/components/common/explorer_ui.proto +14 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +20 -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 +3 -2
- package/proto/decentraland/sdk/components/engine_info.proto +16 -0
- package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +31 -0
- package/proto/decentraland/sdk/components/global_light.proto +22 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +11 -5
- 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 +18 -5
- package/proto/decentraland/sdk/components/mesh_collider.proto +43 -9
- package/proto/decentraland/sdk/components/mesh_renderer.proto +22 -4
- package/proto/decentraland/sdk/components/nft_shape.proto +15 -7
- package/proto/decentraland/sdk/components/particle_system.proto +133 -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 +68 -0
- package/proto/decentraland/sdk/components/pointer_events_result.proto +8 -14
- package/proto/decentraland/sdk/components/pointer_lock.proto +3 -1
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +44 -0
- package/proto/decentraland/sdk/components/raycast.proto +57 -6
- package/proto/decentraland/sdk/components/raycast_result.proto +12 -16
- 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 +34 -21
- package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
- package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -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 +25 -2
- 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 +23 -0
- package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
- package/proto/decentraland/sdk/components/ui_input.proto +23 -0
- package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -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 +15 -5
- package/proto/decentraland/sdk/components/ui_transform.proto +57 -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 +18 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +7 -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/protoc-gen-bitwise/generator_csharp.js +248 -0
- package/protoc-gen-bitwise/options.js +139 -0
- package/protoc-gen-bitwise/plugin.js +87 -0
- package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
- package/protoc-gen-bitwise/wire.js +239 -0
- package/public/about.proto +5 -0
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +4 -0
- package/public/sdk-components.proto +57 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +6 -0
- package/out-ts/bff-services.gen.ts +0 -3
- package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -279
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -239
- package/out-ts/decentraland/bff/comms_service.gen.ts +0 -194
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +0 -856
- package/out-ts/decentraland/bff/topics_service.gen.ts +0 -405
- package/out-ts/decentraland/renderer/engine_interface.gen.ts +0 -8669
- package/out-ts/decentraland/renderer/kernel_services/analytics.gen.ts +0 -974
- package/out-ts/decentraland/renderer/kernel_services/emotes_kernel.gen.ts +0 -143
- package/out-ts/decentraland/renderer/renderer_services/crdt.gen.ts +0 -267
- package/out-ts/decentraland/renderer/renderer_services/emotes_renderer.gen.ts +0 -135
- package/out-ts/decentraland/renderer/renderer_services/transport.gen.ts +0 -137
- package/out-ts/google/api/annotations.gen.ts +0 -3
- package/out-ts/google/api/http.gen.ts +0 -295
- package/out-ts/renderer-interface.gen.ts +0 -3
- package/proto/buf.yaml +0 -45
- package/proto/decentraland/bff/authentication_service.proto +0 -27
- package/proto/decentraland/bff/comms_director_service.proto +0 -33
- package/proto/decentraland/bff/comms_service.proto +0 -25
- package/proto/decentraland/bff/http_endpoints.proto +0 -83
- package/proto/decentraland/bff/topics_service.proto +0 -34
- package/proto/decentraland/renderer/engine_interface.proto +0 -709
- package/proto/decentraland/renderer/kernel_services/analytics.proto +0 -72
- package/proto/decentraland/renderer/kernel_services/emotes_kernel.proto +0 -16
- package/proto/decentraland/renderer/renderer_services/crdt.proto +0 -21
- package/proto/decentraland/renderer/renderer_services/emotes_renderer.proto +0 -15
- package/proto/decentraland/renderer/renderer_services/transport.proto +0 -14
- package/proto/decentraland/sdk/components/pointer_hover_feedback.proto +0 -31
- package/proto/google/LICENSE +0 -27
- package/proto/google/README.md +0 -1
- package/proto/google/api/annotations.json +0 -83
- package/proto/google/api/annotations.proto +0 -11
- package/proto/google/api/http.json +0 -86
- package/proto/google/api/http.proto +0 -31
- package/proto/google/protobuf/api.json +0 -118
- package/proto/google/protobuf/api.proto +0 -34
- package/proto/google/protobuf/descriptor.json +0 -739
- package/proto/google/protobuf/descriptor.proto +0 -286
- package/proto/google/protobuf/source_context.json +0 -20
- package/proto/google/protobuf/source_context.proto +0 -7
- package/proto/google/protobuf/type.json +0 -202
- package/proto/google/protobuf/type.proto +0 -89
- package/public/bff-services.proto +0 -16
- package/public/renderer-interface.proto +0 -8
|
@@ -0,0 +1,148 @@
|
|
|
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.PBAvatarBase = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
const colors_gen_1 = require("../../common/colors.gen");
|
|
10
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
11
|
+
function createBasePBAvatarBase() {
|
|
12
|
+
return {
|
|
13
|
+
skinColor: undefined,
|
|
14
|
+
eyesColor: undefined,
|
|
15
|
+
hairColor: undefined,
|
|
16
|
+
bodyShapeUrn: "",
|
|
17
|
+
name: "",
|
|
18
|
+
talking: undefined,
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
var PBAvatarBase;
|
|
22
|
+
(function (PBAvatarBase) {
|
|
23
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
24
|
+
if (message.skinColor !== undefined) {
|
|
25
|
+
colors_gen_1.Color3.encode(message.skinColor, writer.uint32(10).fork()).ldelim();
|
|
26
|
+
}
|
|
27
|
+
if (message.eyesColor !== undefined) {
|
|
28
|
+
colors_gen_1.Color3.encode(message.eyesColor, writer.uint32(18).fork()).ldelim();
|
|
29
|
+
}
|
|
30
|
+
if (message.hairColor !== undefined) {
|
|
31
|
+
colors_gen_1.Color3.encode(message.hairColor, writer.uint32(26).fork()).ldelim();
|
|
32
|
+
}
|
|
33
|
+
if (message.bodyShapeUrn !== "") {
|
|
34
|
+
writer.uint32(34).string(message.bodyShapeUrn);
|
|
35
|
+
}
|
|
36
|
+
if (message.name !== "") {
|
|
37
|
+
writer.uint32(42).string(message.name);
|
|
38
|
+
}
|
|
39
|
+
if (message.talking !== undefined) {
|
|
40
|
+
writer.uint32(48).bool(message.talking);
|
|
41
|
+
}
|
|
42
|
+
return writer;
|
|
43
|
+
}
|
|
44
|
+
PBAvatarBase.encode = encode;
|
|
45
|
+
function decode(input, length) {
|
|
46
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
47
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
48
|
+
const message = createBasePBAvatarBase();
|
|
49
|
+
while (reader.pos < end) {
|
|
50
|
+
const tag = reader.uint32();
|
|
51
|
+
switch (tag >>> 3) {
|
|
52
|
+
case 1:
|
|
53
|
+
if (tag !== 10) {
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
message.skinColor = colors_gen_1.Color3.decode(reader, reader.uint32());
|
|
57
|
+
continue;
|
|
58
|
+
case 2:
|
|
59
|
+
if (tag !== 18) {
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
message.eyesColor = colors_gen_1.Color3.decode(reader, reader.uint32());
|
|
63
|
+
continue;
|
|
64
|
+
case 3:
|
|
65
|
+
if (tag !== 26) {
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
message.hairColor = colors_gen_1.Color3.decode(reader, reader.uint32());
|
|
69
|
+
continue;
|
|
70
|
+
case 4:
|
|
71
|
+
if (tag !== 34) {
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
message.bodyShapeUrn = reader.string();
|
|
75
|
+
continue;
|
|
76
|
+
case 5:
|
|
77
|
+
if (tag !== 42) {
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
message.name = reader.string();
|
|
81
|
+
continue;
|
|
82
|
+
case 6:
|
|
83
|
+
if (tag !== 48) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
message.talking = reader.bool();
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
90
|
+
break;
|
|
91
|
+
}
|
|
92
|
+
reader.skipType(tag & 7);
|
|
93
|
+
}
|
|
94
|
+
return message;
|
|
95
|
+
}
|
|
96
|
+
PBAvatarBase.decode = decode;
|
|
97
|
+
function fromJSON(object) {
|
|
98
|
+
return {
|
|
99
|
+
skinColor: isSet(object.skinColor) ? colors_gen_1.Color3.fromJSON(object.skinColor) : undefined,
|
|
100
|
+
eyesColor: isSet(object.eyesColor) ? colors_gen_1.Color3.fromJSON(object.eyesColor) : undefined,
|
|
101
|
+
hairColor: isSet(object.hairColor) ? colors_gen_1.Color3.fromJSON(object.hairColor) : undefined,
|
|
102
|
+
bodyShapeUrn: isSet(object.bodyShapeUrn) ? String(object.bodyShapeUrn) : "",
|
|
103
|
+
name: isSet(object.name) ? String(object.name) : "",
|
|
104
|
+
talking: isSet(object.talking) ? Boolean(object.talking) : undefined,
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
PBAvatarBase.fromJSON = fromJSON;
|
|
108
|
+
function toJSON(message) {
|
|
109
|
+
const obj = {};
|
|
110
|
+
message.skinColor !== undefined &&
|
|
111
|
+
(obj.skinColor = message.skinColor ? colors_gen_1.Color3.toJSON(message.skinColor) : undefined);
|
|
112
|
+
message.eyesColor !== undefined &&
|
|
113
|
+
(obj.eyesColor = message.eyesColor ? colors_gen_1.Color3.toJSON(message.eyesColor) : undefined);
|
|
114
|
+
message.hairColor !== undefined &&
|
|
115
|
+
(obj.hairColor = message.hairColor ? colors_gen_1.Color3.toJSON(message.hairColor) : undefined);
|
|
116
|
+
message.bodyShapeUrn !== undefined && (obj.bodyShapeUrn = message.bodyShapeUrn);
|
|
117
|
+
message.name !== undefined && (obj.name = message.name);
|
|
118
|
+
message.talking !== undefined && (obj.talking = message.talking);
|
|
119
|
+
return obj;
|
|
120
|
+
}
|
|
121
|
+
PBAvatarBase.toJSON = toJSON;
|
|
122
|
+
function create(base) {
|
|
123
|
+
return PBAvatarBase.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
124
|
+
}
|
|
125
|
+
PBAvatarBase.create = create;
|
|
126
|
+
function fromPartial(object) {
|
|
127
|
+
var _a, _b, _c;
|
|
128
|
+
const message = createBasePBAvatarBase();
|
|
129
|
+
message.skinColor = (object.skinColor !== undefined && object.skinColor !== null)
|
|
130
|
+
? colors_gen_1.Color3.fromPartial(object.skinColor)
|
|
131
|
+
: undefined;
|
|
132
|
+
message.eyesColor = (object.eyesColor !== undefined && object.eyesColor !== null)
|
|
133
|
+
? colors_gen_1.Color3.fromPartial(object.eyesColor)
|
|
134
|
+
: undefined;
|
|
135
|
+
message.hairColor = (object.hairColor !== undefined && object.hairColor !== null)
|
|
136
|
+
? colors_gen_1.Color3.fromPartial(object.hairColor)
|
|
137
|
+
: undefined;
|
|
138
|
+
message.bodyShapeUrn = (_a = object.bodyShapeUrn) !== null && _a !== void 0 ? _a : "";
|
|
139
|
+
message.name = (_b = object.name) !== null && _b !== void 0 ? _b : "";
|
|
140
|
+
message.talking = (_c = object.talking) !== null && _c !== void 0 ? _c : undefined;
|
|
141
|
+
return message;
|
|
142
|
+
}
|
|
143
|
+
PBAvatarBase.fromPartial = fromPartial;
|
|
144
|
+
})(PBAvatarBase || (exports.PBAvatarBase = PBAvatarBase = {}));
|
|
145
|
+
function isSet(value) {
|
|
146
|
+
return value !== null && value !== undefined;
|
|
147
|
+
}
|
|
148
|
+
//# sourceMappingURL=avatar_base.gen.js.map
|
|
@@ -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;AAa7D,SAAS,sBAAsB;IAC7B,OAAO;QACL,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,SAAS;QACpB,SAAS,EAAE,SAAS;QACpB,YAAY,EA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CAAC,IAAI,mCAAI,EAAE,CAAC;QACjC,OAAO,CAAC,OAAO,GAAG,MAAA,MAAM,CAAC,OAAO,mCAAI,SAAS,CAAC;QAC9C,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,wBAAW,cAe1B,CAAA;AACH,CAAC,EA9HgB,YAAY,4BAAZ,YAAY,QA8H5B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { AvatarMask } from "./common/avatar_mask.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
4
|
+
/** EmoteState describes the lifecycle state of an emote playback. */
|
|
5
|
+
export declare enum EmoteState {
|
|
6
|
+
/**
|
|
7
|
+
* ES_STARTED - ES_STARTED indicates the emote started playing.
|
|
8
|
+
* This is the zero value and is used for backward compatibility — entries
|
|
9
|
+
* written by older explorers (field absent) read as "started".
|
|
10
|
+
*/
|
|
11
|
+
ES_STARTED = 0,
|
|
12
|
+
/** ES_FINISHED - ES_FINISHED indicates a non-looping emote completed naturally. */
|
|
13
|
+
ES_FINISHED = 1,
|
|
14
|
+
/**
|
|
15
|
+
* ES_INTERRUPTED - ES_INTERRUPTED indicates playback was cancelled (movement, teleport,
|
|
16
|
+
* another emote superseding it, explicit stop, or scene change).
|
|
17
|
+
*/
|
|
18
|
+
ES_INTERRUPTED = 2,
|
|
19
|
+
UNRECOGNIZED = -1
|
|
20
|
+
}
|
|
21
|
+
export declare function emoteStateFromJSON(object: any): EmoteState;
|
|
22
|
+
export declare function emoteStateToJSON(object: EmoteState): string;
|
|
23
|
+
/**
|
|
24
|
+
* AvatarEmoteCommand is a grow only value set, written by the explorer to report
|
|
25
|
+
* avatar emote playback to the scene. It is appended to every player entity in the
|
|
26
|
+
* scene (the local player and remote avatars alike).
|
|
27
|
+
*/
|
|
28
|
+
export interface PBAvatarEmoteCommand {
|
|
29
|
+
emoteUrn: string;
|
|
30
|
+
loop: boolean;
|
|
31
|
+
/** monotonic counter */
|
|
32
|
+
timestamp: number;
|
|
33
|
+
mask?: AvatarMask | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* state describes the lifecycle event for this emote entry.
|
|
36
|
+
* When absent (older explorers), defaults to ES_STARTED.
|
|
37
|
+
*/
|
|
38
|
+
state?: EmoteState | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare namespace PBAvatarEmoteCommand {
|
|
41
|
+
function encode(message: PBAvatarEmoteCommand, writer?: _m0.Writer): _m0.Writer;
|
|
42
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarEmoteCommand;
|
|
43
|
+
function fromJSON(object: any): PBAvatarEmoteCommand;
|
|
44
|
+
function toJSON(message: PBAvatarEmoteCommand): unknown;
|
|
45
|
+
function create<I extends Exact<DeepPartial<PBAvatarEmoteCommand>, I>>(base?: I): PBAvatarEmoteCommand;
|
|
46
|
+
function fromPartial<I extends Exact<DeepPartial<PBAvatarEmoteCommand>, I>>(object: I): PBAvatarEmoteCommand;
|
|
47
|
+
}
|
|
48
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
49
|
+
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 {
|
|
50
|
+
$case: string;
|
|
51
|
+
} ? {
|
|
52
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
53
|
+
} & {
|
|
54
|
+
$case: T["$case"];
|
|
55
|
+
} : T extends {} ? {
|
|
56
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
57
|
+
} : Partial<T>;
|
|
58
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
59
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
60
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
61
|
+
} & {
|
|
62
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
63
|
+
};
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,171 @@
|
|
|
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.EmoteState = exports.protobufPackage = void 0;
|
|
7
|
+
exports.emoteStateFromJSON = emoteStateFromJSON;
|
|
8
|
+
exports.emoteStateToJSON = emoteStateToJSON;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
11
|
+
const avatar_mask_gen_1 = require("./common/avatar_mask.gen");
|
|
12
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
13
|
+
/** EmoteState describes the lifecycle state of an emote playback. */
|
|
14
|
+
var EmoteState;
|
|
15
|
+
(function (EmoteState) {
|
|
16
|
+
/**
|
|
17
|
+
* ES_STARTED - ES_STARTED indicates the emote started playing.
|
|
18
|
+
* This is the zero value and is used for backward compatibility — entries
|
|
19
|
+
* written by older explorers (field absent) read as "started".
|
|
20
|
+
*/
|
|
21
|
+
EmoteState[EmoteState["ES_STARTED"] = 0] = "ES_STARTED";
|
|
22
|
+
/** ES_FINISHED - ES_FINISHED indicates a non-looping emote completed naturally. */
|
|
23
|
+
EmoteState[EmoteState["ES_FINISHED"] = 1] = "ES_FINISHED";
|
|
24
|
+
/**
|
|
25
|
+
* ES_INTERRUPTED - ES_INTERRUPTED indicates playback was cancelled (movement, teleport,
|
|
26
|
+
* another emote superseding it, explicit stop, or scene change).
|
|
27
|
+
*/
|
|
28
|
+
EmoteState[EmoteState["ES_INTERRUPTED"] = 2] = "ES_INTERRUPTED";
|
|
29
|
+
EmoteState[EmoteState["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
30
|
+
})(EmoteState || (exports.EmoteState = EmoteState = {}));
|
|
31
|
+
function emoteStateFromJSON(object) {
|
|
32
|
+
switch (object) {
|
|
33
|
+
case 0:
|
|
34
|
+
case "ES_STARTED":
|
|
35
|
+
return EmoteState.ES_STARTED;
|
|
36
|
+
case 1:
|
|
37
|
+
case "ES_FINISHED":
|
|
38
|
+
return EmoteState.ES_FINISHED;
|
|
39
|
+
case 2:
|
|
40
|
+
case "ES_INTERRUPTED":
|
|
41
|
+
return EmoteState.ES_INTERRUPTED;
|
|
42
|
+
case -1:
|
|
43
|
+
case "UNRECOGNIZED":
|
|
44
|
+
default:
|
|
45
|
+
return EmoteState.UNRECOGNIZED;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function emoteStateToJSON(object) {
|
|
49
|
+
switch (object) {
|
|
50
|
+
case EmoteState.ES_STARTED:
|
|
51
|
+
return "ES_STARTED";
|
|
52
|
+
case EmoteState.ES_FINISHED:
|
|
53
|
+
return "ES_FINISHED";
|
|
54
|
+
case EmoteState.ES_INTERRUPTED:
|
|
55
|
+
return "ES_INTERRUPTED";
|
|
56
|
+
case EmoteState.UNRECOGNIZED:
|
|
57
|
+
default:
|
|
58
|
+
return "UNRECOGNIZED";
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function createBasePBAvatarEmoteCommand() {
|
|
62
|
+
return { emoteUrn: "", loop: false, timestamp: 0, mask: undefined, state: undefined };
|
|
63
|
+
}
|
|
64
|
+
var PBAvatarEmoteCommand;
|
|
65
|
+
(function (PBAvatarEmoteCommand) {
|
|
66
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
67
|
+
if (message.emoteUrn !== "") {
|
|
68
|
+
writer.uint32(10).string(message.emoteUrn);
|
|
69
|
+
}
|
|
70
|
+
if (message.loop === true) {
|
|
71
|
+
writer.uint32(16).bool(message.loop);
|
|
72
|
+
}
|
|
73
|
+
if (message.timestamp !== 0) {
|
|
74
|
+
writer.uint32(24).uint32(message.timestamp);
|
|
75
|
+
}
|
|
76
|
+
if (message.mask !== undefined) {
|
|
77
|
+
writer.uint32(32).int32(message.mask);
|
|
78
|
+
}
|
|
79
|
+
if (message.state !== undefined) {
|
|
80
|
+
writer.uint32(40).int32(message.state);
|
|
81
|
+
}
|
|
82
|
+
return writer;
|
|
83
|
+
}
|
|
84
|
+
PBAvatarEmoteCommand.encode = encode;
|
|
85
|
+
function decode(input, length) {
|
|
86
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
87
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
88
|
+
const message = createBasePBAvatarEmoteCommand();
|
|
89
|
+
while (reader.pos < end) {
|
|
90
|
+
const tag = reader.uint32();
|
|
91
|
+
switch (tag >>> 3) {
|
|
92
|
+
case 1:
|
|
93
|
+
if (tag !== 10) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.emoteUrn = reader.string();
|
|
97
|
+
continue;
|
|
98
|
+
case 2:
|
|
99
|
+
if (tag !== 16) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.loop = reader.bool();
|
|
103
|
+
continue;
|
|
104
|
+
case 3:
|
|
105
|
+
if (tag !== 24) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
message.timestamp = reader.uint32();
|
|
109
|
+
continue;
|
|
110
|
+
case 4:
|
|
111
|
+
if (tag !== 32) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
message.mask = reader.int32();
|
|
115
|
+
continue;
|
|
116
|
+
case 5:
|
|
117
|
+
if (tag !== 40) {
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
message.state = reader.int32();
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
123
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
reader.skipType(tag & 7);
|
|
127
|
+
}
|
|
128
|
+
return message;
|
|
129
|
+
}
|
|
130
|
+
PBAvatarEmoteCommand.decode = decode;
|
|
131
|
+
function fromJSON(object) {
|
|
132
|
+
return {
|
|
133
|
+
emoteUrn: isSet(object.emoteUrn) ? String(object.emoteUrn) : "",
|
|
134
|
+
loop: isSet(object.loop) ? Boolean(object.loop) : false,
|
|
135
|
+
timestamp: isSet(object.timestamp) ? Number(object.timestamp) : 0,
|
|
136
|
+
mask: isSet(object.mask) ? (0, avatar_mask_gen_1.avatarMaskFromJSON)(object.mask) : undefined,
|
|
137
|
+
state: isSet(object.state) ? emoteStateFromJSON(object.state) : undefined,
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
PBAvatarEmoteCommand.fromJSON = fromJSON;
|
|
141
|
+
function toJSON(message) {
|
|
142
|
+
const obj = {};
|
|
143
|
+
message.emoteUrn !== undefined && (obj.emoteUrn = message.emoteUrn);
|
|
144
|
+
message.loop !== undefined && (obj.loop = message.loop);
|
|
145
|
+
message.timestamp !== undefined && (obj.timestamp = Math.round(message.timestamp));
|
|
146
|
+
message.mask !== undefined && (obj.mask = message.mask !== undefined ? (0, avatar_mask_gen_1.avatarMaskToJSON)(message.mask) : undefined);
|
|
147
|
+
message.state !== undefined &&
|
|
148
|
+
(obj.state = message.state !== undefined ? emoteStateToJSON(message.state) : undefined);
|
|
149
|
+
return obj;
|
|
150
|
+
}
|
|
151
|
+
PBAvatarEmoteCommand.toJSON = toJSON;
|
|
152
|
+
function create(base) {
|
|
153
|
+
return PBAvatarEmoteCommand.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
154
|
+
}
|
|
155
|
+
PBAvatarEmoteCommand.create = create;
|
|
156
|
+
function fromPartial(object) {
|
|
157
|
+
var _a, _b, _c, _d, _e;
|
|
158
|
+
const message = createBasePBAvatarEmoteCommand();
|
|
159
|
+
message.emoteUrn = (_a = object.emoteUrn) !== null && _a !== void 0 ? _a : "";
|
|
160
|
+
message.loop = (_b = object.loop) !== null && _b !== void 0 ? _b : false;
|
|
161
|
+
message.timestamp = (_c = object.timestamp) !== null && _c !== void 0 ? _c : 0;
|
|
162
|
+
message.mask = (_d = object.mask) !== null && _d !== void 0 ? _d : undefined;
|
|
163
|
+
message.state = (_e = object.state) !== null && _e !== void 0 ? _e : undefined;
|
|
164
|
+
return message;
|
|
165
|
+
}
|
|
166
|
+
PBAvatarEmoteCommand.fromPartial = fromPartial;
|
|
167
|
+
})(PBAvatarEmoteCommand || (exports.PBAvatarEmoteCommand = PBAvatarEmoteCommand = {}));
|
|
168
|
+
function isSet(value) {
|
|
169
|
+
return value !== null && value !== undefined;
|
|
170
|
+
}
|
|
171
|
+
//# 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":";;;;;;AAwBA,gDAgBC;AAED,4CAYC;AAtDD,oBAAoB;AACpB,iEAAqC;AACrC,8DAA4F;AAE/E,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAE7D,qEAAqE;AACrE,IAAY,UAeX;AAfD,WAAY,UAAU;IACpB;;;;OAIG;IACH,uDAAc,CAAA;IACd,mFAAmF;IACnF,yDAAe,CAAA;IACf;;;OAGG;IACH,+DAAkB,CAAA;IAClB,4DAAiB,CAAA;AACnB,CAAC,EAfW,UAAU,0BAAV,UAAU,QAerB;AAED,SAAgB,kBAAkB,CAAC,MAAW;IAC5C,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,CAAC,CAAC;QACP,KAAK,YAAY;YACf,OAAO,UAAU,CAAC,UAAU,CAAC;QAC/B,KAAK,CAAC,CAAC;QACP,KAAK,aAAa;YAChB,OAAO,UAAU,CAAC,WAAW,CAAC;QAChC,KAAK,CAAC,CAAC;QACP,KAAK,gBAAgB;YACnB,OAAO,UAAU,CAAC,cAAc,CAAC;QACn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AI,EAAE,CAAC,CAAC;IACtD,CAAC;IAFe,2BAAM,SAErB,CAAA;IAED,SAAgB,WAAW,CAAwD,MAAS;;QAC1F,MAAM,OAAO,GAAG,8BAA8B,EAAE,CAAC;QACjD,OAAO,CAAC,QAAQ,GAAG,MAAA,MAAM,CAAC,QAAQ,mCAAI,EAAE,CAAC;QACzC,OAAO,CAAC,IAAI,GAAG,MAAA,MAAM,CAAC,IAAI,mCAAI,KAAK,CAAC;QACpC,OAAO,CAAC,SAAS,GAAG,MAAA,MAAM,CAAC,SAAS,mCAAI,CAAC,CAAC;QAC1C,OAAO,CAAC,IAAI,GAAG,MAAA,MAAM,CAAC,IAAI,mCAAI,SAAS,CAAC;QACxC,OAAO,CAAC,KAAK,GAAG,MAAA,MAAM,CAAC,KAAK,mCAAI,SAAS,CAAC;QAC1C,OAAO,OAAO,CAAC;IACjB,CAAC;IARe,gCAAW,cAQ1B,CAAA;AACH,CAAC,EAzGgB,oBAAoB,oCAApB,oBAAoB,QAyGpC;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
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,oBAAoB;IACnC,SAAgB,MAAM,CAAC,OAA6B,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC5F,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;YACrC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAE,CAAC,CAAC;QAC/B,CAAC;QACD,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,SAAS,EAAE,CAAC;YAClC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAE,CAAC,CAAC;QAC/B,CAAC;QACD,KAAK,MAAM,CAAC,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC;YACpC,MAAM,CAA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E,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,51 @@
|
|
|
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
|
+
/** Height of the double jump (in meters) */
|
|
21
|
+
doubleJumpHeight?: number | undefined;
|
|
22
|
+
/** Maximum speed when gliding (in meters per second) */
|
|
23
|
+
glidingSpeed?: number | undefined;
|
|
24
|
+
/** Maximum falling speed when gliding (in meters per second) */
|
|
25
|
+
glidingFallingSpeed?: number | undefined;
|
|
26
|
+
}
|
|
27
|
+
export declare namespace PBAvatarLocomotionSettings {
|
|
28
|
+
function encode(message: PBAvatarLocomotionSettings, writer?: _m0.Writer): _m0.Writer;
|
|
29
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBAvatarLocomotionSettings;
|
|
30
|
+
function fromJSON(object: any): PBAvatarLocomotionSettings;
|
|
31
|
+
function toJSON(message: PBAvatarLocomotionSettings): unknown;
|
|
32
|
+
function create<I extends Exact<DeepPartial<PBAvatarLocomotionSettings>, I>>(base?: I): PBAvatarLocomotionSettings;
|
|
33
|
+
function fromPartial<I extends Exact<DeepPartial<PBAvatarLocomotionSettings>, I>>(object: I): PBAvatarLocomotionSettings;
|
|
34
|
+
}
|
|
35
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
36
|
+
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 {
|
|
37
|
+
$case: string;
|
|
38
|
+
} ? {
|
|
39
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
40
|
+
} & {
|
|
41
|
+
$case: T["$case"];
|
|
42
|
+
} : T extends {} ? {
|
|
43
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
44
|
+
} : Partial<T>;
|
|
45
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
46
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
47
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
48
|
+
} & {
|
|
49
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
50
|
+
};
|
|
51
|
+
export {};
|