@dcl/protocol 1.0.0-3482040729.commit-4f0f6b5 → 1.0.0-34848312390.commit-ca008c2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +265 -5
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/about.gen.js +6 -0
- package/out-js/about.gen.js.map +1 -0
- package/out-js/comms.gen.d.ts +1 -0
- package/out-js/comms.gen.js +6 -0
- package/out-js/comms.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
- package/out-js/decentraland/common/border_rect.gen.js +201 -0
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
- package/out-js/decentraland/common/colors.gen.d.ts +59 -0
- package/out-js/decentraland/common/colors.gen.js +260 -0
- package/out-js/decentraland/common/colors.gen.js.map +1 -0
- package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
- package/out-js/decentraland/common/content_mapping.gen.js +80 -0
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
- package/out-js/decentraland/common/texture.gen.d.ts +105 -0
- package/out-js/decentraland/common/texture.gen.js +475 -0
- package/out-js/decentraland/common/texture.gen.js.map +1 -0
- package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
- package/out-js/decentraland/common/vectors.gen.js +338 -0
- package/out-js/decentraland/common/vectors.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +792 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +105 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +400 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +1452 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +1122 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +557 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
- package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +383 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1363 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +217 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js +801 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js +171 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +139 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +56 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +334 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +2093 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +249 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1384 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2728 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +229 -0
- package/out-js/decentraland/realm/about.gen.js +1185 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
- package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +138 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +62 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +160 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +82 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +298 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js +142 -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/avatar_mask.gen.d.ts +8 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.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/explorer_ui.gen.d.ts +19 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +80 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +209 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +107 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +308 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +231 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.d.ts +57 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +108 -0
- package/out-js/decentraland/sdk/components/material.gen.js +536 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +130 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +471 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +104 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +115 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +319 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +201 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +1213 -0
- package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +238 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1547 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +51 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +177 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +83 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/social_service/errors.gen.d.ts +96 -0
- package/out-js/decentraland/social_service/errors.gen.js +405 -0
- package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
- package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
- package/out-js/google/protobuf/descriptor.gen.js +3173 -0
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
- package/out-js/google/protobuf/empty.gen.d.ts +38 -0
- package/out-js/google/protobuf/empty.gen.js +54 -0
- package/out-js/google/protobuf/empty.gen.js.map +1 -0
- package/out-js/quests.gen.d.ts +1 -0
- package/out-js/quests.gen.js +6 -0
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-apis.gen.d.ts +1 -0
- package/out-js/sdk-apis.gen.js +6 -0
- package/out-js/sdk-apis.gen.js.map +1 -0
- package/out-js/sdk-components.gen.d.ts +1 -0
- package/out-js/sdk-components.gen.js +6 -0
- package/out-js/sdk-components.gen.js.map +1 -0
- package/out-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-js/social.gen.d.ts +1 -0
- package/out-js/social.gen.js +6 -0
- package/out-js/social.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
- package/out-ts/decentraland/common/colors.gen.ts +293 -0
- package/out-ts/decentraland/common/content_mapping.gen.ts +31 -18
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +133 -62
- package/out-ts/decentraland/common/texture.gen.ts +539 -0
- package/out-ts/decentraland/common/vectors.gen.ts +207 -56
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +338 -33
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +54 -34
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +813 -1608
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +506 -293
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +386 -211
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +231 -140
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +136 -72
- package/out-ts/decentraland/kernel/apis/players.gen.ts +170 -100
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +305 -158
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1339 -162
- 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 +356 -94
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +85 -51
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +50 -33
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +99 -66
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1876 -261
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +404 -241
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1092 -611
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/realm/about.gen.ts +1415 -0
- package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +182 -0
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +195 -0
- package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +383 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +172 -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/avatar_mask.gen.ts +31 -0
- package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
- package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +77 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +206 -0
- package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
- package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
- package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +655 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +536 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +436 -0
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
- package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
- package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
- package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1775 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +108 -0
- package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
- package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
- package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +1145 -536
- package/out-ts/google/protobuf/empty.gen.ts +21 -16
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-components.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/out-ts/social.gen.ts +3 -0
- package/package.json +22 -11
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +6 -0
- package/proto/decentraland/common/entity.proto +1 -1
- package/proto/decentraland/common/floats.proto +8 -0
- package/proto/decentraland/common/options.proto +51 -0
- package/proto/decentraland/common/quantization_example.proto +164 -0
- package/proto/decentraland/common/texture.proto +19 -8
- package/proto/decentraland/common/vectors.proto +7 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +19 -2
- package/proto/decentraland/kernel/apis/dev_tools.proto +2 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +37 -111
- package/proto/decentraland/kernel/apis/environment_api.proto +7 -0
- package/proto/decentraland/kernel/apis/ethereum_controller.proto +10 -0
- package/proto/decentraland/kernel/apis/parcel_identity.proto +3 -0
- package/proto/decentraland/kernel/apis/permissions.proto +4 -0
- package/proto/decentraland/kernel/apis/players.proto +6 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +15 -1
- package/proto/decentraland/kernel/apis/restricted_actions.proto +127 -12
- 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 +8 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +6 -3
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/apis/user_action_module.proto +1 -0
- package/proto/decentraland/kernel/apis/user_identity.proto +1 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +103 -0
- package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +6 -3
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +58 -34
- package/proto/decentraland/pulse/pulse_client.proto +120 -0
- package/proto/decentraland/pulse/pulse_server.proto +144 -0
- package/proto/decentraland/pulse/pulse_shared.proto +57 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +138 -0
- package/proto/decentraland/sdk/components/animator.proto +20 -8
- package/proto/decentraland/sdk/components/asset_load.proto +10 -0
- package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
- package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +24 -6
- package/proto/decentraland/sdk/components/audio_stream.proto +14 -3
- package/proto/decentraland/sdk/components/avatar_attach.proto +37 -5
- package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +21 -7
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +40 -23
- package/proto/decentraland/sdk/components/billboard.proto +24 -6
- package/proto/decentraland/sdk/components/camera_mode.proto +3 -1
- package/proto/decentraland/sdk/components/camera_mode_area.proto +13 -2
- package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
- package/proto/decentraland/sdk/components/common/camera_type.proto +1 -0
- package/proto/decentraland/sdk/components/common/explorer_ui.proto +15 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +17 -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 +3 -2
- package/proto/decentraland/sdk/components/engine_info.proto +16 -0
- package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
- package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +11 -5
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
- package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
- package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
- package/proto/decentraland/sdk/components/light_source.proto +28 -0
- package/proto/decentraland/sdk/components/main_camera.proto +11 -0
- package/proto/decentraland/sdk/components/map_pin.proto +16 -0
- package/proto/decentraland/sdk/components/material.proto +8 -7
- package/proto/decentraland/sdk/components/mesh_collider.proto +36 -9
- package/proto/decentraland/sdk/components/mesh_renderer.proto +17 -4
- package/proto/decentraland/sdk/components/nft_shape.proto +15 -7
- package/proto/decentraland/sdk/components/particle_system.proto +133 -0
- package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
- package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +68 -0
- package/proto/decentraland/sdk/components/pointer_events_result.proto +8 -14
- package/proto/decentraland/sdk/components/pointer_lock.proto +3 -1
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
- package/proto/decentraland/sdk/components/raycast.proto +45 -8
- package/proto/decentraland/sdk/components/raycast_result.proto +12 -16
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/text_shape.proto +33 -21
- package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
- package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
- package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
- package/proto/decentraland/sdk/components/tween.proto +117 -0
- package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
- package/proto/decentraland/sdk/components/tween_state.proto +18 -0
- package/proto/decentraland/sdk/components/ui_background.proto +25 -2
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
- package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
- package/proto/decentraland/sdk/components/ui_input.proto +20 -0
- package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +14 -5
- package/proto/decentraland/sdk/components/ui_transform.proto +37 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +24 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social_service/errors.proto +30 -0
- package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
- package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
- package/protoc-gen-bitwise/generator_csharp.js +248 -0
- package/protoc-gen-bitwise/options.js +139 -0
- package/protoc-gen-bitwise/plugin.js +87 -0
- package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
- package/protoc-gen-bitwise/wire.js +239 -0
- package/public/about.proto +5 -0
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +4 -0
- package/public/sdk-components.proto +48 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +6 -0
- package/out-ts/bff-services.gen.ts +0 -3
- package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -279
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -239
- package/out-ts/decentraland/bff/comms_service.gen.ts +0 -194
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +0 -845
- package/out-ts/decentraland/bff/topics_service.gen.ts +0 -405
- package/out-ts/decentraland/renderer/engine_interface.gen.ts +0 -8669
- package/out-ts/decentraland/renderer/protocol.gen.ts +0 -267
- package/out-ts/google/api/annotations.gen.ts +0 -3
- package/out-ts/google/api/http.gen.ts +0 -295
- package/out-ts/renderer-interface.gen.ts +0 -3
- package/proto/buf.yaml +0 -45
- package/proto/decentraland/bff/authentication_service.proto +0 -27
- package/proto/decentraland/bff/comms_director_service.proto +0 -33
- package/proto/decentraland/bff/comms_service.proto +0 -25
- package/proto/decentraland/bff/http_endpoints.proto +0 -82
- package/proto/decentraland/bff/topics_service.proto +0 -34
- package/proto/decentraland/renderer/engine_interface.proto +0 -709
- package/proto/decentraland/renderer/protocol.proto +0 -21
- package/proto/decentraland/sdk/components/pointer_hover_feedback.proto +0 -31
- package/proto/google/LICENSE +0 -27
- package/proto/google/README.md +0 -1
- package/proto/google/api/annotations.json +0 -83
- package/proto/google/api/annotations.proto +0 -11
- package/proto/google/api/http.json +0 -86
- package/proto/google/api/http.proto +0 -31
- package/proto/google/protobuf/api.json +0 -118
- package/proto/google/protobuf/api.proto +0 -34
- package/proto/google/protobuf/descriptor.json +0 -739
- package/proto/google/protobuf/descriptor.proto +0 -286
- package/proto/google/protobuf/source_context.json +0 -20
- package/proto/google/protobuf/source_context.proto +0 -7
- package/proto/google/protobuf/type.json +0 -202
- package/proto/google/protobuf/type.proto +0 -89
- package/public/bff-services.proto +0 -16
- package/public/renderer-interface.proto +0 -4
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Font = exports.TextAlignMode = exports.protobufPackage = void 0;
|
|
5
|
+
exports.textAlignModeFromJSON = textAlignModeFromJSON;
|
|
6
|
+
exports.textAlignModeToJSON = textAlignModeToJSON;
|
|
7
|
+
exports.fontFromJSON = fontFromJSON;
|
|
8
|
+
exports.fontToJSON = fontToJSON;
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components.common";
|
|
10
|
+
var TextAlignMode;
|
|
11
|
+
(function (TextAlignMode) {
|
|
12
|
+
TextAlignMode[TextAlignMode["TAM_TOP_LEFT"] = 0] = "TAM_TOP_LEFT";
|
|
13
|
+
TextAlignMode[TextAlignMode["TAM_TOP_CENTER"] = 1] = "TAM_TOP_CENTER";
|
|
14
|
+
TextAlignMode[TextAlignMode["TAM_TOP_RIGHT"] = 2] = "TAM_TOP_RIGHT";
|
|
15
|
+
TextAlignMode[TextAlignMode["TAM_MIDDLE_LEFT"] = 3] = "TAM_MIDDLE_LEFT";
|
|
16
|
+
TextAlignMode[TextAlignMode["TAM_MIDDLE_CENTER"] = 4] = "TAM_MIDDLE_CENTER";
|
|
17
|
+
TextAlignMode[TextAlignMode["TAM_MIDDLE_RIGHT"] = 5] = "TAM_MIDDLE_RIGHT";
|
|
18
|
+
TextAlignMode[TextAlignMode["TAM_BOTTOM_LEFT"] = 6] = "TAM_BOTTOM_LEFT";
|
|
19
|
+
TextAlignMode[TextAlignMode["TAM_BOTTOM_CENTER"] = 7] = "TAM_BOTTOM_CENTER";
|
|
20
|
+
TextAlignMode[TextAlignMode["TAM_BOTTOM_RIGHT"] = 8] = "TAM_BOTTOM_RIGHT";
|
|
21
|
+
TextAlignMode[TextAlignMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
22
|
+
})(TextAlignMode || (exports.TextAlignMode = TextAlignMode = {}));
|
|
23
|
+
function textAlignModeFromJSON(object) {
|
|
24
|
+
switch (object) {
|
|
25
|
+
case 0:
|
|
26
|
+
case "TAM_TOP_LEFT":
|
|
27
|
+
return TextAlignMode.TAM_TOP_LEFT;
|
|
28
|
+
case 1:
|
|
29
|
+
case "TAM_TOP_CENTER":
|
|
30
|
+
return TextAlignMode.TAM_TOP_CENTER;
|
|
31
|
+
case 2:
|
|
32
|
+
case "TAM_TOP_RIGHT":
|
|
33
|
+
return TextAlignMode.TAM_TOP_RIGHT;
|
|
34
|
+
case 3:
|
|
35
|
+
case "TAM_MIDDLE_LEFT":
|
|
36
|
+
return TextAlignMode.TAM_MIDDLE_LEFT;
|
|
37
|
+
case 4:
|
|
38
|
+
case "TAM_MIDDLE_CENTER":
|
|
39
|
+
return TextAlignMode.TAM_MIDDLE_CENTER;
|
|
40
|
+
case 5:
|
|
41
|
+
case "TAM_MIDDLE_RIGHT":
|
|
42
|
+
return TextAlignMode.TAM_MIDDLE_RIGHT;
|
|
43
|
+
case 6:
|
|
44
|
+
case "TAM_BOTTOM_LEFT":
|
|
45
|
+
return TextAlignMode.TAM_BOTTOM_LEFT;
|
|
46
|
+
case 7:
|
|
47
|
+
case "TAM_BOTTOM_CENTER":
|
|
48
|
+
return TextAlignMode.TAM_BOTTOM_CENTER;
|
|
49
|
+
case 8:
|
|
50
|
+
case "TAM_BOTTOM_RIGHT":
|
|
51
|
+
return TextAlignMode.TAM_BOTTOM_RIGHT;
|
|
52
|
+
case -1:
|
|
53
|
+
case "UNRECOGNIZED":
|
|
54
|
+
default:
|
|
55
|
+
return TextAlignMode.UNRECOGNIZED;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
function textAlignModeToJSON(object) {
|
|
59
|
+
switch (object) {
|
|
60
|
+
case TextAlignMode.TAM_TOP_LEFT:
|
|
61
|
+
return "TAM_TOP_LEFT";
|
|
62
|
+
case TextAlignMode.TAM_TOP_CENTER:
|
|
63
|
+
return "TAM_TOP_CENTER";
|
|
64
|
+
case TextAlignMode.TAM_TOP_RIGHT:
|
|
65
|
+
return "TAM_TOP_RIGHT";
|
|
66
|
+
case TextAlignMode.TAM_MIDDLE_LEFT:
|
|
67
|
+
return "TAM_MIDDLE_LEFT";
|
|
68
|
+
case TextAlignMode.TAM_MIDDLE_CENTER:
|
|
69
|
+
return "TAM_MIDDLE_CENTER";
|
|
70
|
+
case TextAlignMode.TAM_MIDDLE_RIGHT:
|
|
71
|
+
return "TAM_MIDDLE_RIGHT";
|
|
72
|
+
case TextAlignMode.TAM_BOTTOM_LEFT:
|
|
73
|
+
return "TAM_BOTTOM_LEFT";
|
|
74
|
+
case TextAlignMode.TAM_BOTTOM_CENTER:
|
|
75
|
+
return "TAM_BOTTOM_CENTER";
|
|
76
|
+
case TextAlignMode.TAM_BOTTOM_RIGHT:
|
|
77
|
+
return "TAM_BOTTOM_RIGHT";
|
|
78
|
+
case TextAlignMode.UNRECOGNIZED:
|
|
79
|
+
default:
|
|
80
|
+
return "UNRECOGNIZED";
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
var Font;
|
|
84
|
+
(function (Font) {
|
|
85
|
+
Font[Font["F_SANS_SERIF"] = 0] = "F_SANS_SERIF";
|
|
86
|
+
Font[Font["F_SERIF"] = 1] = "F_SERIF";
|
|
87
|
+
Font[Font["F_MONOSPACE"] = 2] = "F_MONOSPACE";
|
|
88
|
+
Font[Font["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
89
|
+
})(Font || (exports.Font = Font = {}));
|
|
90
|
+
function fontFromJSON(object) {
|
|
91
|
+
switch (object) {
|
|
92
|
+
case 0:
|
|
93
|
+
case "F_SANS_SERIF":
|
|
94
|
+
return Font.F_SANS_SERIF;
|
|
95
|
+
case 1:
|
|
96
|
+
case "F_SERIF":
|
|
97
|
+
return Font.F_SERIF;
|
|
98
|
+
case 2:
|
|
99
|
+
case "F_MONOSPACE":
|
|
100
|
+
return Font.F_MONOSPACE;
|
|
101
|
+
case -1:
|
|
102
|
+
case "UNRECOGNIZED":
|
|
103
|
+
default:
|
|
104
|
+
return Font.UNRECOGNIZED;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
function fontToJSON(object) {
|
|
108
|
+
switch (object) {
|
|
109
|
+
case Font.F_SANS_SERIF:
|
|
110
|
+
return "F_SANS_SERIF";
|
|
111
|
+
case Font.F_SERIF:
|
|
112
|
+
return "F_SERIF";
|
|
113
|
+
case Font.F_MONOSPACE:
|
|
114
|
+
return "F_MONOSPACE";
|
|
115
|
+
case Font.UNRECOGNIZED:
|
|
116
|
+
default:
|
|
117
|
+
return "UNRECOGNIZED";
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=texts.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"texts.gen.js","sourceRoot":"","sources":["../../../../../out-ts/decentraland/sdk/components/common/texts.gen.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/**
|
|
4
|
+
* EngineInfo provides information about the graphics engine running the scene.
|
|
5
|
+
* The values of this component are written at the "physics" stage of the ADR-148. Meaning
|
|
6
|
+
* the tick_number and frame_number of the same frame could be used as correlation numbers
|
|
7
|
+
* for timestamps in other components.
|
|
8
|
+
*/
|
|
9
|
+
export interface PBEngineInfo {
|
|
10
|
+
/** frame counter of the engine */
|
|
11
|
+
frameNumber: number;
|
|
12
|
+
/** total runtime of this scene in seconds */
|
|
13
|
+
totalRuntime: number;
|
|
14
|
+
/** tick counter of the scene as per ADR-148 */
|
|
15
|
+
tickNumber: number;
|
|
16
|
+
/** visibility state of the scene regarding Explorer fullscreen UI */
|
|
17
|
+
sceneHidden: boolean;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace PBEngineInfo {
|
|
20
|
+
function encode(message: PBEngineInfo, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
|
|
22
|
+
function fromJSON(object: any): PBEngineInfo;
|
|
23
|
+
function toJSON(message: PBEngineInfo): unknown;
|
|
24
|
+
function create<I extends Exact<DeepPartial<PBEngineInfo>, I>>(base?: I): PBEngineInfo;
|
|
25
|
+
function fromPartial<I extends Exact<DeepPartial<PBEngineInfo>, I>>(object: I): PBEngineInfo;
|
|
26
|
+
}
|
|
27
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
28
|
+
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 {
|
|
29
|
+
$case: string;
|
|
30
|
+
} ? {
|
|
31
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
$case: T["$case"];
|
|
34
|
+
} : T extends {} ? {
|
|
35
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
36
|
+
} : Partial<T>;
|
|
37
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
38
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
39
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
40
|
+
} & {
|
|
41
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
42
|
+
};
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,107 @@
|
|
|
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.PBEngineInfo = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
function createBasePBEngineInfo() {
|
|
11
|
+
return { frameNumber: 0, totalRuntime: 0, tickNumber: 0, sceneHidden: false };
|
|
12
|
+
}
|
|
13
|
+
var PBEngineInfo;
|
|
14
|
+
(function (PBEngineInfo) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
if (message.frameNumber !== 0) {
|
|
17
|
+
writer.uint32(8).uint32(message.frameNumber);
|
|
18
|
+
}
|
|
19
|
+
if (message.totalRuntime !== 0) {
|
|
20
|
+
writer.uint32(21).float(message.totalRuntime);
|
|
21
|
+
}
|
|
22
|
+
if (message.tickNumber !== 0) {
|
|
23
|
+
writer.uint32(24).uint32(message.tickNumber);
|
|
24
|
+
}
|
|
25
|
+
if (message.sceneHidden === true) {
|
|
26
|
+
writer.uint32(32).bool(message.sceneHidden);
|
|
27
|
+
}
|
|
28
|
+
return writer;
|
|
29
|
+
}
|
|
30
|
+
PBEngineInfo.encode = encode;
|
|
31
|
+
function decode(input, length) {
|
|
32
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
33
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
+
const message = createBasePBEngineInfo();
|
|
35
|
+
while (reader.pos < end) {
|
|
36
|
+
const tag = reader.uint32();
|
|
37
|
+
switch (tag >>> 3) {
|
|
38
|
+
case 1:
|
|
39
|
+
if (tag !== 8) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
message.frameNumber = reader.uint32();
|
|
43
|
+
continue;
|
|
44
|
+
case 2:
|
|
45
|
+
if (tag !== 21) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
message.totalRuntime = reader.float();
|
|
49
|
+
continue;
|
|
50
|
+
case 3:
|
|
51
|
+
if (tag !== 24) {
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
message.tickNumber = reader.uint32();
|
|
55
|
+
continue;
|
|
56
|
+
case 4:
|
|
57
|
+
if (tag !== 32) {
|
|
58
|
+
break;
|
|
59
|
+
}
|
|
60
|
+
message.sceneHidden = reader.bool();
|
|
61
|
+
continue;
|
|
62
|
+
}
|
|
63
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
reader.skipType(tag & 7);
|
|
67
|
+
}
|
|
68
|
+
return message;
|
|
69
|
+
}
|
|
70
|
+
PBEngineInfo.decode = decode;
|
|
71
|
+
function fromJSON(object) {
|
|
72
|
+
return {
|
|
73
|
+
frameNumber: isSet(object.frameNumber) ? Number(object.frameNumber) : 0,
|
|
74
|
+
totalRuntime: isSet(object.totalRuntime) ? Number(object.totalRuntime) : 0,
|
|
75
|
+
tickNumber: isSet(object.tickNumber) ? Number(object.tickNumber) : 0,
|
|
76
|
+
sceneHidden: isSet(object.sceneHidden) ? Boolean(object.sceneHidden) : false,
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
PBEngineInfo.fromJSON = fromJSON;
|
|
80
|
+
function toJSON(message) {
|
|
81
|
+
const obj = {};
|
|
82
|
+
message.frameNumber !== undefined && (obj.frameNumber = Math.round(message.frameNumber));
|
|
83
|
+
message.totalRuntime !== undefined && (obj.totalRuntime = message.totalRuntime);
|
|
84
|
+
message.tickNumber !== undefined && (obj.tickNumber = Math.round(message.tickNumber));
|
|
85
|
+
message.sceneHidden !== undefined && (obj.sceneHidden = message.sceneHidden);
|
|
86
|
+
return obj;
|
|
87
|
+
}
|
|
88
|
+
PBEngineInfo.toJSON = toJSON;
|
|
89
|
+
function create(base) {
|
|
90
|
+
return PBEngineInfo.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
91
|
+
}
|
|
92
|
+
PBEngineInfo.create = create;
|
|
93
|
+
function fromPartial(object) {
|
|
94
|
+
var _a, _b, _c, _d;
|
|
95
|
+
const message = createBasePBEngineInfo();
|
|
96
|
+
message.frameNumber = (_a = object.frameNumber) !== null && _a !== void 0 ? _a : 0;
|
|
97
|
+
message.totalRuntime = (_b = object.totalRuntime) !== null && _b !== void 0 ? _b : 0;
|
|
98
|
+
message.tickNumber = (_c = object.tickNumber) !== null && _c !== void 0 ? _c : 0;
|
|
99
|
+
message.sceneHidden = (_d = object.sceneHidden) !== null && _d !== void 0 ? _d : false;
|
|
100
|
+
return message;
|
|
101
|
+
}
|
|
102
|
+
PBEngineInfo.fromPartial = fromPartial;
|
|
103
|
+
})(PBEngineInfo || (exports.PBEngineInfo = PBEngineInfo = {}));
|
|
104
|
+
function isSet(value) {
|
|
105
|
+
return value !== null && value !== undefined;
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=engine_info.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"engine_info.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/engine_info.gen.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/**
|
|
4
|
+
* Grow-only value set appended to the scene root entity.
|
|
5
|
+
* Reports the outcome of an EU_ITEM_PURCHASE flow triggered via OpenExplorerUi.
|
|
6
|
+
*/
|
|
7
|
+
export interface PBExplorerItemPurchaseResult {
|
|
8
|
+
urn: string;
|
|
9
|
+
/** The scene tick when the event occurred */
|
|
10
|
+
timestamp: number;
|
|
11
|
+
/** The OpenExplorerUiRequest.request_id that caused this event; 0 when the request carried none */
|
|
12
|
+
requestId: number;
|
|
13
|
+
status?: {
|
|
14
|
+
$case: "purchased";
|
|
15
|
+
purchased: PBExplorerItemPurchaseResult_Purchased;
|
|
16
|
+
} | {
|
|
17
|
+
$case: "dismissed";
|
|
18
|
+
dismissed: PBExplorerItemPurchaseResult_Dismissed;
|
|
19
|
+
} | {
|
|
20
|
+
$case: "failed";
|
|
21
|
+
failed: PBExplorerItemPurchaseResult_Failed;
|
|
22
|
+
} | undefined;
|
|
23
|
+
}
|
|
24
|
+
export interface PBExplorerItemPurchaseResult_Purchased {
|
|
25
|
+
}
|
|
26
|
+
export interface PBExplorerItemPurchaseResult_Dismissed {
|
|
27
|
+
}
|
|
28
|
+
export interface PBExplorerItemPurchaseResult_Failed {
|
|
29
|
+
}
|
|
30
|
+
export declare namespace PBExplorerItemPurchaseResult {
|
|
31
|
+
function encode(message: PBExplorerItemPurchaseResult, writer?: _m0.Writer): _m0.Writer;
|
|
32
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerItemPurchaseResult;
|
|
33
|
+
function fromJSON(object: any): PBExplorerItemPurchaseResult;
|
|
34
|
+
function toJSON(message: PBExplorerItemPurchaseResult): unknown;
|
|
35
|
+
function create<I extends Exact<DeepPartial<PBExplorerItemPurchaseResult>, I>>(base?: I): PBExplorerItemPurchaseResult;
|
|
36
|
+
function fromPartial<I extends Exact<DeepPartial<PBExplorerItemPurchaseResult>, I>>(object: I): PBExplorerItemPurchaseResult;
|
|
37
|
+
}
|
|
38
|
+
export declare namespace PBExplorerItemPurchaseResult_Purchased {
|
|
39
|
+
function encode(_: PBExplorerItemPurchaseResult_Purchased, writer?: _m0.Writer): _m0.Writer;
|
|
40
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerItemPurchaseResult_Purchased;
|
|
41
|
+
function fromJSON(_: any): PBExplorerItemPurchaseResult_Purchased;
|
|
42
|
+
function toJSON(_: PBExplorerItemPurchaseResult_Purchased): unknown;
|
|
43
|
+
function create<I extends Exact<DeepPartial<PBExplorerItemPurchaseResult_Purchased>, I>>(base?: I): PBExplorerItemPurchaseResult_Purchased;
|
|
44
|
+
function fromPartial<I extends Exact<DeepPartial<PBExplorerItemPurchaseResult_Purchased>, I>>(_: I): PBExplorerItemPurchaseResult_Purchased;
|
|
45
|
+
}
|
|
46
|
+
export declare namespace PBExplorerItemPurchaseResult_Dismissed {
|
|
47
|
+
function encode(_: PBExplorerItemPurchaseResult_Dismissed, writer?: _m0.Writer): _m0.Writer;
|
|
48
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerItemPurchaseResult_Dismissed;
|
|
49
|
+
function fromJSON(_: any): PBExplorerItemPurchaseResult_Dismissed;
|
|
50
|
+
function toJSON(_: PBExplorerItemPurchaseResult_Dismissed): unknown;
|
|
51
|
+
function create<I extends Exact<DeepPartial<PBExplorerItemPurchaseResult_Dismissed>, I>>(base?: I): PBExplorerItemPurchaseResult_Dismissed;
|
|
52
|
+
function fromPartial<I extends Exact<DeepPartial<PBExplorerItemPurchaseResult_Dismissed>, I>>(_: I): PBExplorerItemPurchaseResult_Dismissed;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace PBExplorerItemPurchaseResult_Failed {
|
|
55
|
+
function encode(_: PBExplorerItemPurchaseResult_Failed, writer?: _m0.Writer): _m0.Writer;
|
|
56
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBExplorerItemPurchaseResult_Failed;
|
|
57
|
+
function fromJSON(_: any): PBExplorerItemPurchaseResult_Failed;
|
|
58
|
+
function toJSON(_: PBExplorerItemPurchaseResult_Failed): unknown;
|
|
59
|
+
function create<I extends Exact<DeepPartial<PBExplorerItemPurchaseResult_Failed>, I>>(base?: I): PBExplorerItemPurchaseResult_Failed;
|
|
60
|
+
function fromPartial<I extends Exact<DeepPartial<PBExplorerItemPurchaseResult_Failed>, I>>(_: I): PBExplorerItemPurchaseResult_Failed;
|
|
61
|
+
}
|
|
62
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
63
|
+
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 {
|
|
64
|
+
$case: string;
|
|
65
|
+
} ? {
|
|
66
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
67
|
+
} & {
|
|
68
|
+
$case: T["$case"];
|
|
69
|
+
} : T extends {} ? {
|
|
70
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
71
|
+
} : Partial<T>;
|
|
72
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
73
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
74
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
75
|
+
} & {
|
|
76
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
77
|
+
};
|
|
78
|
+
export {};
|
|
@@ -0,0 +1,308 @@
|
|
|
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.PBExplorerItemPurchaseResult_Failed = exports.PBExplorerItemPurchaseResult_Dismissed = exports.PBExplorerItemPurchaseResult_Purchased = exports.PBExplorerItemPurchaseResult = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
function createBasePBExplorerItemPurchaseResult() {
|
|
11
|
+
return { urn: "", timestamp: 0, requestId: 0, status: undefined };
|
|
12
|
+
}
|
|
13
|
+
var PBExplorerItemPurchaseResult;
|
|
14
|
+
(function (PBExplorerItemPurchaseResult) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
var _a;
|
|
17
|
+
if (message.urn !== "") {
|
|
18
|
+
writer.uint32(10).string(message.urn);
|
|
19
|
+
}
|
|
20
|
+
if (message.timestamp !== 0) {
|
|
21
|
+
writer.uint32(16).uint32(message.timestamp);
|
|
22
|
+
}
|
|
23
|
+
if (message.requestId !== 0) {
|
|
24
|
+
writer.uint32(24).uint32(message.requestId);
|
|
25
|
+
}
|
|
26
|
+
switch ((_a = message.status) === null || _a === void 0 ? void 0 : _a.$case) {
|
|
27
|
+
case "purchased":
|
|
28
|
+
PBExplorerItemPurchaseResult_Purchased.encode(message.status.purchased, writer.uint32(82).fork()).ldelim();
|
|
29
|
+
break;
|
|
30
|
+
case "dismissed":
|
|
31
|
+
PBExplorerItemPurchaseResult_Dismissed.encode(message.status.dismissed, writer.uint32(90).fork()).ldelim();
|
|
32
|
+
break;
|
|
33
|
+
case "failed":
|
|
34
|
+
PBExplorerItemPurchaseResult_Failed.encode(message.status.failed, writer.uint32(98).fork()).ldelim();
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
return writer;
|
|
38
|
+
}
|
|
39
|
+
PBExplorerItemPurchaseResult.encode = encode;
|
|
40
|
+
function decode(input, length) {
|
|
41
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
42
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
43
|
+
const message = createBasePBExplorerItemPurchaseResult();
|
|
44
|
+
while (reader.pos < end) {
|
|
45
|
+
const tag = reader.uint32();
|
|
46
|
+
switch (tag >>> 3) {
|
|
47
|
+
case 1:
|
|
48
|
+
if (tag !== 10) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
message.urn = reader.string();
|
|
52
|
+
continue;
|
|
53
|
+
case 2:
|
|
54
|
+
if (tag !== 16) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
message.timestamp = reader.uint32();
|
|
58
|
+
continue;
|
|
59
|
+
case 3:
|
|
60
|
+
if (tag !== 24) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
message.requestId = reader.uint32();
|
|
64
|
+
continue;
|
|
65
|
+
case 10:
|
|
66
|
+
if (tag !== 82) {
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
message.status = {
|
|
70
|
+
$case: "purchased",
|
|
71
|
+
purchased: PBExplorerItemPurchaseResult_Purchased.decode(reader, reader.uint32()),
|
|
72
|
+
};
|
|
73
|
+
continue;
|
|
74
|
+
case 11:
|
|
75
|
+
if (tag !== 90) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.status = {
|
|
79
|
+
$case: "dismissed",
|
|
80
|
+
dismissed: PBExplorerItemPurchaseResult_Dismissed.decode(reader, reader.uint32()),
|
|
81
|
+
};
|
|
82
|
+
continue;
|
|
83
|
+
case 12:
|
|
84
|
+
if (tag !== 98) {
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
message.status = {
|
|
88
|
+
$case: "failed",
|
|
89
|
+
failed: PBExplorerItemPurchaseResult_Failed.decode(reader, reader.uint32()),
|
|
90
|
+
};
|
|
91
|
+
continue;
|
|
92
|
+
}
|
|
93
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
reader.skipType(tag & 7);
|
|
97
|
+
}
|
|
98
|
+
return message;
|
|
99
|
+
}
|
|
100
|
+
PBExplorerItemPurchaseResult.decode = decode;
|
|
101
|
+
function fromJSON(object) {
|
|
102
|
+
return {
|
|
103
|
+
urn: isSet(object.urn) ? String(object.urn) : "",
|
|
104
|
+
timestamp: isSet(object.timestamp) ? Number(object.timestamp) : 0,
|
|
105
|
+
requestId: isSet(object.requestId) ? Number(object.requestId) : 0,
|
|
106
|
+
status: isSet(object.purchased)
|
|
107
|
+
? { $case: "purchased", purchased: PBExplorerItemPurchaseResult_Purchased.fromJSON(object.purchased) }
|
|
108
|
+
: isSet(object.dismissed)
|
|
109
|
+
? { $case: "dismissed", dismissed: PBExplorerItemPurchaseResult_Dismissed.fromJSON(object.dismissed) }
|
|
110
|
+
: isSet(object.failed)
|
|
111
|
+
? { $case: "failed", failed: PBExplorerItemPurchaseResult_Failed.fromJSON(object.failed) }
|
|
112
|
+
: undefined,
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
PBExplorerItemPurchaseResult.fromJSON = fromJSON;
|
|
116
|
+
function toJSON(message) {
|
|
117
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
118
|
+
const obj = {};
|
|
119
|
+
message.urn !== undefined && (obj.urn = message.urn);
|
|
120
|
+
message.timestamp !== undefined && (obj.timestamp = Math.round(message.timestamp));
|
|
121
|
+
message.requestId !== undefined && (obj.requestId = Math.round(message.requestId));
|
|
122
|
+
((_a = message.status) === null || _a === void 0 ? void 0 : _a.$case) === "purchased" &&
|
|
123
|
+
(obj.purchased = ((_b = message.status) === null || _b === void 0 ? void 0 : _b.purchased)
|
|
124
|
+
? PBExplorerItemPurchaseResult_Purchased.toJSON((_c = message.status) === null || _c === void 0 ? void 0 : _c.purchased)
|
|
125
|
+
: undefined);
|
|
126
|
+
((_d = message.status) === null || _d === void 0 ? void 0 : _d.$case) === "dismissed" &&
|
|
127
|
+
(obj.dismissed = ((_e = message.status) === null || _e === void 0 ? void 0 : _e.dismissed)
|
|
128
|
+
? PBExplorerItemPurchaseResult_Dismissed.toJSON((_f = message.status) === null || _f === void 0 ? void 0 : _f.dismissed)
|
|
129
|
+
: undefined);
|
|
130
|
+
((_g = message.status) === null || _g === void 0 ? void 0 : _g.$case) === "failed" &&
|
|
131
|
+
(obj.failed = ((_h = message.status) === null || _h === void 0 ? void 0 : _h.failed)
|
|
132
|
+
? PBExplorerItemPurchaseResult_Failed.toJSON((_j = message.status) === null || _j === void 0 ? void 0 : _j.failed)
|
|
133
|
+
: undefined);
|
|
134
|
+
return obj;
|
|
135
|
+
}
|
|
136
|
+
PBExplorerItemPurchaseResult.toJSON = toJSON;
|
|
137
|
+
function create(base) {
|
|
138
|
+
return PBExplorerItemPurchaseResult.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
139
|
+
}
|
|
140
|
+
PBExplorerItemPurchaseResult.create = create;
|
|
141
|
+
function fromPartial(object) {
|
|
142
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
143
|
+
const message = createBasePBExplorerItemPurchaseResult();
|
|
144
|
+
message.urn = (_a = object.urn) !== null && _a !== void 0 ? _a : "";
|
|
145
|
+
message.timestamp = (_b = object.timestamp) !== null && _b !== void 0 ? _b : 0;
|
|
146
|
+
message.requestId = (_c = object.requestId) !== null && _c !== void 0 ? _c : 0;
|
|
147
|
+
if (((_d = object.status) === null || _d === void 0 ? void 0 : _d.$case) === "purchased" &&
|
|
148
|
+
((_e = object.status) === null || _e === void 0 ? void 0 : _e.purchased) !== undefined &&
|
|
149
|
+
((_f = object.status) === null || _f === void 0 ? void 0 : _f.purchased) !== null) {
|
|
150
|
+
message.status = {
|
|
151
|
+
$case: "purchased",
|
|
152
|
+
purchased: PBExplorerItemPurchaseResult_Purchased.fromPartial(object.status.purchased),
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
if (((_g = object.status) === null || _g === void 0 ? void 0 : _g.$case) === "dismissed" &&
|
|
156
|
+
((_h = object.status) === null || _h === void 0 ? void 0 : _h.dismissed) !== undefined &&
|
|
157
|
+
((_j = object.status) === null || _j === void 0 ? void 0 : _j.dismissed) !== null) {
|
|
158
|
+
message.status = {
|
|
159
|
+
$case: "dismissed",
|
|
160
|
+
dismissed: PBExplorerItemPurchaseResult_Dismissed.fromPartial(object.status.dismissed),
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
if (((_k = object.status) === null || _k === void 0 ? void 0 : _k.$case) === "failed" && ((_l = object.status) === null || _l === void 0 ? void 0 : _l.failed) !== undefined && ((_m = object.status) === null || _m === void 0 ? void 0 : _m.failed) !== null) {
|
|
164
|
+
message.status = {
|
|
165
|
+
$case: "failed",
|
|
166
|
+
failed: PBExplorerItemPurchaseResult_Failed.fromPartial(object.status.failed),
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
return message;
|
|
170
|
+
}
|
|
171
|
+
PBExplorerItemPurchaseResult.fromPartial = fromPartial;
|
|
172
|
+
})(PBExplorerItemPurchaseResult || (exports.PBExplorerItemPurchaseResult = PBExplorerItemPurchaseResult = {}));
|
|
173
|
+
function createBasePBExplorerItemPurchaseResult_Purchased() {
|
|
174
|
+
return {};
|
|
175
|
+
}
|
|
176
|
+
var PBExplorerItemPurchaseResult_Purchased;
|
|
177
|
+
(function (PBExplorerItemPurchaseResult_Purchased) {
|
|
178
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
179
|
+
return writer;
|
|
180
|
+
}
|
|
181
|
+
PBExplorerItemPurchaseResult_Purchased.encode = encode;
|
|
182
|
+
function decode(input, length) {
|
|
183
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
184
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
185
|
+
const message = createBasePBExplorerItemPurchaseResult_Purchased();
|
|
186
|
+
while (reader.pos < end) {
|
|
187
|
+
const tag = reader.uint32();
|
|
188
|
+
switch (tag >>> 3) {
|
|
189
|
+
}
|
|
190
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
191
|
+
break;
|
|
192
|
+
}
|
|
193
|
+
reader.skipType(tag & 7);
|
|
194
|
+
}
|
|
195
|
+
return message;
|
|
196
|
+
}
|
|
197
|
+
PBExplorerItemPurchaseResult_Purchased.decode = decode;
|
|
198
|
+
function fromJSON(_) {
|
|
199
|
+
return {};
|
|
200
|
+
}
|
|
201
|
+
PBExplorerItemPurchaseResult_Purchased.fromJSON = fromJSON;
|
|
202
|
+
function toJSON(_) {
|
|
203
|
+
const obj = {};
|
|
204
|
+
return obj;
|
|
205
|
+
}
|
|
206
|
+
PBExplorerItemPurchaseResult_Purchased.toJSON = toJSON;
|
|
207
|
+
function create(base) {
|
|
208
|
+
return PBExplorerItemPurchaseResult_Purchased.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
209
|
+
}
|
|
210
|
+
PBExplorerItemPurchaseResult_Purchased.create = create;
|
|
211
|
+
function fromPartial(_) {
|
|
212
|
+
const message = createBasePBExplorerItemPurchaseResult_Purchased();
|
|
213
|
+
return message;
|
|
214
|
+
}
|
|
215
|
+
PBExplorerItemPurchaseResult_Purchased.fromPartial = fromPartial;
|
|
216
|
+
})(PBExplorerItemPurchaseResult_Purchased || (exports.PBExplorerItemPurchaseResult_Purchased = PBExplorerItemPurchaseResult_Purchased = {}));
|
|
217
|
+
function createBasePBExplorerItemPurchaseResult_Dismissed() {
|
|
218
|
+
return {};
|
|
219
|
+
}
|
|
220
|
+
var PBExplorerItemPurchaseResult_Dismissed;
|
|
221
|
+
(function (PBExplorerItemPurchaseResult_Dismissed) {
|
|
222
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
223
|
+
return writer;
|
|
224
|
+
}
|
|
225
|
+
PBExplorerItemPurchaseResult_Dismissed.encode = encode;
|
|
226
|
+
function decode(input, length) {
|
|
227
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
228
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
229
|
+
const message = createBasePBExplorerItemPurchaseResult_Dismissed();
|
|
230
|
+
while (reader.pos < end) {
|
|
231
|
+
const tag = reader.uint32();
|
|
232
|
+
switch (tag >>> 3) {
|
|
233
|
+
}
|
|
234
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
235
|
+
break;
|
|
236
|
+
}
|
|
237
|
+
reader.skipType(tag & 7);
|
|
238
|
+
}
|
|
239
|
+
return message;
|
|
240
|
+
}
|
|
241
|
+
PBExplorerItemPurchaseResult_Dismissed.decode = decode;
|
|
242
|
+
function fromJSON(_) {
|
|
243
|
+
return {};
|
|
244
|
+
}
|
|
245
|
+
PBExplorerItemPurchaseResult_Dismissed.fromJSON = fromJSON;
|
|
246
|
+
function toJSON(_) {
|
|
247
|
+
const obj = {};
|
|
248
|
+
return obj;
|
|
249
|
+
}
|
|
250
|
+
PBExplorerItemPurchaseResult_Dismissed.toJSON = toJSON;
|
|
251
|
+
function create(base) {
|
|
252
|
+
return PBExplorerItemPurchaseResult_Dismissed.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
253
|
+
}
|
|
254
|
+
PBExplorerItemPurchaseResult_Dismissed.create = create;
|
|
255
|
+
function fromPartial(_) {
|
|
256
|
+
const message = createBasePBExplorerItemPurchaseResult_Dismissed();
|
|
257
|
+
return message;
|
|
258
|
+
}
|
|
259
|
+
PBExplorerItemPurchaseResult_Dismissed.fromPartial = fromPartial;
|
|
260
|
+
})(PBExplorerItemPurchaseResult_Dismissed || (exports.PBExplorerItemPurchaseResult_Dismissed = PBExplorerItemPurchaseResult_Dismissed = {}));
|
|
261
|
+
function createBasePBExplorerItemPurchaseResult_Failed() {
|
|
262
|
+
return {};
|
|
263
|
+
}
|
|
264
|
+
var PBExplorerItemPurchaseResult_Failed;
|
|
265
|
+
(function (PBExplorerItemPurchaseResult_Failed) {
|
|
266
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
267
|
+
return writer;
|
|
268
|
+
}
|
|
269
|
+
PBExplorerItemPurchaseResult_Failed.encode = encode;
|
|
270
|
+
function decode(input, length) {
|
|
271
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
272
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
273
|
+
const message = createBasePBExplorerItemPurchaseResult_Failed();
|
|
274
|
+
while (reader.pos < end) {
|
|
275
|
+
const tag = reader.uint32();
|
|
276
|
+
switch (tag >>> 3) {
|
|
277
|
+
}
|
|
278
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
279
|
+
break;
|
|
280
|
+
}
|
|
281
|
+
reader.skipType(tag & 7);
|
|
282
|
+
}
|
|
283
|
+
return message;
|
|
284
|
+
}
|
|
285
|
+
PBExplorerItemPurchaseResult_Failed.decode = decode;
|
|
286
|
+
function fromJSON(_) {
|
|
287
|
+
return {};
|
|
288
|
+
}
|
|
289
|
+
PBExplorerItemPurchaseResult_Failed.fromJSON = fromJSON;
|
|
290
|
+
function toJSON(_) {
|
|
291
|
+
const obj = {};
|
|
292
|
+
return obj;
|
|
293
|
+
}
|
|
294
|
+
PBExplorerItemPurchaseResult_Failed.toJSON = toJSON;
|
|
295
|
+
function create(base) {
|
|
296
|
+
return PBExplorerItemPurchaseResult_Failed.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
297
|
+
}
|
|
298
|
+
PBExplorerItemPurchaseResult_Failed.create = create;
|
|
299
|
+
function fromPartial(_) {
|
|
300
|
+
const message = createBasePBExplorerItemPurchaseResult_Failed();
|
|
301
|
+
return message;
|
|
302
|
+
}
|
|
303
|
+
PBExplorerItemPurchaseResult_Failed.fromPartial = fromPartial;
|
|
304
|
+
})(PBExplorerItemPurchaseResult_Failed || (exports.PBExplorerItemPurchaseResult_Failed = PBExplorerItemPurchaseResult_Failed = {}));
|
|
305
|
+
function isSet(value) {
|
|
306
|
+
return value !== null && value !== undefined;
|
|
307
|
+
}
|
|
308
|
+
//# sourceMappingURL=explorer_item_purchase_result.gen.js.map
|