@dcl/protocol 1.0.0-3583035976.commit-35d616d → 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/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/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 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text_shape.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/text_shape.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,wDAAyD;AACzD,kDAO4B;AAEf,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAiG7D,SAAS,qBAAqB;IAC5B,OAAO;QACL,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE,SAAS;QACnB,YAAY,EAAE,SAAS;QACvB,SAAS,EAAE,SAAS;QACpB,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,SAAS;QACrB,YAAY,EAAE,SAAS;QACvB,aAAa,EAAE,SAAS;QACxB,WAAW,EAAE,SAAS;QACtB,WAAW,EAAE,SAAS;QACtB,SAAS,EAAE,SAAS;QACpB,YAAY,EAAE,SAAS;QACvB,UAAU,EAAE,SAAS;QACrB,aAAa,EAAE,SAAS;QACxB,aAAa,EAAE,SAAS;QACxB,YAAY,EAAE,SAAS;QACvB,WAAW,EAAE,SAAS;QACtB,YAAY,EAAE,SAAS;QACvB,SAAS,EAAE,SAAS;QACpB,OAAO,EAAE,SAAS;KACnB,CAAC;AACJ,CAAC;AAED,IAAiB,WAAW,CA+U3B;AA/UD,WAAiB,WAAW;IAC1B,SAAgB,MAAM,CAAC,OAAoB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACnF,IAAI,OAAO,CAAC,IAAI,KAAK,EAAE,EAAE,CAAC;YACxB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACzC,CAAC;QACD,IAAI,OAAO,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;YAC/B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,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OAAO,CAAC;IACjB,CAAC;IA/Be,uBAAW,cA+B1B,CAAA;AACH,CAAC,EA/UgB,WAAW,2BAAX,WAAW,QA+U3B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Color4 } from "../../common/colors.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
4
|
+
export interface PBTextureCamera {
|
|
5
|
+
/** rendered texture width */
|
|
6
|
+
width?: number | undefined;
|
|
7
|
+
/** rendered texture height */
|
|
8
|
+
height?: number | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
|
|
11
|
+
* defaults to 0
|
|
12
|
+
*/
|
|
13
|
+
layer?: number | undefined;
|
|
14
|
+
/** default black */
|
|
15
|
+
clearColor?: Color4 | undefined;
|
|
16
|
+
/** default infinity */
|
|
17
|
+
farPlane?: number | undefined;
|
|
18
|
+
mode?: {
|
|
19
|
+
$case: "perspective";
|
|
20
|
+
perspective: Perspective;
|
|
21
|
+
} | {
|
|
22
|
+
$case: "orthographic";
|
|
23
|
+
orthographic: Orthographic;
|
|
24
|
+
} | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* controls whether this camera acts as a receiver for audio on sources with matching `PBCameraLayers`.
|
|
27
|
+
* range: 0 (off) - 1 (full volume)
|
|
28
|
+
* default: 0
|
|
29
|
+
*/
|
|
30
|
+
volume?: number | undefined;
|
|
31
|
+
}
|
|
32
|
+
export interface Perspective {
|
|
33
|
+
/**
|
|
34
|
+
* vertical field of view in radians
|
|
35
|
+
* defaults to pi/4 = 45 degrees
|
|
36
|
+
*/
|
|
37
|
+
fieldOfView?: number | undefined;
|
|
38
|
+
}
|
|
39
|
+
export interface Orthographic {
|
|
40
|
+
/**
|
|
41
|
+
* vertical extent of the visible range in meters
|
|
42
|
+
* defaults to 4m
|
|
43
|
+
*/
|
|
44
|
+
verticalRange?: number | undefined;
|
|
45
|
+
}
|
|
46
|
+
export declare namespace PBTextureCamera {
|
|
47
|
+
function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
48
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
49
|
+
function fromJSON(object: any): PBTextureCamera;
|
|
50
|
+
function toJSON(message: PBTextureCamera): unknown;
|
|
51
|
+
function create<I extends Exact<DeepPartial<PBTextureCamera>, I>>(base?: I): PBTextureCamera;
|
|
52
|
+
function fromPartial<I extends Exact<DeepPartial<PBTextureCamera>, I>>(object: I): PBTextureCamera;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace Perspective {
|
|
55
|
+
function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
56
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
57
|
+
function fromJSON(object: any): Perspective;
|
|
58
|
+
function toJSON(message: Perspective): unknown;
|
|
59
|
+
function create<I extends Exact<DeepPartial<Perspective>, I>>(base?: I): Perspective;
|
|
60
|
+
function fromPartial<I extends Exact<DeepPartial<Perspective>, I>>(object: I): Perspective;
|
|
61
|
+
}
|
|
62
|
+
export declare namespace Orthographic {
|
|
63
|
+
function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
64
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
65
|
+
function fromJSON(object: any): Orthographic;
|
|
66
|
+
function toJSON(message: Orthographic): unknown;
|
|
67
|
+
function create<I extends Exact<DeepPartial<Orthographic>, I>>(base?: I): Orthographic;
|
|
68
|
+
function fromPartial<I extends Exact<DeepPartial<Orthographic>, I>>(object: I): Orthographic;
|
|
69
|
+
}
|
|
70
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
71
|
+
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 {
|
|
72
|
+
$case: string;
|
|
73
|
+
} ? {
|
|
74
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
75
|
+
} & {
|
|
76
|
+
$case: T["$case"];
|
|
77
|
+
} : T extends {} ? {
|
|
78
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
79
|
+
} : Partial<T>;
|
|
80
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
81
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
82
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
83
|
+
} & {
|
|
84
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
85
|
+
};
|
|
86
|
+
export {};
|
|
@@ -0,0 +1,296 @@
|
|
|
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.Orthographic = exports.Perspective = exports.PBTextureCamera = 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 createBasePBTextureCamera() {
|
|
12
|
+
return {
|
|
13
|
+
width: undefined,
|
|
14
|
+
height: undefined,
|
|
15
|
+
layer: undefined,
|
|
16
|
+
clearColor: undefined,
|
|
17
|
+
farPlane: undefined,
|
|
18
|
+
mode: undefined,
|
|
19
|
+
volume: undefined,
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
var PBTextureCamera;
|
|
23
|
+
(function (PBTextureCamera) {
|
|
24
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
25
|
+
var _a;
|
|
26
|
+
if (message.width !== undefined) {
|
|
27
|
+
writer.uint32(8).uint32(message.width);
|
|
28
|
+
}
|
|
29
|
+
if (message.height !== undefined) {
|
|
30
|
+
writer.uint32(16).uint32(message.height);
|
|
31
|
+
}
|
|
32
|
+
if (message.layer !== undefined) {
|
|
33
|
+
writer.uint32(24).uint32(message.layer);
|
|
34
|
+
}
|
|
35
|
+
if (message.clearColor !== undefined) {
|
|
36
|
+
colors_gen_1.Color4.encode(message.clearColor, writer.uint32(50).fork()).ldelim();
|
|
37
|
+
}
|
|
38
|
+
if (message.farPlane !== undefined) {
|
|
39
|
+
writer.uint32(61).float(message.farPlane);
|
|
40
|
+
}
|
|
41
|
+
switch ((_a = message.mode) === null || _a === void 0 ? void 0 : _a.$case) {
|
|
42
|
+
case "perspective":
|
|
43
|
+
Perspective.encode(message.mode.perspective, writer.uint32(66).fork()).ldelim();
|
|
44
|
+
break;
|
|
45
|
+
case "orthographic":
|
|
46
|
+
Orthographic.encode(message.mode.orthographic, writer.uint32(74).fork()).ldelim();
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
if (message.volume !== undefined) {
|
|
50
|
+
writer.uint32(85).float(message.volume);
|
|
51
|
+
}
|
|
52
|
+
return writer;
|
|
53
|
+
}
|
|
54
|
+
PBTextureCamera.encode = encode;
|
|
55
|
+
function decode(input, length) {
|
|
56
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
57
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
58
|
+
const message = createBasePBTextureCamera();
|
|
59
|
+
while (reader.pos < end) {
|
|
60
|
+
const tag = reader.uint32();
|
|
61
|
+
switch (tag >>> 3) {
|
|
62
|
+
case 1:
|
|
63
|
+
if (tag !== 8) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.width = reader.uint32();
|
|
67
|
+
continue;
|
|
68
|
+
case 2:
|
|
69
|
+
if (tag !== 16) {
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
message.height = reader.uint32();
|
|
73
|
+
continue;
|
|
74
|
+
case 3:
|
|
75
|
+
if (tag !== 24) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.layer = reader.uint32();
|
|
79
|
+
continue;
|
|
80
|
+
case 6:
|
|
81
|
+
if (tag !== 50) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
message.clearColor = colors_gen_1.Color4.decode(reader, reader.uint32());
|
|
85
|
+
continue;
|
|
86
|
+
case 7:
|
|
87
|
+
if (tag !== 61) {
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
message.farPlane = reader.float();
|
|
91
|
+
continue;
|
|
92
|
+
case 8:
|
|
93
|
+
if (tag !== 66) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.mode = { $case: "perspective", perspective: Perspective.decode(reader, reader.uint32()) };
|
|
97
|
+
continue;
|
|
98
|
+
case 9:
|
|
99
|
+
if (tag !== 74) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.mode = { $case: "orthographic", orthographic: Orthographic.decode(reader, reader.uint32()) };
|
|
103
|
+
continue;
|
|
104
|
+
case 10:
|
|
105
|
+
if (tag !== 85) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
message.volume = reader.float();
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
reader.skipType(tag & 7);
|
|
115
|
+
}
|
|
116
|
+
return message;
|
|
117
|
+
}
|
|
118
|
+
PBTextureCamera.decode = decode;
|
|
119
|
+
function fromJSON(object) {
|
|
120
|
+
return {
|
|
121
|
+
width: isSet(object.width) ? Number(object.width) : undefined,
|
|
122
|
+
height: isSet(object.height) ? Number(object.height) : undefined,
|
|
123
|
+
layer: isSet(object.layer) ? Number(object.layer) : undefined,
|
|
124
|
+
clearColor: isSet(object.clearColor) ? colors_gen_1.Color4.fromJSON(object.clearColor) : undefined,
|
|
125
|
+
farPlane: isSet(object.farPlane) ? Number(object.farPlane) : undefined,
|
|
126
|
+
mode: isSet(object.perspective)
|
|
127
|
+
? { $case: "perspective", perspective: Perspective.fromJSON(object.perspective) }
|
|
128
|
+
: isSet(object.orthographic)
|
|
129
|
+
? { $case: "orthographic", orthographic: Orthographic.fromJSON(object.orthographic) }
|
|
130
|
+
: undefined,
|
|
131
|
+
volume: isSet(object.volume) ? Number(object.volume) : undefined,
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
PBTextureCamera.fromJSON = fromJSON;
|
|
135
|
+
function toJSON(message) {
|
|
136
|
+
var _a, _b, _c, _d, _e, _f;
|
|
137
|
+
const obj = {};
|
|
138
|
+
message.width !== undefined && (obj.width = Math.round(message.width));
|
|
139
|
+
message.height !== undefined && (obj.height = Math.round(message.height));
|
|
140
|
+
message.layer !== undefined && (obj.layer = Math.round(message.layer));
|
|
141
|
+
message.clearColor !== undefined &&
|
|
142
|
+
(obj.clearColor = message.clearColor ? colors_gen_1.Color4.toJSON(message.clearColor) : undefined);
|
|
143
|
+
message.farPlane !== undefined && (obj.farPlane = message.farPlane);
|
|
144
|
+
((_a = message.mode) === null || _a === void 0 ? void 0 : _a.$case) === "perspective" &&
|
|
145
|
+
(obj.perspective = ((_b = message.mode) === null || _b === void 0 ? void 0 : _b.perspective) ? Perspective.toJSON((_c = message.mode) === null || _c === void 0 ? void 0 : _c.perspective) : undefined);
|
|
146
|
+
((_d = message.mode) === null || _d === void 0 ? void 0 : _d.$case) === "orthographic" &&
|
|
147
|
+
(obj.orthographic = ((_e = message.mode) === null || _e === void 0 ? void 0 : _e.orthographic) ? Orthographic.toJSON((_f = message.mode) === null || _f === void 0 ? void 0 : _f.orthographic) : undefined);
|
|
148
|
+
message.volume !== undefined && (obj.volume = message.volume);
|
|
149
|
+
return obj;
|
|
150
|
+
}
|
|
151
|
+
PBTextureCamera.toJSON = toJSON;
|
|
152
|
+
function create(base) {
|
|
153
|
+
return PBTextureCamera.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
154
|
+
}
|
|
155
|
+
PBTextureCamera.create = create;
|
|
156
|
+
function fromPartial(object) {
|
|
157
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
158
|
+
const message = createBasePBTextureCamera();
|
|
159
|
+
message.width = (_a = object.width) !== null && _a !== void 0 ? _a : undefined;
|
|
160
|
+
message.height = (_b = object.height) !== null && _b !== void 0 ? _b : undefined;
|
|
161
|
+
message.layer = (_c = object.layer) !== null && _c !== void 0 ? _c : undefined;
|
|
162
|
+
message.clearColor = (object.clearColor !== undefined && object.clearColor !== null)
|
|
163
|
+
? colors_gen_1.Color4.fromPartial(object.clearColor)
|
|
164
|
+
: undefined;
|
|
165
|
+
message.farPlane = (_d = object.farPlane) !== null && _d !== void 0 ? _d : undefined;
|
|
166
|
+
if (((_e = object.mode) === null || _e === void 0 ? void 0 : _e.$case) === "perspective" &&
|
|
167
|
+
((_f = object.mode) === null || _f === void 0 ? void 0 : _f.perspective) !== undefined &&
|
|
168
|
+
((_g = object.mode) === null || _g === void 0 ? void 0 : _g.perspective) !== null) {
|
|
169
|
+
message.mode = { $case: "perspective", perspective: Perspective.fromPartial(object.mode.perspective) };
|
|
170
|
+
}
|
|
171
|
+
if (((_h = object.mode) === null || _h === void 0 ? void 0 : _h.$case) === "orthographic" &&
|
|
172
|
+
((_j = object.mode) === null || _j === void 0 ? void 0 : _j.orthographic) !== undefined &&
|
|
173
|
+
((_k = object.mode) === null || _k === void 0 ? void 0 : _k.orthographic) !== null) {
|
|
174
|
+
message.mode = { $case: "orthographic", orthographic: Orthographic.fromPartial(object.mode.orthographic) };
|
|
175
|
+
}
|
|
176
|
+
message.volume = (_l = object.volume) !== null && _l !== void 0 ? _l : undefined;
|
|
177
|
+
return message;
|
|
178
|
+
}
|
|
179
|
+
PBTextureCamera.fromPartial = fromPartial;
|
|
180
|
+
})(PBTextureCamera || (exports.PBTextureCamera = PBTextureCamera = {}));
|
|
181
|
+
function createBasePerspective() {
|
|
182
|
+
return { fieldOfView: undefined };
|
|
183
|
+
}
|
|
184
|
+
var Perspective;
|
|
185
|
+
(function (Perspective) {
|
|
186
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
187
|
+
if (message.fieldOfView !== undefined) {
|
|
188
|
+
writer.uint32(13).float(message.fieldOfView);
|
|
189
|
+
}
|
|
190
|
+
return writer;
|
|
191
|
+
}
|
|
192
|
+
Perspective.encode = encode;
|
|
193
|
+
function decode(input, length) {
|
|
194
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
195
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
196
|
+
const message = createBasePerspective();
|
|
197
|
+
while (reader.pos < end) {
|
|
198
|
+
const tag = reader.uint32();
|
|
199
|
+
switch (tag >>> 3) {
|
|
200
|
+
case 1:
|
|
201
|
+
if (tag !== 13) {
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
message.fieldOfView = reader.float();
|
|
205
|
+
continue;
|
|
206
|
+
}
|
|
207
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
208
|
+
break;
|
|
209
|
+
}
|
|
210
|
+
reader.skipType(tag & 7);
|
|
211
|
+
}
|
|
212
|
+
return message;
|
|
213
|
+
}
|
|
214
|
+
Perspective.decode = decode;
|
|
215
|
+
function fromJSON(object) {
|
|
216
|
+
return { fieldOfView: isSet(object.fieldOfView) ? Number(object.fieldOfView) : undefined };
|
|
217
|
+
}
|
|
218
|
+
Perspective.fromJSON = fromJSON;
|
|
219
|
+
function toJSON(message) {
|
|
220
|
+
const obj = {};
|
|
221
|
+
message.fieldOfView !== undefined && (obj.fieldOfView = message.fieldOfView);
|
|
222
|
+
return obj;
|
|
223
|
+
}
|
|
224
|
+
Perspective.toJSON = toJSON;
|
|
225
|
+
function create(base) {
|
|
226
|
+
return Perspective.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
227
|
+
}
|
|
228
|
+
Perspective.create = create;
|
|
229
|
+
function fromPartial(object) {
|
|
230
|
+
var _a;
|
|
231
|
+
const message = createBasePerspective();
|
|
232
|
+
message.fieldOfView = (_a = object.fieldOfView) !== null && _a !== void 0 ? _a : undefined;
|
|
233
|
+
return message;
|
|
234
|
+
}
|
|
235
|
+
Perspective.fromPartial = fromPartial;
|
|
236
|
+
})(Perspective || (exports.Perspective = Perspective = {}));
|
|
237
|
+
function createBaseOrthographic() {
|
|
238
|
+
return { verticalRange: undefined };
|
|
239
|
+
}
|
|
240
|
+
var Orthographic;
|
|
241
|
+
(function (Orthographic) {
|
|
242
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
243
|
+
if (message.verticalRange !== undefined) {
|
|
244
|
+
writer.uint32(13).float(message.verticalRange);
|
|
245
|
+
}
|
|
246
|
+
return writer;
|
|
247
|
+
}
|
|
248
|
+
Orthographic.encode = encode;
|
|
249
|
+
function decode(input, length) {
|
|
250
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
251
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
252
|
+
const message = createBaseOrthographic();
|
|
253
|
+
while (reader.pos < end) {
|
|
254
|
+
const tag = reader.uint32();
|
|
255
|
+
switch (tag >>> 3) {
|
|
256
|
+
case 1:
|
|
257
|
+
if (tag !== 13) {
|
|
258
|
+
break;
|
|
259
|
+
}
|
|
260
|
+
message.verticalRange = reader.float();
|
|
261
|
+
continue;
|
|
262
|
+
}
|
|
263
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
264
|
+
break;
|
|
265
|
+
}
|
|
266
|
+
reader.skipType(tag & 7);
|
|
267
|
+
}
|
|
268
|
+
return message;
|
|
269
|
+
}
|
|
270
|
+
Orthographic.decode = decode;
|
|
271
|
+
function fromJSON(object) {
|
|
272
|
+
return { verticalRange: isSet(object.verticalRange) ? Number(object.verticalRange) : undefined };
|
|
273
|
+
}
|
|
274
|
+
Orthographic.fromJSON = fromJSON;
|
|
275
|
+
function toJSON(message) {
|
|
276
|
+
const obj = {};
|
|
277
|
+
message.verticalRange !== undefined && (obj.verticalRange = message.verticalRange);
|
|
278
|
+
return obj;
|
|
279
|
+
}
|
|
280
|
+
Orthographic.toJSON = toJSON;
|
|
281
|
+
function create(base) {
|
|
282
|
+
return Orthographic.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
283
|
+
}
|
|
284
|
+
Orthographic.create = create;
|
|
285
|
+
function fromPartial(object) {
|
|
286
|
+
var _a;
|
|
287
|
+
const message = createBaseOrthographic();
|
|
288
|
+
message.verticalRange = (_a = object.verticalRange) !== null && _a !== void 0 ? _a : undefined;
|
|
289
|
+
return message;
|
|
290
|
+
}
|
|
291
|
+
Orthographic.fromPartial = fromPartial;
|
|
292
|
+
})(Orthographic || (exports.Orthographic = Orthographic = {}));
|
|
293
|
+
function isSet(value) {
|
|
294
|
+
return value !== null && value !== undefined;
|
|
295
|
+
}
|
|
296
|
+
//# sourceMappingURL=texture_camera.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"texture_camera.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/texture_camera.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AACrC,wDAAiD;AAEpC,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAoD7D,SAAS,yBAAyB;IAChC,OAAO;QACL,KAAK,EAAE,SAAS;QAChB,MAAM,EAAE,SAAS;QACjB,KAAK,EAAE,SAAS;QAChB,UAAU,EAAE,SAAS;QACrB,QAAQ,EAAE,SAAS;QACnB,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,SAAS;KAClB,CAAC;AACJ,CAAC;AAED,IAAiB,eAAe,CAqK/B;AArKD,WAAiB,eAAe;IAC9B,SAAgB,MAAM,CAA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AAgB,MAAM,CAAgD,IAAQ;QAC5E,OAAO,YAAY,CAAC,WAAW,CAAC,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAC,CAAC;IAC9C,CAAC;IAFe,mBAAM,SAErB,CAAA;IAED,SAAgB,WAAW,CAAgD,MAAS;;QAClF,MAAM,OAAO,GAAG,sBAAsB,EAAE,CAAC;QACzC,OAAO,CAAC,aAAa,GAAG,MAAA,MAAM,CAAC,aAAa,mCAAI,SAAS,CAAC;QAC1D,OAAO,OAAO,CAAC;IACjB,CAAC;IAJe,wBAAW,cAI1B,CAAA;AACH,CAAC,EAlDgB,YAAY,4BAAZ,YAAY,QAkD5B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { TextureUnion } from "../../common/texture.gen";
|
|
3
|
+
import { InputAction } from "./common/input_action.gen";
|
|
4
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
5
|
+
/**
|
|
6
|
+
* The TouchScreenControls component lets a scene configure the native on-screen touch
|
|
7
|
+
* controls (the mobile joystick + gamepad). It must be set on the RootEntity.
|
|
8
|
+
*
|
|
9
|
+
* By default every on-screen button is shown; list a button in `touch_inputs` with
|
|
10
|
+
* `hide = true` to remove it (declutter). `main_action` picks which action the large
|
|
11
|
+
* central button triggers, and `hide_joystick` removes the native virtual joystick. It is
|
|
12
|
+
* a no-op on platforms without native on-screen controls (e.g. desktop).
|
|
13
|
+
*
|
|
14
|
+
* Accepted actions: only the on-screen gamepad actions map to a button — `IA_POINTER`,
|
|
15
|
+
* `IA_PRIMARY`, `IA_SECONDARY`, `IA_JUMP`, and `IA_ACTION_3`..`IA_ACTION_6`. Any other
|
|
16
|
+
* `InputAction` (movement actions, `IA_ANY`, `IA_MODIFIER`, or unknown/future values) is
|
|
17
|
+
* ignored: a `TouchInput` entry naming a non-button action has no effect, and a `main_action`
|
|
18
|
+
* that isn't a valid gamepad action falls back to the default central button (`IA_JUMP`).
|
|
19
|
+
*/
|
|
20
|
+
export interface PBTouchScreenControls {
|
|
21
|
+
touchInputs: PBTouchScreenControls_TouchInput[];
|
|
22
|
+
/**
|
|
23
|
+
* The large central button's action. Only the gamepad actions are valid:
|
|
24
|
+
* jump / pointer / primary (E) / secondary (F) / action_3..action_6 (1/2/3/4).
|
|
25
|
+
* When unset, the default central button (jump) is kept.
|
|
26
|
+
*/
|
|
27
|
+
mainAction?: InputAction | undefined;
|
|
28
|
+
/** hide the native virtual joystick */
|
|
29
|
+
hideJoystick: boolean;
|
|
30
|
+
/** hide the on-screen crosshair / reticle */
|
|
31
|
+
hideCrosshair: boolean;
|
|
32
|
+
}
|
|
33
|
+
/** Per-button configuration. A button not listed here keeps its default (shown). */
|
|
34
|
+
export interface PBTouchScreenControls_TouchInput {
|
|
35
|
+
/** which on-screen button this configures */
|
|
36
|
+
inputAction: InputAction;
|
|
37
|
+
/** hide this button (default: shown) */
|
|
38
|
+
hide: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Override the button glyph with this texture. For the jump button it replaces all
|
|
41
|
+
* of its dynamic states (jump / double-jump / glide).
|
|
42
|
+
*/
|
|
43
|
+
icon?: TextureUnion | undefined;
|
|
44
|
+
}
|
|
45
|
+
export declare namespace PBTouchScreenControls {
|
|
46
|
+
function encode(message: PBTouchScreenControls, writer?: _m0.Writer): _m0.Writer;
|
|
47
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBTouchScreenControls;
|
|
48
|
+
function fromJSON(object: any): PBTouchScreenControls;
|
|
49
|
+
function toJSON(message: PBTouchScreenControls): unknown;
|
|
50
|
+
function create<I extends Exact<DeepPartial<PBTouchScreenControls>, I>>(base?: I): PBTouchScreenControls;
|
|
51
|
+
function fromPartial<I extends Exact<DeepPartial<PBTouchScreenControls>, I>>(object: I): PBTouchScreenControls;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace PBTouchScreenControls_TouchInput {
|
|
54
|
+
function encode(message: PBTouchScreenControls_TouchInput, writer?: _m0.Writer): _m0.Writer;
|
|
55
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBTouchScreenControls_TouchInput;
|
|
56
|
+
function fromJSON(object: any): PBTouchScreenControls_TouchInput;
|
|
57
|
+
function toJSON(message: PBTouchScreenControls_TouchInput): unknown;
|
|
58
|
+
function create<I extends Exact<DeepPartial<PBTouchScreenControls_TouchInput>, I>>(base?: I): PBTouchScreenControls_TouchInput;
|
|
59
|
+
function fromPartial<I extends Exact<DeepPartial<PBTouchScreenControls_TouchInput>, I>>(object: I): PBTouchScreenControls_TouchInput;
|
|
60
|
+
}
|
|
61
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
62
|
+
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 {
|
|
63
|
+
$case: string;
|
|
64
|
+
} ? {
|
|
65
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
66
|
+
} & {
|
|
67
|
+
$case: T["$case"];
|
|
68
|
+
} : T extends {} ? {
|
|
69
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
70
|
+
} : Partial<T>;
|
|
71
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
72
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
73
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
74
|
+
} & {
|
|
75
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
76
|
+
};
|
|
77
|
+
export {};
|