@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,257 @@
|
|
|
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.CommsApiServiceDefinition = exports.VideoTracksActiveStreamsData = exports.VideoTracksActiveStreamsResponse = exports.VideoTracksActiveStreamsRequest = exports.VideoTrackSourceType = exports.protobufPackage = void 0;
|
|
7
|
+
exports.videoTrackSourceTypeFromJSON = videoTrackSourceTypeFromJSON;
|
|
8
|
+
exports.videoTrackSourceTypeToJSON = videoTrackSourceTypeToJSON;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
11
|
+
exports.protobufPackage = "decentraland.kernel.apis";
|
|
12
|
+
var VideoTrackSourceType;
|
|
13
|
+
(function (VideoTrackSourceType) {
|
|
14
|
+
VideoTrackSourceType[VideoTrackSourceType["VTST_UNKNOWN"] = 0] = "VTST_UNKNOWN";
|
|
15
|
+
VideoTrackSourceType[VideoTrackSourceType["VTST_CAMERA"] = 1] = "VTST_CAMERA";
|
|
16
|
+
VideoTrackSourceType[VideoTrackSourceType["VTST_SCREEN_SHARE"] = 2] = "VTST_SCREEN_SHARE";
|
|
17
|
+
VideoTrackSourceType[VideoTrackSourceType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
18
|
+
})(VideoTrackSourceType || (exports.VideoTrackSourceType = VideoTrackSourceType = {}));
|
|
19
|
+
function videoTrackSourceTypeFromJSON(object) {
|
|
20
|
+
switch (object) {
|
|
21
|
+
case 0:
|
|
22
|
+
case "VTST_UNKNOWN":
|
|
23
|
+
return VideoTrackSourceType.VTST_UNKNOWN;
|
|
24
|
+
case 1:
|
|
25
|
+
case "VTST_CAMERA":
|
|
26
|
+
return VideoTrackSourceType.VTST_CAMERA;
|
|
27
|
+
case 2:
|
|
28
|
+
case "VTST_SCREEN_SHARE":
|
|
29
|
+
return VideoTrackSourceType.VTST_SCREEN_SHARE;
|
|
30
|
+
case -1:
|
|
31
|
+
case "UNRECOGNIZED":
|
|
32
|
+
default:
|
|
33
|
+
return VideoTrackSourceType.UNRECOGNIZED;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function videoTrackSourceTypeToJSON(object) {
|
|
37
|
+
switch (object) {
|
|
38
|
+
case VideoTrackSourceType.VTST_UNKNOWN:
|
|
39
|
+
return "VTST_UNKNOWN";
|
|
40
|
+
case VideoTrackSourceType.VTST_CAMERA:
|
|
41
|
+
return "VTST_CAMERA";
|
|
42
|
+
case VideoTrackSourceType.VTST_SCREEN_SHARE:
|
|
43
|
+
return "VTST_SCREEN_SHARE";
|
|
44
|
+
case VideoTrackSourceType.UNRECOGNIZED:
|
|
45
|
+
default:
|
|
46
|
+
return "UNRECOGNIZED";
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function createBaseVideoTracksActiveStreamsRequest() {
|
|
50
|
+
return {};
|
|
51
|
+
}
|
|
52
|
+
var VideoTracksActiveStreamsRequest;
|
|
53
|
+
(function (VideoTracksActiveStreamsRequest) {
|
|
54
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
55
|
+
return writer;
|
|
56
|
+
}
|
|
57
|
+
VideoTracksActiveStreamsRequest.encode = encode;
|
|
58
|
+
function decode(input, length) {
|
|
59
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
60
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
61
|
+
const message = createBaseVideoTracksActiveStreamsRequest();
|
|
62
|
+
while (reader.pos < end) {
|
|
63
|
+
const tag = reader.uint32();
|
|
64
|
+
switch (tag >>> 3) {
|
|
65
|
+
}
|
|
66
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
reader.skipType(tag & 7);
|
|
70
|
+
}
|
|
71
|
+
return message;
|
|
72
|
+
}
|
|
73
|
+
VideoTracksActiveStreamsRequest.decode = decode;
|
|
74
|
+
function fromJSON(_) {
|
|
75
|
+
return {};
|
|
76
|
+
}
|
|
77
|
+
VideoTracksActiveStreamsRequest.fromJSON = fromJSON;
|
|
78
|
+
function toJSON(_) {
|
|
79
|
+
const obj = {};
|
|
80
|
+
return obj;
|
|
81
|
+
}
|
|
82
|
+
VideoTracksActiveStreamsRequest.toJSON = toJSON;
|
|
83
|
+
function create(base) {
|
|
84
|
+
return VideoTracksActiveStreamsRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
85
|
+
}
|
|
86
|
+
VideoTracksActiveStreamsRequest.create = create;
|
|
87
|
+
function fromPartial(_) {
|
|
88
|
+
const message = createBaseVideoTracksActiveStreamsRequest();
|
|
89
|
+
return message;
|
|
90
|
+
}
|
|
91
|
+
VideoTracksActiveStreamsRequest.fromPartial = fromPartial;
|
|
92
|
+
})(VideoTracksActiveStreamsRequest || (exports.VideoTracksActiveStreamsRequest = VideoTracksActiveStreamsRequest = {}));
|
|
93
|
+
function createBaseVideoTracksActiveStreamsResponse() {
|
|
94
|
+
return { streams: [] };
|
|
95
|
+
}
|
|
96
|
+
var VideoTracksActiveStreamsResponse;
|
|
97
|
+
(function (VideoTracksActiveStreamsResponse) {
|
|
98
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
99
|
+
for (const v of message.streams) {
|
|
100
|
+
VideoTracksActiveStreamsData.encode(v, writer.uint32(10).fork()).ldelim();
|
|
101
|
+
}
|
|
102
|
+
return writer;
|
|
103
|
+
}
|
|
104
|
+
VideoTracksActiveStreamsResponse.encode = encode;
|
|
105
|
+
function decode(input, length) {
|
|
106
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
107
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
108
|
+
const message = createBaseVideoTracksActiveStreamsResponse();
|
|
109
|
+
while (reader.pos < end) {
|
|
110
|
+
const tag = reader.uint32();
|
|
111
|
+
switch (tag >>> 3) {
|
|
112
|
+
case 1:
|
|
113
|
+
if (tag !== 10) {
|
|
114
|
+
break;
|
|
115
|
+
}
|
|
116
|
+
message.streams.push(VideoTracksActiveStreamsData.decode(reader, reader.uint32()));
|
|
117
|
+
continue;
|
|
118
|
+
}
|
|
119
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
reader.skipType(tag & 7);
|
|
123
|
+
}
|
|
124
|
+
return message;
|
|
125
|
+
}
|
|
126
|
+
VideoTracksActiveStreamsResponse.decode = decode;
|
|
127
|
+
function fromJSON(object) {
|
|
128
|
+
return {
|
|
129
|
+
streams: Array.isArray(object === null || object === void 0 ? void 0 : object.streams)
|
|
130
|
+
? object.streams.map((e) => VideoTracksActiveStreamsData.fromJSON(e))
|
|
131
|
+
: [],
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
VideoTracksActiveStreamsResponse.fromJSON = fromJSON;
|
|
135
|
+
function toJSON(message) {
|
|
136
|
+
const obj = {};
|
|
137
|
+
if (message.streams) {
|
|
138
|
+
obj.streams = message.streams.map((e) => e ? VideoTracksActiveStreamsData.toJSON(e) : undefined);
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
obj.streams = [];
|
|
142
|
+
}
|
|
143
|
+
return obj;
|
|
144
|
+
}
|
|
145
|
+
VideoTracksActiveStreamsResponse.toJSON = toJSON;
|
|
146
|
+
function create(base) {
|
|
147
|
+
return VideoTracksActiveStreamsResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
148
|
+
}
|
|
149
|
+
VideoTracksActiveStreamsResponse.create = create;
|
|
150
|
+
function fromPartial(object) {
|
|
151
|
+
var _a;
|
|
152
|
+
const message = createBaseVideoTracksActiveStreamsResponse();
|
|
153
|
+
message.streams = ((_a = object.streams) === null || _a === void 0 ? void 0 : _a.map((e) => VideoTracksActiveStreamsData.fromPartial(e))) || [];
|
|
154
|
+
return message;
|
|
155
|
+
}
|
|
156
|
+
VideoTracksActiveStreamsResponse.fromPartial = fromPartial;
|
|
157
|
+
})(VideoTracksActiveStreamsResponse || (exports.VideoTracksActiveStreamsResponse = VideoTracksActiveStreamsResponse = {}));
|
|
158
|
+
function createBaseVideoTracksActiveStreamsData() {
|
|
159
|
+
return { identity: "", trackSid: "", sourceType: 0 };
|
|
160
|
+
}
|
|
161
|
+
var VideoTracksActiveStreamsData;
|
|
162
|
+
(function (VideoTracksActiveStreamsData) {
|
|
163
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
164
|
+
if (message.identity !== "") {
|
|
165
|
+
writer.uint32(10).string(message.identity);
|
|
166
|
+
}
|
|
167
|
+
if (message.trackSid !== "") {
|
|
168
|
+
writer.uint32(18).string(message.trackSid);
|
|
169
|
+
}
|
|
170
|
+
if (message.sourceType !== 0) {
|
|
171
|
+
writer.uint32(24).int32(message.sourceType);
|
|
172
|
+
}
|
|
173
|
+
return writer;
|
|
174
|
+
}
|
|
175
|
+
VideoTracksActiveStreamsData.encode = encode;
|
|
176
|
+
function decode(input, length) {
|
|
177
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
178
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
179
|
+
const message = createBaseVideoTracksActiveStreamsData();
|
|
180
|
+
while (reader.pos < end) {
|
|
181
|
+
const tag = reader.uint32();
|
|
182
|
+
switch (tag >>> 3) {
|
|
183
|
+
case 1:
|
|
184
|
+
if (tag !== 10) {
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
message.identity = reader.string();
|
|
188
|
+
continue;
|
|
189
|
+
case 2:
|
|
190
|
+
if (tag !== 18) {
|
|
191
|
+
break;
|
|
192
|
+
}
|
|
193
|
+
message.trackSid = reader.string();
|
|
194
|
+
continue;
|
|
195
|
+
case 3:
|
|
196
|
+
if (tag !== 24) {
|
|
197
|
+
break;
|
|
198
|
+
}
|
|
199
|
+
message.sourceType = reader.int32();
|
|
200
|
+
continue;
|
|
201
|
+
}
|
|
202
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
203
|
+
break;
|
|
204
|
+
}
|
|
205
|
+
reader.skipType(tag & 7);
|
|
206
|
+
}
|
|
207
|
+
return message;
|
|
208
|
+
}
|
|
209
|
+
VideoTracksActiveStreamsData.decode = decode;
|
|
210
|
+
function fromJSON(object) {
|
|
211
|
+
return {
|
|
212
|
+
identity: isSet(object.identity) ? String(object.identity) : "",
|
|
213
|
+
trackSid: isSet(object.trackSid) ? String(object.trackSid) : "",
|
|
214
|
+
sourceType: isSet(object.sourceType) ? videoTrackSourceTypeFromJSON(object.sourceType) : 0,
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
VideoTracksActiveStreamsData.fromJSON = fromJSON;
|
|
218
|
+
function toJSON(message) {
|
|
219
|
+
const obj = {};
|
|
220
|
+
message.identity !== undefined && (obj.identity = message.identity);
|
|
221
|
+
message.trackSid !== undefined && (obj.trackSid = message.trackSid);
|
|
222
|
+
message.sourceType !== undefined && (obj.sourceType = videoTrackSourceTypeToJSON(message.sourceType));
|
|
223
|
+
return obj;
|
|
224
|
+
}
|
|
225
|
+
VideoTracksActiveStreamsData.toJSON = toJSON;
|
|
226
|
+
function create(base) {
|
|
227
|
+
return VideoTracksActiveStreamsData.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
228
|
+
}
|
|
229
|
+
VideoTracksActiveStreamsData.create = create;
|
|
230
|
+
function fromPartial(object) {
|
|
231
|
+
var _a, _b, _c;
|
|
232
|
+
const message = createBaseVideoTracksActiveStreamsData();
|
|
233
|
+
message.identity = (_a = object.identity) !== null && _a !== void 0 ? _a : "";
|
|
234
|
+
message.trackSid = (_b = object.trackSid) !== null && _b !== void 0 ? _b : "";
|
|
235
|
+
message.sourceType = (_c = object.sourceType) !== null && _c !== void 0 ? _c : 0;
|
|
236
|
+
return message;
|
|
237
|
+
}
|
|
238
|
+
VideoTracksActiveStreamsData.fromPartial = fromPartial;
|
|
239
|
+
})(VideoTracksActiveStreamsData || (exports.VideoTracksActiveStreamsData = VideoTracksActiveStreamsData = {}));
|
|
240
|
+
exports.CommsApiServiceDefinition = {
|
|
241
|
+
name: "CommsApiService",
|
|
242
|
+
fullName: "decentraland.kernel.apis.CommsApiService",
|
|
243
|
+
methods: {
|
|
244
|
+
getActiveVideoStreams: {
|
|
245
|
+
name: "GetActiveVideoStreams",
|
|
246
|
+
requestType: VideoTracksActiveStreamsRequest,
|
|
247
|
+
requestStream: false,
|
|
248
|
+
responseType: VideoTracksActiveStreamsResponse,
|
|
249
|
+
responseStream: false,
|
|
250
|
+
options: {},
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
};
|
|
254
|
+
function isSet(value) {
|
|
255
|
+
return value !== null && value !== undefined;
|
|
256
|
+
}
|
|
257
|
+
//# sourceMappingURL=comms_api.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comms_api.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/kernel/apis/comms_api.gen.ts"],"names":[],"mappings":";;;;;;AAYA,oEAgBC;AAED,gEAYC;AA1CD,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,0BAA0B,CAAC;AAE1D,IAAY,oBAKX;AALD,WAAY,oB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G,MAAA,MAAM,CAAC,QAAQ,mCAAI,EAAE,CAAC;QACzC,OAAO,CAAC,QAAQ,GAAG,MAAA,MAAM,CAAC,QAAQ,mCAAI,EAAE,CAAC;QACzC,OAAO,CAAC,UAAU,GAAG,MAAA,MAAM,CAAC,UAAU,mCAAI,CAAC,CAAC;QAC5C,OAAO,OAAO,CAAC;IACjB,CAAC;IARe,wCAAW,cAQ1B,CAAA;AACH,CAAC,EAlFgB,4BAA4B,4CAA5B,4BAA4B,QAkF5C;AAGY,QAAA,yBAAyB,GAAG;IACvC,IAAI,EAAE,iBAAiB;IACvB,QAAQ,EAAE,0CAA0C;IACpD,OAAO,EAAE;QACP,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,WAAW,EAAE,+BAA+B;YAC5C,aAAa,EAAE,KAAK;YACpB,YAAY,EAAE,gCAAgC;YAC9C,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,89 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.kernel.apis";
|
|
3
|
+
export interface RealSendRequest {
|
|
4
|
+
message: string;
|
|
5
|
+
}
|
|
6
|
+
export interface RealSendResponse {
|
|
7
|
+
}
|
|
8
|
+
export interface SendBinaryRequest {
|
|
9
|
+
data: Uint8Array[];
|
|
10
|
+
}
|
|
11
|
+
export interface SendBinaryResponse {
|
|
12
|
+
data: Uint8Array[];
|
|
13
|
+
}
|
|
14
|
+
export declare namespace RealSendRequest {
|
|
15
|
+
function encode(message: RealSendRequest, writer?: _m0.Writer): _m0.Writer;
|
|
16
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): RealSendRequest;
|
|
17
|
+
function fromJSON(object: any): RealSendRequest;
|
|
18
|
+
function toJSON(message: RealSendRequest): unknown;
|
|
19
|
+
function create<I extends Exact<DeepPartial<RealSendRequest>, I>>(base?: I): RealSendRequest;
|
|
20
|
+
function fromPartial<I extends Exact<DeepPartial<RealSendRequest>, I>>(object: I): RealSendRequest;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace RealSendResponse {
|
|
23
|
+
function encode(_: RealSendResponse, writer?: _m0.Writer): _m0.Writer;
|
|
24
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): RealSendResponse;
|
|
25
|
+
function fromJSON(_: any): RealSendResponse;
|
|
26
|
+
function toJSON(_: RealSendResponse): unknown;
|
|
27
|
+
function create<I extends Exact<DeepPartial<RealSendResponse>, I>>(base?: I): RealSendResponse;
|
|
28
|
+
function fromPartial<I extends Exact<DeepPartial<RealSendResponse>, I>>(_: I): RealSendResponse;
|
|
29
|
+
}
|
|
30
|
+
export declare namespace SendBinaryRequest {
|
|
31
|
+
function encode(message: SendBinaryRequest, writer?: _m0.Writer): _m0.Writer;
|
|
32
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): SendBinaryRequest;
|
|
33
|
+
function fromJSON(object: any): SendBinaryRequest;
|
|
34
|
+
function toJSON(message: SendBinaryRequest): unknown;
|
|
35
|
+
function create<I extends Exact<DeepPartial<SendBinaryRequest>, I>>(base?: I): SendBinaryRequest;
|
|
36
|
+
function fromPartial<I extends Exact<DeepPartial<SendBinaryRequest>, I>>(object: I): SendBinaryRequest;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace SendBinaryResponse {
|
|
39
|
+
function encode(message: SendBinaryResponse, writer?: _m0.Writer): _m0.Writer;
|
|
40
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): SendBinaryResponse;
|
|
41
|
+
function fromJSON(object: any): SendBinaryResponse;
|
|
42
|
+
function toJSON(message: SendBinaryResponse): unknown;
|
|
43
|
+
function create<I extends Exact<DeepPartial<SendBinaryResponse>, I>>(base?: I): SendBinaryResponse;
|
|
44
|
+
function fromPartial<I extends Exact<DeepPartial<SendBinaryResponse>, I>>(object: I): SendBinaryResponse;
|
|
45
|
+
}
|
|
46
|
+
export type CommunicationsControllerServiceDefinition = typeof CommunicationsControllerServiceDefinition;
|
|
47
|
+
export declare const CommunicationsControllerServiceDefinition: {
|
|
48
|
+
readonly name: "CommunicationsControllerService";
|
|
49
|
+
readonly fullName: "decentraland.kernel.apis.CommunicationsControllerService";
|
|
50
|
+
readonly methods: {
|
|
51
|
+
/**
|
|
52
|
+
* @deprecated - This API should use a bidirectional binary stream in sdk7
|
|
53
|
+
* https://github.com/decentraland/sdk/issues/582
|
|
54
|
+
*/
|
|
55
|
+
readonly send: {
|
|
56
|
+
readonly name: "Send";
|
|
57
|
+
readonly requestType: typeof RealSendRequest;
|
|
58
|
+
readonly requestStream: false;
|
|
59
|
+
readonly responseType: typeof RealSendResponse;
|
|
60
|
+
readonly responseStream: false;
|
|
61
|
+
readonly options: {};
|
|
62
|
+
};
|
|
63
|
+
readonly sendBinary: {
|
|
64
|
+
readonly name: "SendBinary";
|
|
65
|
+
readonly requestType: typeof SendBinaryRequest;
|
|
66
|
+
readonly requestStream: false;
|
|
67
|
+
readonly responseType: typeof SendBinaryResponse;
|
|
68
|
+
readonly responseStream: false;
|
|
69
|
+
readonly options: {};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
74
|
+
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 {
|
|
75
|
+
$case: string;
|
|
76
|
+
} ? {
|
|
77
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
78
|
+
} & {
|
|
79
|
+
$case: T["$case"];
|
|
80
|
+
} : T extends {} ? {
|
|
81
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
82
|
+
} : Partial<T>;
|
|
83
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
84
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
85
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
86
|
+
} & {
|
|
87
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
88
|
+
};
|
|
89
|
+
export {};
|
|
@@ -0,0 +1,301 @@
|
|
|
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.CommunicationsControllerServiceDefinition = exports.SendBinaryResponse = exports.SendBinaryRequest = exports.RealSendResponse = exports.RealSendRequest = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.kernel.apis";
|
|
10
|
+
function createBaseRealSendRequest() {
|
|
11
|
+
return { message: "" };
|
|
12
|
+
}
|
|
13
|
+
var RealSendRequest;
|
|
14
|
+
(function (RealSendRequest) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
if (message.message !== "") {
|
|
17
|
+
writer.uint32(10).string(message.message);
|
|
18
|
+
}
|
|
19
|
+
return writer;
|
|
20
|
+
}
|
|
21
|
+
RealSendRequest.encode = encode;
|
|
22
|
+
function decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBaseRealSendRequest();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
case 1:
|
|
30
|
+
if (tag !== 10) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
message.message = reader.string();
|
|
34
|
+
continue;
|
|
35
|
+
}
|
|
36
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
reader.skipType(tag & 7);
|
|
40
|
+
}
|
|
41
|
+
return message;
|
|
42
|
+
}
|
|
43
|
+
RealSendRequest.decode = decode;
|
|
44
|
+
function fromJSON(object) {
|
|
45
|
+
return { message: isSet(object.message) ? String(object.message) : "" };
|
|
46
|
+
}
|
|
47
|
+
RealSendRequest.fromJSON = fromJSON;
|
|
48
|
+
function toJSON(message) {
|
|
49
|
+
const obj = {};
|
|
50
|
+
message.message !== undefined && (obj.message = message.message);
|
|
51
|
+
return obj;
|
|
52
|
+
}
|
|
53
|
+
RealSendRequest.toJSON = toJSON;
|
|
54
|
+
function create(base) {
|
|
55
|
+
return RealSendRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
56
|
+
}
|
|
57
|
+
RealSendRequest.create = create;
|
|
58
|
+
function fromPartial(object) {
|
|
59
|
+
var _a;
|
|
60
|
+
const message = createBaseRealSendRequest();
|
|
61
|
+
message.message = (_a = object.message) !== null && _a !== void 0 ? _a : "";
|
|
62
|
+
return message;
|
|
63
|
+
}
|
|
64
|
+
RealSendRequest.fromPartial = fromPartial;
|
|
65
|
+
})(RealSendRequest || (exports.RealSendRequest = RealSendRequest = {}));
|
|
66
|
+
function createBaseRealSendResponse() {
|
|
67
|
+
return {};
|
|
68
|
+
}
|
|
69
|
+
var RealSendResponse;
|
|
70
|
+
(function (RealSendResponse) {
|
|
71
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
72
|
+
return writer;
|
|
73
|
+
}
|
|
74
|
+
RealSendResponse.encode = encode;
|
|
75
|
+
function decode(input, length) {
|
|
76
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
+
const message = createBaseRealSendResponse();
|
|
79
|
+
while (reader.pos < end) {
|
|
80
|
+
const tag = reader.uint32();
|
|
81
|
+
switch (tag >>> 3) {
|
|
82
|
+
}
|
|
83
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
84
|
+
break;
|
|
85
|
+
}
|
|
86
|
+
reader.skipType(tag & 7);
|
|
87
|
+
}
|
|
88
|
+
return message;
|
|
89
|
+
}
|
|
90
|
+
RealSendResponse.decode = decode;
|
|
91
|
+
function fromJSON(_) {
|
|
92
|
+
return {};
|
|
93
|
+
}
|
|
94
|
+
RealSendResponse.fromJSON = fromJSON;
|
|
95
|
+
function toJSON(_) {
|
|
96
|
+
const obj = {};
|
|
97
|
+
return obj;
|
|
98
|
+
}
|
|
99
|
+
RealSendResponse.toJSON = toJSON;
|
|
100
|
+
function create(base) {
|
|
101
|
+
return RealSendResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
102
|
+
}
|
|
103
|
+
RealSendResponse.create = create;
|
|
104
|
+
function fromPartial(_) {
|
|
105
|
+
const message = createBaseRealSendResponse();
|
|
106
|
+
return message;
|
|
107
|
+
}
|
|
108
|
+
RealSendResponse.fromPartial = fromPartial;
|
|
109
|
+
})(RealSendResponse || (exports.RealSendResponse = RealSendResponse = {}));
|
|
110
|
+
function createBaseSendBinaryRequest() {
|
|
111
|
+
return { data: [] };
|
|
112
|
+
}
|
|
113
|
+
var SendBinaryRequest;
|
|
114
|
+
(function (SendBinaryRequest) {
|
|
115
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
116
|
+
for (const v of message.data) {
|
|
117
|
+
writer.uint32(10).bytes(v);
|
|
118
|
+
}
|
|
119
|
+
return writer;
|
|
120
|
+
}
|
|
121
|
+
SendBinaryRequest.encode = encode;
|
|
122
|
+
function decode(input, length) {
|
|
123
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
124
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
125
|
+
const message = createBaseSendBinaryRequest();
|
|
126
|
+
while (reader.pos < end) {
|
|
127
|
+
const tag = reader.uint32();
|
|
128
|
+
switch (tag >>> 3) {
|
|
129
|
+
case 1:
|
|
130
|
+
if (tag !== 10) {
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
message.data.push(reader.bytes());
|
|
134
|
+
continue;
|
|
135
|
+
}
|
|
136
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
reader.skipType(tag & 7);
|
|
140
|
+
}
|
|
141
|
+
return message;
|
|
142
|
+
}
|
|
143
|
+
SendBinaryRequest.decode = decode;
|
|
144
|
+
function fromJSON(object) {
|
|
145
|
+
return { data: Array.isArray(object === null || object === void 0 ? void 0 : object.data) ? object.data.map((e) => bytesFromBase64(e)) : [] };
|
|
146
|
+
}
|
|
147
|
+
SendBinaryRequest.fromJSON = fromJSON;
|
|
148
|
+
function toJSON(message) {
|
|
149
|
+
const obj = {};
|
|
150
|
+
if (message.data) {
|
|
151
|
+
obj.data = message.data.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array(0)));
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
obj.data = [];
|
|
155
|
+
}
|
|
156
|
+
return obj;
|
|
157
|
+
}
|
|
158
|
+
SendBinaryRequest.toJSON = toJSON;
|
|
159
|
+
function create(base) {
|
|
160
|
+
return SendBinaryRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
161
|
+
}
|
|
162
|
+
SendBinaryRequest.create = create;
|
|
163
|
+
function fromPartial(object) {
|
|
164
|
+
var _a;
|
|
165
|
+
const message = createBaseSendBinaryRequest();
|
|
166
|
+
message.data = ((_a = object.data) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
167
|
+
return message;
|
|
168
|
+
}
|
|
169
|
+
SendBinaryRequest.fromPartial = fromPartial;
|
|
170
|
+
})(SendBinaryRequest || (exports.SendBinaryRequest = SendBinaryRequest = {}));
|
|
171
|
+
function createBaseSendBinaryResponse() {
|
|
172
|
+
return { data: [] };
|
|
173
|
+
}
|
|
174
|
+
var SendBinaryResponse;
|
|
175
|
+
(function (SendBinaryResponse) {
|
|
176
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
177
|
+
for (const v of message.data) {
|
|
178
|
+
writer.uint32(10).bytes(v);
|
|
179
|
+
}
|
|
180
|
+
return writer;
|
|
181
|
+
}
|
|
182
|
+
SendBinaryResponse.encode = encode;
|
|
183
|
+
function decode(input, length) {
|
|
184
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
185
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
186
|
+
const message = createBaseSendBinaryResponse();
|
|
187
|
+
while (reader.pos < end) {
|
|
188
|
+
const tag = reader.uint32();
|
|
189
|
+
switch (tag >>> 3) {
|
|
190
|
+
case 1:
|
|
191
|
+
if (tag !== 10) {
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
message.data.push(reader.bytes());
|
|
195
|
+
continue;
|
|
196
|
+
}
|
|
197
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
reader.skipType(tag & 7);
|
|
201
|
+
}
|
|
202
|
+
return message;
|
|
203
|
+
}
|
|
204
|
+
SendBinaryResponse.decode = decode;
|
|
205
|
+
function fromJSON(object) {
|
|
206
|
+
return { data: Array.isArray(object === null || object === void 0 ? void 0 : object.data) ? object.data.map((e) => bytesFromBase64(e)) : [] };
|
|
207
|
+
}
|
|
208
|
+
SendBinaryResponse.fromJSON = fromJSON;
|
|
209
|
+
function toJSON(message) {
|
|
210
|
+
const obj = {};
|
|
211
|
+
if (message.data) {
|
|
212
|
+
obj.data = message.data.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array(0)));
|
|
213
|
+
}
|
|
214
|
+
else {
|
|
215
|
+
obj.data = [];
|
|
216
|
+
}
|
|
217
|
+
return obj;
|
|
218
|
+
}
|
|
219
|
+
SendBinaryResponse.toJSON = toJSON;
|
|
220
|
+
function create(base) {
|
|
221
|
+
return SendBinaryResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
222
|
+
}
|
|
223
|
+
SendBinaryResponse.create = create;
|
|
224
|
+
function fromPartial(object) {
|
|
225
|
+
var _a;
|
|
226
|
+
const message = createBaseSendBinaryResponse();
|
|
227
|
+
message.data = ((_a = object.data) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
228
|
+
return message;
|
|
229
|
+
}
|
|
230
|
+
SendBinaryResponse.fromPartial = fromPartial;
|
|
231
|
+
})(SendBinaryResponse || (exports.SendBinaryResponse = SendBinaryResponse = {}));
|
|
232
|
+
exports.CommunicationsControllerServiceDefinition = {
|
|
233
|
+
name: "CommunicationsControllerService",
|
|
234
|
+
fullName: "decentraland.kernel.apis.CommunicationsControllerService",
|
|
235
|
+
methods: {
|
|
236
|
+
/**
|
|
237
|
+
* @deprecated - This API should use a bidirectional binary stream in sdk7
|
|
238
|
+
* https://github.com/decentraland/sdk/issues/582
|
|
239
|
+
*/
|
|
240
|
+
send: {
|
|
241
|
+
name: "Send",
|
|
242
|
+
requestType: RealSendRequest,
|
|
243
|
+
requestStream: false,
|
|
244
|
+
responseType: RealSendResponse,
|
|
245
|
+
responseStream: false,
|
|
246
|
+
options: {},
|
|
247
|
+
},
|
|
248
|
+
sendBinary: {
|
|
249
|
+
name: "SendBinary",
|
|
250
|
+
requestType: SendBinaryRequest,
|
|
251
|
+
requestStream: false,
|
|
252
|
+
responseType: SendBinaryResponse,
|
|
253
|
+
responseStream: false,
|
|
254
|
+
options: {},
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
};
|
|
258
|
+
const tsProtoGlobalThis = (() => {
|
|
259
|
+
if (typeof globalThis !== "undefined") {
|
|
260
|
+
return globalThis;
|
|
261
|
+
}
|
|
262
|
+
if (typeof self !== "undefined") {
|
|
263
|
+
return self;
|
|
264
|
+
}
|
|
265
|
+
if (typeof window !== "undefined") {
|
|
266
|
+
return window;
|
|
267
|
+
}
|
|
268
|
+
if (typeof global !== "undefined") {
|
|
269
|
+
return global;
|
|
270
|
+
}
|
|
271
|
+
throw "Unable to locate global object";
|
|
272
|
+
})();
|
|
273
|
+
function bytesFromBase64(b64) {
|
|
274
|
+
if (tsProtoGlobalThis.Buffer) {
|
|
275
|
+
return Uint8Array.from(tsProtoGlobalThis.Buffer.from(b64, "base64"));
|
|
276
|
+
}
|
|
277
|
+
else {
|
|
278
|
+
const bin = tsProtoGlobalThis.atob(b64);
|
|
279
|
+
const arr = new Uint8Array(bin.length);
|
|
280
|
+
for (let i = 0; i < bin.length; ++i) {
|
|
281
|
+
arr[i] = bin.charCodeAt(i);
|
|
282
|
+
}
|
|
283
|
+
return arr;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
function base64FromBytes(arr) {
|
|
287
|
+
if (tsProtoGlobalThis.Buffer) {
|
|
288
|
+
return tsProtoGlobalThis.Buffer.from(arr).toString("base64");
|
|
289
|
+
}
|
|
290
|
+
else {
|
|
291
|
+
const bin = [];
|
|
292
|
+
arr.forEach((byte) => {
|
|
293
|
+
bin.push(String.fromCharCode(byte));
|
|
294
|
+
});
|
|
295
|
+
return tsProtoGlobalThis.btoa(bin.join(""));
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
function isSet(value) {
|
|
299
|
+
return value !== null && value !== undefined;
|
|
300
|
+
}
|
|
301
|
+
//# sourceMappingURL=communications_controller.gen.js.map
|