@dcl/protocol 1.0.0-3583035976.commit-35d616d → 1.0.0-35899496093.commit-329ba0e
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 +241 -12
- 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 +123 -0
- package/out-js/decentraland/common/texture.gen.js +575 -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 +474 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1643 -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 +313 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1973 -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 +38 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +148 -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 +38 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +107 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.d.ts +51 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js +177 -0
- package/out-js/decentraland/sdk/components/avatar_locomotion_settings.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +64 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +172 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +71 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +303 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.gen.js +357 -0
- package/out-js/decentraland/sdk/components/avatar_movement_info.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 +76 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +282 -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_layer.gen.d.ts +46 -0
- package/out-js/decentraland/sdk/components/camera_layer.gen.js +162 -0
- package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.js +80 -0
- package/out-js/decentraland/sdk/components/camera_layers.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 +50 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +97 -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 +17 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +73 -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 +44 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +227 -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_ui_events_result.gen.d.ts +68 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +219 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/global_light.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/global_light.gen.js +103 -0
- package/out-js/decentraland/sdk/components/global_light.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 +54 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +157 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.d.ts +66 -0
- package/out-js/decentraland/sdk/components/gltf_node.gen.js +69 -0
- package/out-js/decentraland/sdk/components/gltf_node.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/gltf_node_state.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/gltf_node_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.js +233 -0
- package/out-js/decentraland/sdk/components/input_modifier.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +128 -0
- package/out-js/decentraland/sdk/components/material.gen.js +620 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +148 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +557 -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 +120 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +468 -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 +92 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +336 -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 +83 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +358 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +86 -0
- package/out-js/decentraland/sdk/components/texture_camera.gen.js +296 -0
- package/out-js/decentraland/sdk/components/texture_camera.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_canvas.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js +98 -0
- package/out-js/decentraland/sdk/components/ui_canvas.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +47 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +200 -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 +50 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +211 -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_scroll_result.gen.d.ts +31 -0
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js +71 -0
- package/out-js/decentraland/sdk/components/ui_scroll_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +190 -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 +271 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1720 -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 +654 -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 +739 -1679
- 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 +1629 -163
- 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 +1690 -239
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +392 -239
- 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 +171 -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 +124 -0
- package/out-ts/decentraland/sdk/components/avatar_locomotion_settings.gen.ts +237 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +210 -0
- package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +372 -0
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +432 -0
- package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +371 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +172 -0
- package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +202 -0
- package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +92 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +130 -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 +70 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +224 -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_ui_events_result.gen.ts +263 -0
- package/out-ts/decentraland/sdk/components/global_light.gen.ts +138 -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 +195 -0
- package/out-ts/decentraland/sdk/components/gltf_node.gen.ts +116 -0
- package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/gltf_node_state.gen.ts +139 -0
- package/out-ts/decentraland/sdk/components/input_modifier.gen.ts +265 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +756 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +635 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +551 -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 +405 -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 +488 -0
- package/out-ts/decentraland/sdk/components/texture_camera.gen.ts +362 -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_canvas.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +249 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +269 -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_scroll_result.gen.ts +83 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +237 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1968 -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 +21 -10
- 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 +27 -9
- 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 +13 -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 +159 -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 +92 -0
- 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 +16 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +14 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +22 -7
- package/proto/decentraland/sdk/components/avatar_movement.proto +62 -0
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +36 -0
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +37 -24
- package/proto/decentraland/sdk/components/billboard.proto +24 -6
- package/proto/decentraland/sdk/components/camera_layer.proto +30 -0
- package/proto/decentraland/sdk/components/camera_layers.proto +11 -0
- package/proto/decentraland/sdk/components/camera_mode.proto +3 -1
- package/proto/decentraland/sdk/components/camera_mode_area.proto +14 -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 +14 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +20 -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_ui_events_result.proto +31 -0
- package/proto/decentraland/sdk/components/global_light.proto +22 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +11 -5
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +26 -0
- package/proto/decentraland/sdk/components/gltf_node.proto +42 -0
- package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
- package/proto/decentraland/sdk/components/gltf_node_state.proto +20 -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 +18 -5
- package/proto/decentraland/sdk/components/mesh_collider.proto +43 -9
- package/proto/decentraland/sdk/components/mesh_renderer.proto +22 -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 +44 -0
- package/proto/decentraland/sdk/components/raycast.proto +57 -6
- 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 +34 -21
- package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
- 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.proto +16 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +23 -0
- package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
- package/proto/decentraland/sdk/components/ui_input.proto +23 -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_scroll_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +15 -5
- package/proto/decentraland/sdk/components/ui_transform.proto +57 -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 +57 -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 -856
- 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/kernel_services/emotes_kernel.gen.ts +0 -143
- package/out-ts/decentraland/renderer/renderer_services/crdt.gen.ts +0 -267
- package/out-ts/decentraland/renderer/renderer_services/emotes_renderer.gen.ts +0 -135
- package/out-ts/decentraland/renderer/renderer_services/transport.gen.ts +0 -137
- 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 -83
- package/proto/decentraland/bff/topics_service.proto +0 -34
- package/proto/decentraland/renderer/engine_interface.proto +0 -709
- package/proto/decentraland/renderer/kernel_services/emotes_kernel.proto +0 -16
- package/proto/decentraland/renderer/renderer_services/crdt.proto +0 -21
- package/proto/decentraland/renderer/renderer_services/emotes_renderer.proto +0 -15
- package/proto/decentraland/renderer/renderer_services/transport.proto +0 -14
- 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 -7
|
@@ -0,0 +1,1643 @@
|
|
|
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.RestrictedActionsServiceDefinition = exports.OpenExplorerUiResponse = exports.OpenExplorerUiRequest = exports.StopEmoteRequest = exports.EmptyResponse = exports.CopyToClipboardRequest = exports.UiFocusResponse = exports.GetUiFocusRequest = exports.ClearUiFocusRequest = exports.SetUiFocusRequest = exports.TeleportToResponse = exports.WalkPlayerToResponse = exports.WalkPlayerToRequest = exports.MovePlayerToResponse = exports.TriggerEmoteResponse = exports.SuccessResponse = exports.TriggerSceneEmoteRequest = exports.CommsAdapterRequest = exports.UnblockPointerRequest = exports.OpenNftDialogRequest = exports.OpenExternalUrlRequest = exports.ChangeRealmRequest = exports.TriggerEmoteRequest = exports.TeleportToRequest = exports.MovePlayerToRequest = exports.OpenExplorerUiResult = exports.protobufPackage = void 0;
|
|
7
|
+
exports.openExplorerUiResultFromJSON = openExplorerUiResultFromJSON;
|
|
8
|
+
exports.openExplorerUiResultToJSON = openExplorerUiResultToJSON;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
11
|
+
const vectors_gen_1 = require("../../common/vectors.gen");
|
|
12
|
+
const avatar_mask_gen_1 = require("../../sdk/components/common/avatar_mask.gen");
|
|
13
|
+
const explorer_ui_gen_1 = require("../../sdk/components/common/explorer_ui.gen");
|
|
14
|
+
exports.protobufPackage = "decentraland.kernel.apis";
|
|
15
|
+
/** Verdict of an OpenExplorerUi request (enum rather than a bool so new outcomes stay expressible). */
|
|
16
|
+
var OpenExplorerUiResult;
|
|
17
|
+
(function (OpenExplorerUiResult) {
|
|
18
|
+
OpenExplorerUiResult[OpenExplorerUiResult["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
19
|
+
OpenExplorerUiResult[OpenExplorerUiResult["OPENED"] = 1] = "OPENED";
|
|
20
|
+
/** WAS_ALREADY_OPEN - a fullscreen panel is already open */
|
|
21
|
+
OpenExplorerUiResult[OpenExplorerUiResult["WAS_ALREADY_OPEN"] = 2] = "WAS_ALREADY_OPEN";
|
|
22
|
+
/** REJECTED_NOT_CURRENT_SCENE - the standard restricted-actions current-scene gate rejected the call */
|
|
23
|
+
OpenExplorerUiResult[OpenExplorerUiResult["REJECTED_NOT_CURRENT_SCENE"] = 3] = "REJECTED_NOT_CURRENT_SCENE";
|
|
24
|
+
/** REJECTED_FEATURE_DISABLED - the requested section is hidden by feature flags or client doesn't have that feature */
|
|
25
|
+
OpenExplorerUiResult[OpenExplorerUiResult["REJECTED_FEATURE_DISABLED"] = 4] = "REJECTED_FEATURE_DISABLED";
|
|
26
|
+
/** REJECTED_NO_USER_GESTURE - rejected: the call did not originate from a user gesture */
|
|
27
|
+
OpenExplorerUiResult[OpenExplorerUiResult["REJECTED_NO_USER_GESTURE"] = 5] = "REJECTED_NO_USER_GESTURE";
|
|
28
|
+
OpenExplorerUiResult[OpenExplorerUiResult["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
29
|
+
})(OpenExplorerUiResult || (exports.OpenExplorerUiResult = OpenExplorerUiResult = {}));
|
|
30
|
+
function openExplorerUiResultFromJSON(object) {
|
|
31
|
+
switch (object) {
|
|
32
|
+
case 0:
|
|
33
|
+
case "UNSPECIFIED":
|
|
34
|
+
return OpenExplorerUiResult.UNSPECIFIED;
|
|
35
|
+
case 1:
|
|
36
|
+
case "OPENED":
|
|
37
|
+
return OpenExplorerUiResult.OPENED;
|
|
38
|
+
case 2:
|
|
39
|
+
case "WAS_ALREADY_OPEN":
|
|
40
|
+
return OpenExplorerUiResult.WAS_ALREADY_OPEN;
|
|
41
|
+
case 3:
|
|
42
|
+
case "REJECTED_NOT_CURRENT_SCENE":
|
|
43
|
+
return OpenExplorerUiResult.REJECTED_NOT_CURRENT_SCENE;
|
|
44
|
+
case 4:
|
|
45
|
+
case "REJECTED_FEATURE_DISABLED":
|
|
46
|
+
return OpenExplorerUiResult.REJECTED_FEATURE_DISABLED;
|
|
47
|
+
case 5:
|
|
48
|
+
case "REJECTED_NO_USER_GESTURE":
|
|
49
|
+
return OpenExplorerUiResult.REJECTED_NO_USER_GESTURE;
|
|
50
|
+
case -1:
|
|
51
|
+
case "UNRECOGNIZED":
|
|
52
|
+
default:
|
|
53
|
+
return OpenExplorerUiResult.UNRECOGNIZED;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function openExplorerUiResultToJSON(object) {
|
|
57
|
+
switch (object) {
|
|
58
|
+
case OpenExplorerUiResult.UNSPECIFIED:
|
|
59
|
+
return "UNSPECIFIED";
|
|
60
|
+
case OpenExplorerUiResult.OPENED:
|
|
61
|
+
return "OPENED";
|
|
62
|
+
case OpenExplorerUiResult.WAS_ALREADY_OPEN:
|
|
63
|
+
return "WAS_ALREADY_OPEN";
|
|
64
|
+
case OpenExplorerUiResult.REJECTED_NOT_CURRENT_SCENE:
|
|
65
|
+
return "REJECTED_NOT_CURRENT_SCENE";
|
|
66
|
+
case OpenExplorerUiResult.REJECTED_FEATURE_DISABLED:
|
|
67
|
+
return "REJECTED_FEATURE_DISABLED";
|
|
68
|
+
case OpenExplorerUiResult.REJECTED_NO_USER_GESTURE:
|
|
69
|
+
return "REJECTED_NO_USER_GESTURE";
|
|
70
|
+
case OpenExplorerUiResult.UNRECOGNIZED:
|
|
71
|
+
default:
|
|
72
|
+
return "UNRECOGNIZED";
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
function createBaseMovePlayerToRequest() {
|
|
76
|
+
return { newRelativePosition: undefined, cameraTarget: undefined, avatarTarget: undefined, duration: undefined };
|
|
77
|
+
}
|
|
78
|
+
var MovePlayerToRequest;
|
|
79
|
+
(function (MovePlayerToRequest) {
|
|
80
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
81
|
+
if (message.newRelativePosition !== undefined) {
|
|
82
|
+
vectors_gen_1.Vector3.encode(message.newRelativePosition, writer.uint32(10).fork()).ldelim();
|
|
83
|
+
}
|
|
84
|
+
if (message.cameraTarget !== undefined) {
|
|
85
|
+
vectors_gen_1.Vector3.encode(message.cameraTarget, writer.uint32(18).fork()).ldelim();
|
|
86
|
+
}
|
|
87
|
+
if (message.avatarTarget !== undefined) {
|
|
88
|
+
vectors_gen_1.Vector3.encode(message.avatarTarget, writer.uint32(26).fork()).ldelim();
|
|
89
|
+
}
|
|
90
|
+
if (message.duration !== undefined) {
|
|
91
|
+
writer.uint32(37).float(message.duration);
|
|
92
|
+
}
|
|
93
|
+
return writer;
|
|
94
|
+
}
|
|
95
|
+
MovePlayerToRequest.encode = encode;
|
|
96
|
+
function decode(input, length) {
|
|
97
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
98
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
99
|
+
const message = createBaseMovePlayerToRequest();
|
|
100
|
+
while (reader.pos < end) {
|
|
101
|
+
const tag = reader.uint32();
|
|
102
|
+
switch (tag >>> 3) {
|
|
103
|
+
case 1:
|
|
104
|
+
if (tag !== 10) {
|
|
105
|
+
break;
|
|
106
|
+
}
|
|
107
|
+
message.newRelativePosition = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
108
|
+
continue;
|
|
109
|
+
case 2:
|
|
110
|
+
if (tag !== 18) {
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
message.cameraTarget = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
114
|
+
continue;
|
|
115
|
+
case 3:
|
|
116
|
+
if (tag !== 26) {
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
message.avatarTarget = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
120
|
+
continue;
|
|
121
|
+
case 4:
|
|
122
|
+
if (tag !== 37) {
|
|
123
|
+
break;
|
|
124
|
+
}
|
|
125
|
+
message.duration = reader.float();
|
|
126
|
+
continue;
|
|
127
|
+
}
|
|
128
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
129
|
+
break;
|
|
130
|
+
}
|
|
131
|
+
reader.skipType(tag & 7);
|
|
132
|
+
}
|
|
133
|
+
return message;
|
|
134
|
+
}
|
|
135
|
+
MovePlayerToRequest.decode = decode;
|
|
136
|
+
function fromJSON(object) {
|
|
137
|
+
return {
|
|
138
|
+
newRelativePosition: isSet(object.newRelativePosition) ? vectors_gen_1.Vector3.fromJSON(object.newRelativePosition) : undefined,
|
|
139
|
+
cameraTarget: isSet(object.cameraTarget) ? vectors_gen_1.Vector3.fromJSON(object.cameraTarget) : undefined,
|
|
140
|
+
avatarTarget: isSet(object.avatarTarget) ? vectors_gen_1.Vector3.fromJSON(object.avatarTarget) : undefined,
|
|
141
|
+
duration: isSet(object.duration) ? Number(object.duration) : undefined,
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
MovePlayerToRequest.fromJSON = fromJSON;
|
|
145
|
+
function toJSON(message) {
|
|
146
|
+
const obj = {};
|
|
147
|
+
message.newRelativePosition !== undefined &&
|
|
148
|
+
(obj.newRelativePosition = message.newRelativePosition ? vectors_gen_1.Vector3.toJSON(message.newRelativePosition) : undefined);
|
|
149
|
+
message.cameraTarget !== undefined &&
|
|
150
|
+
(obj.cameraTarget = message.cameraTarget ? vectors_gen_1.Vector3.toJSON(message.cameraTarget) : undefined);
|
|
151
|
+
message.avatarTarget !== undefined &&
|
|
152
|
+
(obj.avatarTarget = message.avatarTarget ? vectors_gen_1.Vector3.toJSON(message.avatarTarget) : undefined);
|
|
153
|
+
message.duration !== undefined && (obj.duration = message.duration);
|
|
154
|
+
return obj;
|
|
155
|
+
}
|
|
156
|
+
MovePlayerToRequest.toJSON = toJSON;
|
|
157
|
+
function create(base) {
|
|
158
|
+
return MovePlayerToRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
159
|
+
}
|
|
160
|
+
MovePlayerToRequest.create = create;
|
|
161
|
+
function fromPartial(object) {
|
|
162
|
+
var _a;
|
|
163
|
+
const message = createBaseMovePlayerToRequest();
|
|
164
|
+
message.newRelativePosition = (object.newRelativePosition !== undefined && object.newRelativePosition !== null)
|
|
165
|
+
? vectors_gen_1.Vector3.fromPartial(object.newRelativePosition)
|
|
166
|
+
: undefined;
|
|
167
|
+
message.cameraTarget = (object.cameraTarget !== undefined && object.cameraTarget !== null)
|
|
168
|
+
? vectors_gen_1.Vector3.fromPartial(object.cameraTarget)
|
|
169
|
+
: undefined;
|
|
170
|
+
message.avatarTarget = (object.avatarTarget !== undefined && object.avatarTarget !== null)
|
|
171
|
+
? vectors_gen_1.Vector3.fromPartial(object.avatarTarget)
|
|
172
|
+
: undefined;
|
|
173
|
+
message.duration = (_a = object.duration) !== null && _a !== void 0 ? _a : undefined;
|
|
174
|
+
return message;
|
|
175
|
+
}
|
|
176
|
+
MovePlayerToRequest.fromPartial = fromPartial;
|
|
177
|
+
})(MovePlayerToRequest || (exports.MovePlayerToRequest = MovePlayerToRequest = {}));
|
|
178
|
+
function createBaseTeleportToRequest() {
|
|
179
|
+
return { worldCoordinates: undefined, realm: undefined };
|
|
180
|
+
}
|
|
181
|
+
var TeleportToRequest;
|
|
182
|
+
(function (TeleportToRequest) {
|
|
183
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
184
|
+
if (message.worldCoordinates !== undefined) {
|
|
185
|
+
vectors_gen_1.Vector2.encode(message.worldCoordinates, writer.uint32(10).fork()).ldelim();
|
|
186
|
+
}
|
|
187
|
+
if (message.realm !== undefined) {
|
|
188
|
+
writer.uint32(18).string(message.realm);
|
|
189
|
+
}
|
|
190
|
+
return writer;
|
|
191
|
+
}
|
|
192
|
+
TeleportToRequest.encode = encode;
|
|
193
|
+
function decode(input, length) {
|
|
194
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
195
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
196
|
+
const message = createBaseTeleportToRequest();
|
|
197
|
+
while (reader.pos < end) {
|
|
198
|
+
const tag = reader.uint32();
|
|
199
|
+
switch (tag >>> 3) {
|
|
200
|
+
case 1:
|
|
201
|
+
if (tag !== 10) {
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
message.worldCoordinates = vectors_gen_1.Vector2.decode(reader, reader.uint32());
|
|
205
|
+
continue;
|
|
206
|
+
case 2:
|
|
207
|
+
if (tag !== 18) {
|
|
208
|
+
break;
|
|
209
|
+
}
|
|
210
|
+
message.realm = reader.string();
|
|
211
|
+
continue;
|
|
212
|
+
}
|
|
213
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
reader.skipType(tag & 7);
|
|
217
|
+
}
|
|
218
|
+
return message;
|
|
219
|
+
}
|
|
220
|
+
TeleportToRequest.decode = decode;
|
|
221
|
+
function fromJSON(object) {
|
|
222
|
+
return {
|
|
223
|
+
worldCoordinates: isSet(object.worldCoordinates) ? vectors_gen_1.Vector2.fromJSON(object.worldCoordinates) : undefined,
|
|
224
|
+
realm: isSet(object.realm) ? String(object.realm) : undefined,
|
|
225
|
+
};
|
|
226
|
+
}
|
|
227
|
+
TeleportToRequest.fromJSON = fromJSON;
|
|
228
|
+
function toJSON(message) {
|
|
229
|
+
const obj = {};
|
|
230
|
+
message.worldCoordinates !== undefined &&
|
|
231
|
+
(obj.worldCoordinates = message.worldCoordinates ? vectors_gen_1.Vector2.toJSON(message.worldCoordinates) : undefined);
|
|
232
|
+
message.realm !== undefined && (obj.realm = message.realm);
|
|
233
|
+
return obj;
|
|
234
|
+
}
|
|
235
|
+
TeleportToRequest.toJSON = toJSON;
|
|
236
|
+
function create(base) {
|
|
237
|
+
return TeleportToRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
238
|
+
}
|
|
239
|
+
TeleportToRequest.create = create;
|
|
240
|
+
function fromPartial(object) {
|
|
241
|
+
var _a;
|
|
242
|
+
const message = createBaseTeleportToRequest();
|
|
243
|
+
message.worldCoordinates = (object.worldCoordinates !== undefined && object.worldCoordinates !== null)
|
|
244
|
+
? vectors_gen_1.Vector2.fromPartial(object.worldCoordinates)
|
|
245
|
+
: undefined;
|
|
246
|
+
message.realm = (_a = object.realm) !== null && _a !== void 0 ? _a : undefined;
|
|
247
|
+
return message;
|
|
248
|
+
}
|
|
249
|
+
TeleportToRequest.fromPartial = fromPartial;
|
|
250
|
+
})(TeleportToRequest || (exports.TeleportToRequest = TeleportToRequest = {}));
|
|
251
|
+
function createBaseTriggerEmoteRequest() {
|
|
252
|
+
return { predefinedEmote: "", mask: undefined };
|
|
253
|
+
}
|
|
254
|
+
var TriggerEmoteRequest;
|
|
255
|
+
(function (TriggerEmoteRequest) {
|
|
256
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
257
|
+
if (message.predefinedEmote !== "") {
|
|
258
|
+
writer.uint32(10).string(message.predefinedEmote);
|
|
259
|
+
}
|
|
260
|
+
if (message.mask !== undefined) {
|
|
261
|
+
writer.uint32(16).int32(message.mask);
|
|
262
|
+
}
|
|
263
|
+
return writer;
|
|
264
|
+
}
|
|
265
|
+
TriggerEmoteRequest.encode = encode;
|
|
266
|
+
function decode(input, length) {
|
|
267
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
268
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
269
|
+
const message = createBaseTriggerEmoteRequest();
|
|
270
|
+
while (reader.pos < end) {
|
|
271
|
+
const tag = reader.uint32();
|
|
272
|
+
switch (tag >>> 3) {
|
|
273
|
+
case 1:
|
|
274
|
+
if (tag !== 10) {
|
|
275
|
+
break;
|
|
276
|
+
}
|
|
277
|
+
message.predefinedEmote = reader.string();
|
|
278
|
+
continue;
|
|
279
|
+
case 2:
|
|
280
|
+
if (tag !== 16) {
|
|
281
|
+
break;
|
|
282
|
+
}
|
|
283
|
+
message.mask = reader.int32();
|
|
284
|
+
continue;
|
|
285
|
+
}
|
|
286
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
287
|
+
break;
|
|
288
|
+
}
|
|
289
|
+
reader.skipType(tag & 7);
|
|
290
|
+
}
|
|
291
|
+
return message;
|
|
292
|
+
}
|
|
293
|
+
TriggerEmoteRequest.decode = decode;
|
|
294
|
+
function fromJSON(object) {
|
|
295
|
+
return {
|
|
296
|
+
predefinedEmote: isSet(object.predefinedEmote) ? String(object.predefinedEmote) : "",
|
|
297
|
+
mask: isSet(object.mask) ? (0, avatar_mask_gen_1.avatarMaskFromJSON)(object.mask) : undefined,
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
TriggerEmoteRequest.fromJSON = fromJSON;
|
|
301
|
+
function toJSON(message) {
|
|
302
|
+
const obj = {};
|
|
303
|
+
message.predefinedEmote !== undefined && (obj.predefinedEmote = message.predefinedEmote);
|
|
304
|
+
message.mask !== undefined && (obj.mask = message.mask !== undefined ? (0, avatar_mask_gen_1.avatarMaskToJSON)(message.mask) : undefined);
|
|
305
|
+
return obj;
|
|
306
|
+
}
|
|
307
|
+
TriggerEmoteRequest.toJSON = toJSON;
|
|
308
|
+
function create(base) {
|
|
309
|
+
return TriggerEmoteRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
310
|
+
}
|
|
311
|
+
TriggerEmoteRequest.create = create;
|
|
312
|
+
function fromPartial(object) {
|
|
313
|
+
var _a, _b;
|
|
314
|
+
const message = createBaseTriggerEmoteRequest();
|
|
315
|
+
message.predefinedEmote = (_a = object.predefinedEmote) !== null && _a !== void 0 ? _a : "";
|
|
316
|
+
message.mask = (_b = object.mask) !== null && _b !== void 0 ? _b : undefined;
|
|
317
|
+
return message;
|
|
318
|
+
}
|
|
319
|
+
TriggerEmoteRequest.fromPartial = fromPartial;
|
|
320
|
+
})(TriggerEmoteRequest || (exports.TriggerEmoteRequest = TriggerEmoteRequest = {}));
|
|
321
|
+
function createBaseChangeRealmRequest() {
|
|
322
|
+
return { realm: "", message: undefined };
|
|
323
|
+
}
|
|
324
|
+
var ChangeRealmRequest;
|
|
325
|
+
(function (ChangeRealmRequest) {
|
|
326
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
327
|
+
if (message.realm !== "") {
|
|
328
|
+
writer.uint32(10).string(message.realm);
|
|
329
|
+
}
|
|
330
|
+
if (message.message !== undefined) {
|
|
331
|
+
writer.uint32(18).string(message.message);
|
|
332
|
+
}
|
|
333
|
+
return writer;
|
|
334
|
+
}
|
|
335
|
+
ChangeRealmRequest.encode = encode;
|
|
336
|
+
function decode(input, length) {
|
|
337
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
338
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
339
|
+
const message = createBaseChangeRealmRequest();
|
|
340
|
+
while (reader.pos < end) {
|
|
341
|
+
const tag = reader.uint32();
|
|
342
|
+
switch (tag >>> 3) {
|
|
343
|
+
case 1:
|
|
344
|
+
if (tag !== 10) {
|
|
345
|
+
break;
|
|
346
|
+
}
|
|
347
|
+
message.realm = reader.string();
|
|
348
|
+
continue;
|
|
349
|
+
case 2:
|
|
350
|
+
if (tag !== 18) {
|
|
351
|
+
break;
|
|
352
|
+
}
|
|
353
|
+
message.message = reader.string();
|
|
354
|
+
continue;
|
|
355
|
+
}
|
|
356
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
357
|
+
break;
|
|
358
|
+
}
|
|
359
|
+
reader.skipType(tag & 7);
|
|
360
|
+
}
|
|
361
|
+
return message;
|
|
362
|
+
}
|
|
363
|
+
ChangeRealmRequest.decode = decode;
|
|
364
|
+
function fromJSON(object) {
|
|
365
|
+
return {
|
|
366
|
+
realm: isSet(object.realm) ? String(object.realm) : "",
|
|
367
|
+
message: isSet(object.message) ? String(object.message) : undefined,
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
ChangeRealmRequest.fromJSON = fromJSON;
|
|
371
|
+
function toJSON(message) {
|
|
372
|
+
const obj = {};
|
|
373
|
+
message.realm !== undefined && (obj.realm = message.realm);
|
|
374
|
+
message.message !== undefined && (obj.message = message.message);
|
|
375
|
+
return obj;
|
|
376
|
+
}
|
|
377
|
+
ChangeRealmRequest.toJSON = toJSON;
|
|
378
|
+
function create(base) {
|
|
379
|
+
return ChangeRealmRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
380
|
+
}
|
|
381
|
+
ChangeRealmRequest.create = create;
|
|
382
|
+
function fromPartial(object) {
|
|
383
|
+
var _a, _b;
|
|
384
|
+
const message = createBaseChangeRealmRequest();
|
|
385
|
+
message.realm = (_a = object.realm) !== null && _a !== void 0 ? _a : "";
|
|
386
|
+
message.message = (_b = object.message) !== null && _b !== void 0 ? _b : undefined;
|
|
387
|
+
return message;
|
|
388
|
+
}
|
|
389
|
+
ChangeRealmRequest.fromPartial = fromPartial;
|
|
390
|
+
})(ChangeRealmRequest || (exports.ChangeRealmRequest = ChangeRealmRequest = {}));
|
|
391
|
+
function createBaseOpenExternalUrlRequest() {
|
|
392
|
+
return { url: "" };
|
|
393
|
+
}
|
|
394
|
+
var OpenExternalUrlRequest;
|
|
395
|
+
(function (OpenExternalUrlRequest) {
|
|
396
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
397
|
+
if (message.url !== "") {
|
|
398
|
+
writer.uint32(10).string(message.url);
|
|
399
|
+
}
|
|
400
|
+
return writer;
|
|
401
|
+
}
|
|
402
|
+
OpenExternalUrlRequest.encode = encode;
|
|
403
|
+
function decode(input, length) {
|
|
404
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
405
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
406
|
+
const message = createBaseOpenExternalUrlRequest();
|
|
407
|
+
while (reader.pos < end) {
|
|
408
|
+
const tag = reader.uint32();
|
|
409
|
+
switch (tag >>> 3) {
|
|
410
|
+
case 1:
|
|
411
|
+
if (tag !== 10) {
|
|
412
|
+
break;
|
|
413
|
+
}
|
|
414
|
+
message.url = reader.string();
|
|
415
|
+
continue;
|
|
416
|
+
}
|
|
417
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
418
|
+
break;
|
|
419
|
+
}
|
|
420
|
+
reader.skipType(tag & 7);
|
|
421
|
+
}
|
|
422
|
+
return message;
|
|
423
|
+
}
|
|
424
|
+
OpenExternalUrlRequest.decode = decode;
|
|
425
|
+
function fromJSON(object) {
|
|
426
|
+
return { url: isSet(object.url) ? String(object.url) : "" };
|
|
427
|
+
}
|
|
428
|
+
OpenExternalUrlRequest.fromJSON = fromJSON;
|
|
429
|
+
function toJSON(message) {
|
|
430
|
+
const obj = {};
|
|
431
|
+
message.url !== undefined && (obj.url = message.url);
|
|
432
|
+
return obj;
|
|
433
|
+
}
|
|
434
|
+
OpenExternalUrlRequest.toJSON = toJSON;
|
|
435
|
+
function create(base) {
|
|
436
|
+
return OpenExternalUrlRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
437
|
+
}
|
|
438
|
+
OpenExternalUrlRequest.create = create;
|
|
439
|
+
function fromPartial(object) {
|
|
440
|
+
var _a;
|
|
441
|
+
const message = createBaseOpenExternalUrlRequest();
|
|
442
|
+
message.url = (_a = object.url) !== null && _a !== void 0 ? _a : "";
|
|
443
|
+
return message;
|
|
444
|
+
}
|
|
445
|
+
OpenExternalUrlRequest.fromPartial = fromPartial;
|
|
446
|
+
})(OpenExternalUrlRequest || (exports.OpenExternalUrlRequest = OpenExternalUrlRequest = {}));
|
|
447
|
+
function createBaseOpenNftDialogRequest() {
|
|
448
|
+
return { urn: "" };
|
|
449
|
+
}
|
|
450
|
+
var OpenNftDialogRequest;
|
|
451
|
+
(function (OpenNftDialogRequest) {
|
|
452
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
453
|
+
if (message.urn !== "") {
|
|
454
|
+
writer.uint32(10).string(message.urn);
|
|
455
|
+
}
|
|
456
|
+
return writer;
|
|
457
|
+
}
|
|
458
|
+
OpenNftDialogRequest.encode = encode;
|
|
459
|
+
function decode(input, length) {
|
|
460
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
461
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
462
|
+
const message = createBaseOpenNftDialogRequest();
|
|
463
|
+
while (reader.pos < end) {
|
|
464
|
+
const tag = reader.uint32();
|
|
465
|
+
switch (tag >>> 3) {
|
|
466
|
+
case 1:
|
|
467
|
+
if (tag !== 10) {
|
|
468
|
+
break;
|
|
469
|
+
}
|
|
470
|
+
message.urn = reader.string();
|
|
471
|
+
continue;
|
|
472
|
+
}
|
|
473
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
474
|
+
break;
|
|
475
|
+
}
|
|
476
|
+
reader.skipType(tag & 7);
|
|
477
|
+
}
|
|
478
|
+
return message;
|
|
479
|
+
}
|
|
480
|
+
OpenNftDialogRequest.decode = decode;
|
|
481
|
+
function fromJSON(object) {
|
|
482
|
+
return { urn: isSet(object.urn) ? String(object.urn) : "" };
|
|
483
|
+
}
|
|
484
|
+
OpenNftDialogRequest.fromJSON = fromJSON;
|
|
485
|
+
function toJSON(message) {
|
|
486
|
+
const obj = {};
|
|
487
|
+
message.urn !== undefined && (obj.urn = message.urn);
|
|
488
|
+
return obj;
|
|
489
|
+
}
|
|
490
|
+
OpenNftDialogRequest.toJSON = toJSON;
|
|
491
|
+
function create(base) {
|
|
492
|
+
return OpenNftDialogRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
493
|
+
}
|
|
494
|
+
OpenNftDialogRequest.create = create;
|
|
495
|
+
function fromPartial(object) {
|
|
496
|
+
var _a;
|
|
497
|
+
const message = createBaseOpenNftDialogRequest();
|
|
498
|
+
message.urn = (_a = object.urn) !== null && _a !== void 0 ? _a : "";
|
|
499
|
+
return message;
|
|
500
|
+
}
|
|
501
|
+
OpenNftDialogRequest.fromPartial = fromPartial;
|
|
502
|
+
})(OpenNftDialogRequest || (exports.OpenNftDialogRequest = OpenNftDialogRequest = {}));
|
|
503
|
+
function createBaseUnblockPointerRequest() {
|
|
504
|
+
return {};
|
|
505
|
+
}
|
|
506
|
+
var UnblockPointerRequest;
|
|
507
|
+
(function (UnblockPointerRequest) {
|
|
508
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
509
|
+
return writer;
|
|
510
|
+
}
|
|
511
|
+
UnblockPointerRequest.encode = encode;
|
|
512
|
+
function decode(input, length) {
|
|
513
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
514
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
515
|
+
const message = createBaseUnblockPointerRequest();
|
|
516
|
+
while (reader.pos < end) {
|
|
517
|
+
const tag = reader.uint32();
|
|
518
|
+
switch (tag >>> 3) {
|
|
519
|
+
}
|
|
520
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
521
|
+
break;
|
|
522
|
+
}
|
|
523
|
+
reader.skipType(tag & 7);
|
|
524
|
+
}
|
|
525
|
+
return message;
|
|
526
|
+
}
|
|
527
|
+
UnblockPointerRequest.decode = decode;
|
|
528
|
+
function fromJSON(_) {
|
|
529
|
+
return {};
|
|
530
|
+
}
|
|
531
|
+
UnblockPointerRequest.fromJSON = fromJSON;
|
|
532
|
+
function toJSON(_) {
|
|
533
|
+
const obj = {};
|
|
534
|
+
return obj;
|
|
535
|
+
}
|
|
536
|
+
UnblockPointerRequest.toJSON = toJSON;
|
|
537
|
+
function create(base) {
|
|
538
|
+
return UnblockPointerRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
539
|
+
}
|
|
540
|
+
UnblockPointerRequest.create = create;
|
|
541
|
+
function fromPartial(_) {
|
|
542
|
+
const message = createBaseUnblockPointerRequest();
|
|
543
|
+
return message;
|
|
544
|
+
}
|
|
545
|
+
UnblockPointerRequest.fromPartial = fromPartial;
|
|
546
|
+
})(UnblockPointerRequest || (exports.UnblockPointerRequest = UnblockPointerRequest = {}));
|
|
547
|
+
function createBaseCommsAdapterRequest() {
|
|
548
|
+
return { connectionString: "" };
|
|
549
|
+
}
|
|
550
|
+
var CommsAdapterRequest;
|
|
551
|
+
(function (CommsAdapterRequest) {
|
|
552
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
553
|
+
if (message.connectionString !== "") {
|
|
554
|
+
writer.uint32(10).string(message.connectionString);
|
|
555
|
+
}
|
|
556
|
+
return writer;
|
|
557
|
+
}
|
|
558
|
+
CommsAdapterRequest.encode = encode;
|
|
559
|
+
function decode(input, length) {
|
|
560
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
561
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
562
|
+
const message = createBaseCommsAdapterRequest();
|
|
563
|
+
while (reader.pos < end) {
|
|
564
|
+
const tag = reader.uint32();
|
|
565
|
+
switch (tag >>> 3) {
|
|
566
|
+
case 1:
|
|
567
|
+
if (tag !== 10) {
|
|
568
|
+
break;
|
|
569
|
+
}
|
|
570
|
+
message.connectionString = reader.string();
|
|
571
|
+
continue;
|
|
572
|
+
}
|
|
573
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
574
|
+
break;
|
|
575
|
+
}
|
|
576
|
+
reader.skipType(tag & 7);
|
|
577
|
+
}
|
|
578
|
+
return message;
|
|
579
|
+
}
|
|
580
|
+
CommsAdapterRequest.decode = decode;
|
|
581
|
+
function fromJSON(object) {
|
|
582
|
+
return { connectionString: isSet(object.connectionString) ? String(object.connectionString) : "" };
|
|
583
|
+
}
|
|
584
|
+
CommsAdapterRequest.fromJSON = fromJSON;
|
|
585
|
+
function toJSON(message) {
|
|
586
|
+
const obj = {};
|
|
587
|
+
message.connectionString !== undefined && (obj.connectionString = message.connectionString);
|
|
588
|
+
return obj;
|
|
589
|
+
}
|
|
590
|
+
CommsAdapterRequest.toJSON = toJSON;
|
|
591
|
+
function create(base) {
|
|
592
|
+
return CommsAdapterRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
593
|
+
}
|
|
594
|
+
CommsAdapterRequest.create = create;
|
|
595
|
+
function fromPartial(object) {
|
|
596
|
+
var _a;
|
|
597
|
+
const message = createBaseCommsAdapterRequest();
|
|
598
|
+
message.connectionString = (_a = object.connectionString) !== null && _a !== void 0 ? _a : "";
|
|
599
|
+
return message;
|
|
600
|
+
}
|
|
601
|
+
CommsAdapterRequest.fromPartial = fromPartial;
|
|
602
|
+
})(CommsAdapterRequest || (exports.CommsAdapterRequest = CommsAdapterRequest = {}));
|
|
603
|
+
function createBaseTriggerSceneEmoteRequest() {
|
|
604
|
+
return { src: "", loop: undefined, mask: undefined };
|
|
605
|
+
}
|
|
606
|
+
var TriggerSceneEmoteRequest;
|
|
607
|
+
(function (TriggerSceneEmoteRequest) {
|
|
608
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
609
|
+
if (message.src !== "") {
|
|
610
|
+
writer.uint32(10).string(message.src);
|
|
611
|
+
}
|
|
612
|
+
if (message.loop !== undefined) {
|
|
613
|
+
writer.uint32(16).bool(message.loop);
|
|
614
|
+
}
|
|
615
|
+
if (message.mask !== undefined) {
|
|
616
|
+
writer.uint32(24).int32(message.mask);
|
|
617
|
+
}
|
|
618
|
+
return writer;
|
|
619
|
+
}
|
|
620
|
+
TriggerSceneEmoteRequest.encode = encode;
|
|
621
|
+
function decode(input, length) {
|
|
622
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
623
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
624
|
+
const message = createBaseTriggerSceneEmoteRequest();
|
|
625
|
+
while (reader.pos < end) {
|
|
626
|
+
const tag = reader.uint32();
|
|
627
|
+
switch (tag >>> 3) {
|
|
628
|
+
case 1:
|
|
629
|
+
if (tag !== 10) {
|
|
630
|
+
break;
|
|
631
|
+
}
|
|
632
|
+
message.src = reader.string();
|
|
633
|
+
continue;
|
|
634
|
+
case 2:
|
|
635
|
+
if (tag !== 16) {
|
|
636
|
+
break;
|
|
637
|
+
}
|
|
638
|
+
message.loop = reader.bool();
|
|
639
|
+
continue;
|
|
640
|
+
case 3:
|
|
641
|
+
if (tag !== 24) {
|
|
642
|
+
break;
|
|
643
|
+
}
|
|
644
|
+
message.mask = reader.int32();
|
|
645
|
+
continue;
|
|
646
|
+
}
|
|
647
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
648
|
+
break;
|
|
649
|
+
}
|
|
650
|
+
reader.skipType(tag & 7);
|
|
651
|
+
}
|
|
652
|
+
return message;
|
|
653
|
+
}
|
|
654
|
+
TriggerSceneEmoteRequest.decode = decode;
|
|
655
|
+
function fromJSON(object) {
|
|
656
|
+
return {
|
|
657
|
+
src: isSet(object.src) ? String(object.src) : "",
|
|
658
|
+
loop: isSet(object.loop) ? Boolean(object.loop) : undefined,
|
|
659
|
+
mask: isSet(object.mask) ? (0, avatar_mask_gen_1.avatarMaskFromJSON)(object.mask) : undefined,
|
|
660
|
+
};
|
|
661
|
+
}
|
|
662
|
+
TriggerSceneEmoteRequest.fromJSON = fromJSON;
|
|
663
|
+
function toJSON(message) {
|
|
664
|
+
const obj = {};
|
|
665
|
+
message.src !== undefined && (obj.src = message.src);
|
|
666
|
+
message.loop !== undefined && (obj.loop = message.loop);
|
|
667
|
+
message.mask !== undefined && (obj.mask = message.mask !== undefined ? (0, avatar_mask_gen_1.avatarMaskToJSON)(message.mask) : undefined);
|
|
668
|
+
return obj;
|
|
669
|
+
}
|
|
670
|
+
TriggerSceneEmoteRequest.toJSON = toJSON;
|
|
671
|
+
function create(base) {
|
|
672
|
+
return TriggerSceneEmoteRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
673
|
+
}
|
|
674
|
+
TriggerSceneEmoteRequest.create = create;
|
|
675
|
+
function fromPartial(object) {
|
|
676
|
+
var _a, _b, _c;
|
|
677
|
+
const message = createBaseTriggerSceneEmoteRequest();
|
|
678
|
+
message.src = (_a = object.src) !== null && _a !== void 0 ? _a : "";
|
|
679
|
+
message.loop = (_b = object.loop) !== null && _b !== void 0 ? _b : undefined;
|
|
680
|
+
message.mask = (_c = object.mask) !== null && _c !== void 0 ? _c : undefined;
|
|
681
|
+
return message;
|
|
682
|
+
}
|
|
683
|
+
TriggerSceneEmoteRequest.fromPartial = fromPartial;
|
|
684
|
+
})(TriggerSceneEmoteRequest || (exports.TriggerSceneEmoteRequest = TriggerSceneEmoteRequest = {}));
|
|
685
|
+
function createBaseSuccessResponse() {
|
|
686
|
+
return { success: false };
|
|
687
|
+
}
|
|
688
|
+
var SuccessResponse;
|
|
689
|
+
(function (SuccessResponse) {
|
|
690
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
691
|
+
if (message.success === true) {
|
|
692
|
+
writer.uint32(8).bool(message.success);
|
|
693
|
+
}
|
|
694
|
+
return writer;
|
|
695
|
+
}
|
|
696
|
+
SuccessResponse.encode = encode;
|
|
697
|
+
function decode(input, length) {
|
|
698
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
699
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
700
|
+
const message = createBaseSuccessResponse();
|
|
701
|
+
while (reader.pos < end) {
|
|
702
|
+
const tag = reader.uint32();
|
|
703
|
+
switch (tag >>> 3) {
|
|
704
|
+
case 1:
|
|
705
|
+
if (tag !== 8) {
|
|
706
|
+
break;
|
|
707
|
+
}
|
|
708
|
+
message.success = reader.bool();
|
|
709
|
+
continue;
|
|
710
|
+
}
|
|
711
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
712
|
+
break;
|
|
713
|
+
}
|
|
714
|
+
reader.skipType(tag & 7);
|
|
715
|
+
}
|
|
716
|
+
return message;
|
|
717
|
+
}
|
|
718
|
+
SuccessResponse.decode = decode;
|
|
719
|
+
function fromJSON(object) {
|
|
720
|
+
return { success: isSet(object.success) ? Boolean(object.success) : false };
|
|
721
|
+
}
|
|
722
|
+
SuccessResponse.fromJSON = fromJSON;
|
|
723
|
+
function toJSON(message) {
|
|
724
|
+
const obj = {};
|
|
725
|
+
message.success !== undefined && (obj.success = message.success);
|
|
726
|
+
return obj;
|
|
727
|
+
}
|
|
728
|
+
SuccessResponse.toJSON = toJSON;
|
|
729
|
+
function create(base) {
|
|
730
|
+
return SuccessResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
731
|
+
}
|
|
732
|
+
SuccessResponse.create = create;
|
|
733
|
+
function fromPartial(object) {
|
|
734
|
+
var _a;
|
|
735
|
+
const message = createBaseSuccessResponse();
|
|
736
|
+
message.success = (_a = object.success) !== null && _a !== void 0 ? _a : false;
|
|
737
|
+
return message;
|
|
738
|
+
}
|
|
739
|
+
SuccessResponse.fromPartial = fromPartial;
|
|
740
|
+
})(SuccessResponse || (exports.SuccessResponse = SuccessResponse = {}));
|
|
741
|
+
function createBaseTriggerEmoteResponse() {
|
|
742
|
+
return {};
|
|
743
|
+
}
|
|
744
|
+
var TriggerEmoteResponse;
|
|
745
|
+
(function (TriggerEmoteResponse) {
|
|
746
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
747
|
+
return writer;
|
|
748
|
+
}
|
|
749
|
+
TriggerEmoteResponse.encode = encode;
|
|
750
|
+
function decode(input, length) {
|
|
751
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
752
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
753
|
+
const message = createBaseTriggerEmoteResponse();
|
|
754
|
+
while (reader.pos < end) {
|
|
755
|
+
const tag = reader.uint32();
|
|
756
|
+
switch (tag >>> 3) {
|
|
757
|
+
}
|
|
758
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
759
|
+
break;
|
|
760
|
+
}
|
|
761
|
+
reader.skipType(tag & 7);
|
|
762
|
+
}
|
|
763
|
+
return message;
|
|
764
|
+
}
|
|
765
|
+
TriggerEmoteResponse.decode = decode;
|
|
766
|
+
function fromJSON(_) {
|
|
767
|
+
return {};
|
|
768
|
+
}
|
|
769
|
+
TriggerEmoteResponse.fromJSON = fromJSON;
|
|
770
|
+
function toJSON(_) {
|
|
771
|
+
const obj = {};
|
|
772
|
+
return obj;
|
|
773
|
+
}
|
|
774
|
+
TriggerEmoteResponse.toJSON = toJSON;
|
|
775
|
+
function create(base) {
|
|
776
|
+
return TriggerEmoteResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
777
|
+
}
|
|
778
|
+
TriggerEmoteResponse.create = create;
|
|
779
|
+
function fromPartial(_) {
|
|
780
|
+
const message = createBaseTriggerEmoteResponse();
|
|
781
|
+
return message;
|
|
782
|
+
}
|
|
783
|
+
TriggerEmoteResponse.fromPartial = fromPartial;
|
|
784
|
+
})(TriggerEmoteResponse || (exports.TriggerEmoteResponse = TriggerEmoteResponse = {}));
|
|
785
|
+
function createBaseMovePlayerToResponse() {
|
|
786
|
+
return { success: false };
|
|
787
|
+
}
|
|
788
|
+
var MovePlayerToResponse;
|
|
789
|
+
(function (MovePlayerToResponse) {
|
|
790
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
791
|
+
if (message.success === true) {
|
|
792
|
+
writer.uint32(8).bool(message.success);
|
|
793
|
+
}
|
|
794
|
+
return writer;
|
|
795
|
+
}
|
|
796
|
+
MovePlayerToResponse.encode = encode;
|
|
797
|
+
function decode(input, length) {
|
|
798
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
799
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
800
|
+
const message = createBaseMovePlayerToResponse();
|
|
801
|
+
while (reader.pos < end) {
|
|
802
|
+
const tag = reader.uint32();
|
|
803
|
+
switch (tag >>> 3) {
|
|
804
|
+
case 1:
|
|
805
|
+
if (tag !== 8) {
|
|
806
|
+
break;
|
|
807
|
+
}
|
|
808
|
+
message.success = reader.bool();
|
|
809
|
+
continue;
|
|
810
|
+
}
|
|
811
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
812
|
+
break;
|
|
813
|
+
}
|
|
814
|
+
reader.skipType(tag & 7);
|
|
815
|
+
}
|
|
816
|
+
return message;
|
|
817
|
+
}
|
|
818
|
+
MovePlayerToResponse.decode = decode;
|
|
819
|
+
function fromJSON(object) {
|
|
820
|
+
return { success: isSet(object.success) ? Boolean(object.success) : false };
|
|
821
|
+
}
|
|
822
|
+
MovePlayerToResponse.fromJSON = fromJSON;
|
|
823
|
+
function toJSON(message) {
|
|
824
|
+
const obj = {};
|
|
825
|
+
message.success !== undefined && (obj.success = message.success);
|
|
826
|
+
return obj;
|
|
827
|
+
}
|
|
828
|
+
MovePlayerToResponse.toJSON = toJSON;
|
|
829
|
+
function create(base) {
|
|
830
|
+
return MovePlayerToResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
831
|
+
}
|
|
832
|
+
MovePlayerToResponse.create = create;
|
|
833
|
+
function fromPartial(object) {
|
|
834
|
+
var _a;
|
|
835
|
+
const message = createBaseMovePlayerToResponse();
|
|
836
|
+
message.success = (_a = object.success) !== null && _a !== void 0 ? _a : false;
|
|
837
|
+
return message;
|
|
838
|
+
}
|
|
839
|
+
MovePlayerToResponse.fromPartial = fromPartial;
|
|
840
|
+
})(MovePlayerToResponse || (exports.MovePlayerToResponse = MovePlayerToResponse = {}));
|
|
841
|
+
function createBaseWalkPlayerToRequest() {
|
|
842
|
+
return { newRelativePosition: undefined, stopThreshold: 0, timeout: undefined };
|
|
843
|
+
}
|
|
844
|
+
var WalkPlayerToRequest;
|
|
845
|
+
(function (WalkPlayerToRequest) {
|
|
846
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
847
|
+
if (message.newRelativePosition !== undefined) {
|
|
848
|
+
vectors_gen_1.Vector3.encode(message.newRelativePosition, writer.uint32(10).fork()).ldelim();
|
|
849
|
+
}
|
|
850
|
+
if (message.stopThreshold !== 0) {
|
|
851
|
+
writer.uint32(21).float(message.stopThreshold);
|
|
852
|
+
}
|
|
853
|
+
if (message.timeout !== undefined) {
|
|
854
|
+
writer.uint32(29).float(message.timeout);
|
|
855
|
+
}
|
|
856
|
+
return writer;
|
|
857
|
+
}
|
|
858
|
+
WalkPlayerToRequest.encode = encode;
|
|
859
|
+
function decode(input, length) {
|
|
860
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
861
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
862
|
+
const message = createBaseWalkPlayerToRequest();
|
|
863
|
+
while (reader.pos < end) {
|
|
864
|
+
const tag = reader.uint32();
|
|
865
|
+
switch (tag >>> 3) {
|
|
866
|
+
case 1:
|
|
867
|
+
if (tag !== 10) {
|
|
868
|
+
break;
|
|
869
|
+
}
|
|
870
|
+
message.newRelativePosition = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
871
|
+
continue;
|
|
872
|
+
case 2:
|
|
873
|
+
if (tag !== 21) {
|
|
874
|
+
break;
|
|
875
|
+
}
|
|
876
|
+
message.stopThreshold = reader.float();
|
|
877
|
+
continue;
|
|
878
|
+
case 3:
|
|
879
|
+
if (tag !== 29) {
|
|
880
|
+
break;
|
|
881
|
+
}
|
|
882
|
+
message.timeout = reader.float();
|
|
883
|
+
continue;
|
|
884
|
+
}
|
|
885
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
886
|
+
break;
|
|
887
|
+
}
|
|
888
|
+
reader.skipType(tag & 7);
|
|
889
|
+
}
|
|
890
|
+
return message;
|
|
891
|
+
}
|
|
892
|
+
WalkPlayerToRequest.decode = decode;
|
|
893
|
+
function fromJSON(object) {
|
|
894
|
+
return {
|
|
895
|
+
newRelativePosition: isSet(object.newRelativePosition) ? vectors_gen_1.Vector3.fromJSON(object.newRelativePosition) : undefined,
|
|
896
|
+
stopThreshold: isSet(object.stopThreshold) ? Number(object.stopThreshold) : 0,
|
|
897
|
+
timeout: isSet(object.timeout) ? Number(object.timeout) : undefined,
|
|
898
|
+
};
|
|
899
|
+
}
|
|
900
|
+
WalkPlayerToRequest.fromJSON = fromJSON;
|
|
901
|
+
function toJSON(message) {
|
|
902
|
+
const obj = {};
|
|
903
|
+
message.newRelativePosition !== undefined &&
|
|
904
|
+
(obj.newRelativePosition = message.newRelativePosition ? vectors_gen_1.Vector3.toJSON(message.newRelativePosition) : undefined);
|
|
905
|
+
message.stopThreshold !== undefined && (obj.stopThreshold = message.stopThreshold);
|
|
906
|
+
message.timeout !== undefined && (obj.timeout = message.timeout);
|
|
907
|
+
return obj;
|
|
908
|
+
}
|
|
909
|
+
WalkPlayerToRequest.toJSON = toJSON;
|
|
910
|
+
function create(base) {
|
|
911
|
+
return WalkPlayerToRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
912
|
+
}
|
|
913
|
+
WalkPlayerToRequest.create = create;
|
|
914
|
+
function fromPartial(object) {
|
|
915
|
+
var _a, _b;
|
|
916
|
+
const message = createBaseWalkPlayerToRequest();
|
|
917
|
+
message.newRelativePosition = (object.newRelativePosition !== undefined && object.newRelativePosition !== null)
|
|
918
|
+
? vectors_gen_1.Vector3.fromPartial(object.newRelativePosition)
|
|
919
|
+
: undefined;
|
|
920
|
+
message.stopThreshold = (_a = object.stopThreshold) !== null && _a !== void 0 ? _a : 0;
|
|
921
|
+
message.timeout = (_b = object.timeout) !== null && _b !== void 0 ? _b : undefined;
|
|
922
|
+
return message;
|
|
923
|
+
}
|
|
924
|
+
WalkPlayerToRequest.fromPartial = fromPartial;
|
|
925
|
+
})(WalkPlayerToRequest || (exports.WalkPlayerToRequest = WalkPlayerToRequest = {}));
|
|
926
|
+
function createBaseWalkPlayerToResponse() {
|
|
927
|
+
return { success: false };
|
|
928
|
+
}
|
|
929
|
+
var WalkPlayerToResponse;
|
|
930
|
+
(function (WalkPlayerToResponse) {
|
|
931
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
932
|
+
if (message.success === true) {
|
|
933
|
+
writer.uint32(8).bool(message.success);
|
|
934
|
+
}
|
|
935
|
+
return writer;
|
|
936
|
+
}
|
|
937
|
+
WalkPlayerToResponse.encode = encode;
|
|
938
|
+
function decode(input, length) {
|
|
939
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
940
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
941
|
+
const message = createBaseWalkPlayerToResponse();
|
|
942
|
+
while (reader.pos < end) {
|
|
943
|
+
const tag = reader.uint32();
|
|
944
|
+
switch (tag >>> 3) {
|
|
945
|
+
case 1:
|
|
946
|
+
if (tag !== 8) {
|
|
947
|
+
break;
|
|
948
|
+
}
|
|
949
|
+
message.success = reader.bool();
|
|
950
|
+
continue;
|
|
951
|
+
}
|
|
952
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
953
|
+
break;
|
|
954
|
+
}
|
|
955
|
+
reader.skipType(tag & 7);
|
|
956
|
+
}
|
|
957
|
+
return message;
|
|
958
|
+
}
|
|
959
|
+
WalkPlayerToResponse.decode = decode;
|
|
960
|
+
function fromJSON(object) {
|
|
961
|
+
return { success: isSet(object.success) ? Boolean(object.success) : false };
|
|
962
|
+
}
|
|
963
|
+
WalkPlayerToResponse.fromJSON = fromJSON;
|
|
964
|
+
function toJSON(message) {
|
|
965
|
+
const obj = {};
|
|
966
|
+
message.success !== undefined && (obj.success = message.success);
|
|
967
|
+
return obj;
|
|
968
|
+
}
|
|
969
|
+
WalkPlayerToResponse.toJSON = toJSON;
|
|
970
|
+
function create(base) {
|
|
971
|
+
return WalkPlayerToResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
972
|
+
}
|
|
973
|
+
WalkPlayerToResponse.create = create;
|
|
974
|
+
function fromPartial(object) {
|
|
975
|
+
var _a;
|
|
976
|
+
const message = createBaseWalkPlayerToResponse();
|
|
977
|
+
message.success = (_a = object.success) !== null && _a !== void 0 ? _a : false;
|
|
978
|
+
return message;
|
|
979
|
+
}
|
|
980
|
+
WalkPlayerToResponse.fromPartial = fromPartial;
|
|
981
|
+
})(WalkPlayerToResponse || (exports.WalkPlayerToResponse = WalkPlayerToResponse = {}));
|
|
982
|
+
function createBaseTeleportToResponse() {
|
|
983
|
+
return {};
|
|
984
|
+
}
|
|
985
|
+
var TeleportToResponse;
|
|
986
|
+
(function (TeleportToResponse) {
|
|
987
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
988
|
+
return writer;
|
|
989
|
+
}
|
|
990
|
+
TeleportToResponse.encode = encode;
|
|
991
|
+
function decode(input, length) {
|
|
992
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
993
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
994
|
+
const message = createBaseTeleportToResponse();
|
|
995
|
+
while (reader.pos < end) {
|
|
996
|
+
const tag = reader.uint32();
|
|
997
|
+
switch (tag >>> 3) {
|
|
998
|
+
}
|
|
999
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1000
|
+
break;
|
|
1001
|
+
}
|
|
1002
|
+
reader.skipType(tag & 7);
|
|
1003
|
+
}
|
|
1004
|
+
return message;
|
|
1005
|
+
}
|
|
1006
|
+
TeleportToResponse.decode = decode;
|
|
1007
|
+
function fromJSON(_) {
|
|
1008
|
+
return {};
|
|
1009
|
+
}
|
|
1010
|
+
TeleportToResponse.fromJSON = fromJSON;
|
|
1011
|
+
function toJSON(_) {
|
|
1012
|
+
const obj = {};
|
|
1013
|
+
return obj;
|
|
1014
|
+
}
|
|
1015
|
+
TeleportToResponse.toJSON = toJSON;
|
|
1016
|
+
function create(base) {
|
|
1017
|
+
return TeleportToResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1018
|
+
}
|
|
1019
|
+
TeleportToResponse.create = create;
|
|
1020
|
+
function fromPartial(_) {
|
|
1021
|
+
const message = createBaseTeleportToResponse();
|
|
1022
|
+
return message;
|
|
1023
|
+
}
|
|
1024
|
+
TeleportToResponse.fromPartial = fromPartial;
|
|
1025
|
+
})(TeleportToResponse || (exports.TeleportToResponse = TeleportToResponse = {}));
|
|
1026
|
+
function createBaseSetUiFocusRequest() {
|
|
1027
|
+
return { elementId: "" };
|
|
1028
|
+
}
|
|
1029
|
+
var SetUiFocusRequest;
|
|
1030
|
+
(function (SetUiFocusRequest) {
|
|
1031
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1032
|
+
if (message.elementId !== "") {
|
|
1033
|
+
writer.uint32(10).string(message.elementId);
|
|
1034
|
+
}
|
|
1035
|
+
return writer;
|
|
1036
|
+
}
|
|
1037
|
+
SetUiFocusRequest.encode = encode;
|
|
1038
|
+
function decode(input, length) {
|
|
1039
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1040
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1041
|
+
const message = createBaseSetUiFocusRequest();
|
|
1042
|
+
while (reader.pos < end) {
|
|
1043
|
+
const tag = reader.uint32();
|
|
1044
|
+
switch (tag >>> 3) {
|
|
1045
|
+
case 1:
|
|
1046
|
+
if (tag !== 10) {
|
|
1047
|
+
break;
|
|
1048
|
+
}
|
|
1049
|
+
message.elementId = reader.string();
|
|
1050
|
+
continue;
|
|
1051
|
+
}
|
|
1052
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1053
|
+
break;
|
|
1054
|
+
}
|
|
1055
|
+
reader.skipType(tag & 7);
|
|
1056
|
+
}
|
|
1057
|
+
return message;
|
|
1058
|
+
}
|
|
1059
|
+
SetUiFocusRequest.decode = decode;
|
|
1060
|
+
function fromJSON(object) {
|
|
1061
|
+
return { elementId: isSet(object.elementId) ? String(object.elementId) : "" };
|
|
1062
|
+
}
|
|
1063
|
+
SetUiFocusRequest.fromJSON = fromJSON;
|
|
1064
|
+
function toJSON(message) {
|
|
1065
|
+
const obj = {};
|
|
1066
|
+
message.elementId !== undefined && (obj.elementId = message.elementId);
|
|
1067
|
+
return obj;
|
|
1068
|
+
}
|
|
1069
|
+
SetUiFocusRequest.toJSON = toJSON;
|
|
1070
|
+
function create(base) {
|
|
1071
|
+
return SetUiFocusRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1072
|
+
}
|
|
1073
|
+
SetUiFocusRequest.create = create;
|
|
1074
|
+
function fromPartial(object) {
|
|
1075
|
+
var _a;
|
|
1076
|
+
const message = createBaseSetUiFocusRequest();
|
|
1077
|
+
message.elementId = (_a = object.elementId) !== null && _a !== void 0 ? _a : "";
|
|
1078
|
+
return message;
|
|
1079
|
+
}
|
|
1080
|
+
SetUiFocusRequest.fromPartial = fromPartial;
|
|
1081
|
+
})(SetUiFocusRequest || (exports.SetUiFocusRequest = SetUiFocusRequest = {}));
|
|
1082
|
+
function createBaseClearUiFocusRequest() {
|
|
1083
|
+
return {};
|
|
1084
|
+
}
|
|
1085
|
+
var ClearUiFocusRequest;
|
|
1086
|
+
(function (ClearUiFocusRequest) {
|
|
1087
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
1088
|
+
return writer;
|
|
1089
|
+
}
|
|
1090
|
+
ClearUiFocusRequest.encode = encode;
|
|
1091
|
+
function decode(input, length) {
|
|
1092
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1093
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1094
|
+
const message = createBaseClearUiFocusRequest();
|
|
1095
|
+
while (reader.pos < end) {
|
|
1096
|
+
const tag = reader.uint32();
|
|
1097
|
+
switch (tag >>> 3) {
|
|
1098
|
+
}
|
|
1099
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1100
|
+
break;
|
|
1101
|
+
}
|
|
1102
|
+
reader.skipType(tag & 7);
|
|
1103
|
+
}
|
|
1104
|
+
return message;
|
|
1105
|
+
}
|
|
1106
|
+
ClearUiFocusRequest.decode = decode;
|
|
1107
|
+
function fromJSON(_) {
|
|
1108
|
+
return {};
|
|
1109
|
+
}
|
|
1110
|
+
ClearUiFocusRequest.fromJSON = fromJSON;
|
|
1111
|
+
function toJSON(_) {
|
|
1112
|
+
const obj = {};
|
|
1113
|
+
return obj;
|
|
1114
|
+
}
|
|
1115
|
+
ClearUiFocusRequest.toJSON = toJSON;
|
|
1116
|
+
function create(base) {
|
|
1117
|
+
return ClearUiFocusRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1118
|
+
}
|
|
1119
|
+
ClearUiFocusRequest.create = create;
|
|
1120
|
+
function fromPartial(_) {
|
|
1121
|
+
const message = createBaseClearUiFocusRequest();
|
|
1122
|
+
return message;
|
|
1123
|
+
}
|
|
1124
|
+
ClearUiFocusRequest.fromPartial = fromPartial;
|
|
1125
|
+
})(ClearUiFocusRequest || (exports.ClearUiFocusRequest = ClearUiFocusRequest = {}));
|
|
1126
|
+
function createBaseGetUiFocusRequest() {
|
|
1127
|
+
return {};
|
|
1128
|
+
}
|
|
1129
|
+
var GetUiFocusRequest;
|
|
1130
|
+
(function (GetUiFocusRequest) {
|
|
1131
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
1132
|
+
return writer;
|
|
1133
|
+
}
|
|
1134
|
+
GetUiFocusRequest.encode = encode;
|
|
1135
|
+
function decode(input, length) {
|
|
1136
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1137
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1138
|
+
const message = createBaseGetUiFocusRequest();
|
|
1139
|
+
while (reader.pos < end) {
|
|
1140
|
+
const tag = reader.uint32();
|
|
1141
|
+
switch (tag >>> 3) {
|
|
1142
|
+
}
|
|
1143
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1144
|
+
break;
|
|
1145
|
+
}
|
|
1146
|
+
reader.skipType(tag & 7);
|
|
1147
|
+
}
|
|
1148
|
+
return message;
|
|
1149
|
+
}
|
|
1150
|
+
GetUiFocusRequest.decode = decode;
|
|
1151
|
+
function fromJSON(_) {
|
|
1152
|
+
return {};
|
|
1153
|
+
}
|
|
1154
|
+
GetUiFocusRequest.fromJSON = fromJSON;
|
|
1155
|
+
function toJSON(_) {
|
|
1156
|
+
const obj = {};
|
|
1157
|
+
return obj;
|
|
1158
|
+
}
|
|
1159
|
+
GetUiFocusRequest.toJSON = toJSON;
|
|
1160
|
+
function create(base) {
|
|
1161
|
+
return GetUiFocusRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1162
|
+
}
|
|
1163
|
+
GetUiFocusRequest.create = create;
|
|
1164
|
+
function fromPartial(_) {
|
|
1165
|
+
const message = createBaseGetUiFocusRequest();
|
|
1166
|
+
return message;
|
|
1167
|
+
}
|
|
1168
|
+
GetUiFocusRequest.fromPartial = fromPartial;
|
|
1169
|
+
})(GetUiFocusRequest || (exports.GetUiFocusRequest = GetUiFocusRequest = {}));
|
|
1170
|
+
function createBaseUiFocusResponse() {
|
|
1171
|
+
return { elementId: undefined };
|
|
1172
|
+
}
|
|
1173
|
+
var UiFocusResponse;
|
|
1174
|
+
(function (UiFocusResponse) {
|
|
1175
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1176
|
+
if (message.elementId !== undefined) {
|
|
1177
|
+
writer.uint32(10).string(message.elementId);
|
|
1178
|
+
}
|
|
1179
|
+
return writer;
|
|
1180
|
+
}
|
|
1181
|
+
UiFocusResponse.encode = encode;
|
|
1182
|
+
function decode(input, length) {
|
|
1183
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1184
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1185
|
+
const message = createBaseUiFocusResponse();
|
|
1186
|
+
while (reader.pos < end) {
|
|
1187
|
+
const tag = reader.uint32();
|
|
1188
|
+
switch (tag >>> 3) {
|
|
1189
|
+
case 1:
|
|
1190
|
+
if (tag !== 10) {
|
|
1191
|
+
break;
|
|
1192
|
+
}
|
|
1193
|
+
message.elementId = reader.string();
|
|
1194
|
+
continue;
|
|
1195
|
+
}
|
|
1196
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1197
|
+
break;
|
|
1198
|
+
}
|
|
1199
|
+
reader.skipType(tag & 7);
|
|
1200
|
+
}
|
|
1201
|
+
return message;
|
|
1202
|
+
}
|
|
1203
|
+
UiFocusResponse.decode = decode;
|
|
1204
|
+
function fromJSON(object) {
|
|
1205
|
+
return { elementId: isSet(object.elementId) ? String(object.elementId) : undefined };
|
|
1206
|
+
}
|
|
1207
|
+
UiFocusResponse.fromJSON = fromJSON;
|
|
1208
|
+
function toJSON(message) {
|
|
1209
|
+
const obj = {};
|
|
1210
|
+
message.elementId !== undefined && (obj.elementId = message.elementId);
|
|
1211
|
+
return obj;
|
|
1212
|
+
}
|
|
1213
|
+
UiFocusResponse.toJSON = toJSON;
|
|
1214
|
+
function create(base) {
|
|
1215
|
+
return UiFocusResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1216
|
+
}
|
|
1217
|
+
UiFocusResponse.create = create;
|
|
1218
|
+
function fromPartial(object) {
|
|
1219
|
+
var _a;
|
|
1220
|
+
const message = createBaseUiFocusResponse();
|
|
1221
|
+
message.elementId = (_a = object.elementId) !== null && _a !== void 0 ? _a : undefined;
|
|
1222
|
+
return message;
|
|
1223
|
+
}
|
|
1224
|
+
UiFocusResponse.fromPartial = fromPartial;
|
|
1225
|
+
})(UiFocusResponse || (exports.UiFocusResponse = UiFocusResponse = {}));
|
|
1226
|
+
function createBaseCopyToClipboardRequest() {
|
|
1227
|
+
return { text: "" };
|
|
1228
|
+
}
|
|
1229
|
+
var CopyToClipboardRequest;
|
|
1230
|
+
(function (CopyToClipboardRequest) {
|
|
1231
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1232
|
+
if (message.text !== "") {
|
|
1233
|
+
writer.uint32(10).string(message.text);
|
|
1234
|
+
}
|
|
1235
|
+
return writer;
|
|
1236
|
+
}
|
|
1237
|
+
CopyToClipboardRequest.encode = encode;
|
|
1238
|
+
function decode(input, length) {
|
|
1239
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1240
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1241
|
+
const message = createBaseCopyToClipboardRequest();
|
|
1242
|
+
while (reader.pos < end) {
|
|
1243
|
+
const tag = reader.uint32();
|
|
1244
|
+
switch (tag >>> 3) {
|
|
1245
|
+
case 1:
|
|
1246
|
+
if (tag !== 10) {
|
|
1247
|
+
break;
|
|
1248
|
+
}
|
|
1249
|
+
message.text = reader.string();
|
|
1250
|
+
continue;
|
|
1251
|
+
}
|
|
1252
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1253
|
+
break;
|
|
1254
|
+
}
|
|
1255
|
+
reader.skipType(tag & 7);
|
|
1256
|
+
}
|
|
1257
|
+
return message;
|
|
1258
|
+
}
|
|
1259
|
+
CopyToClipboardRequest.decode = decode;
|
|
1260
|
+
function fromJSON(object) {
|
|
1261
|
+
return { text: isSet(object.text) ? String(object.text) : "" };
|
|
1262
|
+
}
|
|
1263
|
+
CopyToClipboardRequest.fromJSON = fromJSON;
|
|
1264
|
+
function toJSON(message) {
|
|
1265
|
+
const obj = {};
|
|
1266
|
+
message.text !== undefined && (obj.text = message.text);
|
|
1267
|
+
return obj;
|
|
1268
|
+
}
|
|
1269
|
+
CopyToClipboardRequest.toJSON = toJSON;
|
|
1270
|
+
function create(base) {
|
|
1271
|
+
return CopyToClipboardRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1272
|
+
}
|
|
1273
|
+
CopyToClipboardRequest.create = create;
|
|
1274
|
+
function fromPartial(object) {
|
|
1275
|
+
var _a;
|
|
1276
|
+
const message = createBaseCopyToClipboardRequest();
|
|
1277
|
+
message.text = (_a = object.text) !== null && _a !== void 0 ? _a : "";
|
|
1278
|
+
return message;
|
|
1279
|
+
}
|
|
1280
|
+
CopyToClipboardRequest.fromPartial = fromPartial;
|
|
1281
|
+
})(CopyToClipboardRequest || (exports.CopyToClipboardRequest = CopyToClipboardRequest = {}));
|
|
1282
|
+
function createBaseEmptyResponse() {
|
|
1283
|
+
return {};
|
|
1284
|
+
}
|
|
1285
|
+
var EmptyResponse;
|
|
1286
|
+
(function (EmptyResponse) {
|
|
1287
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
1288
|
+
return writer;
|
|
1289
|
+
}
|
|
1290
|
+
EmptyResponse.encode = encode;
|
|
1291
|
+
function decode(input, length) {
|
|
1292
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1293
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1294
|
+
const message = createBaseEmptyResponse();
|
|
1295
|
+
while (reader.pos < end) {
|
|
1296
|
+
const tag = reader.uint32();
|
|
1297
|
+
switch (tag >>> 3) {
|
|
1298
|
+
}
|
|
1299
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1300
|
+
break;
|
|
1301
|
+
}
|
|
1302
|
+
reader.skipType(tag & 7);
|
|
1303
|
+
}
|
|
1304
|
+
return message;
|
|
1305
|
+
}
|
|
1306
|
+
EmptyResponse.decode = decode;
|
|
1307
|
+
function fromJSON(_) {
|
|
1308
|
+
return {};
|
|
1309
|
+
}
|
|
1310
|
+
EmptyResponse.fromJSON = fromJSON;
|
|
1311
|
+
function toJSON(_) {
|
|
1312
|
+
const obj = {};
|
|
1313
|
+
return obj;
|
|
1314
|
+
}
|
|
1315
|
+
EmptyResponse.toJSON = toJSON;
|
|
1316
|
+
function create(base) {
|
|
1317
|
+
return EmptyResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1318
|
+
}
|
|
1319
|
+
EmptyResponse.create = create;
|
|
1320
|
+
function fromPartial(_) {
|
|
1321
|
+
const message = createBaseEmptyResponse();
|
|
1322
|
+
return message;
|
|
1323
|
+
}
|
|
1324
|
+
EmptyResponse.fromPartial = fromPartial;
|
|
1325
|
+
})(EmptyResponse || (exports.EmptyResponse = EmptyResponse = {}));
|
|
1326
|
+
function createBaseStopEmoteRequest() {
|
|
1327
|
+
return {};
|
|
1328
|
+
}
|
|
1329
|
+
var StopEmoteRequest;
|
|
1330
|
+
(function (StopEmoteRequest) {
|
|
1331
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
1332
|
+
return writer;
|
|
1333
|
+
}
|
|
1334
|
+
StopEmoteRequest.encode = encode;
|
|
1335
|
+
function decode(input, length) {
|
|
1336
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1337
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1338
|
+
const message = createBaseStopEmoteRequest();
|
|
1339
|
+
while (reader.pos < end) {
|
|
1340
|
+
const tag = reader.uint32();
|
|
1341
|
+
switch (tag >>> 3) {
|
|
1342
|
+
}
|
|
1343
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1344
|
+
break;
|
|
1345
|
+
}
|
|
1346
|
+
reader.skipType(tag & 7);
|
|
1347
|
+
}
|
|
1348
|
+
return message;
|
|
1349
|
+
}
|
|
1350
|
+
StopEmoteRequest.decode = decode;
|
|
1351
|
+
function fromJSON(_) {
|
|
1352
|
+
return {};
|
|
1353
|
+
}
|
|
1354
|
+
StopEmoteRequest.fromJSON = fromJSON;
|
|
1355
|
+
function toJSON(_) {
|
|
1356
|
+
const obj = {};
|
|
1357
|
+
return obj;
|
|
1358
|
+
}
|
|
1359
|
+
StopEmoteRequest.toJSON = toJSON;
|
|
1360
|
+
function create(base) {
|
|
1361
|
+
return StopEmoteRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1362
|
+
}
|
|
1363
|
+
StopEmoteRequest.create = create;
|
|
1364
|
+
function fromPartial(_) {
|
|
1365
|
+
const message = createBaseStopEmoteRequest();
|
|
1366
|
+
return message;
|
|
1367
|
+
}
|
|
1368
|
+
StopEmoteRequest.fromPartial = fromPartial;
|
|
1369
|
+
})(StopEmoteRequest || (exports.StopEmoteRequest = StopEmoteRequest = {}));
|
|
1370
|
+
function createBaseOpenExplorerUiRequest() {
|
|
1371
|
+
return { ui: 0 };
|
|
1372
|
+
}
|
|
1373
|
+
var OpenExplorerUiRequest;
|
|
1374
|
+
(function (OpenExplorerUiRequest) {
|
|
1375
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1376
|
+
if (message.ui !== 0) {
|
|
1377
|
+
writer.uint32(8).int32(message.ui);
|
|
1378
|
+
}
|
|
1379
|
+
return writer;
|
|
1380
|
+
}
|
|
1381
|
+
OpenExplorerUiRequest.encode = encode;
|
|
1382
|
+
function decode(input, length) {
|
|
1383
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1384
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1385
|
+
const message = createBaseOpenExplorerUiRequest();
|
|
1386
|
+
while (reader.pos < end) {
|
|
1387
|
+
const tag = reader.uint32();
|
|
1388
|
+
switch (tag >>> 3) {
|
|
1389
|
+
case 1:
|
|
1390
|
+
if (tag !== 8) {
|
|
1391
|
+
break;
|
|
1392
|
+
}
|
|
1393
|
+
message.ui = reader.int32();
|
|
1394
|
+
continue;
|
|
1395
|
+
}
|
|
1396
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1397
|
+
break;
|
|
1398
|
+
}
|
|
1399
|
+
reader.skipType(tag & 7);
|
|
1400
|
+
}
|
|
1401
|
+
return message;
|
|
1402
|
+
}
|
|
1403
|
+
OpenExplorerUiRequest.decode = decode;
|
|
1404
|
+
function fromJSON(object) {
|
|
1405
|
+
return { ui: isSet(object.ui) ? (0, explorer_ui_gen_1.explorerUiFromJSON)(object.ui) : 0 };
|
|
1406
|
+
}
|
|
1407
|
+
OpenExplorerUiRequest.fromJSON = fromJSON;
|
|
1408
|
+
function toJSON(message) {
|
|
1409
|
+
const obj = {};
|
|
1410
|
+
message.ui !== undefined && (obj.ui = (0, explorer_ui_gen_1.explorerUiToJSON)(message.ui));
|
|
1411
|
+
return obj;
|
|
1412
|
+
}
|
|
1413
|
+
OpenExplorerUiRequest.toJSON = toJSON;
|
|
1414
|
+
function create(base) {
|
|
1415
|
+
return OpenExplorerUiRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1416
|
+
}
|
|
1417
|
+
OpenExplorerUiRequest.create = create;
|
|
1418
|
+
function fromPartial(object) {
|
|
1419
|
+
var _a;
|
|
1420
|
+
const message = createBaseOpenExplorerUiRequest();
|
|
1421
|
+
message.ui = (_a = object.ui) !== null && _a !== void 0 ? _a : 0;
|
|
1422
|
+
return message;
|
|
1423
|
+
}
|
|
1424
|
+
OpenExplorerUiRequest.fromPartial = fromPartial;
|
|
1425
|
+
})(OpenExplorerUiRequest || (exports.OpenExplorerUiRequest = OpenExplorerUiRequest = {}));
|
|
1426
|
+
function createBaseOpenExplorerUiResponse() {
|
|
1427
|
+
return { openResult: 0 };
|
|
1428
|
+
}
|
|
1429
|
+
var OpenExplorerUiResponse;
|
|
1430
|
+
(function (OpenExplorerUiResponse) {
|
|
1431
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1432
|
+
if (message.openResult !== 0) {
|
|
1433
|
+
writer.uint32(8).int32(message.openResult);
|
|
1434
|
+
}
|
|
1435
|
+
return writer;
|
|
1436
|
+
}
|
|
1437
|
+
OpenExplorerUiResponse.encode = encode;
|
|
1438
|
+
function decode(input, length) {
|
|
1439
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1440
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1441
|
+
const message = createBaseOpenExplorerUiResponse();
|
|
1442
|
+
while (reader.pos < end) {
|
|
1443
|
+
const tag = reader.uint32();
|
|
1444
|
+
switch (tag >>> 3) {
|
|
1445
|
+
case 1:
|
|
1446
|
+
if (tag !== 8) {
|
|
1447
|
+
break;
|
|
1448
|
+
}
|
|
1449
|
+
message.openResult = reader.int32();
|
|
1450
|
+
continue;
|
|
1451
|
+
}
|
|
1452
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1453
|
+
break;
|
|
1454
|
+
}
|
|
1455
|
+
reader.skipType(tag & 7);
|
|
1456
|
+
}
|
|
1457
|
+
return message;
|
|
1458
|
+
}
|
|
1459
|
+
OpenExplorerUiResponse.decode = decode;
|
|
1460
|
+
function fromJSON(object) {
|
|
1461
|
+
return { openResult: isSet(object.openResult) ? openExplorerUiResultFromJSON(object.openResult) : 0 };
|
|
1462
|
+
}
|
|
1463
|
+
OpenExplorerUiResponse.fromJSON = fromJSON;
|
|
1464
|
+
function toJSON(message) {
|
|
1465
|
+
const obj = {};
|
|
1466
|
+
message.openResult !== undefined && (obj.openResult = openExplorerUiResultToJSON(message.openResult));
|
|
1467
|
+
return obj;
|
|
1468
|
+
}
|
|
1469
|
+
OpenExplorerUiResponse.toJSON = toJSON;
|
|
1470
|
+
function create(base) {
|
|
1471
|
+
return OpenExplorerUiResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1472
|
+
}
|
|
1473
|
+
OpenExplorerUiResponse.create = create;
|
|
1474
|
+
function fromPartial(object) {
|
|
1475
|
+
var _a;
|
|
1476
|
+
const message = createBaseOpenExplorerUiResponse();
|
|
1477
|
+
message.openResult = (_a = object.openResult) !== null && _a !== void 0 ? _a : 0;
|
|
1478
|
+
return message;
|
|
1479
|
+
}
|
|
1480
|
+
OpenExplorerUiResponse.fromPartial = fromPartial;
|
|
1481
|
+
})(OpenExplorerUiResponse || (exports.OpenExplorerUiResponse = OpenExplorerUiResponse = {}));
|
|
1482
|
+
exports.RestrictedActionsServiceDefinition = {
|
|
1483
|
+
name: "RestrictedActionsService",
|
|
1484
|
+
fullName: "decentraland.kernel.apis.RestrictedActionsService",
|
|
1485
|
+
methods: {
|
|
1486
|
+
/**
|
|
1487
|
+
* MovePlayerTo will move the player to a position relative to the current scene.
|
|
1488
|
+
* If 'duration' field is used in the request, the success response depends on the
|
|
1489
|
+
* whole interpolation being completed or interrupted (e.g: by input movement)
|
|
1490
|
+
*/
|
|
1491
|
+
movePlayerTo: {
|
|
1492
|
+
name: "MovePlayerTo",
|
|
1493
|
+
requestType: MovePlayerToRequest,
|
|
1494
|
+
requestStream: false,
|
|
1495
|
+
responseType: MovePlayerToResponse,
|
|
1496
|
+
responseStream: false,
|
|
1497
|
+
options: {},
|
|
1498
|
+
},
|
|
1499
|
+
/**
|
|
1500
|
+
* TeleportTo will move the user to the specified world LAND parcel coordinates
|
|
1501
|
+
* WalkPlayerTo will walk the player to a position relative to the current scene,
|
|
1502
|
+
* managed by the movement controller scene. Returns success when the player reaches
|
|
1503
|
+
* within stop_threshold distance, or false if the path is blocked, the player gets
|
|
1504
|
+
* stuck, the player interrupts the walk with manual input, or the optional timeout expires.
|
|
1505
|
+
*/
|
|
1506
|
+
walkPlayerTo: {
|
|
1507
|
+
name: "WalkPlayerTo",
|
|
1508
|
+
requestType: WalkPlayerToRequest,
|
|
1509
|
+
requestStream: false,
|
|
1510
|
+
responseType: WalkPlayerToResponse,
|
|
1511
|
+
responseStream: false,
|
|
1512
|
+
options: {},
|
|
1513
|
+
},
|
|
1514
|
+
teleportTo: {
|
|
1515
|
+
name: "TeleportTo",
|
|
1516
|
+
requestType: TeleportToRequest,
|
|
1517
|
+
requestStream: false,
|
|
1518
|
+
responseType: TeleportToResponse,
|
|
1519
|
+
responseStream: false,
|
|
1520
|
+
options: {},
|
|
1521
|
+
},
|
|
1522
|
+
/** TriggerEmote will trigger an emote in this current user */
|
|
1523
|
+
triggerEmote: {
|
|
1524
|
+
name: "TriggerEmote",
|
|
1525
|
+
requestType: TriggerEmoteRequest,
|
|
1526
|
+
requestStream: false,
|
|
1527
|
+
responseType: TriggerEmoteResponse,
|
|
1528
|
+
responseStream: false,
|
|
1529
|
+
options: {},
|
|
1530
|
+
},
|
|
1531
|
+
/**
|
|
1532
|
+
* @deprecated, use TeleportTo with `realm` (and no `world_coordinates` for the realm's default spawn)
|
|
1533
|
+
* ChangeRealm prompts the user to change to a specific realm
|
|
1534
|
+
*/
|
|
1535
|
+
changeRealm: {
|
|
1536
|
+
name: "ChangeRealm",
|
|
1537
|
+
requestType: ChangeRealmRequest,
|
|
1538
|
+
requestStream: false,
|
|
1539
|
+
responseType: SuccessResponse,
|
|
1540
|
+
responseStream: false,
|
|
1541
|
+
options: {},
|
|
1542
|
+
},
|
|
1543
|
+
/** OpenExternalUrl prompts the user to open an external link */
|
|
1544
|
+
openExternalUrl: {
|
|
1545
|
+
name: "OpenExternalUrl",
|
|
1546
|
+
requestType: OpenExternalUrlRequest,
|
|
1547
|
+
requestStream: false,
|
|
1548
|
+
responseType: SuccessResponse,
|
|
1549
|
+
responseStream: false,
|
|
1550
|
+
options: {},
|
|
1551
|
+
},
|
|
1552
|
+
/** OpenNftDialog opens an NFT dialog. */
|
|
1553
|
+
openNftDialog: {
|
|
1554
|
+
name: "OpenNftDialog",
|
|
1555
|
+
requestType: OpenNftDialogRequest,
|
|
1556
|
+
requestStream: false,
|
|
1557
|
+
responseType: SuccessResponse,
|
|
1558
|
+
responseStream: false,
|
|
1559
|
+
options: {},
|
|
1560
|
+
},
|
|
1561
|
+
/**
|
|
1562
|
+
* Asks the explorer to connect to other communications adapter, this feature
|
|
1563
|
+
* can be used to join private game servers
|
|
1564
|
+
*/
|
|
1565
|
+
setCommunicationsAdapter: {
|
|
1566
|
+
name: "SetCommunicationsAdapter",
|
|
1567
|
+
requestType: CommsAdapterRequest,
|
|
1568
|
+
requestStream: false,
|
|
1569
|
+
responseType: SuccessResponse,
|
|
1570
|
+
responseStream: false,
|
|
1571
|
+
options: {},
|
|
1572
|
+
},
|
|
1573
|
+
/** TriggerSceneEmote will trigger an scene emote file in this current user */
|
|
1574
|
+
triggerSceneEmote: {
|
|
1575
|
+
name: "TriggerSceneEmote",
|
|
1576
|
+
requestType: TriggerSceneEmoteRequest,
|
|
1577
|
+
requestStream: false,
|
|
1578
|
+
responseType: SuccessResponse,
|
|
1579
|
+
responseStream: false,
|
|
1580
|
+
options: {},
|
|
1581
|
+
},
|
|
1582
|
+
/**
|
|
1583
|
+
* CopyToClipboard copies the provided text into the clipboard
|
|
1584
|
+
* Sets the focus to a specific UI element
|
|
1585
|
+
*/
|
|
1586
|
+
setUiFocus: {
|
|
1587
|
+
name: "SetUiFocus",
|
|
1588
|
+
requestType: SetUiFocusRequest,
|
|
1589
|
+
requestStream: false,
|
|
1590
|
+
responseType: UiFocusResponse,
|
|
1591
|
+
responseStream: false,
|
|
1592
|
+
options: {},
|
|
1593
|
+
},
|
|
1594
|
+
/** Clears the focus from any currently focused textentry or dropdown */
|
|
1595
|
+
clearUiFocus: {
|
|
1596
|
+
name: "ClearUiFocus",
|
|
1597
|
+
requestType: ClearUiFocusRequest,
|
|
1598
|
+
requestStream: false,
|
|
1599
|
+
responseType: UiFocusResponse,
|
|
1600
|
+
responseStream: false,
|
|
1601
|
+
options: {},
|
|
1602
|
+
},
|
|
1603
|
+
/** Returns the element_id of any currently focused textentry or dropdown */
|
|
1604
|
+
getUiFocus: {
|
|
1605
|
+
name: "GetUiFocus",
|
|
1606
|
+
requestType: GetUiFocusRequest,
|
|
1607
|
+
requestStream: false,
|
|
1608
|
+
responseType: UiFocusResponse,
|
|
1609
|
+
responseStream: false,
|
|
1610
|
+
options: {},
|
|
1611
|
+
},
|
|
1612
|
+
copyToClipboard: {
|
|
1613
|
+
name: "CopyToClipboard",
|
|
1614
|
+
requestType: CopyToClipboardRequest,
|
|
1615
|
+
requestStream: false,
|
|
1616
|
+
responseType: EmptyResponse,
|
|
1617
|
+
responseStream: false,
|
|
1618
|
+
options: {},
|
|
1619
|
+
},
|
|
1620
|
+
/** StopEmote will stop the current emote */
|
|
1621
|
+
stopEmote: {
|
|
1622
|
+
name: "StopEmote",
|
|
1623
|
+
requestType: StopEmoteRequest,
|
|
1624
|
+
requestStream: false,
|
|
1625
|
+
responseType: SuccessResponse,
|
|
1626
|
+
responseStream: false,
|
|
1627
|
+
options: {},
|
|
1628
|
+
},
|
|
1629
|
+
/** OpenExplorerUi opens a specific fullscreen explorer panel and returns the open verdict. */
|
|
1630
|
+
openExplorerUi: {
|
|
1631
|
+
name: "OpenExplorerUi",
|
|
1632
|
+
requestType: OpenExplorerUiRequest,
|
|
1633
|
+
requestStream: false,
|
|
1634
|
+
responseType: OpenExplorerUiResponse,
|
|
1635
|
+
responseStream: false,
|
|
1636
|
+
options: {},
|
|
1637
|
+
},
|
|
1638
|
+
},
|
|
1639
|
+
};
|
|
1640
|
+
function isSet(value) {
|
|
1641
|
+
return value !== null && value !== undefined;
|
|
1642
|
+
}
|
|
1643
|
+
//# sourceMappingURL=restricted_actions.gen.js.map
|