@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,1073 @@
|
|
|
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.TestingServiceDefinition = exports.SetCameraTransformTestCommandResponse = exports.SetCameraTransformTestCommand_Quaternion = exports.SetCameraTransformTestCommand_Vector3 = exports.SetCameraTransformTestCommand = exports.TestPlanResponse = exports.TestPlan_TestPlanEntry = exports.TestPlan = exports.TestResultResponse = exports.TestResult = exports.TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult = exports.TakeAndCompareScreenshotResponse = exports.TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff = exports.TakeAndCompareScreenshotRequest = exports.TakeAndCompareScreenshotRequest_SnapshotMode = exports.protobufPackage = void 0;
|
|
7
|
+
exports.takeAndCompareScreenshotRequest_SnapshotModeFromJSON = takeAndCompareScreenshotRequest_SnapshotModeFromJSON;
|
|
8
|
+
exports.takeAndCompareScreenshotRequest_SnapshotModeToJSON = takeAndCompareScreenshotRequest_SnapshotModeToJSON;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
11
|
+
const vectors_gen_1 = require("../../common/vectors.gen");
|
|
12
|
+
exports.protobufPackage = "decentraland.kernel.apis";
|
|
13
|
+
var TakeAndCompareScreenshotRequest_SnapshotMode;
|
|
14
|
+
(function (TakeAndCompareScreenshotRequest_SnapshotMode) {
|
|
15
|
+
/** SM_3D_AND_UI - only visible 3d scene and ui scene */
|
|
16
|
+
TakeAndCompareScreenshotRequest_SnapshotMode[TakeAndCompareScreenshotRequest_SnapshotMode["SM_3D_AND_UI"] = 0] = "SM_3D_AND_UI";
|
|
17
|
+
/** SM_3D_ONLY - only visible 3d scene */
|
|
18
|
+
TakeAndCompareScreenshotRequest_SnapshotMode[TakeAndCompareScreenshotRequest_SnapshotMode["SM_3D_ONLY"] = 1] = "SM_3D_ONLY";
|
|
19
|
+
/** SM_UI_ONLY - only visible ui scene */
|
|
20
|
+
TakeAndCompareScreenshotRequest_SnapshotMode[TakeAndCompareScreenshotRequest_SnapshotMode["SM_UI_ONLY"] = 2] = "SM_UI_ONLY";
|
|
21
|
+
TakeAndCompareScreenshotRequest_SnapshotMode[TakeAndCompareScreenshotRequest_SnapshotMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
22
|
+
})(TakeAndCompareScreenshotRequest_SnapshotMode || (exports.TakeAndCompareScreenshotRequest_SnapshotMode = TakeAndCompareScreenshotRequest_SnapshotMode = {}));
|
|
23
|
+
function takeAndCompareScreenshotRequest_SnapshotModeFromJSON(object) {
|
|
24
|
+
switch (object) {
|
|
25
|
+
case 0:
|
|
26
|
+
case "SM_3D_AND_UI":
|
|
27
|
+
return TakeAndCompareScreenshotRequest_SnapshotMode.SM_3D_AND_UI;
|
|
28
|
+
case 1:
|
|
29
|
+
case "SM_3D_ONLY":
|
|
30
|
+
return TakeAndCompareScreenshotRequest_SnapshotMode.SM_3D_ONLY;
|
|
31
|
+
case 2:
|
|
32
|
+
case "SM_UI_ONLY":
|
|
33
|
+
return TakeAndCompareScreenshotRequest_SnapshotMode.SM_UI_ONLY;
|
|
34
|
+
case -1:
|
|
35
|
+
case "UNRECOGNIZED":
|
|
36
|
+
default:
|
|
37
|
+
return TakeAndCompareScreenshotRequest_SnapshotMode.UNRECOGNIZED;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function takeAndCompareScreenshotRequest_SnapshotModeToJSON(object) {
|
|
41
|
+
switch (object) {
|
|
42
|
+
case TakeAndCompareScreenshotRequest_SnapshotMode.SM_3D_AND_UI:
|
|
43
|
+
return "SM_3D_AND_UI";
|
|
44
|
+
case TakeAndCompareScreenshotRequest_SnapshotMode.SM_3D_ONLY:
|
|
45
|
+
return "SM_3D_ONLY";
|
|
46
|
+
case TakeAndCompareScreenshotRequest_SnapshotMode.SM_UI_ONLY:
|
|
47
|
+
return "SM_UI_ONLY";
|
|
48
|
+
case TakeAndCompareScreenshotRequest_SnapshotMode.UNRECOGNIZED:
|
|
49
|
+
default:
|
|
50
|
+
return "UNRECOGNIZED";
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function createBaseTakeAndCompareScreenshotRequest() {
|
|
54
|
+
return {
|
|
55
|
+
srcStoredSnapshot: "",
|
|
56
|
+
cameraPosition: undefined,
|
|
57
|
+
cameraTarget: undefined,
|
|
58
|
+
screenshotSize: undefined,
|
|
59
|
+
comparisonMethod: undefined,
|
|
60
|
+
snapshotMode: 0,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
var TakeAndCompareScreenshotRequest;
|
|
64
|
+
(function (TakeAndCompareScreenshotRequest) {
|
|
65
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
66
|
+
var _a;
|
|
67
|
+
if (message.srcStoredSnapshot !== "") {
|
|
68
|
+
writer.uint32(10).string(message.srcStoredSnapshot);
|
|
69
|
+
}
|
|
70
|
+
if (message.cameraPosition !== undefined) {
|
|
71
|
+
vectors_gen_1.Vector3.encode(message.cameraPosition, writer.uint32(18).fork()).ldelim();
|
|
72
|
+
}
|
|
73
|
+
if (message.cameraTarget !== undefined) {
|
|
74
|
+
vectors_gen_1.Vector3.encode(message.cameraTarget, writer.uint32(26).fork()).ldelim();
|
|
75
|
+
}
|
|
76
|
+
if (message.screenshotSize !== undefined) {
|
|
77
|
+
vectors_gen_1.Vector2.encode(message.screenshotSize, writer.uint32(34).fork()).ldelim();
|
|
78
|
+
}
|
|
79
|
+
switch ((_a = message.comparisonMethod) === null || _a === void 0 ? void 0 : _a.$case) {
|
|
80
|
+
case "greyPixelDiff":
|
|
81
|
+
TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.encode(message.comparisonMethod.greyPixelDiff, writer.uint32(42).fork()).ldelim();
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
if (message.snapshotMode !== 0) {
|
|
85
|
+
writer.uint32(48).int32(message.snapshotMode);
|
|
86
|
+
}
|
|
87
|
+
return writer;
|
|
88
|
+
}
|
|
89
|
+
TakeAndCompareScreenshotRequest.encode = encode;
|
|
90
|
+
function decode(input, length) {
|
|
91
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
92
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
93
|
+
const message = createBaseTakeAndCompareScreenshotRequest();
|
|
94
|
+
while (reader.pos < end) {
|
|
95
|
+
const tag = reader.uint32();
|
|
96
|
+
switch (tag >>> 3) {
|
|
97
|
+
case 1:
|
|
98
|
+
if (tag !== 10) {
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
message.srcStoredSnapshot = reader.string();
|
|
102
|
+
continue;
|
|
103
|
+
case 2:
|
|
104
|
+
if (tag !== 18) {
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
message.cameraPosition = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
108
|
+
continue;
|
|
109
|
+
case 3:
|
|
110
|
+
if (tag !== 26) {
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
message.cameraTarget = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
114
|
+
continue;
|
|
115
|
+
case 4:
|
|
116
|
+
if (tag !== 34) {
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
message.screenshotSize = vectors_gen_1.Vector2.decode(reader, reader.uint32());
|
|
120
|
+
continue;
|
|
121
|
+
case 5:
|
|
122
|
+
if (tag !== 42) {
|
|
123
|
+
break;
|
|
124
|
+
}
|
|
125
|
+
message.comparisonMethod = {
|
|
126
|
+
$case: "greyPixelDiff",
|
|
127
|
+
greyPixelDiff: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.decode(reader, reader.uint32()),
|
|
128
|
+
};
|
|
129
|
+
continue;
|
|
130
|
+
case 6:
|
|
131
|
+
if (tag !== 48) {
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
message.snapshotMode = reader.int32();
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
138
|
+
break;
|
|
139
|
+
}
|
|
140
|
+
reader.skipType(tag & 7);
|
|
141
|
+
}
|
|
142
|
+
return message;
|
|
143
|
+
}
|
|
144
|
+
TakeAndCompareScreenshotRequest.decode = decode;
|
|
145
|
+
function fromJSON(object) {
|
|
146
|
+
return {
|
|
147
|
+
srcStoredSnapshot: isSet(object.srcStoredSnapshot) ? String(object.srcStoredSnapshot) : "",
|
|
148
|
+
cameraPosition: isSet(object.cameraPosition) ? vectors_gen_1.Vector3.fromJSON(object.cameraPosition) : undefined,
|
|
149
|
+
cameraTarget: isSet(object.cameraTarget) ? vectors_gen_1.Vector3.fromJSON(object.cameraTarget) : undefined,
|
|
150
|
+
screenshotSize: isSet(object.screenshotSize) ? vectors_gen_1.Vector2.fromJSON(object.screenshotSize) : undefined,
|
|
151
|
+
comparisonMethod: isSet(object.greyPixelDiff)
|
|
152
|
+
? {
|
|
153
|
+
$case: "greyPixelDiff",
|
|
154
|
+
greyPixelDiff: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.fromJSON(object.greyPixelDiff),
|
|
155
|
+
}
|
|
156
|
+
: undefined,
|
|
157
|
+
snapshotMode: isSet(object.snapshotMode)
|
|
158
|
+
? takeAndCompareScreenshotRequest_SnapshotModeFromJSON(object.snapshotMode)
|
|
159
|
+
: 0,
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
TakeAndCompareScreenshotRequest.fromJSON = fromJSON;
|
|
163
|
+
function toJSON(message) {
|
|
164
|
+
var _a, _b, _c;
|
|
165
|
+
const obj = {};
|
|
166
|
+
message.srcStoredSnapshot !== undefined && (obj.srcStoredSnapshot = message.srcStoredSnapshot);
|
|
167
|
+
message.cameraPosition !== undefined &&
|
|
168
|
+
(obj.cameraPosition = message.cameraPosition ? vectors_gen_1.Vector3.toJSON(message.cameraPosition) : undefined);
|
|
169
|
+
message.cameraTarget !== undefined &&
|
|
170
|
+
(obj.cameraTarget = message.cameraTarget ? vectors_gen_1.Vector3.toJSON(message.cameraTarget) : undefined);
|
|
171
|
+
message.screenshotSize !== undefined &&
|
|
172
|
+
(obj.screenshotSize = message.screenshotSize ? vectors_gen_1.Vector2.toJSON(message.screenshotSize) : undefined);
|
|
173
|
+
((_a = message.comparisonMethod) === null || _a === void 0 ? void 0 : _a.$case) === "greyPixelDiff" &&
|
|
174
|
+
(obj.greyPixelDiff = ((_b = message.comparisonMethod) === null || _b === void 0 ? void 0 : _b.greyPixelDiff)
|
|
175
|
+
? TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.toJSON((_c = message.comparisonMethod) === null || _c === void 0 ? void 0 : _c.greyPixelDiff)
|
|
176
|
+
: undefined);
|
|
177
|
+
message.snapshotMode !== undefined &&
|
|
178
|
+
(obj.snapshotMode = takeAndCompareScreenshotRequest_SnapshotModeToJSON(message.snapshotMode));
|
|
179
|
+
return obj;
|
|
180
|
+
}
|
|
181
|
+
TakeAndCompareScreenshotRequest.toJSON = toJSON;
|
|
182
|
+
function create(base) {
|
|
183
|
+
return TakeAndCompareScreenshotRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
184
|
+
}
|
|
185
|
+
TakeAndCompareScreenshotRequest.create = create;
|
|
186
|
+
function fromPartial(object) {
|
|
187
|
+
var _a, _b, _c, _d, _e;
|
|
188
|
+
const message = createBaseTakeAndCompareScreenshotRequest();
|
|
189
|
+
message.srcStoredSnapshot = (_a = object.srcStoredSnapshot) !== null && _a !== void 0 ? _a : "";
|
|
190
|
+
message.cameraPosition = (object.cameraPosition !== undefined && object.cameraPosition !== null)
|
|
191
|
+
? vectors_gen_1.Vector3.fromPartial(object.cameraPosition)
|
|
192
|
+
: undefined;
|
|
193
|
+
message.cameraTarget = (object.cameraTarget !== undefined && object.cameraTarget !== null)
|
|
194
|
+
? vectors_gen_1.Vector3.fromPartial(object.cameraTarget)
|
|
195
|
+
: undefined;
|
|
196
|
+
message.screenshotSize = (object.screenshotSize !== undefined && object.screenshotSize !== null)
|
|
197
|
+
? vectors_gen_1.Vector2.fromPartial(object.screenshotSize)
|
|
198
|
+
: undefined;
|
|
199
|
+
if (((_b = object.comparisonMethod) === null || _b === void 0 ? void 0 : _b.$case) === "greyPixelDiff" &&
|
|
200
|
+
((_c = object.comparisonMethod) === null || _c === void 0 ? void 0 : _c.greyPixelDiff) !== undefined &&
|
|
201
|
+
((_d = object.comparisonMethod) === null || _d === void 0 ? void 0 : _d.greyPixelDiff) !== null) {
|
|
202
|
+
message.comparisonMethod = {
|
|
203
|
+
$case: "greyPixelDiff",
|
|
204
|
+
greyPixelDiff: TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.fromPartial(object.comparisonMethod.greyPixelDiff),
|
|
205
|
+
};
|
|
206
|
+
}
|
|
207
|
+
message.snapshotMode = (_e = object.snapshotMode) !== null && _e !== void 0 ? _e : 0;
|
|
208
|
+
return message;
|
|
209
|
+
}
|
|
210
|
+
TakeAndCompareScreenshotRequest.fromPartial = fromPartial;
|
|
211
|
+
})(TakeAndCompareScreenshotRequest || (exports.TakeAndCompareScreenshotRequest = TakeAndCompareScreenshotRequest = {}));
|
|
212
|
+
function createBaseTakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff() {
|
|
213
|
+
return {};
|
|
214
|
+
}
|
|
215
|
+
var TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff;
|
|
216
|
+
(function (TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff) {
|
|
217
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
218
|
+
return writer;
|
|
219
|
+
}
|
|
220
|
+
TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.encode = encode;
|
|
221
|
+
function decode(input, length) {
|
|
222
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
223
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
224
|
+
const message = createBaseTakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff();
|
|
225
|
+
while (reader.pos < end) {
|
|
226
|
+
const tag = reader.uint32();
|
|
227
|
+
switch (tag >>> 3) {
|
|
228
|
+
}
|
|
229
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
reader.skipType(tag & 7);
|
|
233
|
+
}
|
|
234
|
+
return message;
|
|
235
|
+
}
|
|
236
|
+
TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.decode = decode;
|
|
237
|
+
function fromJSON(_) {
|
|
238
|
+
return {};
|
|
239
|
+
}
|
|
240
|
+
TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.fromJSON = fromJSON;
|
|
241
|
+
function toJSON(_) {
|
|
242
|
+
const obj = {};
|
|
243
|
+
return obj;
|
|
244
|
+
}
|
|
245
|
+
TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.toJSON = toJSON;
|
|
246
|
+
function create(base) {
|
|
247
|
+
return TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
248
|
+
}
|
|
249
|
+
TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.create = create;
|
|
250
|
+
function fromPartial(_) {
|
|
251
|
+
const message = createBaseTakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff();
|
|
252
|
+
return message;
|
|
253
|
+
}
|
|
254
|
+
TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff.fromPartial = fromPartial;
|
|
255
|
+
})(TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff || (exports.TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff = TakeAndCompareScreenshotRequest_ComparisonMethodGreyPixelDiff = {}));
|
|
256
|
+
function createBaseTakeAndCompareScreenshotResponse() {
|
|
257
|
+
return { storedSnapshotFound: false, comparisonMethodResult: undefined };
|
|
258
|
+
}
|
|
259
|
+
var TakeAndCompareScreenshotResponse;
|
|
260
|
+
(function (TakeAndCompareScreenshotResponse) {
|
|
261
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
262
|
+
var _a;
|
|
263
|
+
if (message.storedSnapshotFound === true) {
|
|
264
|
+
writer.uint32(8).bool(message.storedSnapshotFound);
|
|
265
|
+
}
|
|
266
|
+
switch ((_a = message.comparisonMethodResult) === null || _a === void 0 ? void 0 : _a.$case) {
|
|
267
|
+
case "greyPixelDiff":
|
|
268
|
+
TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.encode(message.comparisonMethodResult.greyPixelDiff, writer.uint32(18).fork()).ldelim();
|
|
269
|
+
break;
|
|
270
|
+
}
|
|
271
|
+
return writer;
|
|
272
|
+
}
|
|
273
|
+
TakeAndCompareScreenshotResponse.encode = encode;
|
|
274
|
+
function decode(input, length) {
|
|
275
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
276
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
277
|
+
const message = createBaseTakeAndCompareScreenshotResponse();
|
|
278
|
+
while (reader.pos < end) {
|
|
279
|
+
const tag = reader.uint32();
|
|
280
|
+
switch (tag >>> 3) {
|
|
281
|
+
case 1:
|
|
282
|
+
if (tag !== 8) {
|
|
283
|
+
break;
|
|
284
|
+
}
|
|
285
|
+
message.storedSnapshotFound = reader.bool();
|
|
286
|
+
continue;
|
|
287
|
+
case 2:
|
|
288
|
+
if (tag !== 18) {
|
|
289
|
+
break;
|
|
290
|
+
}
|
|
291
|
+
message.comparisonMethodResult = {
|
|
292
|
+
$case: "greyPixelDiff",
|
|
293
|
+
greyPixelDiff: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.decode(reader, reader.uint32()),
|
|
294
|
+
};
|
|
295
|
+
continue;
|
|
296
|
+
}
|
|
297
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
reader.skipType(tag & 7);
|
|
301
|
+
}
|
|
302
|
+
return message;
|
|
303
|
+
}
|
|
304
|
+
TakeAndCompareScreenshotResponse.decode = decode;
|
|
305
|
+
function fromJSON(object) {
|
|
306
|
+
return {
|
|
307
|
+
storedSnapshotFound: isSet(object.storedSnapshotFound) ? Boolean(object.storedSnapshotFound) : false,
|
|
308
|
+
comparisonMethodResult: isSet(object.greyPixelDiff)
|
|
309
|
+
? {
|
|
310
|
+
$case: "greyPixelDiff",
|
|
311
|
+
greyPixelDiff: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.fromJSON(object.greyPixelDiff),
|
|
312
|
+
}
|
|
313
|
+
: undefined,
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
TakeAndCompareScreenshotResponse.fromJSON = fromJSON;
|
|
317
|
+
function toJSON(message) {
|
|
318
|
+
var _a, _b, _c;
|
|
319
|
+
const obj = {};
|
|
320
|
+
message.storedSnapshotFound !== undefined && (obj.storedSnapshotFound = message.storedSnapshotFound);
|
|
321
|
+
((_a = message.comparisonMethodResult) === null || _a === void 0 ? void 0 : _a.$case) === "greyPixelDiff" &&
|
|
322
|
+
(obj.greyPixelDiff = ((_b = message.comparisonMethodResult) === null || _b === void 0 ? void 0 : _b.greyPixelDiff)
|
|
323
|
+
? TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.toJSON((_c = message.comparisonMethodResult) === null || _c === void 0 ? void 0 : _c.greyPixelDiff)
|
|
324
|
+
: undefined);
|
|
325
|
+
return obj;
|
|
326
|
+
}
|
|
327
|
+
TakeAndCompareScreenshotResponse.toJSON = toJSON;
|
|
328
|
+
function create(base) {
|
|
329
|
+
return TakeAndCompareScreenshotResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
330
|
+
}
|
|
331
|
+
TakeAndCompareScreenshotResponse.create = create;
|
|
332
|
+
function fromPartial(object) {
|
|
333
|
+
var _a, _b, _c, _d;
|
|
334
|
+
const message = createBaseTakeAndCompareScreenshotResponse();
|
|
335
|
+
message.storedSnapshotFound = (_a = object.storedSnapshotFound) !== null && _a !== void 0 ? _a : false;
|
|
336
|
+
if (((_b = object.comparisonMethodResult) === null || _b === void 0 ? void 0 : _b.$case) === "greyPixelDiff" &&
|
|
337
|
+
((_c = object.comparisonMethodResult) === null || _c === void 0 ? void 0 : _c.greyPixelDiff) !== undefined &&
|
|
338
|
+
((_d = object.comparisonMethodResult) === null || _d === void 0 ? void 0 : _d.greyPixelDiff) !== null) {
|
|
339
|
+
message.comparisonMethodResult = {
|
|
340
|
+
$case: "greyPixelDiff",
|
|
341
|
+
greyPixelDiff: TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.fromPartial(object.comparisonMethodResult.greyPixelDiff),
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
return message;
|
|
345
|
+
}
|
|
346
|
+
TakeAndCompareScreenshotResponse.fromPartial = fromPartial;
|
|
347
|
+
})(TakeAndCompareScreenshotResponse || (exports.TakeAndCompareScreenshotResponse = TakeAndCompareScreenshotResponse = {}));
|
|
348
|
+
function createBaseTakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult() {
|
|
349
|
+
return { similarity: 0 };
|
|
350
|
+
}
|
|
351
|
+
var TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult;
|
|
352
|
+
(function (TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult) {
|
|
353
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
354
|
+
if (message.similarity !== 0) {
|
|
355
|
+
writer.uint32(13).float(message.similarity);
|
|
356
|
+
}
|
|
357
|
+
return writer;
|
|
358
|
+
}
|
|
359
|
+
TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.encode = encode;
|
|
360
|
+
function decode(input, length) {
|
|
361
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
362
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
363
|
+
const message = createBaseTakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult();
|
|
364
|
+
while (reader.pos < end) {
|
|
365
|
+
const tag = reader.uint32();
|
|
366
|
+
switch (tag >>> 3) {
|
|
367
|
+
case 1:
|
|
368
|
+
if (tag !== 13) {
|
|
369
|
+
break;
|
|
370
|
+
}
|
|
371
|
+
message.similarity = reader.float();
|
|
372
|
+
continue;
|
|
373
|
+
}
|
|
374
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
375
|
+
break;
|
|
376
|
+
}
|
|
377
|
+
reader.skipType(tag & 7);
|
|
378
|
+
}
|
|
379
|
+
return message;
|
|
380
|
+
}
|
|
381
|
+
TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.decode = decode;
|
|
382
|
+
function fromJSON(object) {
|
|
383
|
+
return { similarity: isSet(object.similarity) ? Number(object.similarity) : 0 };
|
|
384
|
+
}
|
|
385
|
+
TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.fromJSON = fromJSON;
|
|
386
|
+
function toJSON(message) {
|
|
387
|
+
const obj = {};
|
|
388
|
+
message.similarity !== undefined && (obj.similarity = message.similarity);
|
|
389
|
+
return obj;
|
|
390
|
+
}
|
|
391
|
+
TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.toJSON = toJSON;
|
|
392
|
+
function create(base) {
|
|
393
|
+
return TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
394
|
+
}
|
|
395
|
+
TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.create = create;
|
|
396
|
+
function fromPartial(object) {
|
|
397
|
+
var _a;
|
|
398
|
+
const message = createBaseTakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult();
|
|
399
|
+
message.similarity = (_a = object.similarity) !== null && _a !== void 0 ? _a : 0;
|
|
400
|
+
return message;
|
|
401
|
+
}
|
|
402
|
+
TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult.fromPartial = fromPartial;
|
|
403
|
+
})(TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult || (exports.TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult = TakeAndCompareScreenshotResponse_ComparisonMethodGreyPixelDiffResult = {}));
|
|
404
|
+
function createBaseTestResult() {
|
|
405
|
+
return { name: "", ok: false, error: undefined, stack: undefined, totalFrames: 0, totalTime: 0 };
|
|
406
|
+
}
|
|
407
|
+
var TestResult;
|
|
408
|
+
(function (TestResult) {
|
|
409
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
410
|
+
if (message.name !== "") {
|
|
411
|
+
writer.uint32(10).string(message.name);
|
|
412
|
+
}
|
|
413
|
+
if (message.ok === true) {
|
|
414
|
+
writer.uint32(16).bool(message.ok);
|
|
415
|
+
}
|
|
416
|
+
if (message.error !== undefined) {
|
|
417
|
+
writer.uint32(26).string(message.error);
|
|
418
|
+
}
|
|
419
|
+
if (message.stack !== undefined) {
|
|
420
|
+
writer.uint32(34).string(message.stack);
|
|
421
|
+
}
|
|
422
|
+
if (message.totalFrames !== 0) {
|
|
423
|
+
writer.uint32(40).uint32(message.totalFrames);
|
|
424
|
+
}
|
|
425
|
+
if (message.totalTime !== 0) {
|
|
426
|
+
writer.uint32(53).float(message.totalTime);
|
|
427
|
+
}
|
|
428
|
+
return writer;
|
|
429
|
+
}
|
|
430
|
+
TestResult.encode = encode;
|
|
431
|
+
function decode(input, length) {
|
|
432
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
433
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
434
|
+
const message = createBaseTestResult();
|
|
435
|
+
while (reader.pos < end) {
|
|
436
|
+
const tag = reader.uint32();
|
|
437
|
+
switch (tag >>> 3) {
|
|
438
|
+
case 1:
|
|
439
|
+
if (tag !== 10) {
|
|
440
|
+
break;
|
|
441
|
+
}
|
|
442
|
+
message.name = reader.string();
|
|
443
|
+
continue;
|
|
444
|
+
case 2:
|
|
445
|
+
if (tag !== 16) {
|
|
446
|
+
break;
|
|
447
|
+
}
|
|
448
|
+
message.ok = reader.bool();
|
|
449
|
+
continue;
|
|
450
|
+
case 3:
|
|
451
|
+
if (tag !== 26) {
|
|
452
|
+
break;
|
|
453
|
+
}
|
|
454
|
+
message.error = reader.string();
|
|
455
|
+
continue;
|
|
456
|
+
case 4:
|
|
457
|
+
if (tag !== 34) {
|
|
458
|
+
break;
|
|
459
|
+
}
|
|
460
|
+
message.stack = reader.string();
|
|
461
|
+
continue;
|
|
462
|
+
case 5:
|
|
463
|
+
if (tag !== 40) {
|
|
464
|
+
break;
|
|
465
|
+
}
|
|
466
|
+
message.totalFrames = reader.uint32();
|
|
467
|
+
continue;
|
|
468
|
+
case 6:
|
|
469
|
+
if (tag !== 53) {
|
|
470
|
+
break;
|
|
471
|
+
}
|
|
472
|
+
message.totalTime = reader.float();
|
|
473
|
+
continue;
|
|
474
|
+
}
|
|
475
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
476
|
+
break;
|
|
477
|
+
}
|
|
478
|
+
reader.skipType(tag & 7);
|
|
479
|
+
}
|
|
480
|
+
return message;
|
|
481
|
+
}
|
|
482
|
+
TestResult.decode = decode;
|
|
483
|
+
function fromJSON(object) {
|
|
484
|
+
return {
|
|
485
|
+
name: isSet(object.name) ? String(object.name) : "",
|
|
486
|
+
ok: isSet(object.ok) ? Boolean(object.ok) : false,
|
|
487
|
+
error: isSet(object.error) ? String(object.error) : undefined,
|
|
488
|
+
stack: isSet(object.stack) ? String(object.stack) : undefined,
|
|
489
|
+
totalFrames: isSet(object.totalFrames) ? Number(object.totalFrames) : 0,
|
|
490
|
+
totalTime: isSet(object.totalTime) ? Number(object.totalTime) : 0,
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
TestResult.fromJSON = fromJSON;
|
|
494
|
+
function toJSON(message) {
|
|
495
|
+
const obj = {};
|
|
496
|
+
message.name !== undefined && (obj.name = message.name);
|
|
497
|
+
message.ok !== undefined && (obj.ok = message.ok);
|
|
498
|
+
message.error !== undefined && (obj.error = message.error);
|
|
499
|
+
message.stack !== undefined && (obj.stack = message.stack);
|
|
500
|
+
message.totalFrames !== undefined && (obj.totalFrames = Math.round(message.totalFrames));
|
|
501
|
+
message.totalTime !== undefined && (obj.totalTime = message.totalTime);
|
|
502
|
+
return obj;
|
|
503
|
+
}
|
|
504
|
+
TestResult.toJSON = toJSON;
|
|
505
|
+
function create(base) {
|
|
506
|
+
return TestResult.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
507
|
+
}
|
|
508
|
+
TestResult.create = create;
|
|
509
|
+
function fromPartial(object) {
|
|
510
|
+
var _a, _b, _c, _d, _e, _f;
|
|
511
|
+
const message = createBaseTestResult();
|
|
512
|
+
message.name = (_a = object.name) !== null && _a !== void 0 ? _a : "";
|
|
513
|
+
message.ok = (_b = object.ok) !== null && _b !== void 0 ? _b : false;
|
|
514
|
+
message.error = (_c = object.error) !== null && _c !== void 0 ? _c : undefined;
|
|
515
|
+
message.stack = (_d = object.stack) !== null && _d !== void 0 ? _d : undefined;
|
|
516
|
+
message.totalFrames = (_e = object.totalFrames) !== null && _e !== void 0 ? _e : 0;
|
|
517
|
+
message.totalTime = (_f = object.totalTime) !== null && _f !== void 0 ? _f : 0;
|
|
518
|
+
return message;
|
|
519
|
+
}
|
|
520
|
+
TestResult.fromPartial = fromPartial;
|
|
521
|
+
})(TestResult || (exports.TestResult = TestResult = {}));
|
|
522
|
+
function createBaseTestResultResponse() {
|
|
523
|
+
return {};
|
|
524
|
+
}
|
|
525
|
+
var TestResultResponse;
|
|
526
|
+
(function (TestResultResponse) {
|
|
527
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
528
|
+
return writer;
|
|
529
|
+
}
|
|
530
|
+
TestResultResponse.encode = encode;
|
|
531
|
+
function decode(input, length) {
|
|
532
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
533
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
534
|
+
const message = createBaseTestResultResponse();
|
|
535
|
+
while (reader.pos < end) {
|
|
536
|
+
const tag = reader.uint32();
|
|
537
|
+
switch (tag >>> 3) {
|
|
538
|
+
}
|
|
539
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
540
|
+
break;
|
|
541
|
+
}
|
|
542
|
+
reader.skipType(tag & 7);
|
|
543
|
+
}
|
|
544
|
+
return message;
|
|
545
|
+
}
|
|
546
|
+
TestResultResponse.decode = decode;
|
|
547
|
+
function fromJSON(_) {
|
|
548
|
+
return {};
|
|
549
|
+
}
|
|
550
|
+
TestResultResponse.fromJSON = fromJSON;
|
|
551
|
+
function toJSON(_) {
|
|
552
|
+
const obj = {};
|
|
553
|
+
return obj;
|
|
554
|
+
}
|
|
555
|
+
TestResultResponse.toJSON = toJSON;
|
|
556
|
+
function create(base) {
|
|
557
|
+
return TestResultResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
558
|
+
}
|
|
559
|
+
TestResultResponse.create = create;
|
|
560
|
+
function fromPartial(_) {
|
|
561
|
+
const message = createBaseTestResultResponse();
|
|
562
|
+
return message;
|
|
563
|
+
}
|
|
564
|
+
TestResultResponse.fromPartial = fromPartial;
|
|
565
|
+
})(TestResultResponse || (exports.TestResultResponse = TestResultResponse = {}));
|
|
566
|
+
function createBaseTestPlan() {
|
|
567
|
+
return { tests: [] };
|
|
568
|
+
}
|
|
569
|
+
var TestPlan;
|
|
570
|
+
(function (TestPlan) {
|
|
571
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
572
|
+
for (const v of message.tests) {
|
|
573
|
+
TestPlan_TestPlanEntry.encode(v, writer.uint32(10).fork()).ldelim();
|
|
574
|
+
}
|
|
575
|
+
return writer;
|
|
576
|
+
}
|
|
577
|
+
TestPlan.encode = encode;
|
|
578
|
+
function decode(input, length) {
|
|
579
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
580
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
581
|
+
const message = createBaseTestPlan();
|
|
582
|
+
while (reader.pos < end) {
|
|
583
|
+
const tag = reader.uint32();
|
|
584
|
+
switch (tag >>> 3) {
|
|
585
|
+
case 1:
|
|
586
|
+
if (tag !== 10) {
|
|
587
|
+
break;
|
|
588
|
+
}
|
|
589
|
+
message.tests.push(TestPlan_TestPlanEntry.decode(reader, reader.uint32()));
|
|
590
|
+
continue;
|
|
591
|
+
}
|
|
592
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
593
|
+
break;
|
|
594
|
+
}
|
|
595
|
+
reader.skipType(tag & 7);
|
|
596
|
+
}
|
|
597
|
+
return message;
|
|
598
|
+
}
|
|
599
|
+
TestPlan.decode = decode;
|
|
600
|
+
function fromJSON(object) {
|
|
601
|
+
return {
|
|
602
|
+
tests: Array.isArray(object === null || object === void 0 ? void 0 : object.tests) ? object.tests.map((e) => TestPlan_TestPlanEntry.fromJSON(e)) : [],
|
|
603
|
+
};
|
|
604
|
+
}
|
|
605
|
+
TestPlan.fromJSON = fromJSON;
|
|
606
|
+
function toJSON(message) {
|
|
607
|
+
const obj = {};
|
|
608
|
+
if (message.tests) {
|
|
609
|
+
obj.tests = message.tests.map((e) => e ? TestPlan_TestPlanEntry.toJSON(e) : undefined);
|
|
610
|
+
}
|
|
611
|
+
else {
|
|
612
|
+
obj.tests = [];
|
|
613
|
+
}
|
|
614
|
+
return obj;
|
|
615
|
+
}
|
|
616
|
+
TestPlan.toJSON = toJSON;
|
|
617
|
+
function create(base) {
|
|
618
|
+
return TestPlan.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
619
|
+
}
|
|
620
|
+
TestPlan.create = create;
|
|
621
|
+
function fromPartial(object) {
|
|
622
|
+
var _a;
|
|
623
|
+
const message = createBaseTestPlan();
|
|
624
|
+
message.tests = ((_a = object.tests) === null || _a === void 0 ? void 0 : _a.map((e) => TestPlan_TestPlanEntry.fromPartial(e))) || [];
|
|
625
|
+
return message;
|
|
626
|
+
}
|
|
627
|
+
TestPlan.fromPartial = fromPartial;
|
|
628
|
+
})(TestPlan || (exports.TestPlan = TestPlan = {}));
|
|
629
|
+
function createBaseTestPlan_TestPlanEntry() {
|
|
630
|
+
return { name: "" };
|
|
631
|
+
}
|
|
632
|
+
var TestPlan_TestPlanEntry;
|
|
633
|
+
(function (TestPlan_TestPlanEntry) {
|
|
634
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
635
|
+
if (message.name !== "") {
|
|
636
|
+
writer.uint32(10).string(message.name);
|
|
637
|
+
}
|
|
638
|
+
return writer;
|
|
639
|
+
}
|
|
640
|
+
TestPlan_TestPlanEntry.encode = encode;
|
|
641
|
+
function decode(input, length) {
|
|
642
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
643
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
644
|
+
const message = createBaseTestPlan_TestPlanEntry();
|
|
645
|
+
while (reader.pos < end) {
|
|
646
|
+
const tag = reader.uint32();
|
|
647
|
+
switch (tag >>> 3) {
|
|
648
|
+
case 1:
|
|
649
|
+
if (tag !== 10) {
|
|
650
|
+
break;
|
|
651
|
+
}
|
|
652
|
+
message.name = reader.string();
|
|
653
|
+
continue;
|
|
654
|
+
}
|
|
655
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
656
|
+
break;
|
|
657
|
+
}
|
|
658
|
+
reader.skipType(tag & 7);
|
|
659
|
+
}
|
|
660
|
+
return message;
|
|
661
|
+
}
|
|
662
|
+
TestPlan_TestPlanEntry.decode = decode;
|
|
663
|
+
function fromJSON(object) {
|
|
664
|
+
return { name: isSet(object.name) ? String(object.name) : "" };
|
|
665
|
+
}
|
|
666
|
+
TestPlan_TestPlanEntry.fromJSON = fromJSON;
|
|
667
|
+
function toJSON(message) {
|
|
668
|
+
const obj = {};
|
|
669
|
+
message.name !== undefined && (obj.name = message.name);
|
|
670
|
+
return obj;
|
|
671
|
+
}
|
|
672
|
+
TestPlan_TestPlanEntry.toJSON = toJSON;
|
|
673
|
+
function create(base) {
|
|
674
|
+
return TestPlan_TestPlanEntry.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
675
|
+
}
|
|
676
|
+
TestPlan_TestPlanEntry.create = create;
|
|
677
|
+
function fromPartial(object) {
|
|
678
|
+
var _a;
|
|
679
|
+
const message = createBaseTestPlan_TestPlanEntry();
|
|
680
|
+
message.name = (_a = object.name) !== null && _a !== void 0 ? _a : "";
|
|
681
|
+
return message;
|
|
682
|
+
}
|
|
683
|
+
TestPlan_TestPlanEntry.fromPartial = fromPartial;
|
|
684
|
+
})(TestPlan_TestPlanEntry || (exports.TestPlan_TestPlanEntry = TestPlan_TestPlanEntry = {}));
|
|
685
|
+
function createBaseTestPlanResponse() {
|
|
686
|
+
return {};
|
|
687
|
+
}
|
|
688
|
+
var TestPlanResponse;
|
|
689
|
+
(function (TestPlanResponse) {
|
|
690
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
691
|
+
return writer;
|
|
692
|
+
}
|
|
693
|
+
TestPlanResponse.encode = encode;
|
|
694
|
+
function decode(input, length) {
|
|
695
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
696
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
697
|
+
const message = createBaseTestPlanResponse();
|
|
698
|
+
while (reader.pos < end) {
|
|
699
|
+
const tag = reader.uint32();
|
|
700
|
+
switch (tag >>> 3) {
|
|
701
|
+
}
|
|
702
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
703
|
+
break;
|
|
704
|
+
}
|
|
705
|
+
reader.skipType(tag & 7);
|
|
706
|
+
}
|
|
707
|
+
return message;
|
|
708
|
+
}
|
|
709
|
+
TestPlanResponse.decode = decode;
|
|
710
|
+
function fromJSON(_) {
|
|
711
|
+
return {};
|
|
712
|
+
}
|
|
713
|
+
TestPlanResponse.fromJSON = fromJSON;
|
|
714
|
+
function toJSON(_) {
|
|
715
|
+
const obj = {};
|
|
716
|
+
return obj;
|
|
717
|
+
}
|
|
718
|
+
TestPlanResponse.toJSON = toJSON;
|
|
719
|
+
function create(base) {
|
|
720
|
+
return TestPlanResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
721
|
+
}
|
|
722
|
+
TestPlanResponse.create = create;
|
|
723
|
+
function fromPartial(_) {
|
|
724
|
+
const message = createBaseTestPlanResponse();
|
|
725
|
+
return message;
|
|
726
|
+
}
|
|
727
|
+
TestPlanResponse.fromPartial = fromPartial;
|
|
728
|
+
})(TestPlanResponse || (exports.TestPlanResponse = TestPlanResponse = {}));
|
|
729
|
+
function createBaseSetCameraTransformTestCommand() {
|
|
730
|
+
return { position: undefined, rotation: undefined };
|
|
731
|
+
}
|
|
732
|
+
var SetCameraTransformTestCommand;
|
|
733
|
+
(function (SetCameraTransformTestCommand) {
|
|
734
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
735
|
+
if (message.position !== undefined) {
|
|
736
|
+
SetCameraTransformTestCommand_Vector3.encode(message.position, writer.uint32(10).fork()).ldelim();
|
|
737
|
+
}
|
|
738
|
+
if (message.rotation !== undefined) {
|
|
739
|
+
SetCameraTransformTestCommand_Quaternion.encode(message.rotation, writer.uint32(18).fork()).ldelim();
|
|
740
|
+
}
|
|
741
|
+
return writer;
|
|
742
|
+
}
|
|
743
|
+
SetCameraTransformTestCommand.encode = encode;
|
|
744
|
+
function decode(input, length) {
|
|
745
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
746
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
747
|
+
const message = createBaseSetCameraTransformTestCommand();
|
|
748
|
+
while (reader.pos < end) {
|
|
749
|
+
const tag = reader.uint32();
|
|
750
|
+
switch (tag >>> 3) {
|
|
751
|
+
case 1:
|
|
752
|
+
if (tag !== 10) {
|
|
753
|
+
break;
|
|
754
|
+
}
|
|
755
|
+
message.position = SetCameraTransformTestCommand_Vector3.decode(reader, reader.uint32());
|
|
756
|
+
continue;
|
|
757
|
+
case 2:
|
|
758
|
+
if (tag !== 18) {
|
|
759
|
+
break;
|
|
760
|
+
}
|
|
761
|
+
message.rotation = SetCameraTransformTestCommand_Quaternion.decode(reader, reader.uint32());
|
|
762
|
+
continue;
|
|
763
|
+
}
|
|
764
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
765
|
+
break;
|
|
766
|
+
}
|
|
767
|
+
reader.skipType(tag & 7);
|
|
768
|
+
}
|
|
769
|
+
return message;
|
|
770
|
+
}
|
|
771
|
+
SetCameraTransformTestCommand.decode = decode;
|
|
772
|
+
function fromJSON(object) {
|
|
773
|
+
return {
|
|
774
|
+
position: isSet(object.position) ? SetCameraTransformTestCommand_Vector3.fromJSON(object.position) : undefined,
|
|
775
|
+
rotation: isSet(object.rotation) ? SetCameraTransformTestCommand_Quaternion.fromJSON(object.rotation) : undefined,
|
|
776
|
+
};
|
|
777
|
+
}
|
|
778
|
+
SetCameraTransformTestCommand.fromJSON = fromJSON;
|
|
779
|
+
function toJSON(message) {
|
|
780
|
+
const obj = {};
|
|
781
|
+
message.position !== undefined &&
|
|
782
|
+
(obj.position = message.position ? SetCameraTransformTestCommand_Vector3.toJSON(message.position) : undefined);
|
|
783
|
+
message.rotation !== undefined &&
|
|
784
|
+
(obj.rotation = message.rotation ? SetCameraTransformTestCommand_Quaternion.toJSON(message.rotation) : undefined);
|
|
785
|
+
return obj;
|
|
786
|
+
}
|
|
787
|
+
SetCameraTransformTestCommand.toJSON = toJSON;
|
|
788
|
+
function create(base) {
|
|
789
|
+
return SetCameraTransformTestCommand.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
790
|
+
}
|
|
791
|
+
SetCameraTransformTestCommand.create = create;
|
|
792
|
+
function fromPartial(object) {
|
|
793
|
+
const message = createBaseSetCameraTransformTestCommand();
|
|
794
|
+
message.position = (object.position !== undefined && object.position !== null)
|
|
795
|
+
? SetCameraTransformTestCommand_Vector3.fromPartial(object.position)
|
|
796
|
+
: undefined;
|
|
797
|
+
message.rotation = (object.rotation !== undefined && object.rotation !== null)
|
|
798
|
+
? SetCameraTransformTestCommand_Quaternion.fromPartial(object.rotation)
|
|
799
|
+
: undefined;
|
|
800
|
+
return message;
|
|
801
|
+
}
|
|
802
|
+
SetCameraTransformTestCommand.fromPartial = fromPartial;
|
|
803
|
+
})(SetCameraTransformTestCommand || (exports.SetCameraTransformTestCommand = SetCameraTransformTestCommand = {}));
|
|
804
|
+
function createBaseSetCameraTransformTestCommand_Vector3() {
|
|
805
|
+
return { x: 0, y: 0, z: 0 };
|
|
806
|
+
}
|
|
807
|
+
var SetCameraTransformTestCommand_Vector3;
|
|
808
|
+
(function (SetCameraTransformTestCommand_Vector3) {
|
|
809
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
810
|
+
if (message.x !== 0) {
|
|
811
|
+
writer.uint32(13).float(message.x);
|
|
812
|
+
}
|
|
813
|
+
if (message.y !== 0) {
|
|
814
|
+
writer.uint32(21).float(message.y);
|
|
815
|
+
}
|
|
816
|
+
if (message.z !== 0) {
|
|
817
|
+
writer.uint32(29).float(message.z);
|
|
818
|
+
}
|
|
819
|
+
return writer;
|
|
820
|
+
}
|
|
821
|
+
SetCameraTransformTestCommand_Vector3.encode = encode;
|
|
822
|
+
function decode(input, length) {
|
|
823
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
824
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
825
|
+
const message = createBaseSetCameraTransformTestCommand_Vector3();
|
|
826
|
+
while (reader.pos < end) {
|
|
827
|
+
const tag = reader.uint32();
|
|
828
|
+
switch (tag >>> 3) {
|
|
829
|
+
case 1:
|
|
830
|
+
if (tag !== 13) {
|
|
831
|
+
break;
|
|
832
|
+
}
|
|
833
|
+
message.x = reader.float();
|
|
834
|
+
continue;
|
|
835
|
+
case 2:
|
|
836
|
+
if (tag !== 21) {
|
|
837
|
+
break;
|
|
838
|
+
}
|
|
839
|
+
message.y = reader.float();
|
|
840
|
+
continue;
|
|
841
|
+
case 3:
|
|
842
|
+
if (tag !== 29) {
|
|
843
|
+
break;
|
|
844
|
+
}
|
|
845
|
+
message.z = reader.float();
|
|
846
|
+
continue;
|
|
847
|
+
}
|
|
848
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
849
|
+
break;
|
|
850
|
+
}
|
|
851
|
+
reader.skipType(tag & 7);
|
|
852
|
+
}
|
|
853
|
+
return message;
|
|
854
|
+
}
|
|
855
|
+
SetCameraTransformTestCommand_Vector3.decode = decode;
|
|
856
|
+
function fromJSON(object) {
|
|
857
|
+
return {
|
|
858
|
+
x: isSet(object.x) ? Number(object.x) : 0,
|
|
859
|
+
y: isSet(object.y) ? Number(object.y) : 0,
|
|
860
|
+
z: isSet(object.z) ? Number(object.z) : 0,
|
|
861
|
+
};
|
|
862
|
+
}
|
|
863
|
+
SetCameraTransformTestCommand_Vector3.fromJSON = fromJSON;
|
|
864
|
+
function toJSON(message) {
|
|
865
|
+
const obj = {};
|
|
866
|
+
message.x !== undefined && (obj.x = message.x);
|
|
867
|
+
message.y !== undefined && (obj.y = message.y);
|
|
868
|
+
message.z !== undefined && (obj.z = message.z);
|
|
869
|
+
return obj;
|
|
870
|
+
}
|
|
871
|
+
SetCameraTransformTestCommand_Vector3.toJSON = toJSON;
|
|
872
|
+
function create(base) {
|
|
873
|
+
return SetCameraTransformTestCommand_Vector3.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
874
|
+
}
|
|
875
|
+
SetCameraTransformTestCommand_Vector3.create = create;
|
|
876
|
+
function fromPartial(object) {
|
|
877
|
+
var _a, _b, _c;
|
|
878
|
+
const message = createBaseSetCameraTransformTestCommand_Vector3();
|
|
879
|
+
message.x = (_a = object.x) !== null && _a !== void 0 ? _a : 0;
|
|
880
|
+
message.y = (_b = object.y) !== null && _b !== void 0 ? _b : 0;
|
|
881
|
+
message.z = (_c = object.z) !== null && _c !== void 0 ? _c : 0;
|
|
882
|
+
return message;
|
|
883
|
+
}
|
|
884
|
+
SetCameraTransformTestCommand_Vector3.fromPartial = fromPartial;
|
|
885
|
+
})(SetCameraTransformTestCommand_Vector3 || (exports.SetCameraTransformTestCommand_Vector3 = SetCameraTransformTestCommand_Vector3 = {}));
|
|
886
|
+
function createBaseSetCameraTransformTestCommand_Quaternion() {
|
|
887
|
+
return { x: 0, y: 0, z: 0, w: 0 };
|
|
888
|
+
}
|
|
889
|
+
var SetCameraTransformTestCommand_Quaternion;
|
|
890
|
+
(function (SetCameraTransformTestCommand_Quaternion) {
|
|
891
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
892
|
+
if (message.x !== 0) {
|
|
893
|
+
writer.uint32(13).float(message.x);
|
|
894
|
+
}
|
|
895
|
+
if (message.y !== 0) {
|
|
896
|
+
writer.uint32(21).float(message.y);
|
|
897
|
+
}
|
|
898
|
+
if (message.z !== 0) {
|
|
899
|
+
writer.uint32(29).float(message.z);
|
|
900
|
+
}
|
|
901
|
+
if (message.w !== 0) {
|
|
902
|
+
writer.uint32(37).float(message.w);
|
|
903
|
+
}
|
|
904
|
+
return writer;
|
|
905
|
+
}
|
|
906
|
+
SetCameraTransformTestCommand_Quaternion.encode = encode;
|
|
907
|
+
function decode(input, length) {
|
|
908
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
909
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
910
|
+
const message = createBaseSetCameraTransformTestCommand_Quaternion();
|
|
911
|
+
while (reader.pos < end) {
|
|
912
|
+
const tag = reader.uint32();
|
|
913
|
+
switch (tag >>> 3) {
|
|
914
|
+
case 1:
|
|
915
|
+
if (tag !== 13) {
|
|
916
|
+
break;
|
|
917
|
+
}
|
|
918
|
+
message.x = reader.float();
|
|
919
|
+
continue;
|
|
920
|
+
case 2:
|
|
921
|
+
if (tag !== 21) {
|
|
922
|
+
break;
|
|
923
|
+
}
|
|
924
|
+
message.y = reader.float();
|
|
925
|
+
continue;
|
|
926
|
+
case 3:
|
|
927
|
+
if (tag !== 29) {
|
|
928
|
+
break;
|
|
929
|
+
}
|
|
930
|
+
message.z = reader.float();
|
|
931
|
+
continue;
|
|
932
|
+
case 4:
|
|
933
|
+
if (tag !== 37) {
|
|
934
|
+
break;
|
|
935
|
+
}
|
|
936
|
+
message.w = reader.float();
|
|
937
|
+
continue;
|
|
938
|
+
}
|
|
939
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
940
|
+
break;
|
|
941
|
+
}
|
|
942
|
+
reader.skipType(tag & 7);
|
|
943
|
+
}
|
|
944
|
+
return message;
|
|
945
|
+
}
|
|
946
|
+
SetCameraTransformTestCommand_Quaternion.decode = decode;
|
|
947
|
+
function fromJSON(object) {
|
|
948
|
+
return {
|
|
949
|
+
x: isSet(object.x) ? Number(object.x) : 0,
|
|
950
|
+
y: isSet(object.y) ? Number(object.y) : 0,
|
|
951
|
+
z: isSet(object.z) ? Number(object.z) : 0,
|
|
952
|
+
w: isSet(object.w) ? Number(object.w) : 0,
|
|
953
|
+
};
|
|
954
|
+
}
|
|
955
|
+
SetCameraTransformTestCommand_Quaternion.fromJSON = fromJSON;
|
|
956
|
+
function toJSON(message) {
|
|
957
|
+
const obj = {};
|
|
958
|
+
message.x !== undefined && (obj.x = message.x);
|
|
959
|
+
message.y !== undefined && (obj.y = message.y);
|
|
960
|
+
message.z !== undefined && (obj.z = message.z);
|
|
961
|
+
message.w !== undefined && (obj.w = message.w);
|
|
962
|
+
return obj;
|
|
963
|
+
}
|
|
964
|
+
SetCameraTransformTestCommand_Quaternion.toJSON = toJSON;
|
|
965
|
+
function create(base) {
|
|
966
|
+
return SetCameraTransformTestCommand_Quaternion.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
967
|
+
}
|
|
968
|
+
SetCameraTransformTestCommand_Quaternion.create = create;
|
|
969
|
+
function fromPartial(object) {
|
|
970
|
+
var _a, _b, _c, _d;
|
|
971
|
+
const message = createBaseSetCameraTransformTestCommand_Quaternion();
|
|
972
|
+
message.x = (_a = object.x) !== null && _a !== void 0 ? _a : 0;
|
|
973
|
+
message.y = (_b = object.y) !== null && _b !== void 0 ? _b : 0;
|
|
974
|
+
message.z = (_c = object.z) !== null && _c !== void 0 ? _c : 0;
|
|
975
|
+
message.w = (_d = object.w) !== null && _d !== void 0 ? _d : 0;
|
|
976
|
+
return message;
|
|
977
|
+
}
|
|
978
|
+
SetCameraTransformTestCommand_Quaternion.fromPartial = fromPartial;
|
|
979
|
+
})(SetCameraTransformTestCommand_Quaternion || (exports.SetCameraTransformTestCommand_Quaternion = SetCameraTransformTestCommand_Quaternion = {}));
|
|
980
|
+
function createBaseSetCameraTransformTestCommandResponse() {
|
|
981
|
+
return {};
|
|
982
|
+
}
|
|
983
|
+
var SetCameraTransformTestCommandResponse;
|
|
984
|
+
(function (SetCameraTransformTestCommandResponse) {
|
|
985
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
986
|
+
return writer;
|
|
987
|
+
}
|
|
988
|
+
SetCameraTransformTestCommandResponse.encode = encode;
|
|
989
|
+
function decode(input, length) {
|
|
990
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
991
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
992
|
+
const message = createBaseSetCameraTransformTestCommandResponse();
|
|
993
|
+
while (reader.pos < end) {
|
|
994
|
+
const tag = reader.uint32();
|
|
995
|
+
switch (tag >>> 3) {
|
|
996
|
+
}
|
|
997
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
998
|
+
break;
|
|
999
|
+
}
|
|
1000
|
+
reader.skipType(tag & 7);
|
|
1001
|
+
}
|
|
1002
|
+
return message;
|
|
1003
|
+
}
|
|
1004
|
+
SetCameraTransformTestCommandResponse.decode = decode;
|
|
1005
|
+
function fromJSON(_) {
|
|
1006
|
+
return {};
|
|
1007
|
+
}
|
|
1008
|
+
SetCameraTransformTestCommandResponse.fromJSON = fromJSON;
|
|
1009
|
+
function toJSON(_) {
|
|
1010
|
+
const obj = {};
|
|
1011
|
+
return obj;
|
|
1012
|
+
}
|
|
1013
|
+
SetCameraTransformTestCommandResponse.toJSON = toJSON;
|
|
1014
|
+
function create(base) {
|
|
1015
|
+
return SetCameraTransformTestCommandResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1016
|
+
}
|
|
1017
|
+
SetCameraTransformTestCommandResponse.create = create;
|
|
1018
|
+
function fromPartial(_) {
|
|
1019
|
+
const message = createBaseSetCameraTransformTestCommandResponse();
|
|
1020
|
+
return message;
|
|
1021
|
+
}
|
|
1022
|
+
SetCameraTransformTestCommandResponse.fromPartial = fromPartial;
|
|
1023
|
+
})(SetCameraTransformTestCommandResponse || (exports.SetCameraTransformTestCommandResponse = SetCameraTransformTestCommandResponse = {}));
|
|
1024
|
+
exports.TestingServiceDefinition = {
|
|
1025
|
+
name: "TestingService",
|
|
1026
|
+
fullName: "decentraland.kernel.apis.TestingService",
|
|
1027
|
+
methods: {
|
|
1028
|
+
/** sends a test result to the test runner */
|
|
1029
|
+
logTestResult: {
|
|
1030
|
+
name: "LogTestResult",
|
|
1031
|
+
requestType: TestResult,
|
|
1032
|
+
requestStream: false,
|
|
1033
|
+
responseType: TestResultResponse,
|
|
1034
|
+
responseStream: false,
|
|
1035
|
+
options: {},
|
|
1036
|
+
},
|
|
1037
|
+
/** send a list of all planned tests to the test runner */
|
|
1038
|
+
plan: {
|
|
1039
|
+
name: "Plan",
|
|
1040
|
+
requestType: TestPlan,
|
|
1041
|
+
requestStream: false,
|
|
1042
|
+
responseType: TestPlanResponse,
|
|
1043
|
+
responseStream: false,
|
|
1044
|
+
options: {},
|
|
1045
|
+
},
|
|
1046
|
+
/** sets the camera position and rotation in the engine */
|
|
1047
|
+
setCameraTransform: {
|
|
1048
|
+
name: "SetCameraTransform",
|
|
1049
|
+
requestType: SetCameraTransformTestCommand,
|
|
1050
|
+
requestStream: false,
|
|
1051
|
+
responseType: SetCameraTransformTestCommandResponse,
|
|
1052
|
+
responseStream: false,
|
|
1053
|
+
options: {},
|
|
1054
|
+
},
|
|
1055
|
+
/**
|
|
1056
|
+
* @internal
|
|
1057
|
+
* take a screenshot and compare it with a stored one
|
|
1058
|
+
* it hides the explorer hud and ui, primary player and players of avatar scenes
|
|
1059
|
+
*/
|
|
1060
|
+
takeAndCompareScreenshot: {
|
|
1061
|
+
name: "TakeAndCompareScreenshot",
|
|
1062
|
+
requestType: TakeAndCompareScreenshotRequest,
|
|
1063
|
+
requestStream: false,
|
|
1064
|
+
responseType: TakeAndCompareScreenshotResponse,
|
|
1065
|
+
responseStream: false,
|
|
1066
|
+
options: {},
|
|
1067
|
+
},
|
|
1068
|
+
},
|
|
1069
|
+
};
|
|
1070
|
+
function isSet(value) {
|
|
1071
|
+
return value !== null && value !== undefined;
|
|
1072
|
+
}
|
|
1073
|
+
//# sourceMappingURL=testing.gen.js.map
|