@dcl/protocol 1.0.0-2861824890.commit-748eb8b → 1.0.0-28806326790.commit-6771b13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +256 -0
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/about.gen.js +6 -0
- package/out-js/about.gen.js.map +1 -0
- package/out-js/comms.gen.d.ts +1 -0
- package/out-js/comms.gen.js +6 -0
- package/out-js/comms.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
- package/out-js/decentraland/common/border_rect.gen.js +201 -0
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
- package/out-js/decentraland/common/colors.gen.d.ts +59 -0
- package/out-js/decentraland/common/colors.gen.js +260 -0
- package/out-js/decentraland/common/colors.gen.js.map +1 -0
- package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
- package/out-js/decentraland/common/content_mapping.gen.js +80 -0
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
- package/out-js/decentraland/common/texture.gen.d.ts +105 -0
- package/out-js/decentraland/common/texture.gen.js +475 -0
- package/out-js/decentraland/common/texture.gen.js.map +1 -0
- package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
- package/out-js/decentraland/common/vectors.gen.js +338 -0
- package/out-js/decentraland/common/vectors.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +792 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +105 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +400 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +1452 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +1122 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +557 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
- package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +303 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1056 -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 +334 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +2093 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +224 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1204 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2728 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +229 -0
- package/out-js/decentraland/realm/about.gen.js +1185 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
- package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +138 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +95 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +62 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +160 -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 +82 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +298 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +54 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js +128 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +209 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +108 -0
- package/out-js/decentraland/sdk/components/material.gen.js +536 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +130 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +471 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +104 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +110 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +306 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
- package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +238 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1547 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +51 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +177 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +83 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
- package/out-js/decentraland/social_service/errors.gen.js +405 -0
- package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
- package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
- package/out-js/google/protobuf/descriptor.gen.js +3173 -0
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
- package/out-js/google/protobuf/empty.gen.d.ts +38 -0
- package/out-js/google/protobuf/empty.gen.js +54 -0
- package/out-js/google/protobuf/empty.gen.js.map +1 -0
- package/out-js/quests.gen.d.ts +1 -0
- package/out-js/quests.gen.js +6 -0
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-apis.gen.d.ts +1 -0
- package/out-js/sdk-apis.gen.js +6 -0
- package/out-js/sdk-apis.gen.js.map +1 -0
- package/out-js/sdk-components.gen.d.ts +1 -0
- package/out-js/sdk-components.gen.js +6 -0
- package/out-js/sdk-components.gen.js.map +1 -0
- package/out-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-js/social.gen.d.ts +1 -0
- package/out-js/social.gen.js +6 -0
- package/out-js/social.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/comms.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
- package/out-ts/decentraland/common/colors.gen.ts +293 -0
- package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
- package/out-ts/decentraland/common/texture.gen.ts +539 -0
- package/out-ts/decentraland/common/vectors.gen.ts +377 -0
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +434 -0
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
- package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1150 -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 +2389 -0
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1338 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/realm/about.gen.ts +1415 -0
- package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +182 -0
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +195 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +383 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +148 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +206 -0
- package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
- package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +655 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +536 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +415 -0
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
- package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1775 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -0
- package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
- package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
- package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +3470 -0
- package/out-ts/google/protobuf/empty.gen.ts +72 -0
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-apis.gen.ts +3 -0
- package/out-ts/sdk-components.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/out-ts/social.gen.ts +3 -0
- package/package.json +28 -9
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +21 -0
- package/{kernel/apis/common/ContentMapping.proto → proto/decentraland/common/content_mapping.proto} +1 -0
- package/proto/decentraland/common/entity.proto +13 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/proto/decentraland/common/options.proto +51 -0
- package/proto/decentraland/common/quantization_example.proto +164 -0
- package/{kernel/apis/common/UserData.proto → proto/decentraland/common/sdk/user_data.proto} +1 -0
- package/proto/decentraland/common/texture.proto +45 -0
- package/proto/decentraland/common/vectors.proto +26 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +29 -0
- package/{kernel/apis/DevTools.proto → proto/decentraland/kernel/apis/dev_tools.proto} +3 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
- package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
- package/{kernel/apis/EthereumController.proto → proto/decentraland/kernel/apis/ethereum_controller.proto} +12 -1
- package/{kernel/apis/ParcelIdentity.proto → proto/decentraland/kernel/apis/parcel_identity.proto} +6 -2
- 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 +100 -0
- package/proto/decentraland/kernel/apis/runtime.proto +71 -0
- package/proto/decentraland/kernel/apis/scene.proto +16 -0
- package/{kernel/apis/SignedFetch.proto → proto/decentraland/kernel/apis/signed_fetch.proto} +9 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/{kernel/apis/UserActionModule.proto → proto/decentraland/kernel/apis/user_action_module.proto} +2 -0
- package/{kernel/apis/UserIdentity.proto → proto/decentraland/kernel/apis/user_identity.proto} +4 -2
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +176 -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/{kernel → proto/decentraland/kernel}/comms/v3/comms.proto +3 -3
- package/proto/decentraland/pulse/pulse_client.proto +79 -0
- package/proto/decentraland/pulse/pulse_server.proto +142 -0
- package/proto/decentraland/pulse/pulse_shared.proto +57 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +138 -0
- package/{ecs → proto/decentraland/sdk}/components/README.md +3 -3
- package/proto/decentraland/sdk/components/animator.proto +31 -0
- package/proto/decentraland/sdk/components/asset_load.proto +10 -0
- package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
- package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +31 -0
- package/proto/decentraland/sdk/components/audio_stream.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
- package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +49 -0
- package/proto/decentraland/sdk/components/billboard.proto +29 -0
- package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +25 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
- package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
- package/{ecs → proto/decentraland/sdk}/components/common/id.proto +1 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +37 -0
- package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
- package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
- package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
- package/proto/decentraland/sdk/components/common/texts.proto +21 -0
- package/proto/decentraland/sdk/components/engine_info.proto +15 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
- package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
- package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
- package/proto/decentraland/sdk/components/light_source.proto +28 -0
- package/proto/decentraland/sdk/components/main_camera.proto +11 -0
- package/proto/decentraland/sdk/components/map_pin.proto +16 -0
- package/proto/decentraland/sdk/components/material.proto +57 -0
- package/proto/decentraland/sdk/components/mesh_collider.proto +62 -0
- package/proto/decentraland/sdk/components/mesh_renderer.proto +43 -0
- package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
- package/proto/decentraland/sdk/components/particle_system.proto +133 -0
- package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
- package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +64 -0
- package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
- package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
- package/proto/decentraland/sdk/components/raycast.proto +58 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/text_shape.proto +45 -0
- package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
- package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
- package/proto/decentraland/sdk/components/tween.proto +117 -0
- package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
- package/proto/decentraland/sdk/components/tween_state.proto +18 -0
- package/proto/decentraland/sdk/components/ui_background.proto +34 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
- package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
- package/proto/decentraland/sdk/components/ui_input.proto +20 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +26 -0
- package/proto/decentraland/sdk/components/ui_transform.proto +178 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +24 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +16 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social_service/errors.proto +30 -0
- package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
- package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
- package/protoc-gen-bitwise/generator_csharp.js +248 -0
- package/protoc-gen-bitwise/options.js +139 -0
- package/protoc-gen-bitwise/plugin.js +87 -0
- package/protoc-gen-bitwise/runtime/cs/BitReader.cs +112 -0
- package/protoc-gen-bitwise/runtime/cs/BitWriter.cs +117 -0
- package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
- package/protoc-gen-bitwise/wire.js +239 -0
- package/public/about.proto +5 -0
- package/public/comms.proto +5 -0
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +25 -0
- package/public/sdk-components.proto +43 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +6 -0
- package/ecs/components/Animator.proto +0 -18
- package/ecs/components/AudioSource.proto +0 -12
- package/ecs/components/AudioStream.proto +0 -10
- package/ecs/components/AvatarAttach.proto +0 -16
- package/ecs/components/AvatarModifierArea.proto +0 -16
- package/ecs/components/AvatarShape.proto +0 -20
- package/ecs/components/Billboard.proto +0 -10
- package/ecs/components/BoxShape.proto +0 -14
- package/ecs/components/CameraMode.proto +0 -9
- package/ecs/components/CameraModeArea.proto +0 -11
- package/ecs/components/CylinderShape.proto +0 -15
- package/ecs/components/GLTFShape.proto +0 -14
- package/ecs/components/NFTShape.proto +0 -19
- package/ecs/components/OnPointerDown.proto +0 -12
- package/ecs/components/OnPointerDownResult.proto +0 -17
- package/ecs/components/OnPointerUp.proto +0 -12
- package/ecs/components/OnPointerUpResult.proto +0 -17
- package/ecs/components/PlaneShape.proto +0 -14
- package/ecs/components/PointerLock.proto +0 -8
- package/ecs/components/SphereShape.proto +0 -13
- package/ecs/components/TextShape.proto +0 -34
- package/ecs/components/UiTransform.proto +0 -159
- package/ecs/components/common/ActionButton.proto +0 -18
- package/ecs/components/common/CameraModeValue.proto +0 -6
- package/ecs/components/common/Color3.proto +0 -8
- package/ecs/components/common/Vector3.proto +0 -7
- package/kernel/apis/CommunicationsController.proto +0 -11
- package/kernel/apis/EngineAPI.proto +0 -180
- package/kernel/apis/EnvironmentAPI.proto +0 -67
- package/kernel/apis/ExperimentalAPI.proto +0 -16
- package/kernel/apis/Permissions.proto +0 -30
- package/kernel/apis/Players.proto +0 -28
- package/kernel/apis/PortableExperiences.proto +0 -40
- package/kernel/apis/RestrictedActions.proto +0 -25
- package/kernel/apis/SceneStateStorageController.proto +0 -114
- package/kernel/apis/SocialController.proto +0 -15
- package/kernel/comms/v1/broker.proto +0 -114
- package/kernel/comms/v1/comms.proto +0 -68
- package/kernel/comms/v2/comms.proto +0 -59
- package/renderer-protocol/EngineInterface.proto +0 -714
- package/renderer-protocol/RendererProtocol.proto +0 -26
- /package/{ecs → proto/decentraland/sdk}/components/Transform.md +0 -0
- /package/{ecs → proto/decentraland/sdk}/components/common/id.md +0 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
import "decentraland/common/vectors.proto";
|
|
4
|
+
|
|
5
|
+
package decentraland.kernel.comms.v3;
|
|
6
|
+
|
|
7
|
+
// Server->Client messsages
|
|
8
|
+
message ChallengeResponseMessage {
|
|
9
|
+
string challenge_to_sign = 1;
|
|
10
|
+
bool already_connected = 2;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
message WelcomeMessage {
|
|
14
|
+
string peer_id = 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
message IslandChangedMessage {
|
|
18
|
+
string island_id = 1;
|
|
19
|
+
string conn_str = 2;
|
|
20
|
+
optional string from_island_id = 3;
|
|
21
|
+
map<string, decentraland.common.Position> peers = 4;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message LeftIslandMessage {
|
|
25
|
+
string island_id = 1;
|
|
26
|
+
string peer_id = 2;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
message JoinIslandMessage {
|
|
30
|
+
string island_id = 1;
|
|
31
|
+
string peer_id = 2;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
enum KickedReason {
|
|
35
|
+
KR_NEW_SESSION = 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message KickedMessage {
|
|
39
|
+
KickedReason reason = 1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message ServerPacket {
|
|
43
|
+
oneof message {
|
|
44
|
+
ChallengeResponseMessage challenge_response = 1;
|
|
45
|
+
WelcomeMessage welcome = 2;
|
|
46
|
+
IslandChangedMessage island_changed = 3;
|
|
47
|
+
LeftIslandMessage left_island = 4;
|
|
48
|
+
JoinIslandMessage join_island = 5;
|
|
49
|
+
KickedMessage kicked = 6;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Client->Server messsages
|
|
54
|
+
message ChallengeRequestMessage {
|
|
55
|
+
string address = 1;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
message SignedChallengeMessage {
|
|
59
|
+
string auth_chain_json = 1;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
message Heartbeat {
|
|
63
|
+
decentraland.common.Position position = 1;
|
|
64
|
+
optional string desired_room = 2;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
message ClientPacket {
|
|
68
|
+
oneof message {
|
|
69
|
+
ChallengeRequestMessage challenge_request = 1;
|
|
70
|
+
SignedChallengeMessage signed_challenge = 2;
|
|
71
|
+
Heartbeat heartbeat = 3;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// Others
|
|
76
|
+
message IslandData {
|
|
77
|
+
string id = 1;
|
|
78
|
+
repeated string peers = 2;
|
|
79
|
+
uint32 max_peers = 3;
|
|
80
|
+
decentraland.common.Position center = 4;
|
|
81
|
+
double radius = 5;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
message IslandStatusMessage {
|
|
85
|
+
repeated IslandData data = 1;
|
|
86
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
|
|
3
|
-
package
|
|
3
|
+
package decentraland.kernel.comms.v3;
|
|
4
4
|
|
|
5
5
|
message Position {
|
|
6
6
|
double time = 2;
|
|
@@ -17,8 +17,8 @@ message Profile {
|
|
|
17
17
|
double time = 2;
|
|
18
18
|
string profile_version = 3;
|
|
19
19
|
enum ProfileType {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
PT_LOCAL = 0;
|
|
21
|
+
PT_DEPLOYED = 1;
|
|
22
22
|
}
|
|
23
23
|
ProfileType profile_type = 4;
|
|
24
24
|
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.pulse;
|
|
4
|
+
|
|
5
|
+
import "decentraland/pulse/pulse_shared.proto";
|
|
6
|
+
import "decentraland/common/options.proto";
|
|
7
|
+
|
|
8
|
+
message HandshakeRequest {
|
|
9
|
+
bytes auth_chain = 1;
|
|
10
|
+
int32 profile_version = 2;
|
|
11
|
+
optional PlayerInitialState initial_state = 3;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// Describes the initial state of the player if (re-)connected in the middle of the session
|
|
15
|
+
message PlayerInitialState {
|
|
16
|
+
PlayerState state = 1;
|
|
17
|
+
optional string emote_id = 2;
|
|
18
|
+
optional uint32 emote_duration_ms = 3;
|
|
19
|
+
// Indicates how many milliseconds ago the emote was started
|
|
20
|
+
optional uint32 emote_start_offset_ms = 4;
|
|
21
|
+
// Non-empty realm identifier. Rejected if empty.
|
|
22
|
+
string realm = 5;
|
|
23
|
+
optional int32 emote_mask = 6;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Similarly to the LiveKit pipeline, a peer announces the version of its profile but
|
|
27
|
+
// it only does it when it's changed as it's sent reliably and stored on the server for other peers
|
|
28
|
+
message ProfileVersionAnnouncement {
|
|
29
|
+
int32 version = 1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// Since the server doesn't simulate the scenes state, it trusts the values from the client
|
|
33
|
+
message PlayerStateInput {
|
|
34
|
+
PlayerState state = 1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// Client sends resync request if it has a gap in the known sequences and, thus, can't apply a delta.
|
|
38
|
+
// It's sent reliably to prevent further desynchronization
|
|
39
|
+
message ResyncRequest {
|
|
40
|
+
uint32 subject_id = 1;
|
|
41
|
+
// highest seq the client actually has for this subject
|
|
42
|
+
uint32 known_seq = 2;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Client → Server. Client requests to start an emote.
|
|
46
|
+
message EmoteStart {
|
|
47
|
+
string emote_id = 1;
|
|
48
|
+
optional uint32 duration_ms = 2;
|
|
49
|
+
PlayerState player_state = 3;
|
|
50
|
+
optional int32 mask = 4;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// Client → Server. Client requests to stop a looping emote.
|
|
54
|
+
// One-shot emotes are terminated by the server timer.
|
|
55
|
+
message EmoteStop {
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Client → Server. Also announces the peer's realm; peers in different realms never see each
|
|
59
|
+
// other. Must be the first gameplay message after handshake. Same-realm re-teleports are valid.
|
|
60
|
+
message TeleportRequest {
|
|
61
|
+
int32 parcel_index = 1;
|
|
62
|
+
uint32 position_x = 2 [(decentraland.common.quantized) = { min: 0, max: 16, bits: 8 }];
|
|
63
|
+
uint32 position_y = 3 [(decentraland.common.quantized) = { min: 0, max: 200, bits: 13 }];
|
|
64
|
+
uint32 position_z = 4 [(decentraland.common.quantized) = { min: 0, max: 16, bits: 8 }];
|
|
65
|
+
// Non-empty realm identifier. Rejected if empty.
|
|
66
|
+
string realm = 5;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
message ClientMessage {
|
|
70
|
+
oneof message {
|
|
71
|
+
HandshakeRequest handshake = 1;
|
|
72
|
+
PlayerStateInput input = 2;
|
|
73
|
+
ResyncRequest resync = 3;
|
|
74
|
+
ProfileVersionAnnouncement profile_announcement = 4;
|
|
75
|
+
EmoteStart emote_start = 5;
|
|
76
|
+
EmoteStop emote_stop = 6;
|
|
77
|
+
TeleportRequest teleport = 7;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.pulse;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/options.proto";
|
|
6
|
+
import "decentraland/pulse/pulse_shared.proto";
|
|
7
|
+
|
|
8
|
+
message HandshakeResponse {
|
|
9
|
+
bool success = 1;
|
|
10
|
+
optional string error = 2;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
message PlayerProfileVersionsAnnounced {
|
|
14
|
+
uint32 subject_id = 1;
|
|
15
|
+
int32 version = 2;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message PlayerStateDeltaTier0 {
|
|
19
|
+
uint32 subject_id = 1;
|
|
20
|
+
|
|
21
|
+
// Between two consecutive server simulation ticks, the subject may have sent multiple inputs, each incrementing Seq by 1. So
|
|
22
|
+
// the delta's NewSeq will naturally jump by more than 1 compared to the previous delta — even with zero packet loss.
|
|
23
|
+
// Without the "BaselineSeq" the client has no way to detect the package loss
|
|
24
|
+
uint32 baseline_seq = 2;
|
|
25
|
+
uint32 new_seq = 3;
|
|
26
|
+
uint32 server_tick = 4;
|
|
27
|
+
|
|
28
|
+
// While the player doesn't cross the parcel, this field is omitted from diff
|
|
29
|
+
optional int32 parcel_index = 5;
|
|
30
|
+
|
|
31
|
+
// X position inside the parcel
|
|
32
|
+
optional uint32 position_x = 6 [(decentraland.common.quantized) = { min: 0, max: 16, bits: 8 }];
|
|
33
|
+
|
|
34
|
+
// Y position
|
|
35
|
+
optional uint32 position_y = 7 [(decentraland.common.quantized) = { min: 0, max: 200, bits: 13 }];
|
|
36
|
+
|
|
37
|
+
// Z position inside the parcel
|
|
38
|
+
optional uint32 position_z = 8 [(decentraland.common.quantized) = { min: 0, max: 16, bits: 8 }];
|
|
39
|
+
|
|
40
|
+
// Power-law quantized: a sign bit + 7-bit magnitude curve over [-50, 50]. Zero is exactly
|
|
41
|
+
// representable (a stopped peer reports an exact 0 instead of the linear quantizer's ±0.196
|
|
42
|
+
// residual that drove foreign-avatar drift), and pow=2 concentrates resolution at the low speeds
|
|
43
|
+
// where avatars actually move, leaving only the visually-irrelevant extremes coarse.
|
|
44
|
+
optional uint32 velocity_x = 9 [(decentraland.common.quantized_power) = { max: 50, pow: 2, bits: 8 }];
|
|
45
|
+
optional uint32 velocity_y = 10 [(decentraland.common.quantized_power) = { max: 50, pow: 2, bits: 8 }];
|
|
46
|
+
optional uint32 velocity_z = 11 [(decentraland.common.quantized_power) = { max: 50, pow: 2, bits: 8 }];
|
|
47
|
+
|
|
48
|
+
optional uint32 rotation_y = 12 [(decentraland.common.quantized) = { min: 0, max: 360.0, bits: 7 }];
|
|
49
|
+
optional uint32 movement_blend = 13 [(decentraland.common.quantized) = { min: 0, max: 3, bits: 5 }];
|
|
50
|
+
optional uint32 slide_blend = 14 [(decentraland.common.quantized) = { min: 0, max: 1, bits: 4 }];
|
|
51
|
+
optional uint32 head_yaw = 15 [(decentraland.common.quantized) = { min: 0, max: 360.0, bits: 7 }];
|
|
52
|
+
optional uint32 head_pitch = 16 [(decentraland.common.quantized) = { min: 0, max: 360.0, bits: 7 }];
|
|
53
|
+
|
|
54
|
+
optional uint32 state_flags = 17;
|
|
55
|
+
optional GlideState glide_state = 18;
|
|
56
|
+
|
|
57
|
+
optional int32 jump_count = 19;
|
|
58
|
+
|
|
59
|
+
// Absolute world hit position the player is pointing at.
|
|
60
|
+
// Only meaningful when POINTING_AT is set in `state_flags`.
|
|
61
|
+
//
|
|
62
|
+
// X/Z use 17 bits over the world span (~±3000m, covers GenesisCity + border +
|
|
63
|
+
// raycast cutoff) which yields ~0.046m steps — at least as fine as the player's
|
|
64
|
+
// own parcel_index + position_x/z combined precision (0.0625m), so no separate
|
|
65
|
+
// parcel index is needed for point-at.
|
|
66
|
+
//
|
|
67
|
+
// Y uses 7 bits over the player altitude range (matches position_y), step ~1.6m.
|
|
68
|
+
// Point At is not supposed to change frequently so the wire overhead should be minimal
|
|
69
|
+
optional uint32 point_at_x = 20 [(decentraland.common.quantized) = { min: -3000.0, max: 3000.0, bits: 17 }];
|
|
70
|
+
optional uint32 point_at_y = 21 [(decentraland.common.quantized) = { min: 0.0, max: 200.0, bits: 7 }];
|
|
71
|
+
optional uint32 point_at_z = 22 [(decentraland.common.quantized) = { min: -3000.0, max: 3000.0, bits: 17 }];
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Full State is sent to the client when it is out of sync, and can't recover with a diff only
|
|
75
|
+
message PlayerStateFull {
|
|
76
|
+
uint32 subject_id = 1;
|
|
77
|
+
uint32 sequence = 2;
|
|
78
|
+
uint32 server_tick = 3;
|
|
79
|
+
PlayerState state = 4;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Notification to the client, that a peer has joined, it can mean connection or entering the area of interest, it's up to the server to decide
|
|
83
|
+
message PlayerJoined {
|
|
84
|
+
string user_id = 1;
|
|
85
|
+
int32 profile_version = 2;
|
|
86
|
+
PlayerStateFull state = 3;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// Notification to the client, that a peer has left, it can mean disconnection or leaving the area of interest
|
|
90
|
+
message PlayerLeft {
|
|
91
|
+
uint32 subject_id = 1;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
enum EmoteStopReason {
|
|
95
|
+
COMPLETED = 0; // one-shot timer expired on the server
|
|
96
|
+
CANCELLED = 1; // client sent EmoteStop (looping emotes)
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
// Server → All Observers
|
|
100
|
+
// Full player state is piggybacked to ensure the emote is played in the right place.
|
|
101
|
+
// Observers use server_tick to scrub animation forward by transit latency.
|
|
102
|
+
message EmoteStarted {
|
|
103
|
+
uint32 subject_id = 1;
|
|
104
|
+
uint32 sequence = 2;
|
|
105
|
+
uint32 server_tick = 3;
|
|
106
|
+
string emote_id = 4;
|
|
107
|
+
PlayerState player_state = 5;
|
|
108
|
+
optional int32 mask = 6;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Server → All Observers
|
|
112
|
+
// Client resumes MovementInput only after receiving this.
|
|
113
|
+
// Carries full PlayerState so the client can snap to the correct position on resume.
|
|
114
|
+
message EmoteStopped {
|
|
115
|
+
uint32 subject_id = 1;
|
|
116
|
+
uint32 server_tick = 2;
|
|
117
|
+
EmoteStopReason reason = 3;
|
|
118
|
+
uint32 sequence = 4;
|
|
119
|
+
PlayerState player_state = 5;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// Server → All Observers
|
|
123
|
+
message TeleportPerformed {
|
|
124
|
+
uint32 subject_id = 1;
|
|
125
|
+
uint32 sequence = 2;
|
|
126
|
+
uint32 server_tick = 3;
|
|
127
|
+
PlayerState state = 4;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
message ServerMessage {
|
|
131
|
+
oneof message {
|
|
132
|
+
HandshakeResponse handshake = 1;
|
|
133
|
+
PlayerStateFull player_state_full = 2;
|
|
134
|
+
PlayerStateDeltaTier0 player_state_delta = 3;
|
|
135
|
+
PlayerJoined player_joined = 4;
|
|
136
|
+
PlayerLeft player_left = 5;
|
|
137
|
+
PlayerProfileVersionsAnnounced player_profile_version_announced = 6;
|
|
138
|
+
EmoteStarted emote_started = 7;
|
|
139
|
+
EmoteStopped emote_stopped = 8;
|
|
140
|
+
TeleportPerformed teleported = 9;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.pulse;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/options.proto";
|
|
6
|
+
|
|
7
|
+
enum PlayerAnimationFlags {
|
|
8
|
+
NONE = 0;
|
|
9
|
+
GROUNDED = 1;
|
|
10
|
+
LONG_JUMP = 2;
|
|
11
|
+
LONG_FALL = 4;
|
|
12
|
+
FALLING = 8;
|
|
13
|
+
STUNNED = 16;
|
|
14
|
+
HEAD_YAW = 32;
|
|
15
|
+
HEAD_PITCH = 64;
|
|
16
|
+
POINTING_AT = 128;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
enum GlideState {
|
|
20
|
+
PROP_CLOSED = 0;
|
|
21
|
+
OPENING_PROP = 1;
|
|
22
|
+
GLIDING = 2;
|
|
23
|
+
CLOSING_PROP = 3;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// Quantized identically to PlayerStateDeltaTier0 so a full state and a stream of deltas land on the same grid.
|
|
27
|
+
message PlayerState {
|
|
28
|
+
int32 parcel_index = 1;
|
|
29
|
+
|
|
30
|
+
// Position inside the parcel (X/Z) and world altitude (Y).
|
|
31
|
+
uint32 position_x = 2 [(decentraland.common.quantized) = { min: 0, max: 16, bits: 8 }];
|
|
32
|
+
uint32 position_y = 3 [(decentraland.common.quantized) = { min: 0, max: 200, bits: 13 }];
|
|
33
|
+
uint32 position_z = 4 [(decentraland.common.quantized) = { min: 0, max: 16, bits: 8 }];
|
|
34
|
+
|
|
35
|
+
uint32 velocity_x = 5 [(decentraland.common.quantized_power) = { max: 50, pow: 2, bits: 8 }];
|
|
36
|
+
uint32 velocity_y = 6 [(decentraland.common.quantized_power) = { max: 50, pow: 2, bits: 8 }];
|
|
37
|
+
uint32 velocity_z = 7 [(decentraland.common.quantized_power) = { max: 50, pow: 2, bits: 8 }];
|
|
38
|
+
|
|
39
|
+
uint32 rotation_y = 8 [(decentraland.common.quantized) = { min: 0, max: 360.0, bits: 7 }];
|
|
40
|
+
|
|
41
|
+
uint32 movement_blend = 9 [(decentraland.common.quantized) = { min: 0, max: 3, bits: 5 }];
|
|
42
|
+
uint32 slide_blend = 10 [(decentraland.common.quantized) = { min: 0, max: 1, bits: 4 }];
|
|
43
|
+
|
|
44
|
+
optional uint32 head_yaw = 11 [(decentraland.common.quantized) = { min: 0, max: 360.0, bits: 7 }];
|
|
45
|
+
optional uint32 head_pitch = 12 [(decentraland.common.quantized) = { min: 0, max: 360.0, bits: 7 }];
|
|
46
|
+
|
|
47
|
+
uint32 state_flags = 13;
|
|
48
|
+
GlideState glide_state = 14;
|
|
49
|
+
|
|
50
|
+
int32 jump_count = 15;
|
|
51
|
+
|
|
52
|
+
// Absolute world hit position the player is pointing at.
|
|
53
|
+
// Only meaningful when POINTING_AT is set in `state_flags`.
|
|
54
|
+
optional uint32 point_at_x = 16 [(decentraland.common.quantized) = { min: -3000.0, max: 3000.0, bits: 17 }];
|
|
55
|
+
optional uint32 point_at_y = 17 [(decentraland.common.quantized) = { min: 0.0, max: 200.0, bits: 7 }];
|
|
56
|
+
optional uint32 point_at_z = 18 [(decentraland.common.quantized) = { min: -3000.0, max: 3000.0, bits: 17 }];
|
|
57
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.quests;
|
|
3
|
+
|
|
4
|
+
import "google/protobuf/empty.proto";
|
|
5
|
+
|
|
6
|
+
// Errors
|
|
7
|
+
message InvalidQuest {}
|
|
8
|
+
|
|
9
|
+
message NotUUID {}
|
|
10
|
+
|
|
11
|
+
message InternalServerError {}
|
|
12
|
+
|
|
13
|
+
message NotFoundQuestInstance {}
|
|
14
|
+
|
|
15
|
+
message QuestAlreadyStarted {}
|
|
16
|
+
|
|
17
|
+
message NotOwner {}
|
|
18
|
+
|
|
19
|
+
message IgnoredEvent {}
|
|
20
|
+
|
|
21
|
+
message StartQuestRequest {
|
|
22
|
+
string quest_id = 1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message StartQuestResponse {
|
|
26
|
+
/* There are a few valid reasons to not be accepted:
|
|
27
|
+
* - Quest is not found
|
|
28
|
+
* - Quest is deactivated (the owner deleted it)
|
|
29
|
+
* - User already started the quest
|
|
30
|
+
* - Internal errors (DB connection failed or something like that) */
|
|
31
|
+
message Accepted {}
|
|
32
|
+
oneof response {
|
|
33
|
+
Accepted accepted = 1;
|
|
34
|
+
InvalidQuest invalid_quest = 2;
|
|
35
|
+
NotUUID not_uuid_error = 3;
|
|
36
|
+
InternalServerError internal_server_error = 4;
|
|
37
|
+
QuestAlreadyStarted quest_already_started = 5;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
message AbortQuestRequest {
|
|
42
|
+
string quest_instance_id = 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
message AbortQuestResponse {
|
|
46
|
+
/* There are a few valid reasons to not be accepted:
|
|
47
|
+
* - Quest instance is not found
|
|
48
|
+
* - Quest instance is from another user
|
|
49
|
+
* - Quest instance already aborted
|
|
50
|
+
* - Internal errors (DB connection failed or something like that) */
|
|
51
|
+
message Accepted {}
|
|
52
|
+
oneof response {
|
|
53
|
+
Accepted accepted = 1;
|
|
54
|
+
NotFoundQuestInstance not_found_quest_instance = 2;
|
|
55
|
+
NotUUID not_uuid_error = 3;
|
|
56
|
+
NotOwner not_owner = 4;
|
|
57
|
+
InternalServerError internal_server_error = 5;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
message Event {
|
|
62
|
+
string id = 1;
|
|
63
|
+
string address = 2;
|
|
64
|
+
Action action = 3;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
message EventRequest {
|
|
68
|
+
Action action = 1;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
message EventResponse {
|
|
72
|
+
oneof response {
|
|
73
|
+
string accepted_event_id = 1;
|
|
74
|
+
IgnoredEvent ignored_event = 2;
|
|
75
|
+
InternalServerError internal_server_error = 3;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
message QuestDefinition {
|
|
80
|
+
repeated Step steps = 1;
|
|
81
|
+
repeated Connection connections = 2;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
message Connection {
|
|
85
|
+
string step_from = 1;
|
|
86
|
+
string step_to = 2;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
message Step {
|
|
90
|
+
string id = 1;
|
|
91
|
+
string description = 2;
|
|
92
|
+
repeated Task tasks = 3;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
message Action {
|
|
96
|
+
string type = 1;
|
|
97
|
+
map<string, string> parameters = 2;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
message Task {
|
|
101
|
+
string id = 1;
|
|
102
|
+
string description = 2;
|
|
103
|
+
repeated Action action_items = 3;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
message StepContent {
|
|
107
|
+
repeated Task to_dos = 1;
|
|
108
|
+
repeated Task tasks_completed = 2;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
message QuestState {
|
|
112
|
+
map<string, StepContent> current_steps = 2;
|
|
113
|
+
fixed32 steps_left = 3;
|
|
114
|
+
repeated string steps_completed = 4;
|
|
115
|
+
repeated string required_steps = 5;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
message Quest {
|
|
119
|
+
string id = 1;
|
|
120
|
+
string name = 2;
|
|
121
|
+
string description = 3;
|
|
122
|
+
QuestDefinition definition = 4;
|
|
123
|
+
string creator_address = 5;
|
|
124
|
+
string image_url = 6;
|
|
125
|
+
bool active = 7;
|
|
126
|
+
fixed32 created_at = 8;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
message QuestInstance {
|
|
130
|
+
string id = 1;
|
|
131
|
+
Quest quest = 2;
|
|
132
|
+
QuestState state = 3;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
message QuestStateUpdate {
|
|
136
|
+
string instance_id = 1;
|
|
137
|
+
QuestState quest_state = 2;
|
|
138
|
+
string event_id = 3;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
message UserUpdate {
|
|
142
|
+
oneof message {
|
|
143
|
+
bool subscribed = 1;
|
|
144
|
+
QuestStateUpdate quest_state_update = 2;
|
|
145
|
+
QuestInstance new_quest_started = 3;
|
|
146
|
+
string event_ignored = 4;
|
|
147
|
+
}
|
|
148
|
+
string user_address = 5;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
message Quests {
|
|
152
|
+
repeated QuestInstance instances = 1;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
message GetAllQuestsResponse {
|
|
156
|
+
oneof response {
|
|
157
|
+
Quests quests = 1;
|
|
158
|
+
InternalServerError internal_server_error = 2;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
message GetQuestDefinitionRequest {
|
|
163
|
+
string quest_id = 1;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
message GetQuestDefinitionResponse {
|
|
167
|
+
oneof response {
|
|
168
|
+
Quest quest = 1;
|
|
169
|
+
InternalServerError internal_server_error = 2;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
service QuestsService {
|
|
174
|
+
// User actions
|
|
175
|
+
rpc StartQuest(StartQuestRequest) returns (StartQuestResponse) {}
|
|
176
|
+
rpc AbortQuest(AbortQuestRequest) returns (AbortQuestResponse) {}
|
|
177
|
+
rpc SendEvent(EventRequest) returns (EventResponse) {}
|
|
178
|
+
|
|
179
|
+
// Listen to changes in quest states and event processing updates
|
|
180
|
+
rpc Subscribe(google.protobuf.Empty) returns (stream UserUpdate) {}
|
|
181
|
+
|
|
182
|
+
// Query quest information
|
|
183
|
+
rpc GetAllQuests(google.protobuf.Empty) returns (GetAllQuestsResponse) {}
|
|
184
|
+
rpc GetQuestDefinition(GetQuestDefinitionRequest) returns (GetQuestDefinitionResponse) {}
|
|
185
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.realm;
|
|
3
|
+
|
|
4
|
+
import "decentraland/common/border_rect.proto";
|
|
5
|
+
import "decentraland/common/vectors.proto";
|
|
6
|
+
|
|
7
|
+
message AboutResponse {
|
|
8
|
+
bool healthy = 1;
|
|
9
|
+
AboutConfiguration configurations = 2;
|
|
10
|
+
ContentInfo content = 3;
|
|
11
|
+
CommsInfo comms = 4;
|
|
12
|
+
LambdasInfo lambdas = 5;
|
|
13
|
+
optional BffInfo bff = 6;
|
|
14
|
+
bool accepting_users = 7;
|
|
15
|
+
|
|
16
|
+
// @deprecated This message was never used but it's still here for compatibility reasons
|
|
17
|
+
// The reserved keyword is not working for all the toolset we have, so in the meanwhile it keeps commented
|
|
18
|
+
message MinimapConfiguration {
|
|
19
|
+
reserved 1;
|
|
20
|
+
// reserved "enabled";
|
|
21
|
+
reserved 2;
|
|
22
|
+
// reserved "data_image";
|
|
23
|
+
reserved 3;
|
|
24
|
+
// reserved "estate_image";
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message MapConfiguration {
|
|
28
|
+
// whether the minimap should be rendered
|
|
29
|
+
bool minimap_enabled = 1;
|
|
30
|
+
|
|
31
|
+
// the union of all rects here represents the places where that MAY have scenes
|
|
32
|
+
// - all the other parcels are considered as empty, up to the explorer to decide if they're walkable or not
|
|
33
|
+
// - the contained square is determined by points:
|
|
34
|
+
// - top-left with minX, maxY
|
|
35
|
+
// - bottom-left with minX, minY
|
|
36
|
+
// - top-right with maxX, maxY
|
|
37
|
+
// - bottom-right with maxX, maxY
|
|
38
|
+
// Note: the coordinate system used is the Cartesian coordinate system, where the y-axis increases upwards,
|
|
39
|
+
// not the screen coordinate system, where the origin is at the top-left corner and the y-axis increases downwards.
|
|
40
|
+
repeated decentraland.common.BorderRect sizes = 2;
|
|
41
|
+
|
|
42
|
+
// ImageViewWithZoomLevel uses a description to render the minimap
|
|
43
|
+
// using different images with different zoom levels.
|
|
44
|
+
// When `version='v1'`:
|
|
45
|
+
// - The description allows the explorer to form the URL:
|
|
46
|
+
// url(x,y,zoom_level) = `{base_url}/{zoom_level}/{x},{y}{suffix_url}`
|
|
47
|
+
// - The given URL is for an image where the pixel `0,0` for the image `0,0` always
|
|
48
|
+
// points to the top-left contained square.
|
|
49
|
+
// - The `zoom_level=1` is to a ratio of 3.2 pixel per parcel, this means in a 32x32 pixel square
|
|
50
|
+
// you get 10x10 parcels.
|
|
51
|
+
// - Each increase of zoom level, double the ratio pixel per parcels.
|
|
52
|
+
message ImageViewWithZoomLevel {
|
|
53
|
+
// options: ['v1']
|
|
54
|
+
string version = 1;
|
|
55
|
+
optional string base_url = 2;
|
|
56
|
+
optional string suffix_url = 3;
|
|
57
|
+
optional decentraland.common.Vector2 top_left_offset = 4;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// ParcelView uses a description to render the minimap
|
|
61
|
+
// using a image where each pixel is a parcel and each pixel
|
|
62
|
+
// has the metadata to make a representation (using a shader or image-generation client-side)
|
|
63
|
+
// When `version='v1'`:
|
|
64
|
+
// - The pixel `0,0` is the top-left contained square
|
|
65
|
+
// - The image has to be at least of contained square pixels size
|
|
66
|
+
// - The metadata inside each pixel follows the generated with the atlas server https://github.com/decentraland/atlas-server/blob/af371f2a59745a1f50b0b0b2382984288c4ae891/src/adapters/mini-map-renderer.ts#L27
|
|
67
|
+
message ParcelView {
|
|
68
|
+
// options: `v1`
|
|
69
|
+
string version = 1;
|
|
70
|
+
optional string image_url = 2;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
optional ImageViewWithZoomLevel satellite_view = 5;
|
|
74
|
+
optional ParcelView parcel_view = 6;
|
|
75
|
+
optional ImageViewWithZoomLevel thumbnail_view = 7;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
message SkyboxConfiguration {
|
|
79
|
+
// only one value at a time
|
|
80
|
+
optional float fixed_hour = 1;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
message AboutConfiguration {
|
|
84
|
+
optional string realm_name = 1;
|
|
85
|
+
uint32 network_id = 2;
|
|
86
|
+
repeated string global_scenes_urn = 3;
|
|
87
|
+
repeated string scenes_urn = 4;
|
|
88
|
+
|
|
89
|
+
// The name "minimap" can't be used in this message
|
|
90
|
+
// The reserved keyword is not working for all the toolset we have, so in the meanwhile it keeps commented
|
|
91
|
+
reserved 5;
|
|
92
|
+
// reserved "minimap";
|
|
93
|
+
|
|
94
|
+
optional SkyboxConfiguration skybox = 6;
|
|
95
|
+
|
|
96
|
+
// A content server to be used to load the parcels around the user. Uses the POST /entities/active endpoint
|
|
97
|
+
// to continously fetch the parcels around the users. if null, then the default content server will be used
|
|
98
|
+
// if == "" then the city_loader will be disabled and the scenes_urn will be used to load the world
|
|
99
|
+
optional string city_loader_content_server = 7;
|
|
100
|
+
optional MapConfiguration map = 8;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message ContentInfo {
|
|
104
|
+
// common properties
|
|
105
|
+
bool healthy = 1;
|
|
106
|
+
optional string version = 2;
|
|
107
|
+
optional string commit_hash = 3;
|
|
108
|
+
string public_url = 4;
|
|
109
|
+
}
|
|
110
|
+
message LambdasInfo {
|
|
111
|
+
// common properties
|
|
112
|
+
bool healthy = 1;
|
|
113
|
+
optional string version = 2;
|
|
114
|
+
optional string commit_hash = 3;
|
|
115
|
+
string public_url = 4;
|
|
116
|
+
}
|
|
117
|
+
message CommsInfo {
|
|
118
|
+
// common properties
|
|
119
|
+
bool healthy = 1;
|
|
120
|
+
optional string version = 2;
|
|
121
|
+
optional string commit_hash = 3;
|
|
122
|
+
optional string public_url = 4;
|
|
123
|
+
// specific properties
|
|
124
|
+
string protocol = 50;
|
|
125
|
+
optional int32 users_count = 51;
|
|
126
|
+
optional string fixed_adapter = 52;
|
|
127
|
+
}
|
|
128
|
+
message BffInfo {
|
|
129
|
+
// common properties
|
|
130
|
+
bool healthy = 1;
|
|
131
|
+
optional string version = 2;
|
|
132
|
+
optional string commit_hash = 3;
|
|
133
|
+
string public_url = 4;
|
|
134
|
+
// specific properties
|
|
135
|
+
optional int32 user_count = 51;
|
|
136
|
+
optional string protocol_version = 52;
|
|
137
|
+
}
|
|
138
|
+
}
|