@dcl/protocol 1.0.0-3482040729.commit-4f0f6b5 → 1.0.0-34875307214.commit-1ca8fa7
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 +265 -5
- 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 +36 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +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 +813 -1608
- 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 +404 -241
- 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 +149 -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 +37 -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/rfc5/ws_comms.proto +6 -3
- 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 +15 -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 -7
- 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 -845
- 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/protocol.gen.ts +0 -267
- 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 -82
- package/proto/decentraland/bff/topics_service.proto +0 -34
- package/proto/decentraland/renderer/engine_interface.proto +0 -709
- package/proto/decentraland/renderer/protocol.proto +0 -21
- 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 -4
|
@@ -4,22 +4,16 @@ package decentraland.sdk.components;
|
|
|
4
4
|
|
|
5
5
|
import "decentraland/sdk/components/common/id.proto";
|
|
6
6
|
import "decentraland/sdk/components/common/input_action.proto";
|
|
7
|
-
import "decentraland/sdk/components/
|
|
8
|
-
import "decentraland/sdk/components/raycast_result.proto";
|
|
7
|
+
import "decentraland/sdk/components/common/raycast_hit.proto";
|
|
9
8
|
|
|
10
9
|
option (common.ecs_component_id) = 1063;
|
|
11
10
|
|
|
12
|
-
//
|
|
11
|
+
// renderer append a new object of this in each command, there can be many commands per frames
|
|
13
12
|
message PBPointerEventsResult {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
RaycastHit hit = 2;
|
|
21
|
-
PointerEventType state = 4;
|
|
22
|
-
int32 timestamp = 5; // could be a Lamport timestamp
|
|
23
|
-
optional float analog = 6; // if the input is analog then we store it here
|
|
24
|
-
}
|
|
13
|
+
common.InputAction button = 1; // identifier of the input
|
|
14
|
+
common.RaycastHit hit = 2;
|
|
15
|
+
common.PointerEventType state = 4;
|
|
16
|
+
uint32 timestamp = 5; // monotonic counter
|
|
17
|
+
optional float analog = 6; // if the input is analog then we store it here
|
|
18
|
+
uint32 tick_number = 7; // number of tick in which the event was produced, equals to EngineInfo.tick_number
|
|
25
19
|
}
|
|
@@ -4,6 +4,8 @@ package decentraland.sdk.components;
|
|
|
4
4
|
import "decentraland/sdk/components/common/id.proto";
|
|
5
5
|
option (common.ecs_component_id) = 1074;
|
|
6
6
|
|
|
7
|
+
// PointerLock indicates whether the mouse pointer is automatically following the camera’s point of
|
|
8
|
+
// focus (locked), or can move freely on the screen (unlocked).
|
|
7
9
|
message PBPointerLock {
|
|
8
|
-
bool is_pointer_locked = 1;
|
|
10
|
+
bool is_pointer_locked = 1; // whether the pointer is locked
|
|
9
11
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/common/vectors.proto";
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
|
|
7
|
+
option (common.ecs_component_id) = 1209;
|
|
8
|
+
|
|
9
|
+
// The PBPrimaryPointerInfo component provides information about the current state of the primary
|
|
10
|
+
// pointer input device (mouse, touch, gamepad, or VR controller). It tracks the pointer's position,
|
|
11
|
+
// movement, and interaction capabilities in both 2D screen space and 3D world space.
|
|
12
|
+
//
|
|
13
|
+
// This component is essential for:
|
|
14
|
+
// - Tracking cursor/pointer position and movement
|
|
15
|
+
// - Converting 2D screen coordinates to 3D world space interactions
|
|
16
|
+
// - Supporting multiple input methods (mouse, touch, gamepad, VR)
|
|
17
|
+
// - Enabling ray-based interactions for 3D object selection
|
|
18
|
+
//
|
|
19
|
+
// The component can be used to:
|
|
20
|
+
// - Implement drag-and-drop functionality
|
|
21
|
+
// - Handle touch interactions on mobile devices
|
|
22
|
+
// - Support gamepad navigation
|
|
23
|
+
// - Enable VR controller interactions
|
|
24
|
+
// - Convert screen coordinates to world space rays for 3D interactions
|
|
25
|
+
//
|
|
26
|
+
// Note: Touch, Pad, and Wand support, as well as dragging, will be added later.
|
|
27
|
+
message PBPrimaryPointerInfo {
|
|
28
|
+
optional PointerType pointer_type = 1; // The type of input device being used
|
|
29
|
+
optional decentraland.common.Vector2 screen_coordinates = 2; // Current position in screen space (pixels)
|
|
30
|
+
optional decentraland.common.Vector2 screen_delta = 3; // Movement since last frame (pixels)
|
|
31
|
+
// ray direction that can be used with the primary camera origin for
|
|
32
|
+
// raycasting from the cursor into the world
|
|
33
|
+
optional decentraland.common.Vector3 world_ray_direction = 4; // Direction vector for 3D ray casting
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// PointerType enumerates the different input devices that can be used for pointer interactions.
|
|
37
|
+
// Each type has specific characteristics and use cases in the virtual world.
|
|
38
|
+
enum PointerType {
|
|
39
|
+
POT_NONE = 0; // No pointer input
|
|
40
|
+
POT_MOUSE = 1; // Traditional mouse input
|
|
41
|
+
POT_PAD = 2;
|
|
42
|
+
POT_TOUCH = 3;
|
|
43
|
+
POT_WAND = 4;
|
|
44
|
+
}
|
|
@@ -7,15 +7,65 @@ import "decentraland/sdk/components/common/id.proto";
|
|
|
7
7
|
|
|
8
8
|
option (common.ecs_component_id) = 1067;
|
|
9
9
|
|
|
10
|
+
// The PBRaycast component and PBRaycastResult are defined in https://adr.decentraland.org/adr/ADR-200
|
|
11
|
+
//
|
|
12
|
+
// The Raycast component allows scenes to request raycasting from the game engine. The results will
|
|
13
|
+
// be available in a RaycastResult component set later on the same Entity.
|
|
14
|
+
message PBRaycast {
|
|
15
|
+
// Correlation ID, defined by the scene and used internally by the scene
|
|
16
|
+
optional uint32 timestamp = 1;
|
|
17
|
+
|
|
18
|
+
// How much to offset the starting point of the ray, relative to the entity's transform.
|
|
19
|
+
// Defaults to vec3(0,0,0)
|
|
20
|
+
optional decentraland.common.Vector3 origin_offset = 2;
|
|
21
|
+
|
|
22
|
+
oneof direction {
|
|
23
|
+
// The direction of the ray in local coordinates (relative to the origin point)
|
|
24
|
+
decentraland.common.Vector3 local_direction = 6;
|
|
25
|
+
|
|
26
|
+
// The direction of the ray in global coordinates (relative to origin)
|
|
27
|
+
decentraland.common.Vector3 global_direction = 3;
|
|
28
|
+
|
|
29
|
+
// Target coordinates of the raycast, in global coordinates
|
|
30
|
+
decentraland.common.Vector3 global_target = 7;
|
|
31
|
+
|
|
32
|
+
// Will point to the final world position of another entity
|
|
33
|
+
uint32 target_entity = 10;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Maximum length of the ray in virtual meters (global space)
|
|
37
|
+
float max_distance = 4;
|
|
38
|
+
|
|
39
|
+
// the RaycastQueryType behavior
|
|
40
|
+
RaycastQueryType query_type = 5;
|
|
41
|
+
|
|
42
|
+
// Indicates the renderer to perform the raycast on every scene tick (ADR-148),
|
|
43
|
+
// otherwise it will be performed only once, defaults to false
|
|
44
|
+
optional bool continuous = 8;
|
|
45
|
+
|
|
46
|
+
// Collision mask, by default CL_POINTER | CL_PHYSICS
|
|
47
|
+
optional uint32 collision_mask = 9;
|
|
48
|
+
|
|
49
|
+
// shape to cast, default ray
|
|
50
|
+
optional RaycastShape shape = 11;
|
|
51
|
+
|
|
52
|
+
// include hits with entities from other scenes
|
|
53
|
+
optional bool include_world = 12;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
// RaycastQueryType indicates whether the ray should stop on the first collition, or continue.
|
|
10
57
|
enum RaycastQueryType {
|
|
58
|
+
// Pick the first (not necessarily the closest) hit within the range
|
|
11
59
|
RQT_HIT_FIRST = 0;
|
|
60
|
+
// Pick all hits within the range
|
|
12
61
|
RQT_QUERY_ALL = 1;
|
|
62
|
+
// Do not perform the raycast, only set the raycast result with empty hits
|
|
63
|
+
RQT_NONE = 2;
|
|
13
64
|
}
|
|
14
65
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
66
|
+
enum RaycastShape {
|
|
67
|
+
// cast a point, get collisions along a ray
|
|
68
|
+
RS_RAY = 0;
|
|
69
|
+
// cast the avatar collider shape, get collisions from sweeping the shape
|
|
70
|
+
RS_AVATAR = 1;
|
|
71
|
+
}
|
|
@@ -1,25 +1,21 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package decentraland.sdk.components;
|
|
3
3
|
|
|
4
|
-
import "decentraland/sdk/components/common/id.proto";
|
|
5
4
|
import "decentraland/common/vectors.proto";
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/raycast_hit.proto";
|
|
6
7
|
|
|
7
8
|
option (common.ecs_component_id) = 1068;
|
|
8
9
|
|
|
10
|
+
// The PBRaycast component and PBRaycastResult are defined in https://adr.decentraland.org/adr/ADR-200
|
|
11
|
+
//
|
|
12
|
+
// The RaycastResult component is added to an Entity when the results of a previously attached
|
|
13
|
+
// Raycast component are available. It contains information about the ray and any objects it
|
|
14
|
+
// collided with.
|
|
9
15
|
message PBRaycastResult {
|
|
10
|
-
|
|
11
|
-
decentraland.common.Vector3
|
|
12
|
-
decentraland.common.Vector3 direction = 3;
|
|
13
|
-
repeated RaycastHit hits = 4;
|
|
16
|
+
optional uint32 timestamp = 1; // timestamp is a correlation id, copied from the PBRaycast
|
|
17
|
+
decentraland.common.Vector3 global_origin = 2; // the starting point of the ray in global coordinates
|
|
18
|
+
decentraland.common.Vector3 direction = 3; // the direction vector of the ray in global coordinates
|
|
19
|
+
repeated decentraland.sdk.components.common.RaycastHit hits = 4; // zero or more hits
|
|
20
|
+
uint32 tick_number = 5; // number of tick in which the event was produced, equals to EngineInfo.tick_number
|
|
14
21
|
}
|
|
15
|
-
|
|
16
|
-
// Position will be relative to the scene
|
|
17
|
-
message RaycastHit {
|
|
18
|
-
decentraland.common.Vector3 position = 1;
|
|
19
|
-
decentraland.common.Vector3 origin = 2;
|
|
20
|
-
decentraland.common.Vector3 direction = 3;
|
|
21
|
-
decentraland.common.Vector3 normal_hit = 4;
|
|
22
|
-
float length = 5;
|
|
23
|
-
optional string mesh_name = 6;
|
|
24
|
-
optional int64 entity_id = 7;
|
|
25
|
-
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1106;
|
|
6
|
+
|
|
7
|
+
message PBRealmInfo {
|
|
8
|
+
string base_url = 1; // the domain of the realm server
|
|
9
|
+
string realm_name = 2; // the name of the realm server (more info https://adr.decentraland.org/adr/ADR-110)
|
|
10
|
+
int32 network_id = 3; // the network id (1=Ethereum, more info https://chainlist.org/)
|
|
11
|
+
string comms_adapter = 4; // comms adapter (more info https://adr.decentraland.org/adr/ADR-180)
|
|
12
|
+
bool is_preview = 5; // true if the scene is running as a local preview, instead of published in Decentraland.
|
|
13
|
+
optional string room = 6; // the room session id.
|
|
14
|
+
optional bool is_connected_scene_room = 7; // true if the user is connected to the scene room.
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
|
|
7
|
+
option (common.ecs_component_id) = 1210;
|
|
8
|
+
|
|
9
|
+
// The SkyboxTime component allows controlling the time of day for the skybox,
|
|
10
|
+
// affecting the lighting and appearance of the sky in the scene.
|
|
11
|
+
message PBSkyboxTime {
|
|
12
|
+
uint32 fixed_time = 1; // fixed time of day, represented as a number of seconds since the start of the day, where 0 is 00:00hs, 43200 is 12:00hs and 86400 is 24:00hs
|
|
13
|
+
optional TransitionMode transition_mode = 2; // default = TransitionMode.TM_FORWARD, controls the direction of time transitions
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// Controls the direction for animated skybox transitions
|
|
17
|
+
enum TransitionMode {
|
|
18
|
+
TM_FORWARD = 0; // transitions forward (default)
|
|
19
|
+
TM_BACKWARD = 1; // transitions backward
|
|
20
|
+
}
|
|
@@ -8,26 +8,39 @@ import "decentraland/sdk/components/common/texts.proto";
|
|
|
8
8
|
|
|
9
9
|
option (common.ecs_component_id) = 1030;
|
|
10
10
|
|
|
11
|
+
// The TextShape component renders customizable floating text.
|
|
12
|
+
//
|
|
13
|
+
// The position and rotation of the text are defined by the Entity's Transform, while its size
|
|
14
|
+
// can either scale with the Transform or be fixed by a font size.
|
|
15
|
+
//
|
|
16
|
+
// Several options can be configured, including color, padding, line spacing and drop shadows.
|
|
11
17
|
message PBTextShape {
|
|
12
|
-
string text = 1;
|
|
13
|
-
|
|
14
|
-
optional
|
|
15
|
-
optional
|
|
16
|
-
optional
|
|
17
|
-
|
|
18
|
-
optional
|
|
19
|
-
|
|
20
|
-
optional float
|
|
21
|
-
optional float
|
|
22
|
-
optional float
|
|
23
|
-
optional float
|
|
24
|
-
optional
|
|
25
|
-
optional
|
|
26
|
-
|
|
27
|
-
optional float
|
|
28
|
-
optional
|
|
29
|
-
optional
|
|
30
|
-
|
|
31
|
-
optional
|
|
32
|
-
optional
|
|
18
|
+
string text = 1; // the content
|
|
19
|
+
|
|
20
|
+
optional common.Font font = 2; // the font (default F_SANS_SERIF)
|
|
21
|
+
optional float font_size = 3; // the font size (default 10)
|
|
22
|
+
optional bool font_auto_size = 4; // override `font_size` to automatically fit in `width`/`height`
|
|
23
|
+
|
|
24
|
+
optional common.TextAlignMode text_align = 5; // X and Y alignment (default TAM_CENTER_CENTER)
|
|
25
|
+
|
|
26
|
+
optional float width = 6; // available horizontal space (default 1)
|
|
27
|
+
optional float height = 7; // available vertical space (default 1)
|
|
28
|
+
optional float padding_top = 8; // distance from text to top border (default 0)
|
|
29
|
+
optional float padding_right = 9; // distance from text to right border (default 0)
|
|
30
|
+
optional float padding_bottom = 10; // distance from text to bottom border (default 0)
|
|
31
|
+
optional float padding_left = 11; // distance from text to left border (default 0)
|
|
32
|
+
|
|
33
|
+
optional float line_spacing = 12; // extra distance between lines (default 0)
|
|
34
|
+
optional int32 line_count = 13; // maximum number of lines to display
|
|
35
|
+
optional bool text_wrapping = 14; // wrap text when the border is reached (default false)
|
|
36
|
+
|
|
37
|
+
optional float shadow_blur = 15; // blurriness of the drop shadow (default 0)
|
|
38
|
+
optional float shadow_offset_x = 16; // horizontal length of the shadow (default 0)
|
|
39
|
+
optional float shadow_offset_y = 17; // vertical length of the shadow (default 0)
|
|
40
|
+
optional float outline_width = 18; // width of the stroke outlining each letter (default 0)
|
|
41
|
+
|
|
42
|
+
optional decentraland.common.Color3 shadow_color = 19; // drop shadow color (default [1.0, 1.0, 1.0])
|
|
43
|
+
optional decentraland.common.Color3 outline_color = 20; // outline stroke color (default [1.0, 1.0, 1.0])
|
|
44
|
+
optional decentraland.common.Color4 text_color = 21; // text color (default [1.0, 1.0, 1.0])
|
|
45
|
+
optional string font_src = 22; // a font file in the scene, or a Google Fonts family name; `font` is the fallback (default: unset)
|
|
33
46
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
import "decentraland/common/colors.proto";
|
|
7
|
+
|
|
8
|
+
option (common.ecs_component_id) = 1207;
|
|
9
|
+
|
|
10
|
+
message PBTextureCamera {
|
|
11
|
+
// rendered texture width
|
|
12
|
+
optional uint32 width = 1;
|
|
13
|
+
// rendered texture height
|
|
14
|
+
optional uint32 height = 2;
|
|
15
|
+
// which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
|
|
16
|
+
// defaults to 0
|
|
17
|
+
optional uint32 layer = 3;
|
|
18
|
+
|
|
19
|
+
// default black
|
|
20
|
+
optional decentraland.common.Color4 clear_color = 6;
|
|
21
|
+
// default infinity
|
|
22
|
+
optional float far_plane = 7;
|
|
23
|
+
|
|
24
|
+
oneof mode {
|
|
25
|
+
Perspective perspective = 8;
|
|
26
|
+
Orthographic orthographic = 9;
|
|
27
|
+
/* Portal portal = 10; */
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
// controls whether this camera acts as a receiver for audio on sources with matching `PBCameraLayers`.
|
|
31
|
+
// range: 0 (off) - 1 (full volume)
|
|
32
|
+
// default: 0
|
|
33
|
+
optional float volume = 10;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
message Perspective {
|
|
37
|
+
// vertical field of view in radians
|
|
38
|
+
// defaults to pi/4 = 45 degrees
|
|
39
|
+
optional float field_of_view = 1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message Orthographic {
|
|
43
|
+
// vertical extent of the visible range in meters
|
|
44
|
+
// defaults to 4m
|
|
45
|
+
optional float vertical_range = 1;
|
|
46
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
4
|
+
import "decentraland/sdk/components/common/input_action.proto";
|
|
5
|
+
import "decentraland/common/texture.proto";
|
|
6
|
+
option (common.ecs_component_id) = 1218;
|
|
7
|
+
|
|
8
|
+
// The TouchScreenControls component lets a scene configure the native on-screen touch
|
|
9
|
+
// controls (the mobile joystick + gamepad). It must be set on the RootEntity.
|
|
10
|
+
//
|
|
11
|
+
// By default every on-screen button is shown; list a button in `touch_inputs` with
|
|
12
|
+
// `hide = true` to remove it (declutter). `main_action` picks which action the large
|
|
13
|
+
// central button triggers, and `hide_joystick` removes the native virtual joystick. It is
|
|
14
|
+
// a no-op on platforms without native on-screen controls (e.g. desktop).
|
|
15
|
+
//
|
|
16
|
+
// Accepted actions: only the on-screen gamepad actions map to a button — `IA_POINTER`,
|
|
17
|
+
// `IA_PRIMARY`, `IA_SECONDARY`, `IA_JUMP`, and `IA_ACTION_3`..`IA_ACTION_6`. Any other
|
|
18
|
+
// `InputAction` (movement actions, `IA_ANY`, `IA_MODIFIER`, or unknown/future values) is
|
|
19
|
+
// ignored: a `TouchInput` entry naming a non-button action has no effect, and a `main_action`
|
|
20
|
+
// that isn't a valid gamepad action falls back to the default central button (`IA_JUMP`).
|
|
21
|
+
message PBTouchScreenControls {
|
|
22
|
+
// Per-button configuration. A button not listed here keeps its default (shown).
|
|
23
|
+
message TouchInput {
|
|
24
|
+
common.InputAction input_action = 1; // which on-screen button this configures
|
|
25
|
+
bool hide = 2; // hide this button (default: shown)
|
|
26
|
+
// Override the button glyph with this texture. For the jump button it replaces all
|
|
27
|
+
// of its dynamic states (jump / double-jump / glide).
|
|
28
|
+
optional decentraland.common.TextureUnion icon = 3;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
repeated TouchInput touch_inputs = 1;
|
|
32
|
+
// The large central button's action. Only the gamepad actions are valid:
|
|
33
|
+
// jump / pointer / primary (E) / secondary (F) / action_3..action_6 (1/2/3/4).
|
|
34
|
+
// When unset, the default central button (jump) is kept.
|
|
35
|
+
optional common.InputAction main_action = 2;
|
|
36
|
+
bool hide_joystick = 3; // hide the native virtual joystick
|
|
37
|
+
bool hide_crosshair = 4; // hide the on-screen crosshair / reticle
|
|
38
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
|
|
7
|
+
option (common.ecs_component_id) = 1060;
|
|
8
|
+
|
|
9
|
+
// The PBTriggerArea component is used to raise collision triggering events (through the TriggerAreaResult component)
|
|
10
|
+
// when entities enter this component's defined area.
|
|
11
|
+
//
|
|
12
|
+
// ADR: https://github.com/decentraland/adr/blob/2b30a5e2b4f359a7c22a68fb827db282f6e5f887/content/ADR-258-trigger-areas.md
|
|
13
|
+
//
|
|
14
|
+
// The area size and rotation is defined by the Entity's Transform.
|
|
15
|
+
message PBTriggerArea {
|
|
16
|
+
optional TriggerAreaMeshType mesh = 1; // default: MT_BOX
|
|
17
|
+
optional uint32 collision_mask = 2; // default: CL_PLAYER
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
enum TriggerAreaMeshType {
|
|
21
|
+
TAMT_BOX = 0;
|
|
22
|
+
TAMT_SPHERE = 1;
|
|
23
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/vectors.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
7
|
+
|
|
8
|
+
option (common.ecs_component_id) = 1061;
|
|
9
|
+
|
|
10
|
+
// The PBTriggerAreaResult component is used to transport the trigger collision event data for the PBTriggerArea component.
|
|
11
|
+
// ADR: https://github.com/decentraland/adr/blob/2b30a5e2b4f359a7c22a68fb827db282f6e5f887/content/ADR-258-trigger-areas.md
|
|
12
|
+
message PBTriggerAreaResult {
|
|
13
|
+
// Trigger data object
|
|
14
|
+
message Trigger {
|
|
15
|
+
uint32 entity = 1; // The entity that triggered the Trigger Area
|
|
16
|
+
uint32 layers = 2; // The collision layermask of the entity that triggered the Trigger Area
|
|
17
|
+
decentraland.common.Vector3 position = 3; // The position of the entity that triggered the trigger
|
|
18
|
+
decentraland.common.Quaternion rotation = 4; // The rotation of the entity that triggered the trigger
|
|
19
|
+
decentraland.common.Vector3 scale = 5; // The scale of the entity that triggered the trigger
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
uint32 triggered_entity = 1; // The entity that was triggered (this is the entity that owns the trigger area)
|
|
23
|
+
decentraland.common.Vector3 triggered_entity_position = 2; // The position of the triggered entity at the time of the trigger
|
|
24
|
+
decentraland.common.Quaternion triggered_entity_rotation = 3; // The rotation of the triggered entity at the time of the trigger
|
|
25
|
+
TriggerAreaEventType event_type = 4; // The state of the trigger event (ENTER, STAY, EXIT)
|
|
26
|
+
uint32 timestamp = 5; // The timestamp of the trigger event
|
|
27
|
+
Trigger trigger = 6;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
enum TriggerAreaEventType {
|
|
31
|
+
TAET_ENTER = 0;
|
|
32
|
+
TAET_STAY = 1;
|
|
33
|
+
TAET_EXIT = 2;
|
|
34
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/vectors.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
7
|
+
|
|
8
|
+
option (common.ecs_component_id) = 1102;
|
|
9
|
+
|
|
10
|
+
message PBTween {
|
|
11
|
+
float duration = 1; // in milliseconds
|
|
12
|
+
EasingFunction easing_function = 2;
|
|
13
|
+
|
|
14
|
+
oneof mode {
|
|
15
|
+
Move move = 3;
|
|
16
|
+
Rotate rotate = 4;
|
|
17
|
+
Scale scale = 5;
|
|
18
|
+
TextureMove texture_move = 8;
|
|
19
|
+
RotateContinuous rotate_continuous = 9;
|
|
20
|
+
MoveContinuous move_continuous = 10;
|
|
21
|
+
TextureMoveContinuous texture_move_continuous = 11;
|
|
22
|
+
MoveRotateScale move_rotate_scale = 12;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
optional bool playing = 6; // default true (pause or running)
|
|
26
|
+
optional float current_time = 7; // between 0 and 1
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
message Move {
|
|
30
|
+
decentraland.common.Vector3 start = 1;
|
|
31
|
+
decentraland.common.Vector3 end = 2;
|
|
32
|
+
optional bool face_direction = 3;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
message Rotate {
|
|
36
|
+
decentraland.common.Quaternion start = 1;
|
|
37
|
+
decentraland.common.Quaternion end = 2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
message Scale {
|
|
41
|
+
decentraland.common.Vector3 start = 1;
|
|
42
|
+
decentraland.common.Vector3 end = 2;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
message MoveRotateScale {
|
|
46
|
+
decentraland.common.Vector3 position_start = 1;
|
|
47
|
+
decentraland.common.Vector3 position_end = 2;
|
|
48
|
+
decentraland.common.Quaternion rotation_start = 3;
|
|
49
|
+
decentraland.common.Quaternion rotation_end = 4;
|
|
50
|
+
decentraland.common.Vector3 scale_start = 5;
|
|
51
|
+
decentraland.common.Vector3 scale_end = 6;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// This tween mode allows to move the texture of a PbrMaterial or UnlitMaterial.
|
|
55
|
+
// You can also specify the movement type (offset or tiling)
|
|
56
|
+
message TextureMove {
|
|
57
|
+
decentraland.common.Vector2 start = 1;
|
|
58
|
+
decentraland.common.Vector2 end = 2;
|
|
59
|
+
optional TextureMovementType movement_type = 3; // default = TextureMovementType.TMT_OFFSET
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
message RotateContinuous {
|
|
63
|
+
decentraland.common.Quaternion direction = 1;
|
|
64
|
+
float speed = 2;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
message MoveContinuous {
|
|
68
|
+
decentraland.common.Vector3 direction = 1;
|
|
69
|
+
float speed = 2;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
message TextureMoveContinuous {
|
|
73
|
+
decentraland.common.Vector2 direction = 1;
|
|
74
|
+
float speed = 2;
|
|
75
|
+
optional TextureMovementType movement_type = 3; // default = TextureMovementType.TMT_OFFSET
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
enum TextureMovementType {
|
|
79
|
+
TMT_OFFSET = 0; // default = TextureMovementType.TMT_OFFSET
|
|
80
|
+
TMT_TILING = 1;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// Implementation guidelines for these easing functions can be found
|
|
84
|
+
// at https://github.com/ai/easings.net/blob/6fcd5f852a470bf1a7890e8178afa0f471d5f2ec/src/easings/easingsFunctions.ts
|
|
85
|
+
enum EasingFunction {
|
|
86
|
+
EF_LINEAR = 0; // default
|
|
87
|
+
EF_EASEINQUAD = 1;
|
|
88
|
+
EF_EASEOUTQUAD = 2;
|
|
89
|
+
EF_EASEQUAD = 3;
|
|
90
|
+
EF_EASEINSINE = 4;
|
|
91
|
+
EF_EASEOUTSINE = 5;
|
|
92
|
+
EF_EASESINE = 6;
|
|
93
|
+
EF_EASEINEXPO = 7;
|
|
94
|
+
EF_EASEOUTEXPO = 8;
|
|
95
|
+
EF_EASEEXPO = 9;
|
|
96
|
+
EF_EASEINELASTIC = 10;
|
|
97
|
+
EF_EASEOUTELASTIC = 11;
|
|
98
|
+
EF_EASEELASTIC = 12;
|
|
99
|
+
EF_EASEINBOUNCE = 13;
|
|
100
|
+
EF_EASEOUTBOUNCE = 14;
|
|
101
|
+
EF_EASEBOUNCE = 15;
|
|
102
|
+
EF_EASEINCUBIC = 16;
|
|
103
|
+
EF_EASEOUTCUBIC = 17;
|
|
104
|
+
EF_EASECUBIC = 18;
|
|
105
|
+
EF_EASEINQUART = 19;
|
|
106
|
+
EF_EASEOUTQUART = 20;
|
|
107
|
+
EF_EASEQUART = 21;
|
|
108
|
+
EF_EASEINQUINT = 22;
|
|
109
|
+
EF_EASEOUTQUINT = 23;
|
|
110
|
+
EF_EASEQUINT = 24;
|
|
111
|
+
EF_EASEINCIRC = 25;
|
|
112
|
+
EF_EASEOUTCIRC = 26;
|
|
113
|
+
EF_EASECIRC = 27;
|
|
114
|
+
EF_EASEINBACK = 28;
|
|
115
|
+
EF_EASEOUTBACK = 29;
|
|
116
|
+
EF_EASEBACK = 30;
|
|
117
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
import "decentraland/sdk/components/tween.proto";
|
|
7
|
+
|
|
8
|
+
option (common.ecs_component_id) = 1104;
|
|
9
|
+
|
|
10
|
+
message PBTweenSequence {
|
|
11
|
+
repeated PBTween sequence = 1;
|
|
12
|
+
optional TweenLoop loop = 2;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
enum TweenLoop {
|
|
16
|
+
TL_RESTART = 0;
|
|
17
|
+
TL_YOYO = 1;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
|
|
7
|
+
option (common.ecs_component_id) = 1103;
|
|
8
|
+
|
|
9
|
+
message PBTweenState {
|
|
10
|
+
TweenStateStatus state = 1;
|
|
11
|
+
float current_time = 2; // between 0 and 1
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
enum TweenStateStatus {
|
|
15
|
+
TS_ACTIVE = 0;
|
|
16
|
+
TS_COMPLETED = 1;
|
|
17
|
+
TS_PAUSED= 2;
|
|
18
|
+
}
|
|
@@ -5,7 +5,30 @@ import "decentraland/sdk/components/common/id.proto";
|
|
|
5
5
|
option (common.ecs_component_id) = 1053;
|
|
6
6
|
|
|
7
7
|
import "decentraland/common/colors.proto";
|
|
8
|
+
import "decentraland/common/texture.proto";
|
|
9
|
+
import "decentraland/common/border_rect.proto";
|
|
8
10
|
|
|
9
11
|
message PBUiBackground {
|
|
10
|
-
optional decentraland.common.Color4
|
|
11
|
-
|
|
12
|
+
optional decentraland.common.Color4 color = 1; // default=(1.0, 1.0, 1.0, 1.0), pixel = color * sample2D(texture, uv)
|
|
13
|
+
optional decentraland.common.TextureUnion texture = 2;
|
|
14
|
+
BackgroundTextureMode texture_mode = 3;
|
|
15
|
+
optional decentraland.common.BorderRect texture_slices = 4; // default=(1/3, 1/3, 1/3, 1/3)
|
|
16
|
+
repeated float uvs = 5; // default=[0,0,0,1,1,0,1,0]: starting from bottom-left vertex clock-wise
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
enum BackgroundTextureMode {
|
|
20
|
+
// https://docs.unity3d.com/Manual/UIE-USS-SupportedProperties.html (Slicing section)
|
|
21
|
+
// https://forum.unity.com/threads/how-does-slicing-in-ui-tookkit-works.1235863/
|
|
22
|
+
// https://docs.unity3d.com/Manual/9SliceSprites.html
|
|
23
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/border-image-slice
|
|
24
|
+
NINE_SLICES = 0;
|
|
25
|
+
|
|
26
|
+
// CENTER enables the texture to be rendered centered in relation to the
|
|
27
|
+
// element. If the element is smaller than the texture then the background
|
|
28
|
+
// should use the element as stencil to cut off the out-of-bounds area
|
|
29
|
+
CENTER = 1;
|
|
30
|
+
|
|
31
|
+
// STRETCH enables the texture to cover all the area of the container,
|
|
32
|
+
// adopting its aspect ratio.
|
|
33
|
+
STRETCH = 2;
|
|
34
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
4
|
+
package decentraland.sdk.components;
|
|
5
|
+
|
|
6
|
+
option (common.ecs_component_id) = 1203;
|
|
7
|
+
|
|
8
|
+
import "decentraland/common/colors.proto";
|
|
9
|
+
|
|
10
|
+
// The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture.
|
|
11
|
+
message PBUiCanvas {
|
|
12
|
+
uint32 width = 1;
|
|
13
|
+
uint32 height = 2;
|
|
14
|
+
|
|
15
|
+
optional decentraland.common.Color4 color = 3; // default = (0.0, 0.0, 0.0, 0.0) / transparent
|
|
16
|
+
}
|