@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,100 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.kernel.apis";
|
|
3
|
+
export declare enum PermissionItem {
|
|
4
|
+
PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE = 0,
|
|
5
|
+
PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE = 1,
|
|
6
|
+
PI_USE_WEB3_API = 2,
|
|
7
|
+
PI_USE_WEBSOCKET = 3,
|
|
8
|
+
PI_USE_FETCH = 4,
|
|
9
|
+
PI_ALLOW_MEDIA_HOSTNAMES = 5,
|
|
10
|
+
PI_OPEN_EXTERNAL_LINK = 6,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export declare function permissionItemFromJSON(object: any): PermissionItem;
|
|
14
|
+
export declare function permissionItemToJSON(object: PermissionItem): string;
|
|
15
|
+
export interface PermissionResponse {
|
|
16
|
+
hasPermission: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface HasPermissionRequest {
|
|
19
|
+
permission: PermissionItem;
|
|
20
|
+
}
|
|
21
|
+
export interface HasManyPermissionRequest {
|
|
22
|
+
permissions: PermissionItem[];
|
|
23
|
+
}
|
|
24
|
+
export interface HasManyPermissionResponse {
|
|
25
|
+
hasManyPermission: boolean[];
|
|
26
|
+
}
|
|
27
|
+
export declare namespace PermissionResponse {
|
|
28
|
+
function encode(message: PermissionResponse, writer?: _m0.Writer): _m0.Writer;
|
|
29
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PermissionResponse;
|
|
30
|
+
function fromJSON(object: any): PermissionResponse;
|
|
31
|
+
function toJSON(message: PermissionResponse): unknown;
|
|
32
|
+
function create<I extends Exact<DeepPartial<PermissionResponse>, I>>(base?: I): PermissionResponse;
|
|
33
|
+
function fromPartial<I extends Exact<DeepPartial<PermissionResponse>, I>>(object: I): PermissionResponse;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace HasPermissionRequest {
|
|
36
|
+
function encode(message: HasPermissionRequest, writer?: _m0.Writer): _m0.Writer;
|
|
37
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): HasPermissionRequest;
|
|
38
|
+
function fromJSON(object: any): HasPermissionRequest;
|
|
39
|
+
function toJSON(message: HasPermissionRequest): unknown;
|
|
40
|
+
function create<I extends Exact<DeepPartial<HasPermissionRequest>, I>>(base?: I): HasPermissionRequest;
|
|
41
|
+
function fromPartial<I extends Exact<DeepPartial<HasPermissionRequest>, I>>(object: I): HasPermissionRequest;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace HasManyPermissionRequest {
|
|
44
|
+
function encode(message: HasManyPermissionRequest, writer?: _m0.Writer): _m0.Writer;
|
|
45
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): HasManyPermissionRequest;
|
|
46
|
+
function fromJSON(object: any): HasManyPermissionRequest;
|
|
47
|
+
function toJSON(message: HasManyPermissionRequest): unknown;
|
|
48
|
+
function create<I extends Exact<DeepPartial<HasManyPermissionRequest>, I>>(base?: I): HasManyPermissionRequest;
|
|
49
|
+
function fromPartial<I extends Exact<DeepPartial<HasManyPermissionRequest>, I>>(object: I): HasManyPermissionRequest;
|
|
50
|
+
}
|
|
51
|
+
export declare namespace HasManyPermissionResponse {
|
|
52
|
+
function encode(message: HasManyPermissionResponse, writer?: _m0.Writer): _m0.Writer;
|
|
53
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): HasManyPermissionResponse;
|
|
54
|
+
function fromJSON(object: any): HasManyPermissionResponse;
|
|
55
|
+
function toJSON(message: HasManyPermissionResponse): unknown;
|
|
56
|
+
function create<I extends Exact<DeepPartial<HasManyPermissionResponse>, I>>(base?: I): HasManyPermissionResponse;
|
|
57
|
+
function fromPartial<I extends Exact<DeepPartial<HasManyPermissionResponse>, I>>(object: I): HasManyPermissionResponse;
|
|
58
|
+
}
|
|
59
|
+
export type PermissionsServiceDefinition = typeof PermissionsServiceDefinition;
|
|
60
|
+
export declare const PermissionsServiceDefinition: {
|
|
61
|
+
readonly name: "PermissionsService";
|
|
62
|
+
readonly fullName: "decentraland.kernel.apis.PermissionsService";
|
|
63
|
+
readonly methods: {
|
|
64
|
+
/** @deprecated, only available for SDK6 compatibility */
|
|
65
|
+
readonly hasPermission: {
|
|
66
|
+
readonly name: "HasPermission";
|
|
67
|
+
readonly requestType: typeof HasPermissionRequest;
|
|
68
|
+
readonly requestStream: false;
|
|
69
|
+
readonly responseType: typeof PermissionResponse;
|
|
70
|
+
readonly responseStream: false;
|
|
71
|
+
readonly options: {};
|
|
72
|
+
};
|
|
73
|
+
/** @deprecated, only available for SDK6 compatibility */
|
|
74
|
+
readonly hasManyPermissions: {
|
|
75
|
+
readonly name: "HasManyPermissions";
|
|
76
|
+
readonly requestType: typeof HasManyPermissionRequest;
|
|
77
|
+
readonly requestStream: false;
|
|
78
|
+
readonly responseType: typeof HasManyPermissionResponse;
|
|
79
|
+
readonly responseStream: false;
|
|
80
|
+
readonly options: {};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
85
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
86
|
+
$case: string;
|
|
87
|
+
} ? {
|
|
88
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
89
|
+
} & {
|
|
90
|
+
$case: T["$case"];
|
|
91
|
+
} : T extends {} ? {
|
|
92
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
93
|
+
} : Partial<T>;
|
|
94
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
95
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
96
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
97
|
+
} & {
|
|
98
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
99
|
+
};
|
|
100
|
+
export {};
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PermissionsServiceDefinition = exports.HasManyPermissionResponse = exports.HasManyPermissionRequest = exports.HasPermissionRequest = exports.PermissionResponse = exports.PermissionItem = exports.protobufPackage = void 0;
|
|
7
|
+
exports.permissionItemFromJSON = permissionItemFromJSON;
|
|
8
|
+
exports.permissionItemToJSON = permissionItemToJSON;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
11
|
+
exports.protobufPackage = "decentraland.kernel.apis";
|
|
12
|
+
var PermissionItem;
|
|
13
|
+
(function (PermissionItem) {
|
|
14
|
+
PermissionItem[PermissionItem["PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE"] = 0] = "PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE";
|
|
15
|
+
PermissionItem[PermissionItem["PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE"] = 1] = "PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE";
|
|
16
|
+
PermissionItem[PermissionItem["PI_USE_WEB3_API"] = 2] = "PI_USE_WEB3_API";
|
|
17
|
+
PermissionItem[PermissionItem["PI_USE_WEBSOCKET"] = 3] = "PI_USE_WEBSOCKET";
|
|
18
|
+
PermissionItem[PermissionItem["PI_USE_FETCH"] = 4] = "PI_USE_FETCH";
|
|
19
|
+
PermissionItem[PermissionItem["PI_ALLOW_MEDIA_HOSTNAMES"] = 5] = "PI_ALLOW_MEDIA_HOSTNAMES";
|
|
20
|
+
PermissionItem[PermissionItem["PI_OPEN_EXTERNAL_LINK"] = 6] = "PI_OPEN_EXTERNAL_LINK";
|
|
21
|
+
PermissionItem[PermissionItem["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
22
|
+
})(PermissionItem || (exports.PermissionItem = PermissionItem = {}));
|
|
23
|
+
function permissionItemFromJSON(object) {
|
|
24
|
+
switch (object) {
|
|
25
|
+
case 0:
|
|
26
|
+
case "PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE":
|
|
27
|
+
return PermissionItem.PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE;
|
|
28
|
+
case 1:
|
|
29
|
+
case "PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE":
|
|
30
|
+
return PermissionItem.PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE;
|
|
31
|
+
case 2:
|
|
32
|
+
case "PI_USE_WEB3_API":
|
|
33
|
+
return PermissionItem.PI_USE_WEB3_API;
|
|
34
|
+
case 3:
|
|
35
|
+
case "PI_USE_WEBSOCKET":
|
|
36
|
+
return PermissionItem.PI_USE_WEBSOCKET;
|
|
37
|
+
case 4:
|
|
38
|
+
case "PI_USE_FETCH":
|
|
39
|
+
return PermissionItem.PI_USE_FETCH;
|
|
40
|
+
case 5:
|
|
41
|
+
case "PI_ALLOW_MEDIA_HOSTNAMES":
|
|
42
|
+
return PermissionItem.PI_ALLOW_MEDIA_HOSTNAMES;
|
|
43
|
+
case 6:
|
|
44
|
+
case "PI_OPEN_EXTERNAL_LINK":
|
|
45
|
+
return PermissionItem.PI_OPEN_EXTERNAL_LINK;
|
|
46
|
+
case -1:
|
|
47
|
+
case "UNRECOGNIZED":
|
|
48
|
+
default:
|
|
49
|
+
return PermissionItem.UNRECOGNIZED;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function permissionItemToJSON(object) {
|
|
53
|
+
switch (object) {
|
|
54
|
+
case PermissionItem.PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE:
|
|
55
|
+
return "PI_ALLOW_TO_MOVE_PLAYER_INSIDE_SCENE";
|
|
56
|
+
case PermissionItem.PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE:
|
|
57
|
+
return "PI_ALLOW_TO_TRIGGER_AVATAR_EMOTE";
|
|
58
|
+
case PermissionItem.PI_USE_WEB3_API:
|
|
59
|
+
return "PI_USE_WEB3_API";
|
|
60
|
+
case PermissionItem.PI_USE_WEBSOCKET:
|
|
61
|
+
return "PI_USE_WEBSOCKET";
|
|
62
|
+
case PermissionItem.PI_USE_FETCH:
|
|
63
|
+
return "PI_USE_FETCH";
|
|
64
|
+
case PermissionItem.PI_ALLOW_MEDIA_HOSTNAMES:
|
|
65
|
+
return "PI_ALLOW_MEDIA_HOSTNAMES";
|
|
66
|
+
case PermissionItem.PI_OPEN_EXTERNAL_LINK:
|
|
67
|
+
return "PI_OPEN_EXTERNAL_LINK";
|
|
68
|
+
case PermissionItem.UNRECOGNIZED:
|
|
69
|
+
default:
|
|
70
|
+
return "UNRECOGNIZED";
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
function createBasePermissionResponse() {
|
|
74
|
+
return { hasPermission: false };
|
|
75
|
+
}
|
|
76
|
+
var PermissionResponse;
|
|
77
|
+
(function (PermissionResponse) {
|
|
78
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
79
|
+
if (message.hasPermission === true) {
|
|
80
|
+
writer.uint32(8).bool(message.hasPermission);
|
|
81
|
+
}
|
|
82
|
+
return writer;
|
|
83
|
+
}
|
|
84
|
+
PermissionResponse.encode = encode;
|
|
85
|
+
function decode(input, length) {
|
|
86
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
87
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
88
|
+
const message = createBasePermissionResponse();
|
|
89
|
+
while (reader.pos < end) {
|
|
90
|
+
const tag = reader.uint32();
|
|
91
|
+
switch (tag >>> 3) {
|
|
92
|
+
case 1:
|
|
93
|
+
if (tag !== 8) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.hasPermission = reader.bool();
|
|
97
|
+
continue;
|
|
98
|
+
}
|
|
99
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
reader.skipType(tag & 7);
|
|
103
|
+
}
|
|
104
|
+
return message;
|
|
105
|
+
}
|
|
106
|
+
PermissionResponse.decode = decode;
|
|
107
|
+
function fromJSON(object) {
|
|
108
|
+
return { hasPermission: isSet(object.hasPermission) ? Boolean(object.hasPermission) : false };
|
|
109
|
+
}
|
|
110
|
+
PermissionResponse.fromJSON = fromJSON;
|
|
111
|
+
function toJSON(message) {
|
|
112
|
+
const obj = {};
|
|
113
|
+
message.hasPermission !== undefined && (obj.hasPermission = message.hasPermission);
|
|
114
|
+
return obj;
|
|
115
|
+
}
|
|
116
|
+
PermissionResponse.toJSON = toJSON;
|
|
117
|
+
function create(base) {
|
|
118
|
+
return PermissionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
119
|
+
}
|
|
120
|
+
PermissionResponse.create = create;
|
|
121
|
+
function fromPartial(object) {
|
|
122
|
+
var _a;
|
|
123
|
+
const message = createBasePermissionResponse();
|
|
124
|
+
message.hasPermission = (_a = object.hasPermission) !== null && _a !== void 0 ? _a : false;
|
|
125
|
+
return message;
|
|
126
|
+
}
|
|
127
|
+
PermissionResponse.fromPartial = fromPartial;
|
|
128
|
+
})(PermissionResponse || (exports.PermissionResponse = PermissionResponse = {}));
|
|
129
|
+
function createBaseHasPermissionRequest() {
|
|
130
|
+
return { permission: 0 };
|
|
131
|
+
}
|
|
132
|
+
var HasPermissionRequest;
|
|
133
|
+
(function (HasPermissionRequest) {
|
|
134
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
135
|
+
if (message.permission !== 0) {
|
|
136
|
+
writer.uint32(8).int32(message.permission);
|
|
137
|
+
}
|
|
138
|
+
return writer;
|
|
139
|
+
}
|
|
140
|
+
HasPermissionRequest.encode = encode;
|
|
141
|
+
function decode(input, length) {
|
|
142
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
143
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
144
|
+
const message = createBaseHasPermissionRequest();
|
|
145
|
+
while (reader.pos < end) {
|
|
146
|
+
const tag = reader.uint32();
|
|
147
|
+
switch (tag >>> 3) {
|
|
148
|
+
case 1:
|
|
149
|
+
if (tag !== 8) {
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
message.permission = reader.int32();
|
|
153
|
+
continue;
|
|
154
|
+
}
|
|
155
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
reader.skipType(tag & 7);
|
|
159
|
+
}
|
|
160
|
+
return message;
|
|
161
|
+
}
|
|
162
|
+
HasPermissionRequest.decode = decode;
|
|
163
|
+
function fromJSON(object) {
|
|
164
|
+
return { permission: isSet(object.permission) ? permissionItemFromJSON(object.permission) : 0 };
|
|
165
|
+
}
|
|
166
|
+
HasPermissionRequest.fromJSON = fromJSON;
|
|
167
|
+
function toJSON(message) {
|
|
168
|
+
const obj = {};
|
|
169
|
+
message.permission !== undefined && (obj.permission = permissionItemToJSON(message.permission));
|
|
170
|
+
return obj;
|
|
171
|
+
}
|
|
172
|
+
HasPermissionRequest.toJSON = toJSON;
|
|
173
|
+
function create(base) {
|
|
174
|
+
return HasPermissionRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
175
|
+
}
|
|
176
|
+
HasPermissionRequest.create = create;
|
|
177
|
+
function fromPartial(object) {
|
|
178
|
+
var _a;
|
|
179
|
+
const message = createBaseHasPermissionRequest();
|
|
180
|
+
message.permission = (_a = object.permission) !== null && _a !== void 0 ? _a : 0;
|
|
181
|
+
return message;
|
|
182
|
+
}
|
|
183
|
+
HasPermissionRequest.fromPartial = fromPartial;
|
|
184
|
+
})(HasPermissionRequest || (exports.HasPermissionRequest = HasPermissionRequest = {}));
|
|
185
|
+
function createBaseHasManyPermissionRequest() {
|
|
186
|
+
return { permissions: [] };
|
|
187
|
+
}
|
|
188
|
+
var HasManyPermissionRequest;
|
|
189
|
+
(function (HasManyPermissionRequest) {
|
|
190
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
191
|
+
writer.uint32(10).fork();
|
|
192
|
+
for (const v of message.permissions) {
|
|
193
|
+
writer.int32(v);
|
|
194
|
+
}
|
|
195
|
+
writer.ldelim();
|
|
196
|
+
return writer;
|
|
197
|
+
}
|
|
198
|
+
HasManyPermissionRequest.encode = encode;
|
|
199
|
+
function decode(input, length) {
|
|
200
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
201
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
202
|
+
const message = createBaseHasManyPermissionRequest();
|
|
203
|
+
while (reader.pos < end) {
|
|
204
|
+
const tag = reader.uint32();
|
|
205
|
+
switch (tag >>> 3) {
|
|
206
|
+
case 1:
|
|
207
|
+
if (tag === 8) {
|
|
208
|
+
message.permissions.push(reader.int32());
|
|
209
|
+
continue;
|
|
210
|
+
}
|
|
211
|
+
if (tag === 10) {
|
|
212
|
+
const end2 = reader.uint32() + reader.pos;
|
|
213
|
+
while (reader.pos < end2) {
|
|
214
|
+
message.permissions.push(reader.int32());
|
|
215
|
+
}
|
|
216
|
+
continue;
|
|
217
|
+
}
|
|
218
|
+
break;
|
|
219
|
+
}
|
|
220
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
223
|
+
reader.skipType(tag & 7);
|
|
224
|
+
}
|
|
225
|
+
return message;
|
|
226
|
+
}
|
|
227
|
+
HasManyPermissionRequest.decode = decode;
|
|
228
|
+
function fromJSON(object) {
|
|
229
|
+
return {
|
|
230
|
+
permissions: Array.isArray(object === null || object === void 0 ? void 0 : object.permissions)
|
|
231
|
+
? object.permissions.map((e) => permissionItemFromJSON(e))
|
|
232
|
+
: [],
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
HasManyPermissionRequest.fromJSON = fromJSON;
|
|
236
|
+
function toJSON(message) {
|
|
237
|
+
const obj = {};
|
|
238
|
+
if (message.permissions) {
|
|
239
|
+
obj.permissions = message.permissions.map((e) => permissionItemToJSON(e));
|
|
240
|
+
}
|
|
241
|
+
else {
|
|
242
|
+
obj.permissions = [];
|
|
243
|
+
}
|
|
244
|
+
return obj;
|
|
245
|
+
}
|
|
246
|
+
HasManyPermissionRequest.toJSON = toJSON;
|
|
247
|
+
function create(base) {
|
|
248
|
+
return HasManyPermissionRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
249
|
+
}
|
|
250
|
+
HasManyPermissionRequest.create = create;
|
|
251
|
+
function fromPartial(object) {
|
|
252
|
+
var _a;
|
|
253
|
+
const message = createBaseHasManyPermissionRequest();
|
|
254
|
+
message.permissions = ((_a = object.permissions) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
255
|
+
return message;
|
|
256
|
+
}
|
|
257
|
+
HasManyPermissionRequest.fromPartial = fromPartial;
|
|
258
|
+
})(HasManyPermissionRequest || (exports.HasManyPermissionRequest = HasManyPermissionRequest = {}));
|
|
259
|
+
function createBaseHasManyPermissionResponse() {
|
|
260
|
+
return { hasManyPermission: [] };
|
|
261
|
+
}
|
|
262
|
+
var HasManyPermissionResponse;
|
|
263
|
+
(function (HasManyPermissionResponse) {
|
|
264
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
265
|
+
writer.uint32(10).fork();
|
|
266
|
+
for (const v of message.hasManyPermission) {
|
|
267
|
+
writer.bool(v);
|
|
268
|
+
}
|
|
269
|
+
writer.ldelim();
|
|
270
|
+
return writer;
|
|
271
|
+
}
|
|
272
|
+
HasManyPermissionResponse.encode = encode;
|
|
273
|
+
function decode(input, length) {
|
|
274
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
275
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
276
|
+
const message = createBaseHasManyPermissionResponse();
|
|
277
|
+
while (reader.pos < end) {
|
|
278
|
+
const tag = reader.uint32();
|
|
279
|
+
switch (tag >>> 3) {
|
|
280
|
+
case 1:
|
|
281
|
+
if (tag === 8) {
|
|
282
|
+
message.hasManyPermission.push(reader.bool());
|
|
283
|
+
continue;
|
|
284
|
+
}
|
|
285
|
+
if (tag === 10) {
|
|
286
|
+
const end2 = reader.uint32() + reader.pos;
|
|
287
|
+
while (reader.pos < end2) {
|
|
288
|
+
message.hasManyPermission.push(reader.bool());
|
|
289
|
+
}
|
|
290
|
+
continue;
|
|
291
|
+
}
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
295
|
+
break;
|
|
296
|
+
}
|
|
297
|
+
reader.skipType(tag & 7);
|
|
298
|
+
}
|
|
299
|
+
return message;
|
|
300
|
+
}
|
|
301
|
+
HasManyPermissionResponse.decode = decode;
|
|
302
|
+
function fromJSON(object) {
|
|
303
|
+
return {
|
|
304
|
+
hasManyPermission: Array.isArray(object === null || object === void 0 ? void 0 : object.hasManyPermission)
|
|
305
|
+
? object.hasManyPermission.map((e) => Boolean(e))
|
|
306
|
+
: [],
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
HasManyPermissionResponse.fromJSON = fromJSON;
|
|
310
|
+
function toJSON(message) {
|
|
311
|
+
const obj = {};
|
|
312
|
+
if (message.hasManyPermission) {
|
|
313
|
+
obj.hasManyPermission = message.hasManyPermission.map((e) => e);
|
|
314
|
+
}
|
|
315
|
+
else {
|
|
316
|
+
obj.hasManyPermission = [];
|
|
317
|
+
}
|
|
318
|
+
return obj;
|
|
319
|
+
}
|
|
320
|
+
HasManyPermissionResponse.toJSON = toJSON;
|
|
321
|
+
function create(base) {
|
|
322
|
+
return HasManyPermissionResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
323
|
+
}
|
|
324
|
+
HasManyPermissionResponse.create = create;
|
|
325
|
+
function fromPartial(object) {
|
|
326
|
+
var _a;
|
|
327
|
+
const message = createBaseHasManyPermissionResponse();
|
|
328
|
+
message.hasManyPermission = ((_a = object.hasManyPermission) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
329
|
+
return message;
|
|
330
|
+
}
|
|
331
|
+
HasManyPermissionResponse.fromPartial = fromPartial;
|
|
332
|
+
})(HasManyPermissionResponse || (exports.HasManyPermissionResponse = HasManyPermissionResponse = {}));
|
|
333
|
+
exports.PermissionsServiceDefinition = {
|
|
334
|
+
name: "PermissionsService",
|
|
335
|
+
fullName: "decentraland.kernel.apis.PermissionsService",
|
|
336
|
+
methods: {
|
|
337
|
+
/** @deprecated, only available for SDK6 compatibility */
|
|
338
|
+
hasPermission: {
|
|
339
|
+
name: "HasPermission",
|
|
340
|
+
requestType: HasPermissionRequest,
|
|
341
|
+
requestStream: false,
|
|
342
|
+
responseType: PermissionResponse,
|
|
343
|
+
responseStream: false,
|
|
344
|
+
options: {},
|
|
345
|
+
},
|
|
346
|
+
/** @deprecated, only available for SDK6 compatibility */
|
|
347
|
+
hasManyPermissions: {
|
|
348
|
+
name: "HasManyPermissions",
|
|
349
|
+
requestType: HasManyPermissionRequest,
|
|
350
|
+
requestStream: false,
|
|
351
|
+
responseType: HasManyPermissionResponse,
|
|
352
|
+
responseStream: false,
|
|
353
|
+
options: {},
|
|
354
|
+
},
|
|
355
|
+
},
|
|
356
|
+
};
|
|
357
|
+
function isSet(value) {
|
|
358
|
+
return value !== null && value !== undefined;
|
|
359
|
+
}
|
|
360
|
+
//# sourceMappingURL=permissions.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permissions.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/kernel/apis/permissions.gen.ts"],"names":[],"mappings":";;;;;;AAgBA,wDA4BC;AAED,oDAoBC;AAlED,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,0BAA0B,CAAC;AAE1D,IAAY,cASX;AATD,WAAY,cAAc;IACxB,mHAAwC,CAAA;IACxC,2GAAoC,CAAA;IACpC,yEAAmB,CAAA;IACnB,2EAAoB,CAAA;IACpB,mEAAgB,CAAA;IAChB,2FAA4B,CAAA;IAC5B,qFAAyB,CAAA;IACzB,oEAAiB,CAAA;AACnB,CAAC,EATW,cAAc,8BAAd,cAAc,QASzB;AAED,SAAgB,sBAAsB,CAAC,MAAW;IAChD,QAAQ,MAAM,EAAE,CAAC;QACf,KAAK,CAAC,CAAC;QACP,KAAK,sCAAsC;YACzC,OAAO,cAAc,CAAC,oCAAoC,CAAC;QAC7D,KAAK,CAAC,CAAC;QACP,KAAK,kCAAkC;YACrC,OAAO,cAAc,CAAC,gCAAgC,CAAC;QACzD,KAAK,CAAC,CAAC;QACP,KAAK,iBAAiB;YACpB,OAAO,cAAc,CAAC,eAAe,CAAC;QACxC,KAAK,CAAC,CAAC;QACP,KAAK,kBAAkB;YACrB,OAAO,cAAc,CAAC,gBAAgB,CAAC;QACzC,KAAK,CAAC,CAAC;QACP,KAAK,cAAc;YACjB,OAAO,cAAc,CAAC,YAAY,CAAC;QACrC,KAAK,CAAC,CAAC;QACP,KAAK,0BAA0B;YAC7B,OAAO,cAAc,CAAC,wBAAwB,CAAC;QACjD,KAAK,CAAC,CAAC;QACP,KAAK,uBAAuB;YAC1B,OAAO,cAAc,CAAC,qBAAqB,CAAC;QAC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,OAAO,CAAC;IACjB,CAAC;IANe,qCAAW,cAM1B,CAAA;AACH,CAAC,EA1EgB,yBAAyB,yCAAzB,yBAAyB,QA0EzC;AAGY,QAAA,4BAA4B,GAAG;IAC1C,IAAI,EAAE,oBAAoB;IAC1B,QAAQ,EAAE,6CAA6C;IACvD,OAAO,EAAE;QACP,yDAAyD;QACzD,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,oBAAoB;YACjC,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,kBAAkB;YAChC,cAAc,EAAE,KAAK;YACrB,OAAO,EAAE,EAAE;SACZ;QACD,yDAAyD;QACzD,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,WAAW,EAAE,wBAAwB;YACrC,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,yBAAyB;YACvC,cAAc,EAAE,KAAK;YACrB,OAAO,EAAE,EAAE;SACZ;KACF;CACO,CAAC;AAcX,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { UserData } from "../../common/sdk/user_data.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.kernel.apis";
|
|
4
|
+
export interface Player {
|
|
5
|
+
userId: string;
|
|
6
|
+
}
|
|
7
|
+
export interface PlayersGetUserDataResponse {
|
|
8
|
+
data?: UserData | undefined;
|
|
9
|
+
}
|
|
10
|
+
export interface PlayerListResponse {
|
|
11
|
+
players: Player[];
|
|
12
|
+
}
|
|
13
|
+
export interface GetPlayerDataRequest {
|
|
14
|
+
userId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetPlayersInSceneRequest {
|
|
17
|
+
}
|
|
18
|
+
export interface GetConnectedPlayersRequest {
|
|
19
|
+
}
|
|
20
|
+
export declare namespace Player {
|
|
21
|
+
function encode(message: Player, writer?: _m0.Writer): _m0.Writer;
|
|
22
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): Player;
|
|
23
|
+
function fromJSON(object: any): Player;
|
|
24
|
+
function toJSON(message: Player): unknown;
|
|
25
|
+
function create<I extends Exact<DeepPartial<Player>, I>>(base?: I): Player;
|
|
26
|
+
function fromPartial<I extends Exact<DeepPartial<Player>, I>>(object: I): Player;
|
|
27
|
+
}
|
|
28
|
+
export declare namespace PlayersGetUserDataResponse {
|
|
29
|
+
function encode(message: PlayersGetUserDataResponse, writer?: _m0.Writer): _m0.Writer;
|
|
30
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PlayersGetUserDataResponse;
|
|
31
|
+
function fromJSON(object: any): PlayersGetUserDataResponse;
|
|
32
|
+
function toJSON(message: PlayersGetUserDataResponse): unknown;
|
|
33
|
+
function create<I extends Exact<DeepPartial<PlayersGetUserDataResponse>, I>>(base?: I): PlayersGetUserDataResponse;
|
|
34
|
+
function fromPartial<I extends Exact<DeepPartial<PlayersGetUserDataResponse>, I>>(object: I): PlayersGetUserDataResponse;
|
|
35
|
+
}
|
|
36
|
+
export declare namespace PlayerListResponse {
|
|
37
|
+
function encode(message: PlayerListResponse, writer?: _m0.Writer): _m0.Writer;
|
|
38
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PlayerListResponse;
|
|
39
|
+
function fromJSON(object: any): PlayerListResponse;
|
|
40
|
+
function toJSON(message: PlayerListResponse): unknown;
|
|
41
|
+
function create<I extends Exact<DeepPartial<PlayerListResponse>, I>>(base?: I): PlayerListResponse;
|
|
42
|
+
function fromPartial<I extends Exact<DeepPartial<PlayerListResponse>, I>>(object: I): PlayerListResponse;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace GetPlayerDataRequest {
|
|
45
|
+
function encode(message: GetPlayerDataRequest, writer?: _m0.Writer): _m0.Writer;
|
|
46
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetPlayerDataRequest;
|
|
47
|
+
function fromJSON(object: any): GetPlayerDataRequest;
|
|
48
|
+
function toJSON(message: GetPlayerDataRequest): unknown;
|
|
49
|
+
function create<I extends Exact<DeepPartial<GetPlayerDataRequest>, I>>(base?: I): GetPlayerDataRequest;
|
|
50
|
+
function fromPartial<I extends Exact<DeepPartial<GetPlayerDataRequest>, I>>(object: I): GetPlayerDataRequest;
|
|
51
|
+
}
|
|
52
|
+
export declare namespace GetPlayersInSceneRequest {
|
|
53
|
+
function encode(_: GetPlayersInSceneRequest, writer?: _m0.Writer): _m0.Writer;
|
|
54
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetPlayersInSceneRequest;
|
|
55
|
+
function fromJSON(_: any): GetPlayersInSceneRequest;
|
|
56
|
+
function toJSON(_: GetPlayersInSceneRequest): unknown;
|
|
57
|
+
function create<I extends Exact<DeepPartial<GetPlayersInSceneRequest>, I>>(base?: I): GetPlayersInSceneRequest;
|
|
58
|
+
function fromPartial<I extends Exact<DeepPartial<GetPlayersInSceneRequest>, I>>(_: I): GetPlayersInSceneRequest;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace GetConnectedPlayersRequest {
|
|
61
|
+
function encode(_: GetConnectedPlayersRequest, writer?: _m0.Writer): _m0.Writer;
|
|
62
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): GetConnectedPlayersRequest;
|
|
63
|
+
function fromJSON(_: any): GetConnectedPlayersRequest;
|
|
64
|
+
function toJSON(_: GetConnectedPlayersRequest): unknown;
|
|
65
|
+
function create<I extends Exact<DeepPartial<GetConnectedPlayersRequest>, I>>(base?: I): GetConnectedPlayersRequest;
|
|
66
|
+
function fromPartial<I extends Exact<DeepPartial<GetConnectedPlayersRequest>, I>>(_: I): GetConnectedPlayersRequest;
|
|
67
|
+
}
|
|
68
|
+
export type PlayersServiceDefinition = typeof PlayersServiceDefinition;
|
|
69
|
+
export declare const PlayersServiceDefinition: {
|
|
70
|
+
readonly name: "PlayersService";
|
|
71
|
+
readonly fullName: "decentraland.kernel.apis.PlayersService";
|
|
72
|
+
readonly methods: {
|
|
73
|
+
/**
|
|
74
|
+
* Returns data about a specific player, by id
|
|
75
|
+
* NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
|
|
76
|
+
*/
|
|
77
|
+
readonly getPlayerData: {
|
|
78
|
+
readonly name: "GetPlayerData";
|
|
79
|
+
readonly requestType: typeof GetPlayerDataRequest;
|
|
80
|
+
readonly requestStream: false;
|
|
81
|
+
readonly responseType: typeof PlayersGetUserDataResponse;
|
|
82
|
+
readonly responseStream: false;
|
|
83
|
+
readonly options: {};
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Returns a list of all the ids of players who are currently standing within the parcels of the scene
|
|
87
|
+
* NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
|
|
88
|
+
*/
|
|
89
|
+
readonly getPlayersInScene: {
|
|
90
|
+
readonly name: "GetPlayersInScene";
|
|
91
|
+
readonly requestType: typeof GetPlayersInSceneRequest;
|
|
92
|
+
readonly requestStream: false;
|
|
93
|
+
readonly responseType: typeof PlayerListResponse;
|
|
94
|
+
readonly responseStream: false;
|
|
95
|
+
readonly options: {};
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* Returns a list of all the ids of players who are currently connected to the same server and grouped together
|
|
99
|
+
* NOTE: To be deprecated after implementing foreign-entities and once the avatar scene uses SDK7
|
|
100
|
+
*/
|
|
101
|
+
readonly getConnectedPlayers: {
|
|
102
|
+
readonly name: "GetConnectedPlayers";
|
|
103
|
+
readonly requestType: typeof GetConnectedPlayersRequest;
|
|
104
|
+
readonly requestStream: false;
|
|
105
|
+
readonly responseType: typeof PlayerListResponse;
|
|
106
|
+
readonly responseStream: false;
|
|
107
|
+
readonly options: {};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
112
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
113
|
+
$case: string;
|
|
114
|
+
} ? {
|
|
115
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
116
|
+
} & {
|
|
117
|
+
$case: T["$case"];
|
|
118
|
+
} : T extends {} ? {
|
|
119
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
120
|
+
} : Partial<T>;
|
|
121
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
122
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
123
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
124
|
+
} & {
|
|
125
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
126
|
+
};
|
|
127
|
+
export {};
|