@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,72 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
|
|
4
|
+
export const protobufPackage = "google.protobuf";
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* A generic empty message that you can re-use to avoid defining duplicated
|
|
8
|
+
* empty messages in your APIs. A typical example is to use it as the request
|
|
9
|
+
* or the response type of an API method. For instance:
|
|
10
|
+
*
|
|
11
|
+
* service Foo {
|
|
12
|
+
* rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
13
|
+
* }
|
|
14
|
+
*/
|
|
15
|
+
export interface Empty {
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function createBaseEmpty(): Empty {
|
|
19
|
+
return {};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export namespace Empty {
|
|
23
|
+
export function encode(_: Empty, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {
|
|
24
|
+
return writer;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export function decode(input: _m0.Reader | Uint8Array, length?: number): Empty {
|
|
28
|
+
const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input);
|
|
29
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
30
|
+
const message = createBaseEmpty();
|
|
31
|
+
while (reader.pos < end) {
|
|
32
|
+
const tag = reader.uint32();
|
|
33
|
+
switch (tag >>> 3) {
|
|
34
|
+
}
|
|
35
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
36
|
+
break;
|
|
37
|
+
}
|
|
38
|
+
reader.skipType(tag & 7);
|
|
39
|
+
}
|
|
40
|
+
return message;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function fromJSON(_: any): Empty {
|
|
44
|
+
return {};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function toJSON(_: Empty): unknown {
|
|
48
|
+
const obj: any = {};
|
|
49
|
+
return obj;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function create<I extends Exact<DeepPartial<Empty>, I>>(base?: I): Empty {
|
|
53
|
+
return Empty.fromPartial(base ?? {});
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function fromPartial<I extends Exact<DeepPartial<Empty>, I>>(_: I): Empty {
|
|
57
|
+
const message = createBaseEmpty();
|
|
58
|
+
return message;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
63
|
+
|
|
64
|
+
export type DeepPartial<T> = T extends Builtin ? T
|
|
65
|
+
: T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>>
|
|
66
|
+
: T extends { $case: string } ? { [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]> } & { $case: T["$case"] }
|
|
67
|
+
: T extends {} ? { [K in keyof T]?: DeepPartial<T[K]> }
|
|
68
|
+
: Partial<T>;
|
|
69
|
+
|
|
70
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
71
|
+
export type Exact<P, I extends P> = P extends Builtin ? P
|
|
72
|
+
: P & { [K in keyof P]: Exact<P[K], I[K]> } & { [K in Exclude<keyof I, KeysOfUnion<P>>]: never };
|
package/package.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@dcl/protocol",
|
|
3
|
+
"version": "1.0.0-10043247792.commit-428d1eb",
|
|
4
|
+
"description": "",
|
|
5
|
+
"repository": "decentraland/protocol.git",
|
|
6
|
+
"homepage": "https://github.com/decentraland/protocol#readme",
|
|
7
|
+
"bugs": "https://github.com/decentraland/protocol/issues",
|
|
8
|
+
"keywords": [],
|
|
9
|
+
"author": "",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"main": "index.js",
|
|
12
|
+
"scripts": {
|
|
13
|
+
"test": "./scripts/check-proto-compabitility.sh"
|
|
14
|
+
},
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@protobuf-ts/protoc": "^2.8.1",
|
|
17
|
+
"proto-compatibility-tool": "^1.1.2-20220925163655.commit-25bd040",
|
|
18
|
+
"typescript": "^5.0.4"
|
|
19
|
+
},
|
|
20
|
+
"config": {
|
|
21
|
+
"protocVersion": "22.2"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@dcl/ts-proto": "1.154.0"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"proto",
|
|
28
|
+
"out-ts",
|
|
29
|
+
"out-js",
|
|
30
|
+
"public"
|
|
31
|
+
],
|
|
32
|
+
"commit": "428d1eb798dce567d67ff5e7b388b66e7e4bed31"
|
|
33
|
+
}
|
package/proto/buf.yaml
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
version: v1
|
|
2
|
+
breaking:
|
|
3
|
+
use:
|
|
4
|
+
- WIRE_JSON
|
|
5
|
+
ignore:
|
|
6
|
+
- google
|
|
7
|
+
lint:
|
|
8
|
+
use:
|
|
9
|
+
- DIRECTORY_SAME_PACKAGE
|
|
10
|
+
- PACKAGE_DEFINED
|
|
11
|
+
- PACKAGE_DIRECTORY_MATCH
|
|
12
|
+
- PACKAGE_SAME_DIRECTORY
|
|
13
|
+
- ENUM_PASCAL_CASE
|
|
14
|
+
- ENUM_VALUE_UPPER_SNAKE_CASE
|
|
15
|
+
- FIELD_LOWER_SNAKE_CASE
|
|
16
|
+
- MESSAGE_PASCAL_CASE
|
|
17
|
+
- ONEOF_LOWER_SNAKE_CASE
|
|
18
|
+
- PACKAGE_LOWER_SNAKE_CASE
|
|
19
|
+
- RPC_PASCAL_CASE
|
|
20
|
+
- SERVICE_PASCAL_CASE
|
|
21
|
+
- PACKAGE_SAME_CSHARP_NAMESPACE
|
|
22
|
+
- PACKAGE_SAME_GO_PACKAGE
|
|
23
|
+
- PACKAGE_SAME_JAVA_MULTIPLE_FILES
|
|
24
|
+
- PACKAGE_SAME_JAVA_PACKAGE
|
|
25
|
+
- PACKAGE_SAME_PHP_NAMESPACE
|
|
26
|
+
- PACKAGE_SAME_RUBY_PACKAGE
|
|
27
|
+
- PACKAGE_SAME_SWIFT_PREFIX
|
|
28
|
+
- ENUM_FIRST_VALUE_ZERO
|
|
29
|
+
- ENUM_NO_ALLOW_ALIAS
|
|
30
|
+
- IMPORT_NO_WEAK
|
|
31
|
+
- IMPORT_NO_PUBLIC
|
|
32
|
+
- IMPORT_USED
|
|
33
|
+
- FILE_LOWER_SNAKE_CASE
|
|
34
|
+
# Ignored:the default value is used
|
|
35
|
+
# - ENUM_ZERO_VALUE_SUFFIX
|
|
36
|
+
# Ignored: if a prefix is needed in the target language, implement a preprocessor
|
|
37
|
+
# - ENUM_VALUE_PREFIX
|
|
38
|
+
# Not wished
|
|
39
|
+
# - PACKAGE_VERSION_SUFFIX
|
|
40
|
+
# TODO: See if this needs to be added
|
|
41
|
+
# - RPC_REQUEST_RESPONSE_UNIQUE
|
|
42
|
+
# - RPC_REQUEST_STANDARD_NAME
|
|
43
|
+
# - RPC_RESPONSE_STANDARD_NAME
|
|
44
|
+
# - SERVICE_SUFFIX
|
|
45
|
+
ignore:
|
|
46
|
+
- google
|
|
47
|
+
- decentraland/renderer/engine_interface.proto
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.common;
|
|
3
|
+
|
|
4
|
+
// Defines indents from respective edges
|
|
5
|
+
message BorderRect {
|
|
6
|
+
float top = 1;
|
|
7
|
+
float left = 2;
|
|
8
|
+
float right = 3;
|
|
9
|
+
float bottom = 4;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// Defines a rect with x, y, width and height
|
|
13
|
+
message Rect {
|
|
14
|
+
float x = 1;
|
|
15
|
+
float y = 2;
|
|
16
|
+
float width = 3;
|
|
17
|
+
float height = 4;
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.common;
|
|
3
|
+
import "decentraland/common/content_mapping.proto";
|
|
4
|
+
|
|
5
|
+
// Entity schema compliant with https://rfc.decentraland.org/adr/ADR-80
|
|
6
|
+
|
|
7
|
+
message Entity {
|
|
8
|
+
string id = 1;
|
|
9
|
+
repeated string pointers = 2;
|
|
10
|
+
string metadata = 3;
|
|
11
|
+
uint32 timestamp = 4;
|
|
12
|
+
repeated ContentMapping content = 5;
|
|
13
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.common.sdk;
|
|
3
|
+
|
|
4
|
+
message Snapshots {
|
|
5
|
+
string face256 = 1;
|
|
6
|
+
string body = 2;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
message AvatarForUserData {
|
|
10
|
+
string body_shape = 1;
|
|
11
|
+
string skin_color = 2;
|
|
12
|
+
string hair_color = 3;
|
|
13
|
+
string eye_color = 4;
|
|
14
|
+
repeated string wearables = 5;
|
|
15
|
+
Snapshots snapshots = 6;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message UserData {
|
|
19
|
+
string display_name = 1;
|
|
20
|
+
optional string public_key = 2;
|
|
21
|
+
bool has_connected_web3 = 3;
|
|
22
|
+
string user_id = 4;
|
|
23
|
+
int32 version = 5;
|
|
24
|
+
AvatarForUserData avatar = 6;
|
|
25
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.common;
|
|
3
|
+
|
|
4
|
+
enum TextureWrapMode {
|
|
5
|
+
TWM_REPEAT = 0;
|
|
6
|
+
TWM_CLAMP = 1;
|
|
7
|
+
TWM_MIRROR = 2;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
enum TextureFilterMode {
|
|
11
|
+
TFM_POINT = 0;
|
|
12
|
+
TFM_BILINEAR = 1;
|
|
13
|
+
TFM_TRILINEAR = 2;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
message Texture {
|
|
17
|
+
string src = 1;
|
|
18
|
+
optional TextureWrapMode wrap_mode = 2; // default = TextureWrapMode.Clamp
|
|
19
|
+
optional TextureFilterMode filter_mode = 3; // default = FilterMode.Bilinear
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message AvatarTexture {
|
|
23
|
+
string user_id = 1;
|
|
24
|
+
optional TextureWrapMode wrap_mode = 2; // default = TextureWrapMode.Clamp
|
|
25
|
+
optional TextureFilterMode filter_mode = 3; // default = FilterMode.Bilinear
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
message VideoTexture {
|
|
29
|
+
uint32 video_player_entity = 1;
|
|
30
|
+
optional TextureWrapMode wrap_mode = 2; // default = TextureWrapMode.Clamp
|
|
31
|
+
optional TextureFilterMode filter_mode = 3; // default = FilterMode.Bilinear
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
message TextureUnion {
|
|
35
|
+
oneof tex {
|
|
36
|
+
Texture texture = 1; // default = null
|
|
37
|
+
AvatarTexture avatar_texture = 2; // default = null
|
|
38
|
+
VideoTexture video_texture = 3; // default = null
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.common;
|
|
3
|
+
|
|
4
|
+
message Position {
|
|
5
|
+
float x = 1;
|
|
6
|
+
float y = 2;
|
|
7
|
+
float z = 3;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
message Vector3 {
|
|
11
|
+
float x = 1;
|
|
12
|
+
float y = 2;
|
|
13
|
+
float z = 3;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
message Vector2 {
|
|
17
|
+
float x = 1;
|
|
18
|
+
float y = 2;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message Quaternion {
|
|
22
|
+
float x = 1;
|
|
23
|
+
float y = 2;
|
|
24
|
+
float z = 3;
|
|
25
|
+
float w = 4;
|
|
26
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.kernel.apis;
|
|
3
|
+
|
|
4
|
+
enum VideoTrackSourceType {
|
|
5
|
+
VTST_UNKNOWN = 0;
|
|
6
|
+
VTST_CAMERA = 1;
|
|
7
|
+
VTST_SCREEN_SHARE = 2;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
message VideoTracksActiveStreamsRequest {
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
message VideoTracksActiveStreamsResponse {
|
|
14
|
+
repeated VideoTracksActiveStreamsData streams = 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
message VideoTracksActiveStreamsData {
|
|
18
|
+
string identity = 1;
|
|
19
|
+
string track_sid = 2;
|
|
20
|
+
VideoTrackSourceType source_type = 3;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
service CommsApiService {
|
|
24
|
+
rpc GetActiveVideoStreams(VideoTracksActiveStreamsRequest) returns (VideoTracksActiveStreamsResponse) {}
|
|
25
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.kernel.apis;
|
|
3
|
+
|
|
4
|
+
message RealSendRequest {
|
|
5
|
+
string message = 1;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
message RealSendResponse {}
|
|
9
|
+
|
|
10
|
+
message SendBinaryRequest {
|
|
11
|
+
repeated bytes data = 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message SendBinaryResponse {
|
|
15
|
+
repeated bytes data = 1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
service CommunicationsControllerService {
|
|
19
|
+
// @deprecated - This API should use a bidirectional binary stream in sdk7
|
|
20
|
+
// https://github.com/decentraland/sdk/issues/582
|
|
21
|
+
rpc Send(RealSendRequest) returns (RealSendResponse) {}
|
|
22
|
+
rpc SendBinary(SendBinaryRequest) returns (SendBinaryResponse) {}
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.kernel.apis;
|
|
3
|
+
|
|
4
|
+
message DevToolsBody {
|
|
5
|
+
string type = 1;
|
|
6
|
+
string json_payload = 2;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
message EventResponse {}
|
|
10
|
+
|
|
11
|
+
// @deprecated
|
|
12
|
+
service DevToolsService {
|
|
13
|
+
// @deprecated
|
|
14
|
+
rpc Event(DevToolsBody) returns (EventResponse) {}
|
|
15
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.kernel.apis;
|
|
4
|
+
|
|
5
|
+
import "decentraland/sdk/ecs6/engine_interface_ecs6.proto";
|
|
6
|
+
|
|
7
|
+
message ManyEntityAction {
|
|
8
|
+
repeated decentraland.sdk.ecs6.EntityAction actions = 1;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
message SendBatchResponse {
|
|
12
|
+
repeated EventData events = 1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
message UnsubscribeRequest {
|
|
16
|
+
string event_id = 1;
|
|
17
|
+
}
|
|
18
|
+
message SubscribeRequest {
|
|
19
|
+
string event_id = 1;
|
|
20
|
+
}
|
|
21
|
+
message SubscribeResponse {}
|
|
22
|
+
message UnsubscribeResponse {}
|
|
23
|
+
|
|
24
|
+
// Events
|
|
25
|
+
enum EventDataType {
|
|
26
|
+
EDT_GENERIC = 0;
|
|
27
|
+
EDT_POSITION_CHANGED = 1;
|
|
28
|
+
EDT_ROTATION_CHANGED = 2;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message GenericPayload {
|
|
32
|
+
string event_id = 3;
|
|
33
|
+
string event_data = 4;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
message ReadOnlyVector3 {
|
|
37
|
+
float x = 1;
|
|
38
|
+
float y = 2;
|
|
39
|
+
float z = 3;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message ReadOnlyQuaternion {
|
|
43
|
+
float x = 1;
|
|
44
|
+
float y = 2;
|
|
45
|
+
float z = 3;
|
|
46
|
+
float w = 4;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
message PositionChangedPayload {
|
|
50
|
+
ReadOnlyVector3 position = 1;
|
|
51
|
+
ReadOnlyVector3 camera_position = 2;
|
|
52
|
+
float player_height = 3;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
message RotationChangedPayload {
|
|
56
|
+
ReadOnlyVector3 rotation = 1;
|
|
57
|
+
ReadOnlyQuaternion quaternion = 2;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
message EventData {
|
|
61
|
+
EventDataType type = 1;
|
|
62
|
+
optional GenericPayload generic = 2;
|
|
63
|
+
optional PositionChangedPayload position_changed = 3;
|
|
64
|
+
optional RotationChangedPayload rotation_changed = 4;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
message CrdtSendToRendererRequest {
|
|
68
|
+
bytes data = 1;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
message CrdtSendToResponse {
|
|
72
|
+
// list of CRDT messages coming back from the renderer
|
|
73
|
+
repeated bytes data = 1;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
message CrdtGetStateRequest {}
|
|
77
|
+
message CrdtGetStateResponse {
|
|
78
|
+
// returns true if the returned state has scene-created entities
|
|
79
|
+
bool has_entities = 1;
|
|
80
|
+
// static entities data (root entity, camera, etc) and scene-created entities
|
|
81
|
+
repeated bytes data = 2;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// deprecated
|
|
85
|
+
message CrdtMessageFromRendererRequest {}
|
|
86
|
+
// deprecated
|
|
87
|
+
message CrdtMessageFromRendererResponse {
|
|
88
|
+
repeated bytes data = 1;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
message IsServerRequest {}
|
|
92
|
+
message IsServerResponse {
|
|
93
|
+
bool is_server = 1;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
service EngineApiService {
|
|
97
|
+
// support for legacy SDK events.
|
|
98
|
+
|
|
99
|
+
// @deprecated
|
|
100
|
+
rpc SendBatch(ManyEntityAction) returns (SendBatchResponse) {}
|
|
101
|
+
// @deprecated
|
|
102
|
+
rpc Subscribe(SubscribeRequest) returns (SubscribeResponse) {}
|
|
103
|
+
// @deprecated
|
|
104
|
+
rpc Unsubscribe(UnsubscribeRequest) returns (UnsubscribeResponse) {}
|
|
105
|
+
|
|
106
|
+
// send information of the CRDT messages to the renderer. It returns the CRDT changes back from the renderer
|
|
107
|
+
// like raycast responses or the player's position
|
|
108
|
+
rpc CrdtSendToRenderer(CrdtSendToRendererRequest) returns (CrdtSendToResponse) {}
|
|
109
|
+
|
|
110
|
+
// retrieves the current _full_ state of the entities from the renderer. This function is used to hidrate
|
|
111
|
+
// the state of the scenes when the code of the worker is stopped/resumed
|
|
112
|
+
rpc CrdtGetState(CrdtSendToRendererRequest) returns (CrdtGetStateResponse) {}
|
|
113
|
+
|
|
114
|
+
// @deprecated, this response was merged into CrdtSendToResponse
|
|
115
|
+
rpc CrdtGetMessageFromRenderer(CrdtMessageFromRendererRequest) returns (CrdtMessageFromRendererResponse) {}
|
|
116
|
+
|
|
117
|
+
rpc IsServer(IsServerRequest) returns (IsServerResponse) {}
|
|
118
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package decentraland.kernel.apis;
|
|
4
|
+
|
|
5
|
+
import "decentraland/common/content_mapping.proto";
|
|
6
|
+
|
|
7
|
+
message MinimalRunnableEntity {
|
|
8
|
+
repeated decentraland.common.ContentMapping content = 1;
|
|
9
|
+
string metadata_json = 2;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
message BootstrapDataResponse {
|
|
13
|
+
string id = 1;
|
|
14
|
+
string base_url = 4;
|
|
15
|
+
MinimalRunnableEntity entity = 2;
|
|
16
|
+
bool use_f_p_s_throttling = 5;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message PreviewModeResponse {
|
|
20
|
+
bool is_preview = 1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
message AreUnsafeRequestAllowedResponse {
|
|
24
|
+
bool status = 1;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message GetPlatformResponse {
|
|
28
|
+
string platform = 1;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message EnvironmentRealm {
|
|
32
|
+
string domain = 1;
|
|
33
|
+
string layer = 2;
|
|
34
|
+
string room = 3;
|
|
35
|
+
string server_name = 4;
|
|
36
|
+
string display_name = 5;
|
|
37
|
+
string protocol = 6;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
message GetCurrentRealmResponse {
|
|
41
|
+
optional EnvironmentRealm current_realm = 1;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
message GetExplorerConfigurationResponse {
|
|
45
|
+
string client_uri = 1;
|
|
46
|
+
map<string, string> configurations = 2;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
message GetDecentralandTimeResponse {
|
|
50
|
+
int32 seconds = 1;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
message GetBootstrapDataRequest {}
|
|
54
|
+
message IsPreviewModeRequest {}
|
|
55
|
+
message GetPlatformRequest {}
|
|
56
|
+
message AreUnsafeRequestAllowedRequest {}
|
|
57
|
+
message GetCurrentRealmRequest {}
|
|
58
|
+
message GetExplorerConfigurationRequest {}
|
|
59
|
+
message GetDecentralandTimeRequest {}
|
|
60
|
+
|
|
61
|
+
service EnvironmentApiService {
|
|
62
|
+
// @deprecated, only available for SDK6 compatibility. Use runtime_api instead
|
|
63
|
+
rpc GetBootstrapData(GetBootstrapDataRequest) returns (BootstrapDataResponse) {}
|
|
64
|
+
// @deprecated, only available for SDK6 compatibility. Needs migration
|
|
65
|
+
rpc IsPreviewMode(IsPreviewModeRequest) returns (PreviewModeResponse) {}
|
|
66
|
+
// @deprecated, only available for SDK6 compatibility
|
|
67
|
+
rpc GetPlatform(GetPlatformRequest) returns (GetPlatformResponse) {}
|
|
68
|
+
// @deprecated, only available for SDK6 compatibility
|
|
69
|
+
rpc AreUnsafeRequestAllowed(AreUnsafeRequestAllowedRequest) returns (AreUnsafeRequestAllowedResponse) {}
|
|
70
|
+
// @deprecated, use GetCurrentRealm from runtime_api instead
|
|
71
|
+
rpc GetCurrentRealm(GetCurrentRealmRequest) returns (GetCurrentRealmResponse) {}
|
|
72
|
+
// @deprecated, only available for SDK6 compatibility
|
|
73
|
+
rpc GetExplorerConfiguration(GetExplorerConfigurationRequest) returns (GetExplorerConfigurationResponse) {}
|
|
74
|
+
// @deprecated, use GetTime from runtime_api instead
|
|
75
|
+
rpc GetDecentralandTime(GetDecentralandTimeRequest) returns (GetDecentralandTimeResponse) {}
|
|
76
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
package decentraland.kernel.apis;
|
|
3
|
+
|
|
4
|
+
message RequirePaymentRequest {
|
|
5
|
+
string to_address = 1;
|
|
6
|
+
float amount = 2;
|
|
7
|
+
string currency = 3;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
message RequirePaymentResponse {
|
|
11
|
+
string json_any_response = 1;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message SignMessageRequest {
|
|
15
|
+
map<string, string> message = 1;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message SignMessageResponse {
|
|
19
|
+
string message = 1;
|
|
20
|
+
string hex_encoded_message = 2;
|
|
21
|
+
string signature = 3;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
message ConvertMessageToObjectRequest {
|
|
25
|
+
string message = 1;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
message ConvertMessageToObjectResponse {
|
|
29
|
+
map<string, string> dict = 1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message SendAsyncRequest {
|
|
33
|
+
int32 id = 1;
|
|
34
|
+
string method = 2;
|
|
35
|
+
string json_params = 3;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
message SendAsyncResponse {
|
|
39
|
+
string json_any_response = 1;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
message GetUserAccountRequest {}
|
|
43
|
+
|
|
44
|
+
message GetUserAccountResponse {
|
|
45
|
+
optional string address = 1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
service EthereumControllerService {
|
|
49
|
+
// @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
|
50
|
+
// be replaced by any ethereum library on top of the provider
|
|
51
|
+
rpc RequirePayment(RequirePaymentRequest) returns (RequirePaymentResponse) {}
|
|
52
|
+
// @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
|
53
|
+
// be replaced by any ethereum library on top of the provider
|
|
54
|
+
rpc SignMessage(SignMessageRequest) returns (SignMessageResponse) {}
|
|
55
|
+
// @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
|
56
|
+
// be replaced by any ethereum library on top of the provider
|
|
57
|
+
rpc ConvertMessageToObject(ConvertMessageToObjectRequest) returns (ConvertMessageToObjectResponse) {}
|
|
58
|
+
|
|
59
|
+
rpc SendAsync(SendAsyncRequest) returns (SendAsyncResponse) {}
|
|
60
|
+
|
|
61
|
+
// @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
|
62
|
+
// be replaced by any ethereum library on top of the provider
|
|
63
|
+
rpc GetUserAccount(GetUserAccountRequest) returns (GetUserAccountResponse) {}
|
|
64
|
+
}
|