@dcl/protocol 1.0.0-10043247792.commit-428d1eb
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/LICENSE +201 -0
- package/README.md +69 -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 +46 -0
- package/out-js/decentraland/common/colors.gen.js +189 -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 +100 -0
- package/out-js/decentraland/common/texture.gen.js +446 -0
- package/out-js/decentraland/common/texture.gen.js.map +1 -0
- package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
- package/out-js/decentraland/common/vectors.gen.js +338 -0
- package/out-js/decentraland/common/vectors.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +76 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +257 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +89 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +301 -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 +244 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +824 -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 +213 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1282 -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 +150 -0
- package/out-js/decentraland/realm/about.gen.js +914 -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 +40 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +95 -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 +72 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +251 -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 +30 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +157 -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/material.gen.d.ts +106 -0
- package/out-js/decentraland/sdk/components/material.gen.js +515 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +128 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +469 -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 +79 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +247 -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 +35 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +131 -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 +125 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +598 -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 +204 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1210 -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 +41 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +138 -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 +31 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +69 -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/friendships/friendships.gen.d.ts +500 -0
- package/out-js/decentraland/social/friendships/friendships.gen.js +2517 -0
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.d.ts +357 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.js +1554 -0
- package/out-js/decentraland/social_service_v2/social_service.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-js/social_service_v2.gen.d.ts +1 -0
- package/out-js/social_service_v2.gen.js +6 -0
- package/out-js/social_service_v2.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 +214 -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 +500 -0
- package/out-ts/decentraland/common/vectors.gen.ts +377 -0
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +295 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +327 -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 +895 -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 +1440 -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 +1062 -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 +122 -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 +333 -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 +154 -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/material.gen.ts +629 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +534 -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 +310 -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 +152 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +648 -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 +1361 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +173 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +83 -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/friendships/friendships.gen.ts +2798 -0
- package/out-ts/decentraland/social_service_v2/social_service.gen.ts +1709 -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/out-ts/social_service_v2.gen.ts +3 -0
- package/package.json +33 -0
- package/proto/buf.yaml +47 -0
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +15 -0
- package/proto/decentraland/common/content_mapping.proto +7 -0
- package/proto/decentraland/common/entity.proto +13 -0
- package/proto/decentraland/common/sdk/user_data.proto +25 -0
- package/proto/decentraland/common/texture.proto +40 -0
- package/proto/decentraland/common/vectors.proto +26 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +25 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +23 -0
- package/proto/decentraland/kernel/apis/dev_tools.proto +15 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
- package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
- package/proto/decentraland/kernel/apis/ethereum_controller.proto +64 -0
- package/proto/decentraland/kernel/apis/parcel_identity.proto +43 -0
- package/proto/decentraland/kernel/apis/permissions.proto +36 -0
- package/proto/decentraland/kernel/apis/players.proto +35 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
- package/proto/decentraland/kernel/apis/restricted_actions.proto +78 -0
- package/proto/decentraland/kernel/apis/runtime.proto +71 -0
- package/proto/decentraland/kernel/apis/scene.proto +16 -0
- package/proto/decentraland/kernel/apis/signed_fetch.proto +33 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/apis/user_action_module.proto +13 -0
- package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +110 -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 +73 -0
- package/proto/decentraland/sdk/components/README.md +32 -0
- package/proto/decentraland/sdk/components/Transform.md +25 -0
- package/proto/decentraland/sdk/components/animator.proto +31 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +31 -0
- package/proto/decentraland/sdk/components/audio_stream.proto +14 -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_modifier_area.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +42 -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_type.proto +9 -0
- package/proto/decentraland/sdk/components/common/id.md +2 -0
- package/proto/decentraland/sdk/components/common/id.proto +8 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +28 -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/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/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +37 -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/raycast.proto +58 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
- package/proto/decentraland/sdk/components/realm_info.proto +14 -0
- package/proto/decentraland/sdk/components/text_shape.proto +45 -0
- package/proto/decentraland/sdk/components/tween.proto +74 -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 +24 -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 +148 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +16 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +9 -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/friendships/friendships.proto +162 -0
- package/proto/decentraland/social_service_v2/social_service.proto +111 -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 +42 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +4 -0
- package/public/social_service_v2.proto +4 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/colors.proto";
|
|
6
|
+
import "decentraland/common/texture.proto";
|
|
7
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
8
|
+
|
|
9
|
+
option (common.ecs_component_id) = 1017;
|
|
10
|
+
|
|
11
|
+
enum MaterialTransparencyMode {
|
|
12
|
+
MTM_OPAQUE = 0;
|
|
13
|
+
MTM_ALPHA_TEST = 1;
|
|
14
|
+
MTM_ALPHA_BLEND = 2;
|
|
15
|
+
MTM_ALPHA_TEST_AND_ALPHA_BLEND = 3;
|
|
16
|
+
MTM_AUTO = 4;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message PBMaterial {
|
|
20
|
+
message UnlitMaterial {
|
|
21
|
+
optional decentraland.common.TextureUnion texture = 1; // default = null
|
|
22
|
+
optional float alpha_test = 2; // default = 0.5. range value: from 0 to 1
|
|
23
|
+
optional bool cast_shadows = 3; // default = true
|
|
24
|
+
optional decentraland.common.Color4 diffuse_color = 4; // default = white;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message PbrMaterial {
|
|
28
|
+
optional decentraland.common.TextureUnion texture = 1; // default = null
|
|
29
|
+
|
|
30
|
+
optional float alpha_test = 2; // default = 0.5. range value: from 0 to 1
|
|
31
|
+
optional bool cast_shadows = 3; // default = true
|
|
32
|
+
|
|
33
|
+
optional decentraland.common.TextureUnion alpha_texture = 4; // default = null
|
|
34
|
+
optional decentraland.common.TextureUnion emissive_texture = 5; // default = null
|
|
35
|
+
optional decentraland.common.TextureUnion bump_texture = 6; // default = null
|
|
36
|
+
|
|
37
|
+
optional decentraland.common.Color4 albedo_color = 7; // default = white;
|
|
38
|
+
optional decentraland.common.Color3 emissive_color = 8; // default = black;
|
|
39
|
+
optional decentraland.common.Color3 reflectivity_color = 9; // default = white;
|
|
40
|
+
|
|
41
|
+
optional MaterialTransparencyMode transparency_mode = 10; // default = TransparencyMode.Auto
|
|
42
|
+
|
|
43
|
+
optional float metallic = 11; // default = 0.5
|
|
44
|
+
optional float roughness = 12; // default = 0.5
|
|
45
|
+
reserved 13;
|
|
46
|
+
|
|
47
|
+
optional float specular_intensity = 14; // default = 1
|
|
48
|
+
optional float emissive_intensity = 15; // default = 2
|
|
49
|
+
optional float direct_intensity = 16; // default = 1
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
oneof material {
|
|
53
|
+
UnlitMaterial unlit = 1;
|
|
54
|
+
PbrMaterial pbr = 2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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) = 1019;
|
|
8
|
+
|
|
9
|
+
// The MeshCollider component provides basic collision detection between Entities and Avatars. It
|
|
10
|
+
// can behave like a cube, a plane, a sphere or a cylinder.
|
|
11
|
+
//
|
|
12
|
+
// The Entity's Transform affects the MeshCollider, scaling it and rotating it appropriately. If
|
|
13
|
+
// the Transform for the collision mesh must be different than the Transform for rendering the Entity,
|
|
14
|
+
// two different Entities must be used.
|
|
15
|
+
//
|
|
16
|
+
// More complex shapes require the use of a `GltfContainer` component.
|
|
17
|
+
message PBMeshCollider {
|
|
18
|
+
// BoxMesh is a prism shape that contains the Entity.
|
|
19
|
+
message BoxMesh {}
|
|
20
|
+
|
|
21
|
+
// CylinderMesh is a truncated cone shape that contains the Entity.
|
|
22
|
+
message CylinderMesh {
|
|
23
|
+
optional float radius_top = 1; // (default 0.5)
|
|
24
|
+
optional float radius_bottom = 2; // (default 0.5)
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// PlaneMesh is a 2D rectangle described by the Entity's Transform.
|
|
28
|
+
message PlaneMesh {}
|
|
29
|
+
|
|
30
|
+
// SphereMesh is a sphere shape that contains the Entity.
|
|
31
|
+
message SphereMesh {}
|
|
32
|
+
|
|
33
|
+
optional uint32 collision_mask = 1; // enabled ColliderLayers (default CL_POINTER | CL_PHYSICS)
|
|
34
|
+
|
|
35
|
+
oneof mesh {
|
|
36
|
+
BoxMesh box = 2;
|
|
37
|
+
SphereMesh sphere = 3;
|
|
38
|
+
CylinderMesh cylinder = 4;
|
|
39
|
+
PlaneMesh plane = 5;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
// ColliderLayer determines the kind of collision to detect, in OR-able bit flag form.
|
|
44
|
+
enum ColliderLayer {
|
|
45
|
+
CL_NONE = 0; // no collisions
|
|
46
|
+
CL_POINTER = 1; // collisions with the player's pointer ray (e.g. mouse cursor hovering)
|
|
47
|
+
CL_PHYSICS = 2; // collision affecting your player's physics i.e. walls, floor, moving platfroms
|
|
48
|
+
CL_RESERVED1 = 4;
|
|
49
|
+
CL_RESERVED2 = 8;
|
|
50
|
+
CL_RESERVED3 = 16;
|
|
51
|
+
CL_RESERVED4 = 32;
|
|
52
|
+
CL_RESERVED5 = 64;
|
|
53
|
+
CL_RESERVED6 = 128;
|
|
54
|
+
CL_CUSTOM1 = 256;
|
|
55
|
+
CL_CUSTOM2 = 512;
|
|
56
|
+
CL_CUSTOM3 = 1024;
|
|
57
|
+
CL_CUSTOM4 = 2048;
|
|
58
|
+
CL_CUSTOM5 = 4096;
|
|
59
|
+
CL_CUSTOM6 = 8192;
|
|
60
|
+
CL_CUSTOM7 = 16384;
|
|
61
|
+
CL_CUSTOM8 = 32768;
|
|
62
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1018;
|
|
6
|
+
|
|
7
|
+
// The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
|
|
8
|
+
// plane, a sphere or a cylinder.
|
|
9
|
+
//
|
|
10
|
+
// The cube and plane variants can include a UV texture mapping, so specific areas of a material
|
|
11
|
+
// texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
|
|
12
|
+
// `float` coordinates, one for each corner of each side of each face.
|
|
13
|
+
//
|
|
14
|
+
// More complex shapes require the use of a `GltfContainer` component.
|
|
15
|
+
message PBMeshRenderer {
|
|
16
|
+
|
|
17
|
+
// BoxMesh renders a prism shape.
|
|
18
|
+
message BoxMesh {
|
|
19
|
+
repeated float uvs = 1; // 96-value texture map (2D * 6 faces * 2 sides * 4 vertices)
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// CylinderMesh renders a truncated cone shape.
|
|
23
|
+
message CylinderMesh {
|
|
24
|
+
optional float radius_top = 1; // (default 0.5)
|
|
25
|
+
optional float radius_bottom = 2; // (default 0.5)
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// PlaneMesh renders a 2D rectangular shape.
|
|
29
|
+
message PlaneMesh {
|
|
30
|
+
repeated float uvs = 1; // 16-value texture map (2D * 1 face * 2 sides * 4 vertices)
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// SphereMesh renders a spherical shape.
|
|
34
|
+
message SphereMesh {
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
oneof mesh {
|
|
38
|
+
BoxMesh box = 1;
|
|
39
|
+
SphereMesh sphere = 2;
|
|
40
|
+
CylinderMesh cylinder = 3;
|
|
41
|
+
PlaneMesh plane = 4;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
|
|
8
|
+
option (common.ecs_component_id) = 1040;
|
|
9
|
+
|
|
10
|
+
// The NftShape component renders a framed picture from an NFT. It supports PNG, JPEG and GIF files.
|
|
11
|
+
//
|
|
12
|
+
// The `urn` field is the URI of the NFT, and must follow the format 'urn:decentraland:<CHAIN>:<CONTRACT_STANDARD>:<CONTRACT_ADDRESS>:<TOKEN_ID>'
|
|
13
|
+
// Example: 'urn:decentraland:ethereum:erc721:0x00000000:123'
|
|
14
|
+
//
|
|
15
|
+
// The picture frame can have several different styles, plus a background color for images that have
|
|
16
|
+
// transparent pixels.
|
|
17
|
+
message PBNftShape {
|
|
18
|
+
string urn = 1; // the URI of the NFT
|
|
19
|
+
optional NftFrameType style = 2; // the frame style (default NFT_CLASSIC)
|
|
20
|
+
optional decentraland.common.Color3 color = 3; // RGB background (default [0.6404918, 0.611472, 0.8584906])
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// NftFrameType is a predefined framing style for the image.
|
|
24
|
+
enum NftFrameType {
|
|
25
|
+
NFT_CLASSIC = 0;
|
|
26
|
+
NFT_BAROQUE_ORNAMENT = 1;
|
|
27
|
+
NFT_DIAMOND_ORNAMENT = 2;
|
|
28
|
+
NFT_MINIMAL_WIDE = 3;
|
|
29
|
+
NFT_MINIMAL_GREY = 4;
|
|
30
|
+
NFT_BLOCKY = 5;
|
|
31
|
+
NFT_GOLD_EDGES = 6;
|
|
32
|
+
NFT_GOLD_CARVED = 7;
|
|
33
|
+
NFT_GOLD_WIDE = 8;
|
|
34
|
+
NFT_GOLD_ROUNDED = 9;
|
|
35
|
+
NFT_METAL_MEDIUM = 10;
|
|
36
|
+
NFT_METAL_WIDE = 11;
|
|
37
|
+
NFT_METAL_SLIM = 12;
|
|
38
|
+
NFT_METAL_ROUNDED = 13;
|
|
39
|
+
NFT_PINS = 14;
|
|
40
|
+
NFT_MINIMAL_BLACK = 15;
|
|
41
|
+
NFT_MINIMAL_WHITE = 16;
|
|
42
|
+
NFT_TAPE = 17;
|
|
43
|
+
NFT_WOOD_SLIM = 18;
|
|
44
|
+
NFT_WOOD_WIDE = 19;
|
|
45
|
+
NFT_WOOD_TWIGS = 20;
|
|
46
|
+
NFT_CANVAS = 21;
|
|
47
|
+
NFT_NONE = 22;
|
|
48
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1089;
|
|
6
|
+
|
|
7
|
+
// PlayerIdentityData is used to read the information about the avatar's
|
|
8
|
+
// identity. this component is written by the engine using the communications
|
|
9
|
+
// transports' data.
|
|
10
|
+
message PBPlayerIdentityData {
|
|
11
|
+
string address = 1; // ethereum address of this player
|
|
12
|
+
bool is_guest = 3;
|
|
13
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/input_action.proto";
|
|
7
|
+
|
|
8
|
+
option (common.ecs_component_id) = 1062;
|
|
9
|
+
|
|
10
|
+
// PointerEvents adds configurable pointer-based interactions to the attached Entity.
|
|
11
|
+
//
|
|
12
|
+
// Events that match the criteria defined in the PointerEvents structure are reported back to the
|
|
13
|
+
// Entity via the PointerEventsResult component.
|
|
14
|
+
//
|
|
15
|
+
// Some examples of events that can be detected:
|
|
16
|
+
// - Pointer hovering over the Entity.
|
|
17
|
+
// - Held mouse button released over the Entity.
|
|
18
|
+
// - Controller button pressed while targeting the Entity.
|
|
19
|
+
// - Key pressed while targeting the Entity, but only in close range.
|
|
20
|
+
//
|
|
21
|
+
// It also supports simple visual feedback when interactions occur, by showing floating text.
|
|
22
|
+
// More sophisticated feedback requires the use of other components.
|
|
23
|
+
message PBPointerEvents {
|
|
24
|
+
message Info {
|
|
25
|
+
optional common.InputAction button = 1; // key/button in use (default IA_ANY)
|
|
26
|
+
optional string hover_text = 2; // feedback on hover (default 'Interact')
|
|
27
|
+
optional float max_distance = 3; // range of interaction (default 10)
|
|
28
|
+
optional bool show_feedback = 4; // enable or disable hover text (default true)
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message Entry {
|
|
32
|
+
common.PointerEventType event_type = 1; // the kind of interaction to detect
|
|
33
|
+
Info event_info = 2; // additional configuration for this detection
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
repeated Entry pointer_events = 1; // the list of relevant events to detect
|
|
37
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/input_action.proto";
|
|
7
|
+
import "decentraland/sdk/components/common/raycast_hit.proto";
|
|
8
|
+
|
|
9
|
+
option (common.ecs_component_id) = 1063;
|
|
10
|
+
|
|
11
|
+
// renderer append a new object of this in each command, there can be many commands per frames
|
|
12
|
+
message PBPointerEventsResult {
|
|
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
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1074;
|
|
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).
|
|
9
|
+
message PBPointerLock {
|
|
10
|
+
bool is_pointer_locked = 1; // whether the pointer is locked
|
|
11
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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) = 1067;
|
|
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
|
+
|
|
50
|
+
// RaycastQueryType indicates whether the ray should stop on the first collition, or continue.
|
|
51
|
+
enum RaycastQueryType {
|
|
52
|
+
// Pick the first (not necessarily the closest) hit within the range
|
|
53
|
+
RQT_HIT_FIRST = 0;
|
|
54
|
+
// Pick all hits within the range
|
|
55
|
+
RQT_QUERY_ALL = 1;
|
|
56
|
+
// Do not perform the raycast, only set the raycast result with empty hits
|
|
57
|
+
RQT_NONE = 2;
|
|
58
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/common/vectors.proto";
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/raycast_hit.proto";
|
|
7
|
+
|
|
8
|
+
option (common.ecs_component_id) = 1068;
|
|
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.
|
|
15
|
+
message PBRaycastResult {
|
|
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
|
|
21
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
9
|
+
string realm_name = 2;
|
|
10
|
+
int32 network_id = 3;
|
|
11
|
+
string comms_adapter = 4;
|
|
12
|
+
bool is_preview = 5;
|
|
13
|
+
optional string room = 6;
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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) = 1030;
|
|
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.
|
|
17
|
+
message PBTextShape {
|
|
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
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
}
|
|
19
|
+
|
|
20
|
+
optional bool playing = 6; // default true (pause or running)
|
|
21
|
+
optional float current_time = 7; // between 0 and 1
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message Move {
|
|
25
|
+
decentraland.common.Vector3 start = 1;
|
|
26
|
+
decentraland.common.Vector3 end = 2;
|
|
27
|
+
optional bool face_direction = 3;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message Rotate {
|
|
31
|
+
decentraland.common.Quaternion start = 1;
|
|
32
|
+
decentraland.common.Quaternion end = 2;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
message Scale {
|
|
36
|
+
decentraland.common.Vector3 start = 1;
|
|
37
|
+
decentraland.common.Vector3 end = 2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// Implementation guidelines for these easing functions can be found
|
|
41
|
+
// at https://github.com/ai/easings.net/blob/6fcd5f852a470bf1a7890e8178afa0f471d5f2ec/src/easings/easingsFunctions.ts
|
|
42
|
+
enum EasingFunction {
|
|
43
|
+
EF_LINEAR = 0; // default
|
|
44
|
+
EF_EASEINQUAD = 1;
|
|
45
|
+
EF_EASEOUTQUAD = 2;
|
|
46
|
+
EF_EASEQUAD = 3;
|
|
47
|
+
EF_EASEINSINE = 4;
|
|
48
|
+
EF_EASEOUTSINE = 5;
|
|
49
|
+
EF_EASESINE = 6;
|
|
50
|
+
EF_EASEINEXPO = 7;
|
|
51
|
+
EF_EASEOUTEXPO = 8;
|
|
52
|
+
EF_EASEEXPO = 9;
|
|
53
|
+
EF_EASEINELASTIC = 10;
|
|
54
|
+
EF_EASEOUTELASTIC = 11;
|
|
55
|
+
EF_EASEELASTIC = 12;
|
|
56
|
+
EF_EASEINBOUNCE = 13;
|
|
57
|
+
EF_EASEOUTBOUNCE = 14;
|
|
58
|
+
EF_EASEBOUNCE = 15;
|
|
59
|
+
EF_EASEINCUBIC = 16;
|
|
60
|
+
EF_EASEOUTCUBIC = 17;
|
|
61
|
+
EF_EASECUBIC = 18;
|
|
62
|
+
EF_EASEINQUART = 19;
|
|
63
|
+
EF_EASEOUTQUART = 20;
|
|
64
|
+
EF_EASEQUART = 21;
|
|
65
|
+
EF_EASEINQUINT = 22;
|
|
66
|
+
EF_EASEOUTQUINT = 23;
|
|
67
|
+
EF_EASEQUINT = 24;
|
|
68
|
+
EF_EASEINCIRC = 25;
|
|
69
|
+
EF_EASEOUTCIRC = 26;
|
|
70
|
+
EF_EASECIRC = 27;
|
|
71
|
+
EF_EASEINBACK = 28;
|
|
72
|
+
EF_EASEOUTBACK = 29;
|
|
73
|
+
EF_EASEBACK = 30;
|
|
74
|
+
}
|
|
@@ -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,24 @@
|
|
|
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
|
+
}
|
|
@@ -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
|
+
}
|