@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,73 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.realm;
|
|
3
|
+
|
|
4
|
+
message AboutResponse {
|
|
5
|
+
bool healthy = 1;
|
|
6
|
+
AboutConfiguration configurations = 2;
|
|
7
|
+
ContentInfo content = 3;
|
|
8
|
+
CommsInfo comms = 4;
|
|
9
|
+
LambdasInfo lambdas = 5;
|
|
10
|
+
optional BffInfo bff = 6;
|
|
11
|
+
bool accepting_users = 7;
|
|
12
|
+
|
|
13
|
+
message MinimapConfiguration {
|
|
14
|
+
bool enabled = 1;
|
|
15
|
+
optional string data_image = 2;
|
|
16
|
+
optional string estate_image = 3;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message SkyboxConfiguration {
|
|
20
|
+
// only one value at a time
|
|
21
|
+
optional float fixed_hour = 1;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message AboutConfiguration {
|
|
25
|
+
optional string realm_name = 1;
|
|
26
|
+
uint32 network_id = 2;
|
|
27
|
+
repeated string global_scenes_urn = 3;
|
|
28
|
+
repeated string scenes_urn = 4;
|
|
29
|
+
optional MinimapConfiguration minimap = 5;
|
|
30
|
+
optional SkyboxConfiguration skybox = 6;
|
|
31
|
+
|
|
32
|
+
// A content server to be used to load the parcels around the user. Uses the POST /entities/active endpoint
|
|
33
|
+
// to continously fetch the parcels around the users. if null, then the default content server will be used
|
|
34
|
+
// if == "" then the city_loader will be disabled and the scenes_urn will be used to load the world
|
|
35
|
+
optional string city_loader_content_server = 7;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message ContentInfo {
|
|
39
|
+
// common properties
|
|
40
|
+
bool healthy = 1;
|
|
41
|
+
optional string version = 2;
|
|
42
|
+
optional string commit_hash = 3;
|
|
43
|
+
string public_url = 4;
|
|
44
|
+
}
|
|
45
|
+
message LambdasInfo {
|
|
46
|
+
// common properties
|
|
47
|
+
bool healthy = 1;
|
|
48
|
+
optional string version = 2;
|
|
49
|
+
optional string commit_hash = 3;
|
|
50
|
+
string public_url = 4;
|
|
51
|
+
}
|
|
52
|
+
message CommsInfo {
|
|
53
|
+
// common properties
|
|
54
|
+
bool healthy = 1;
|
|
55
|
+
optional string version = 2;
|
|
56
|
+
optional string commit_hash = 3;
|
|
57
|
+
optional string public_url = 4;
|
|
58
|
+
// specific properties
|
|
59
|
+
string protocol = 50;
|
|
60
|
+
optional int32 users_count = 51;
|
|
61
|
+
optional string fixed_adapter = 52;
|
|
62
|
+
}
|
|
63
|
+
message BffInfo {
|
|
64
|
+
// common properties
|
|
65
|
+
bool healthy = 1;
|
|
66
|
+
optional string version = 2;
|
|
67
|
+
optional string commit_hash = 3;
|
|
68
|
+
string public_url = 4;
|
|
69
|
+
// specific properties
|
|
70
|
+
optional int32 user_count = 51;
|
|
71
|
+
optional string protocol_version = 52;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# How to add a new ECS Component with Protocol-Buffers
|
|
2
|
+
|
|
3
|
+
In this directory, we have all the components with the schema `ComponentName.proto`. `ComponentName` has to be PascalCase, and the `.proto` is the extension that is recognized as protocol-buffer schema.
|
|
4
|
+
|
|
5
|
+
Inside each proto, we need to have at least this template:
|
|
6
|
+
```proto
|
|
7
|
+
syntax = "proto3";
|
|
8
|
+
|
|
9
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
10
|
+
option (common.ecs_component_id) = XXXX;
|
|
11
|
+
|
|
12
|
+
message PBComponentName {
|
|
13
|
+
float one_parameter = 1;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Some points that must be well-defined:
|
|
19
|
+
- `XXXX` the component ID is a super important property of the component, and it has to be unique at least between proto, otherwise, the code generation will fail.
|
|
20
|
+
- `PBComponentName` the root message has to be the same as the file name with the prefix `PB`
|
|
21
|
+
- `one_parameter` each parameter name has to be snake_case.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## Common directory
|
|
25
|
+
The common directory only has to have unambiguous structures like decentraland.common.Vector3, decentraland.common.Color3, Quaternion, etc. These messages will never change.
|
|
26
|
+
|
|
27
|
+
## About specific options with other languages
|
|
28
|
+
The definition must be the minimal proto code, and it shouldn't have a specific option to compile on some platform. So if you have to add additional information to the proto, you will be able to run a post-process after the protocol schemas acquisition.
|
|
29
|
+
For example, in the unity-renderer repo, it'll be necessary to add the `csharp_namespace` option but it's the responsibility of this particular implementation. This code option doesn't define how the component is.
|
|
30
|
+
|
|
31
|
+
# Test component
|
|
32
|
+
If you write a proto and then push, CI will fail because the tests will fail. All the components need to be tested. `@dcl/ecs/test/components` has some examples!
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
|
|
2
|
+
# Transform
|
|
3
|
+
|
|
4
|
+
Transform is not a protocol-buffer definition, because it uses the native byte-buffer to write directly on the wire. This allows the consumer to copy the message directly on memory and the component be serialized a little bit faster.
|
|
5
|
+
|
|
6
|
+
```cpp
|
|
7
|
+
// Transform length = 44
|
|
8
|
+
struct Transform {
|
|
9
|
+
float positionX;
|
|
10
|
+
float positionY;
|
|
11
|
+
float positionZ;
|
|
12
|
+
|
|
13
|
+
float rotationX;
|
|
14
|
+
float rotationY;
|
|
15
|
+
float rotationZ;
|
|
16
|
+
float rotationW;
|
|
17
|
+
|
|
18
|
+
float scaleX;
|
|
19
|
+
float scaleY;
|
|
20
|
+
float scaleZ;
|
|
21
|
+
|
|
22
|
+
uint32_t parentEntity;
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
- Serialized in big-endian
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1042;
|
|
6
|
+
|
|
7
|
+
// The Animator component is a container for multiple potential animations an Entity can display,
|
|
8
|
+
// separately or at the same time. It can be used to start, stop or blend animations; as well as
|
|
9
|
+
// to inspect their playback state.
|
|
10
|
+
//
|
|
11
|
+
// Animations have a `weight` property, which determines how pronounced the animation will be. This
|
|
12
|
+
// can be adjusted to blend animations together, or gracefully transition from one to the next.
|
|
13
|
+
message PBAnimator {
|
|
14
|
+
repeated PBAnimationState states = 1; // a collection of animations and their current state
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// (*) initial state means what frame is set when the state is reset:
|
|
18
|
+
// - if `speed` >= 0 the frame set is the first one
|
|
19
|
+
// - if `speed` < 0 the frame set is the last one
|
|
20
|
+
// (**) repeating means going back to the initial state at the moment the given animation is finished and keeps playing
|
|
21
|
+
|
|
22
|
+
// AnimationState indicates the status and configuration of one available animation.
|
|
23
|
+
message PBAnimationState {
|
|
24
|
+
reserved 1; // deprecated `name` prop
|
|
25
|
+
string clip = 2; // the animation path in the `files` array of the scene manifest
|
|
26
|
+
optional bool playing = 3; // whether this animation is currently playing
|
|
27
|
+
optional float weight = 4; // @experimental the "weight" of this animation (see below, default: 1.0)
|
|
28
|
+
optional float speed = 5; // the playback speed (default: 1.0)
|
|
29
|
+
optional bool loop = 6; // whether the animation repeats (**) until is manually stopped (default: true)
|
|
30
|
+
optional bool should_reset = 7; // whether the animation is restored to the initial state (*) when it changes from stopped to playing (default: false)
|
|
31
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/media_state.proto";
|
|
7
|
+
option (common.ecs_component_id) = 1105;
|
|
8
|
+
|
|
9
|
+
message PBAudioEvent {
|
|
10
|
+
common.MediaState state = 1;
|
|
11
|
+
uint32 timestamp = 2; // monotonic counter
|
|
12
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1020;
|
|
6
|
+
|
|
7
|
+
// The AudioSource component can play an audio clips bundled with the scene, controlling some
|
|
8
|
+
// of the behavior.
|
|
9
|
+
//
|
|
10
|
+
// In each AudioSource instance, the sound is spatially located at the associated entity’s position,
|
|
11
|
+
// given by its Transform.
|
|
12
|
+
//
|
|
13
|
+
// Note that the `audio_clip_url` is not actually a URL, but rather the path of a file bundled with
|
|
14
|
+
// the scene and declared in its manifest. The name was chosen because the URL use-case will
|
|
15
|
+
// eventually be supported.
|
|
16
|
+
//
|
|
17
|
+
// `playing=true` when it's previously `playing=true`
|
|
18
|
+
// a) if clip is playing and `current_time` is NOT SET, the clip remains in the current `current_time`
|
|
19
|
+
// b) if clip is stopped or `current_time` is set, the clip is played from the `current_time` (if set) or from the beginning
|
|
20
|
+
//
|
|
21
|
+
// If other property (volume, loop, pitch) is changed while playing, the clip is keep playing with the new properties
|
|
22
|
+
// Changing `audio_clip_url` while playing stops the current clip and plays the new one (as a new instance)
|
|
23
|
+
message PBAudioSource {
|
|
24
|
+
optional bool playing = 1; // whether the clip is currently playing.
|
|
25
|
+
optional float volume = 2; // the audio volume (default: 1.0).
|
|
26
|
+
optional bool loop = 3; // whether the clip should restart when finished.
|
|
27
|
+
optional float pitch = 4; // the audio pitch (default: 1.0).
|
|
28
|
+
string audio_clip_url = 5; // the clip path as given in the `files` array of the scene's manifest.
|
|
29
|
+
optional float current_time = 6; // specifies the current playback time of the clip in seconds (default: 0).
|
|
30
|
+
optional bool global = 7; // whether the audio plays at constant volume across the scene.
|
|
31
|
+
}
|
|
@@ -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) = 1021;
|
|
6
|
+
|
|
7
|
+
// The AudioStream component can play external audio clips given a URL, streaming it in real-time.
|
|
8
|
+
//
|
|
9
|
+
// Despite being attached to a particular entity, the sound is not affected by its position.
|
|
10
|
+
message PBAudioStream {
|
|
11
|
+
optional bool playing = 1; // whether the clip is currently playing
|
|
12
|
+
optional float volume = 2; // the audio volume (default: 1.0)
|
|
13
|
+
string url = 3; // the audio stream HTTP URL
|
|
14
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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) = 1073;
|
|
8
|
+
|
|
9
|
+
// The AvatarAttach component automatically repositions an Entity to maintain the same position and
|
|
10
|
+
// rotation relative to some part of an avatar, called the "anchor point". The Entity
|
|
11
|
+
// will follow this anchor as it moves.
|
|
12
|
+
//
|
|
13
|
+
// The Entity's own Transform is overridden by this component. To offset position and adjust scale,
|
|
14
|
+
// add a child to the anchored Entity and set a Transform on it instead.
|
|
15
|
+
//
|
|
16
|
+
// AvatarAnchorPointType indicates which part of the avatar the Entity must follow.
|
|
17
|
+
message PBAvatarAttach {
|
|
18
|
+
optional string avatar_id = 1; // the user ID of the avatar (default: local user)
|
|
19
|
+
AvatarAnchorPointType anchor_point_id = 2; // the anchor point.
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// AvatarAnchorPointType determines the part of the avatar's body that anchors the Entity.
|
|
23
|
+
enum AvatarAnchorPointType {
|
|
24
|
+
// @deprecated consider parenting to `engine.PlayerEntity`, this will attach to player position with an arbitrary offset
|
|
25
|
+
AAPT_POSITION = 0;
|
|
26
|
+
AAPT_NAME_TAG = 1;
|
|
27
|
+
AAPT_HEAD = 4;
|
|
28
|
+
AAPT_NECK = 5;
|
|
29
|
+
AAPT_SPINE = 6;
|
|
30
|
+
AAPT_SPINE1 = 7;
|
|
31
|
+
AAPT_SPINE2 = 8;
|
|
32
|
+
AAPT_HIP = 9;
|
|
33
|
+
AAPT_LEFT_SHOULDER = 10;
|
|
34
|
+
AAPT_LEFT_ARM = 11;
|
|
35
|
+
AAPT_LEFT_FOREARM = 12;
|
|
36
|
+
AAPT_LEFT_HAND = 2;
|
|
37
|
+
AAPT_LEFT_HAND_INDEX = 13;
|
|
38
|
+
AAPT_RIGHT_SHOULDER = 14;
|
|
39
|
+
AAPT_RIGHT_ARM = 15;
|
|
40
|
+
AAPT_RIGHT_FOREARM = 16;
|
|
41
|
+
AAPT_RIGHT_HAND = 3;
|
|
42
|
+
AAPT_RIGHT_HAND_INDEX = 17;
|
|
43
|
+
AAPT_LEFT_UP_LEG = 18;
|
|
44
|
+
AAPT_LEFT_LEG = 19;
|
|
45
|
+
AAPT_LEFT_FOOT = 20;
|
|
46
|
+
AAPT_LEFT_TOE_BASE = 21;
|
|
47
|
+
AAPT_RIGHT_UP_LEG = 22;
|
|
48
|
+
AAPT_RIGHT_LEG = 23;
|
|
49
|
+
AAPT_RIGHT_FOOT = 24;
|
|
50
|
+
AAPT_RIGHT_TOE_BASE = 25;
|
|
51
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
syntax = "proto3";
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
import "decentraland/common/colors.proto";
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
option (common.ecs_component_id) = 1087;
|
|
7
|
+
|
|
8
|
+
// AvatarBase sets all modifiers over the avatar's apparence.
|
|
9
|
+
message PBAvatarBase {
|
|
10
|
+
decentraland.common.Color3 skin_color = 1;
|
|
11
|
+
decentraland.common.Color3 eyes_color = 2;
|
|
12
|
+
decentraland.common.Color3 hair_color = 3;
|
|
13
|
+
string body_shape_urn = 4;
|
|
14
|
+
string name = 5;
|
|
15
|
+
}
|
|
@@ -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) = 1088;
|
|
6
|
+
|
|
7
|
+
// AvatarEmoteCommand is a grow only value set, used to signal the renderer about
|
|
8
|
+
// avatar emotes playback.
|
|
9
|
+
message PBAvatarEmoteCommand {
|
|
10
|
+
string emote_urn = 1;
|
|
11
|
+
bool loop = 2;
|
|
12
|
+
uint32 timestamp = 3; // monotonic counter
|
|
13
|
+
}
|
|
@@ -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) = 1091;
|
|
6
|
+
|
|
7
|
+
// AvatarEquipData is used to read the information about the avatar's owneables.
|
|
8
|
+
// this component is written by the engine using the communications transports'
|
|
9
|
+
// data.
|
|
10
|
+
message PBAvatarEquippedData {
|
|
11
|
+
repeated string wearable_urns = 1;
|
|
12
|
+
repeated string emote_urns = 2;
|
|
13
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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) = 1070;
|
|
9
|
+
|
|
10
|
+
// The AvatarModifierArea component can be attached to an Entity to define a region of space where
|
|
11
|
+
// avatar behavior changes.
|
|
12
|
+
//
|
|
13
|
+
// The Entity's Transform position determines the center-point of the region, while its size is
|
|
14
|
+
// given as a vector in the `area` property below. The Transform rotation is applied, but the scale
|
|
15
|
+
// is ignored.
|
|
16
|
+
//
|
|
17
|
+
// The modifier effect is only applied to avatars inside the region. It does not affect how players
|
|
18
|
+
// standing inside it see avatars on the other side of the boundary.
|
|
19
|
+
//
|
|
20
|
+
// Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
|
|
21
|
+
// is actually a 3D volume.
|
|
22
|
+
message PBAvatarModifierArea {
|
|
23
|
+
decentraland.common.Vector3 area = 1; // the 3D size of the region
|
|
24
|
+
repeated string exclude_ids = 2; // user IDs that can enter and remain unaffected
|
|
25
|
+
repeated AvatarModifierType modifiers = 3; // list of modifiers to apply
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// AvatarModifierType is an effect that should be applied to avatars inside the region.
|
|
29
|
+
enum AvatarModifierType {
|
|
30
|
+
AMT_HIDE_AVATARS = 0; // avatars are invisible
|
|
31
|
+
AMT_DISABLE_PASSPORTS = 1; // selecting (e.g. clicking) an avatar will not bring up their profile.
|
|
32
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1080;
|
|
6
|
+
import "decentraland/common/colors.proto";
|
|
7
|
+
|
|
8
|
+
// The AvatarShape component contains the information required to draw and animate avatar, acting as
|
|
9
|
+
// a simplified GLTF container for this specific case.
|
|
10
|
+
//
|
|
11
|
+
// All fields (except ID) are optional have reasonable default values. In the case of `wearables`,
|
|
12
|
+
// each slot on the Avatar's body that is not explicitly included in the list has its own default.
|
|
13
|
+
//
|
|
14
|
+
// Note that, while AvatarShape can be attached to any Entity, it's only actually used in the global
|
|
15
|
+
// Avatar Scene. Other requirements are usually better served by GLTFs.
|
|
16
|
+
message PBAvatarShape {
|
|
17
|
+
string id = 1; // the user ID
|
|
18
|
+
optional string name = 2; // visible name (default: "NPC")
|
|
19
|
+
optional string body_shape = 3; // shape URN (default "urn:decentraland:off-chain:base-avatars:BaseFemale")
|
|
20
|
+
|
|
21
|
+
optional decentraland.common.Color3 skin_color = 4; // RGB (default [0.6, 0.462, 0.356])
|
|
22
|
+
optional decentraland.common.Color3 hair_color = 5; // RGB (default [0.283, 0.142, 0])
|
|
23
|
+
optional decentraland.common.Color3 eye_color = 6; // RGB (default [0.6, 0.462, 0.356])
|
|
24
|
+
|
|
25
|
+
optional string expression_trigger_id = 7; // current emote animations
|
|
26
|
+
optional int64 expression_trigger_timestamp = 8; // start of emote animations (in the same order)
|
|
27
|
+
|
|
28
|
+
optional bool talking = 9; // whether to display the floating voice chat icon
|
|
29
|
+
|
|
30
|
+
// Wearable URNs, one for each body slot.
|
|
31
|
+
// Default values for each unspecified slot:
|
|
32
|
+
// Eyes : "urn:decentraland:off-chain:base-avatars:f_eyes_00",
|
|
33
|
+
// Eyebrows: "urn:decentraland:off-chain:base-avatars:f_eyebrows_00",
|
|
34
|
+
// Mouth : "urn:decentraland:off-chain:base-avatars:f_mouth_00"
|
|
35
|
+
// Hair : "urn:decentraland:off-chain:base-avatars:standard_hair",
|
|
36
|
+
// Shirt : "urn:decentraland:off-chain:base-avatars:f_simple_yellow_tshirt",
|
|
37
|
+
// Trousers: "urn:decentraland:off-chain:base-avatars:f_brown_trousers",
|
|
38
|
+
// Shoes : "urn:decentraland:off-chain:base-avatars:bun_shoes"]
|
|
39
|
+
repeated string wearables = 10;
|
|
40
|
+
repeated string emotes = 11; // available emotes (default empty)
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
6
|
+
|
|
7
|
+
// https://adr.decentraland.org/adr/ADR-198
|
|
8
|
+
option (common.ecs_component_id) = 1090;
|
|
9
|
+
|
|
10
|
+
// The Billboard component makes an Entity automatically reorient its rotation to face the camera.
|
|
11
|
+
// As the name indicates, it’s used to display in-game billboards and frequently combined with
|
|
12
|
+
// the TextShape component.
|
|
13
|
+
//
|
|
14
|
+
// Billboard only affects the Entity's rotation. Its scale and position are still determined by its
|
|
15
|
+
// Transform.
|
|
16
|
+
message PBBillboard {
|
|
17
|
+
optional BillboardMode billboard_mode = 1; // the BillboardMode (default: BM_ALL)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
// BillboardMode indicates one or more axis for automatic rotation, in OR-able bit flag form.
|
|
21
|
+
// Only the values below and the (BM_X | BM_Y) combination are valid.
|
|
22
|
+
enum BillboardMode {
|
|
23
|
+
BM_NONE = 0;
|
|
24
|
+
BM_X = 1;
|
|
25
|
+
BM_Y = 2;
|
|
26
|
+
BM_Z = 4;
|
|
27
|
+
BM_ALL = 7; // bitwise combination BM_X | BM_Y | BM_Z
|
|
28
|
+
}
|
|
29
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1072;
|
|
6
|
+
import "decentraland/sdk/components/common/camera_type.proto";
|
|
7
|
+
|
|
8
|
+
// The CameraMode component can be used to determine whether the player is using a first-person o
|
|
9
|
+
// third-person view.
|
|
10
|
+
message PBCameraMode {
|
|
11
|
+
common.CameraType mode = 1; // the camera type (1st-person or 3rd-person)
|
|
12
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/vectors.proto";
|
|
6
|
+
import "decentraland/sdk/components/common/camera_type.proto";
|
|
7
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
8
|
+
|
|
9
|
+
option (common.ecs_component_id) = 1071;
|
|
10
|
+
|
|
11
|
+
// The CameraModeArea component can be attached to an Entity to define a region of space where
|
|
12
|
+
// the player's camera mode (1st-person or 3rd-person) is overridden.
|
|
13
|
+
//
|
|
14
|
+
// The Entity's Transform position determines the center-point of the region, while its size is
|
|
15
|
+
// given as a vector in the `area` property below. The Transform rotation is applied, but the scale
|
|
16
|
+
// is ignored.
|
|
17
|
+
//
|
|
18
|
+
// When players leave the region, their previous setting is restored.
|
|
19
|
+
//
|
|
20
|
+
// Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
|
|
21
|
+
// is actually a 3D volume.
|
|
22
|
+
message PBCameraModeArea {
|
|
23
|
+
decentraland.common.Vector3 area = 1; // the 3D size of the region
|
|
24
|
+
common.CameraType mode = 2; // the camera mode to enforce
|
|
25
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components.common;
|
|
4
|
+
|
|
5
|
+
enum InputAction {
|
|
6
|
+
IA_POINTER = 0;
|
|
7
|
+
IA_PRIMARY = 1;
|
|
8
|
+
IA_SECONDARY = 2;
|
|
9
|
+
IA_ANY = 3;
|
|
10
|
+
IA_FORWARD = 4;
|
|
11
|
+
IA_BACKWARD = 5;
|
|
12
|
+
IA_RIGHT = 6;
|
|
13
|
+
IA_LEFT = 7;
|
|
14
|
+
IA_JUMP = 8;
|
|
15
|
+
IA_WALK = 9;
|
|
16
|
+
IA_ACTION_3 = 10;
|
|
17
|
+
IA_ACTION_4 = 11;
|
|
18
|
+
IA_ACTION_5 = 12;
|
|
19
|
+
IA_ACTION_6 = 13;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// PointerEventType is a kind of interaction that can be detected.
|
|
23
|
+
enum PointerEventType {
|
|
24
|
+
PET_UP = 0;
|
|
25
|
+
PET_DOWN = 1;
|
|
26
|
+
PET_HOVER_ENTER = 2;
|
|
27
|
+
PET_HOVER_LEAVE = 3;
|
|
28
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components.common;
|
|
4
|
+
import "decentraland/common/vectors.proto";
|
|
5
|
+
|
|
6
|
+
// RaycastHit contains information about the intersection of a ray with a mesh.
|
|
7
|
+
message RaycastHit {
|
|
8
|
+
// Position will be relative to the scene
|
|
9
|
+
decentraland.common.Vector3 position = 1; // the intersection point in global coordinates
|
|
10
|
+
decentraland.common.Vector3 global_origin = 2; // the starting point of the ray in global coordinates
|
|
11
|
+
decentraland.common.Vector3 direction = 3; // the direction vector of the ray in global coordinates
|
|
12
|
+
decentraland.common.Vector3 normal_hit = 4; // normal of the hit surface in global coordinates
|
|
13
|
+
float length = 5; // the distance between the ray origin and the hit position
|
|
14
|
+
optional string mesh_name = 6; // mesh name, if collision happened inside a GltfContainer
|
|
15
|
+
optional uint32 entity_id = 7; // the ID of the Entity that has the impacted mesh attached
|
|
16
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.sdk.components.common;
|
|
4
|
+
|
|
5
|
+
enum TextAlignMode {
|
|
6
|
+
TAM_TOP_LEFT = 0;
|
|
7
|
+
TAM_TOP_CENTER = 1;
|
|
8
|
+
TAM_TOP_RIGHT = 2;
|
|
9
|
+
TAM_MIDDLE_LEFT = 3;
|
|
10
|
+
TAM_MIDDLE_CENTER = 4;
|
|
11
|
+
TAM_MIDDLE_RIGHT = 5;
|
|
12
|
+
TAM_BOTTOM_LEFT = 6;
|
|
13
|
+
TAM_BOTTOM_CENTER = 7;
|
|
14
|
+
TAM_BOTTOM_RIGHT = 8;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
enum Font {
|
|
18
|
+
F_SANS_SERIF = 0;
|
|
19
|
+
F_SERIF = 1;
|
|
20
|
+
F_MONOSPACE = 2;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1048;
|
|
6
|
+
|
|
7
|
+
// EngineInfo provides information about the graphics engine running the scene.
|
|
8
|
+
// The values of this component are written at the "physics" stage of the ADR-148. Meaning
|
|
9
|
+
// the tick_number and frame_number of the same frame could be used as correlation numbers
|
|
10
|
+
// for timestamps in other components.
|
|
11
|
+
message PBEngineInfo {
|
|
12
|
+
uint32 frame_number = 1; // frame counter of the engine
|
|
13
|
+
float total_runtime = 2; // total runtime of this scene in seconds
|
|
14
|
+
uint32 tick_number = 3; // tick counter of the scene as per ADR-148
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.sdk.components;
|
|
3
|
+
|
|
4
|
+
import "decentraland/sdk/components/common/id.proto";
|
|
5
|
+
option (common.ecs_component_id) = 1041;
|
|
6
|
+
|
|
7
|
+
// GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
|
|
8
|
+
//
|
|
9
|
+
// This allows the use of custom models, materials, collision boundaries and shapes that can't be
|
|
10
|
+
// achieved using MeshRenderer, MeshCollider and other standard components.
|
|
11
|
+
message PBGltfContainer {
|
|
12
|
+
string src = 1; // the GLTF file path as listed in the scene's manifest.
|
|
13
|
+
|
|
14
|
+
reserved 2;
|
|
15
|
+
reserved 3;
|
|
16
|
+
|
|
17
|
+
optional uint32 visible_meshes_collision_mask = 4; // default: 0
|
|
18
|
+
optional uint32 invisible_meshes_collision_mask = 5; // default: CL_POINTER | CL_PHYSICS
|
|
19
|
+
}
|
|
@@ -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) = 1049;
|
|
6
|
+
|
|
7
|
+
import "decentraland/sdk/components/common/loading_state.proto";
|
|
8
|
+
|
|
9
|
+
// GltfContainerLoadingState is set by the engine and provides information about
|
|
10
|
+
// the current state of the GltfContainer of an entity.
|
|
11
|
+
message PBGltfContainerLoadingState {
|
|
12
|
+
common.LoadingState current_state = 1;
|
|
13
|
+
}
|