@dcl/protocol 1.0.0-2611981047.commit-6f422a3 → 1.0.0-26120507017.commit-56ef588
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -0
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/about.gen.js +6 -0
- package/out-js/about.gen.js.map +1 -0
- package/out-js/comms.gen.d.ts +1 -0
- package/out-js/comms.gen.js +6 -0
- package/out-js/comms.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
- package/out-js/decentraland/common/border_rect.gen.js +201 -0
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
- package/out-js/decentraland/common/colors.gen.d.ts +59 -0
- package/out-js/decentraland/common/colors.gen.js +260 -0
- package/out-js/decentraland/common/colors.gen.js.map +1 -0
- package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
- package/out-js/decentraland/common/content_mapping.gen.js +80 -0
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
- package/out-js/decentraland/common/texture.gen.d.ts +105 -0
- package/out-js/decentraland/common/texture.gen.js +475 -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 +282 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +977 -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 +224 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1204 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2728 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +229 -0
- package/out-js/decentraland/realm/about.gen.js +1185 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
- package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +138 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +95 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +60 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +153 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +74 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +264 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +54 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js +128 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +209 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.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/material.gen.d.ts +108 -0
- package/out-js/decentraland/sdk/components/material.gen.js +536 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +129 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +470 -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 +104 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +110 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +306 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
- package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -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 +238 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1547 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +51 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +177 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +83 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
- package/out-js/decentraland/social_service/errors.gen.js +405 -0
- package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
- package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
- package/out-js/google/protobuf/descriptor.gen.js +3173 -0
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
- package/out-js/google/protobuf/empty.gen.d.ts +38 -0
- package/out-js/google/protobuf/empty.gen.js +54 -0
- package/out-js/google/protobuf/empty.gen.js.map +1 -0
- package/out-js/quests.gen.d.ts +1 -0
- package/out-js/quests.gen.js +6 -0
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-apis.gen.d.ts +1 -0
- package/out-js/sdk-apis.gen.js +6 -0
- package/out-js/sdk-apis.gen.js.map +1 -0
- package/out-js/sdk-components.gen.d.ts +1 -0
- package/out-js/sdk-components.gen.js +6 -0
- package/out-js/sdk-components.gen.js.map +1 -0
- package/out-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-js/social.gen.d.ts +1 -0
- package/out-js/social.gen.js +6 -0
- package/out-js/social.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/comms.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
- package/out-ts/decentraland/common/colors.gen.ts +293 -0
- package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
- package/out-ts/decentraland/common/texture.gen.ts +539 -0
- package/out-ts/decentraland/common/vectors.gen.ts +377 -0
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +434 -0
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
- package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1064 -0
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2225 -0
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1338 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/realm/about.gen.ts +1415 -0
- package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +182 -0
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +188 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +349 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +148 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +206 -0
- package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
- package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +655 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +535 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +415 -0
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
- package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1775 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -0
- package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
- package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
- package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +3470 -0
- package/out-ts/google/protobuf/empty.gen.ts +72 -0
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-apis.gen.ts +3 -0
- package/out-ts/sdk-components.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/out-ts/social.gen.ts +3 -0
- package/package.json +23 -10
- package/proto/buf.yaml +47 -0
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +21 -0
- package/proto/decentraland/common/content_mapping.proto +7 -0
- package/proto/decentraland/common/entity.proto +13 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/{kernel/apis/UserIdentity.proto → proto/decentraland/common/sdk/user_data.proto} +1 -17
- package/proto/decentraland/common/texture.proto +45 -0
- package/proto/decentraland/common/vectors.proto +26 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +29 -0
- package/{kernel/apis/DevTools.proto → proto/decentraland/kernel/apis/dev_tools.proto} +3 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
- package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
- package/{kernel/apis/EthereumController.proto → proto/decentraland/kernel/apis/ethereum_controller.proto} +12 -1
- package/{kernel/apis/ParcelIdentity.proto → proto/decentraland/kernel/apis/parcel_identity.proto} +6 -5
- package/proto/decentraland/kernel/apis/permissions.proto +36 -0
- package/proto/decentraland/kernel/apis/players.proto +35 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
- package/proto/decentraland/kernel/apis/restricted_actions.proto +93 -0
- package/proto/decentraland/kernel/apis/runtime.proto +71 -0
- package/proto/decentraland/kernel/apis/scene.proto +16 -0
- package/{kernel/apis/SignedFetch.proto → proto/decentraland/kernel/apis/signed_fetch.proto} +9 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/{kernel/apis/UserActionModule.proto → proto/decentraland/kernel/apis/user_action_module.proto} +2 -0
- package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +165 -0
- package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +104 -0
- package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
- package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
- package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +86 -0
- package/proto/decentraland/kernel/comms/v3/comms.proto +64 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +138 -0
- package/{ecs → proto/decentraland/sdk}/components/README.md +3 -3
- package/proto/decentraland/sdk/components/animator.proto +31 -0
- package/proto/decentraland/sdk/components/asset_load.proto +10 -0
- package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
- package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +31 -0
- package/proto/decentraland/sdk/components/audio_stream.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
- package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +18 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +44 -0
- package/proto/decentraland/sdk/components/billboard.proto +29 -0
- package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +25 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
- package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
- package/{ecs → proto/decentraland/sdk}/components/common/id.proto +1 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +37 -0
- package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
- package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
- package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
- package/proto/decentraland/sdk/components/common/texts.proto +21 -0
- package/proto/decentraland/sdk/components/engine_info.proto +15 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
- package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -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 +57 -0
- package/proto/decentraland/sdk/components/mesh_collider.proto +62 -0
- package/proto/decentraland/sdk/components/mesh_renderer.proto +43 -0
- package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
- 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 +64 -0
- package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
- package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
- package/proto/decentraland/sdk/components/raycast.proto +58 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/text_shape.proto +45 -0
- package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
- package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
- package/proto/decentraland/sdk/components/tween.proto +117 -0
- package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
- package/proto/decentraland/sdk/components/tween_state.proto +18 -0
- package/proto/decentraland/sdk/components/ui_background.proto +34 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
- package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
- package/proto/decentraland/sdk/components/ui_input.proto +20 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +26 -0
- package/proto/decentraland/sdk/components/ui_transform.proto +178 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +24 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +16 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +16 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social_service/errors.proto +30 -0
- package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
- package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
- package/proto/google/LICENSE +27 -0
- package/proto/google/README.md +1 -0
- package/proto/google/api/annotations.json +83 -0
- package/proto/google/api/annotations.proto +11 -0
- package/proto/google/api/http.json +86 -0
- package/proto/google/api/http.proto +31 -0
- package/proto/google/protobuf/api.json +118 -0
- package/proto/google/protobuf/api.proto +34 -0
- package/proto/google/protobuf/descriptor.json +739 -0
- package/proto/google/protobuf/descriptor.proto +286 -0
- package/proto/google/protobuf/source_context.json +20 -0
- package/proto/google/protobuf/source_context.proto +7 -0
- package/proto/google/protobuf/type.json +202 -0
- package/proto/google/protobuf/type.proto +89 -0
- package/public/about.proto +5 -0
- package/public/comms.proto +5 -0
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +25 -0
- package/public/sdk-components.proto +43 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +6 -0
- package/ecs/components/Animator.proto +0 -18
- package/ecs/components/AudioSource.proto +0 -13
- package/ecs/components/AudioStream.proto +0 -10
- package/ecs/components/BoxShape.proto +0 -11
- package/ecs/components/CylinderShape.proto +0 -12
- package/ecs/components/GLTFShape.proto +0 -11
- package/ecs/components/NFTShape.proto +0 -16
- package/ecs/components/OnPointerDown.proto +0 -11
- package/ecs/components/OnPointerDownResult.proto +0 -16
- package/ecs/components/OnPointerUp.proto +0 -11
- package/ecs/components/OnPointerUpResult.proto +0 -16
- package/ecs/components/PlaneShape.proto +0 -11
- package/ecs/components/SphereShape.proto +0 -10
- package/ecs/components/TextShape.proto +0 -33
- package/ecs/components/UiTransform.proto +0 -159
- package/ecs/components/common/Color3.proto +0 -8
- package/ecs/components/common/Vector3.proto +0 -7
- package/kernel/apis/CommunicationsController.proto +0 -11
- package/kernel/apis/EngineAPI.proto +0 -184
- package/kernel/apis/EnvironmentAPI.proto +0 -68
- package/kernel/apis/ExperimentalAPI.proto +0 -16
- package/kernel/apis/Permissions.proto +0 -30
- package/kernel/apis/Players.proto +0 -28
- package/kernel/apis/PortableExperiences.proto +0 -40
- package/kernel/apis/RestrictedActions.proto +0 -25
- package/kernel/apis/SceneStateStorageController.proto +0 -114
- package/kernel/apis/SocialController.proto +0 -15
- package/kernel/comms/v1/broker.proto +0 -114
- package/kernel/comms/v1/comms.proto +0 -68
- package/kernel/comms/v2/comms.proto +0 -59
- package/renderer-protocol/RendererProtocol.proto +0 -15
- /package/{ecs → proto/decentraland/sdk}/components/Transform.md +0 -0
- /package/{ecs → proto/decentraland/sdk}/components/common/id.md +0 -0
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1053;
|
|
6
|
+
|
|
7
|
+
import "decentraland/common/colors.proto";
|
|
8
|
+
import "decentraland/common/texture.proto";
|
|
9
|
+
import "decentraland/common/border_rect.proto";
|
|
10
|
+
|
|
11
|
+
message PBUiBackground {
|
|
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,30 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/border_rect.proto";
|
|
6
|
+
|
|
7
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
8
|
+
option (common.ecs_component_id) = 1054;
|
|
9
|
+
|
|
10
|
+
// This component is created by the renderer and used by the scenes to know the resolution of the UI canvas
|
|
11
|
+
message PBUiCanvasInformation {
|
|
12
|
+
// informs the scene about the resolution used for the UI rendering
|
|
13
|
+
float device_pixel_ratio = 1;
|
|
14
|
+
// informs about the width of the canvas, in virtual pixels. this value does not change when the pixel ratio changes.
|
|
15
|
+
int32 width = 2;
|
|
16
|
+
// informs about the height of the canvas, in virtual pixels. this value does not change when the pixel ratio changes.
|
|
17
|
+
int32 height = 3;
|
|
18
|
+
// informs the sdk about the interactable area. some implementations may change
|
|
19
|
+
// this area depending on the HUD that is being shown. this value may change at
|
|
20
|
+
// any time by the Renderer to create reactive UIs. as an example, an explorer with the
|
|
21
|
+
// chat UI hidden and with no minimap could have a rect that covers the whole screen.
|
|
22
|
+
// on the contrary, if the chat UI is shown, the rect would be smaller.
|
|
23
|
+
decentraland.common.BorderRect interactable_area = 4;
|
|
24
|
+
// informs the sdk about the screen inset area (safe margins). these are the
|
|
25
|
+
// insets from each edge of the screen that are reserved by the device or
|
|
26
|
+
// platform UI (for example: the notch, status bar, home indicator, or rounded
|
|
27
|
+
// corners on mobile). scenes should avoid placing critical UI within these
|
|
28
|
+
// insets to ensure it is not occluded. on desktop this is typically (0, 0, 0, 0).
|
|
29
|
+
optional decentraland.common.BorderRect screen_inset_area = 5;
|
|
30
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/colors.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
7
|
+
import "decentraland/sdk/components/common/texts.proto";
|
|
8
|
+
|
|
9
|
+
option (common.ecs_component_id) = 1094;
|
|
10
|
+
|
|
11
|
+
message PBUiDropdown {
|
|
12
|
+
bool accept_empty = 1;
|
|
13
|
+
optional string empty_label = 2;
|
|
14
|
+
repeated string options = 3;
|
|
15
|
+
optional int32 selected_index = 4; // default=null when accept_empty==true; default=0 when accept_empty==false
|
|
16
|
+
bool disabled = 5;
|
|
17
|
+
optional decentraland.common.Color4 color = 6; // default=(0.0,0.0,0.0,1.0)
|
|
18
|
+
|
|
19
|
+
optional common.TextAlignMode text_align = 10; // default='center'
|
|
20
|
+
optional common.Font font = 11; // default=0
|
|
21
|
+
optional int32 font_size = 12; // default=10
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/colors.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
7
|
+
import "decentraland/sdk/components/common/texts.proto";
|
|
8
|
+
|
|
9
|
+
option (common.ecs_component_id) = 1093;
|
|
10
|
+
|
|
11
|
+
message PBUiInput {
|
|
12
|
+
string placeholder = 1;
|
|
13
|
+
optional decentraland.common.Color4 color = 2; // default=(0.0,0.0,0.0,1.0)
|
|
14
|
+
optional decentraland.common.Color4 placeholder_color = 3; // default=(0.3,0.3,0.3,1.0)
|
|
15
|
+
bool disabled = 4;
|
|
16
|
+
optional common.TextAlignMode text_align = 10; // default='center'
|
|
17
|
+
optional common.Font font = 11; // default=0
|
|
18
|
+
optional int32 font_size = 12; // default=10
|
|
19
|
+
optional string value = 13;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
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) = 1095;
|
|
8
|
+
|
|
9
|
+
message PBUiInputResult {
|
|
10
|
+
string value = 1;
|
|
11
|
+
optional bool is_submit = 2; // default: false
|
|
12
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/colors.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
7
|
+
import "decentraland/sdk/components/common/texts.proto";
|
|
8
|
+
|
|
9
|
+
option (common.ecs_component_id) = 1052;
|
|
10
|
+
|
|
11
|
+
enum TextWrap {
|
|
12
|
+
TW_WRAP = 0;
|
|
13
|
+
TW_NO_WRAP = 1;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// The UiText component creates a text widget inside a UI component tree. Its position and
|
|
17
|
+
// layout properties can be specified in a UiTransform component on the same Entity.
|
|
18
|
+
|
|
19
|
+
message PBUiText {
|
|
20
|
+
string value = 1; // the text content, tag <b> and <i> are supported
|
|
21
|
+
optional decentraland.common.Color4 color = 2; // RGBA color (default: opaque white)
|
|
22
|
+
optional common.TextAlignMode text_align = 3; // alignment within the bounds (default: center)
|
|
23
|
+
optional common.Font font = 4; // font for the text (default: sans-serif)
|
|
24
|
+
optional int32 font_size = 5; // size of the text (default: 10)
|
|
25
|
+
optional TextWrap text_wrap = 6; // wrap text when the border is reached (default: TW_WRAP)
|
|
26
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
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) = 1050;
|
|
9
|
+
|
|
10
|
+
enum YGPositionType {
|
|
11
|
+
YGPT_RELATIVE = 0;
|
|
12
|
+
YGPT_ABSOLUTE = 1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
enum YGAlign {
|
|
16
|
+
YGA_AUTO = 0;
|
|
17
|
+
YGA_FLEX_START = 1;
|
|
18
|
+
YGA_CENTER = 2;
|
|
19
|
+
YGA_FLEX_END = 3;
|
|
20
|
+
YGA_STRETCH = 4;
|
|
21
|
+
YGA_BASELINE = 5;
|
|
22
|
+
YGA_SPACE_BETWEEN = 6;
|
|
23
|
+
YGA_SPACE_AROUND = 7;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
enum YGUnit {
|
|
27
|
+
YGU_UNDEFINED = 0;
|
|
28
|
+
YGU_POINT = 1;
|
|
29
|
+
YGU_PERCENT = 2;
|
|
30
|
+
YGU_AUTO = 3;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
enum YGFlexDirection {
|
|
34
|
+
YGFD_ROW = 0;
|
|
35
|
+
YGFD_COLUMN = 1;
|
|
36
|
+
YGFD_COLUMN_REVERSE = 2;
|
|
37
|
+
YGFD_ROW_REVERSE = 3;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
enum YGWrap {
|
|
41
|
+
YGW_NO_WRAP = 0;
|
|
42
|
+
YGW_WRAP = 1;
|
|
43
|
+
YGW_WRAP_REVERSE = 2;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
enum YGJustify {
|
|
47
|
+
YGJ_FLEX_START = 0;
|
|
48
|
+
YGJ_CENTER = 1;
|
|
49
|
+
YGJ_FLEX_END = 2;
|
|
50
|
+
YGJ_SPACE_BETWEEN = 3;
|
|
51
|
+
YGJ_SPACE_AROUND = 4;
|
|
52
|
+
YGJ_SPACE_EVENLY = 5;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
enum YGOverflow {
|
|
56
|
+
YGO_VISIBLE = 0;
|
|
57
|
+
YGO_HIDDEN = 1;
|
|
58
|
+
YGO_SCROLL = 2;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
enum YGDisplay {
|
|
62
|
+
YGD_FLEX = 0;
|
|
63
|
+
YGD_NONE = 1;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
enum YGEdge {
|
|
67
|
+
YGE_LEFT = 0;
|
|
68
|
+
YGE_TOP = 1;
|
|
69
|
+
YGE_RIGHT = 2;
|
|
70
|
+
YGE_BOTTOM = 3;
|
|
71
|
+
YGE_START = 4;
|
|
72
|
+
YGE_END = 5;
|
|
73
|
+
YGE_HORIZONTAL = 6;
|
|
74
|
+
YGE_VERTICAL = 7;
|
|
75
|
+
YGE_ALL = 8;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
enum PointerFilterMode {
|
|
79
|
+
PFM_NONE = 0;
|
|
80
|
+
PFM_BLOCK = 1;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message PBUiTransform {
|
|
84
|
+
int32 parent = 1;
|
|
85
|
+
int32 right_of = 2;
|
|
86
|
+
|
|
87
|
+
optional YGAlign align_content = 3; // default: YGAlign.YGA_FLEX_START
|
|
88
|
+
optional YGAlign align_items = 4; // default: YGAlign.YGA_STRETCH
|
|
89
|
+
optional YGWrap flex_wrap = 5; // default: YGWrap.YGW_WRAP
|
|
90
|
+
optional float flex_shrink = 6; // default: 1
|
|
91
|
+
|
|
92
|
+
YGPositionType position_type = 7; // YGPositionType.YGPT_RELATIVE
|
|
93
|
+
|
|
94
|
+
YGAlign align_self = 8; // YGAlign.YGA_AUTO
|
|
95
|
+
YGFlexDirection flex_direction = 9; // YGFlexDirection.YGFD_ROW
|
|
96
|
+
YGJustify justify_content = 10; // YGJustify.YGJ_FLEX_START
|
|
97
|
+
|
|
98
|
+
YGOverflow overflow = 11; // YGOverflow.YGO_VISIBLE
|
|
99
|
+
YGDisplay display = 12; // YGDisplay.YGD_FLEX
|
|
100
|
+
|
|
101
|
+
YGUnit flex_basis_unit = 13; // YGUnit.YGU_UNDEFINED
|
|
102
|
+
float flex_basis = 14;
|
|
103
|
+
|
|
104
|
+
float flex_grow = 15;
|
|
105
|
+
|
|
106
|
+
YGUnit width_unit = 16; // YGUnit.YGU_UNDEFINED
|
|
107
|
+
float width = 17;
|
|
108
|
+
YGUnit height_unit = 18; // YGUnit.YGU_UNDEFINED
|
|
109
|
+
float height = 19;
|
|
110
|
+
|
|
111
|
+
YGUnit min_width_unit = 20; // YGUnit.YGU_UNDEFINED
|
|
112
|
+
float min_width = 21;
|
|
113
|
+
YGUnit min_height_unit = 22; // YGUnit.YGU_UNDEFINED
|
|
114
|
+
float min_height = 23;
|
|
115
|
+
|
|
116
|
+
YGUnit max_width_unit = 24; // YGUnit.YGU_UNDEFINED
|
|
117
|
+
float max_width = 25;
|
|
118
|
+
YGUnit max_height_unit = 26; // YGUnit.YGU_UNDEFINED
|
|
119
|
+
float max_height = 27;
|
|
120
|
+
|
|
121
|
+
YGUnit position_left_unit = 28; // YGUnit.YGU_UNDEFINED
|
|
122
|
+
float position_left = 29;
|
|
123
|
+
YGUnit position_top_unit = 30; // YGUnit.YGU_UNDEFINED
|
|
124
|
+
float position_top = 31;
|
|
125
|
+
YGUnit position_right_unit = 32; // YGUnit.YGU_UNDEFINED
|
|
126
|
+
float position_right = 33;
|
|
127
|
+
YGUnit position_bottom_unit = 34; // YGUnit.YGU_UNDEFINED
|
|
128
|
+
float position_bottom = 35;
|
|
129
|
+
|
|
130
|
+
YGUnit margin_left_unit = 36; // YGUnit.YGU_UNDEFINED
|
|
131
|
+
float margin_left = 37;
|
|
132
|
+
YGUnit margin_top_unit = 38; // YGUnit.YGU_UNDEFINED
|
|
133
|
+
float margin_top = 39;
|
|
134
|
+
YGUnit margin_right_unit = 40; // YGUnit.YGU_UNDEFINED
|
|
135
|
+
float margin_right = 41;
|
|
136
|
+
YGUnit margin_bottom_unit = 42; // YGUnit.YGU_UNDEFINED
|
|
137
|
+
float margin_bottom = 43;
|
|
138
|
+
|
|
139
|
+
YGUnit padding_left_unit = 44; // YGUnit.YGU_UNDEFINED
|
|
140
|
+
float padding_left = 45;
|
|
141
|
+
YGUnit padding_top_unit = 46; // YGUnit.YGU_UNDEFINED
|
|
142
|
+
float padding_top = 47;
|
|
143
|
+
YGUnit padding_right_unit = 48; // YGUnit.YGU_UNDEFINED
|
|
144
|
+
float padding_right = 49;
|
|
145
|
+
YGUnit padding_bottom_unit = 50; // YGUnit.YGU_UNDEFINED
|
|
146
|
+
float padding_bottom = 51;
|
|
147
|
+
|
|
148
|
+
optional PointerFilterMode pointer_filter = 52; // default: PointerFilterMode.PFM_NONE
|
|
149
|
+
|
|
150
|
+
// Border Width
|
|
151
|
+
optional YGUnit border_left_width_unit = 53; // YGUnit.YGU_UNDEFINED
|
|
152
|
+
optional float border_left_width = 54;
|
|
153
|
+
optional YGUnit border_top_width_unit = 55; // YGUnit.YGU_UNDEFINED
|
|
154
|
+
optional float border_top_width = 56;
|
|
155
|
+
optional YGUnit border_right_width_unit = 57; // YGUnit.YGU_UNDEFINED
|
|
156
|
+
optional float border_right_width = 58;
|
|
157
|
+
optional YGUnit border_bottom_width_unit = 59; // YGUnit.YGU_UNDEFINED
|
|
158
|
+
optional float border_bottom_width = 60;
|
|
159
|
+
|
|
160
|
+
// Border Radius
|
|
161
|
+
optional YGUnit border_top_left_radius_unit = 61; // YGUnit.YGU_UNDEFINED
|
|
162
|
+
optional float border_top_left_radius = 62;
|
|
163
|
+
optional YGUnit border_top_right_radius_unit = 63; // YGUnit.YGU_UNDEFINED
|
|
164
|
+
optional float border_top_right_radius = 64;
|
|
165
|
+
optional YGUnit border_bottom_left_radius_unit = 65; // YGUnit.YGU_UNDEFINED
|
|
166
|
+
optional float border_bottom_left_radius = 66;
|
|
167
|
+
optional YGUnit border_bottom_right_radius_unit = 67; // YGUnit.YGU_UNDEFINED
|
|
168
|
+
optional float border_bottom_right_radius = 68;
|
|
169
|
+
|
|
170
|
+
// Border Color
|
|
171
|
+
optional decentraland.common.Color4 border_top_color = 69;
|
|
172
|
+
optional decentraland.common.Color4 border_bottom_color = 70;
|
|
173
|
+
optional decentraland.common.Color4 border_left_color = 71;
|
|
174
|
+
optional decentraland.common.Color4 border_right_color = 72;
|
|
175
|
+
|
|
176
|
+
optional float opacity = 73; // default: 1
|
|
177
|
+
optional int32 z_index = 77; // default: 0 — controls render stacking order. Higher values appear in front of lower values.
|
|
178
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
option (common.ecs_component_id) = 1044;
|
|
7
|
+
|
|
8
|
+
message PBVideoEvent {
|
|
9
|
+
uint32 timestamp = 1; // monotonic counter
|
|
10
|
+
uint32 tick_number = 2; // number of tick in which the event was produced, equals to EngineInfo.tick_number
|
|
11
|
+
float current_offset = 3;
|
|
12
|
+
float video_length = 4;
|
|
13
|
+
VideoState state = 5;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
enum VideoState {
|
|
17
|
+
VS_NONE = 0;
|
|
18
|
+
VS_ERROR = 1;
|
|
19
|
+
VS_LOADING = 2;
|
|
20
|
+
VS_READY = 3;
|
|
21
|
+
VS_PLAYING = 4;
|
|
22
|
+
VS_BUFFERING = 5;
|
|
23
|
+
VS_SEEKING = 6;
|
|
24
|
+
VS_PAUSED = 7;
|
|
25
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1043;
|
|
6
|
+
|
|
7
|
+
message PBVideoPlayer {
|
|
8
|
+
// which file to load
|
|
9
|
+
string src = 1;
|
|
10
|
+
|
|
11
|
+
optional bool playing = 2; // default true
|
|
12
|
+
optional float position = 3; // default 0.0
|
|
13
|
+
optional float volume = 4; // default 1.0
|
|
14
|
+
optional float playback_rate = 5; // default 1.0
|
|
15
|
+
optional bool loop = 6; // default false
|
|
16
|
+
// either the audio will be global or spatial (default: false)
|
|
17
|
+
// global: plays the same way for every listener. It is not affected by distance, direction, or position.
|
|
18
|
+
// spatial: changes depending on where the listener is relative to the sound source
|
|
19
|
+
optional bool spatial = 7;
|
|
20
|
+
// Within the min distance the audio will cease to grow louder in volume (default: 0)
|
|
21
|
+
optional float spatial_min_distance = 8;
|
|
22
|
+
// The distance where sound either becomes inaudible or stops attenuation (default: 60)
|
|
23
|
+
optional float spatial_max_distance = 9;
|
|
24
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/camera_transition.proto";
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
option (common.ecs_component_id) = 1076;
|
|
7
|
+
|
|
8
|
+
// PBVirtualCamera represents a camera to be used at some point in time during the scene execution
|
|
9
|
+
// * The defaultTransition represents the transition TOWARDS this camera. If there is none, it's treated as
|
|
10
|
+
// an 'instant' transition (like using speed/time = 0)
|
|
11
|
+
// * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
12
|
+
// the holding entity transform).
|
|
13
|
+
message PBVirtualCamera {
|
|
14
|
+
optional common.CameraTransition default_transition = 1;
|
|
15
|
+
optional uint32 look_at_entity = 2;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1081;
|
|
6
|
+
|
|
7
|
+
message PBVisibilityComponent {
|
|
8
|
+
optional bool visible = 1; // default=true
|
|
9
|
+
|
|
10
|
+
// Propagation follows certain rules:
|
|
11
|
+
// - Any own visibility component takes priority
|
|
12
|
+
// - If no own visibility component, visibility is determined by visibility of the nearest parent with propagate = true
|
|
13
|
+
// - If no own component and no parent with propagate = true, visibility is "visible"
|
|
14
|
+
// - Visibility is always updated, whenever hierarchy, parent component or own component changes
|
|
15
|
+
optional bool propagate_to_children = 2; // default=false
|
|
16
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.development;
|
|
4
|
+
|
|
5
|
+
// ts code & main.crdt updates
|
|
6
|
+
message UpdateScene {
|
|
7
|
+
string scene_id = 1;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
enum UpdateModelType {
|
|
11
|
+
UMT_CHANGE = 0;
|
|
12
|
+
UMT_REMOVE = 1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// .glb & .gltf model udpates
|
|
16
|
+
message UpdateModel {
|
|
17
|
+
string scene_id = 1;
|
|
18
|
+
string src = 2;
|
|
19
|
+
string hash = 3;
|
|
20
|
+
UpdateModelType type = 4;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message WsSceneMessage {
|
|
24
|
+
oneof message {
|
|
25
|
+
// direction: scene -> explorer
|
|
26
|
+
UpdateScene update_scene = 1;
|
|
27
|
+
UpdateModel update_model = 2;
|
|
28
|
+
}
|
|
29
|
+
}
|