@dcl/protocol 1.0.0-4597420155.commit-e877adc → 1.0.0-46098091432.commit-3203bbd
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 +291 -13
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/{bff-services.gen.js → about.gen.js} +2 -2
- package/out-js/about.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
- package/out-js/decentraland/common/border_rect.gen.js +122 -21
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.d.ts +29 -52
- package/out-js/decentraland/common/colors.gen.js +125 -40
- package/out-js/decentraland/common/colors.gen.js.map +1 -1
- package/out-js/decentraland/common/content_mapping.gen.d.ts +8 -20
- package/out-js/decentraland/common/content_mapping.gen.js +25 -18
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/gradient.gen.d.ts +50 -0
- package/out-js/decentraland/common/gradient.gen.js +147 -0
- package/out-js/decentraland/common/gradient.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
- package/out-js/decentraland/common/sdk/user_data.gen.js +100 -78
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.d.ts +56 -252
- package/out-js/decentraland/common/texture.gen.js +259 -108
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/common/vectors.gen.d.ts +38 -68
- package/out-js/decentraland/common/vectors.gen.js +172 -57
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- 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 +64 -48
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +319 -36
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +18 -56
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +50 -36
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +186 -4088
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +655 -1713
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +151 -691
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +441 -321
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +106 -440
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +309 -225
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +70 -518
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +217 -160
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +37 -128
- package/out-js/decentraland/kernel/apis/permissions.gen.js +112 -78
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +54 -476
- package/out-js/decentraland/kernel/apis/players.gen.js +153 -111
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +84 -309
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +273 -172
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +391 -605
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1424 -391
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +172 -208
- package/out-js/decentraland/kernel/apis/runtime.gen.js +688 -161
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +18 -132
- package/out-js/decentraland/kernel/apis/scene.gen.js +58 -43
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene_credits.gen.d.ts +186 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js +388 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +75 -284
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +292 -106
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +26 -128
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +79 -58
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +165 -408
- package/out-js/decentraland/kernel/apis/testing.gen.js +655 -183
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +18 -48
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +49 -35
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +36 -352
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +98 -70
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +350 -551
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1884 -244
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +86 -561
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +339 -245
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +288 -748
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1486 -550
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +153 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js +676 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2732 -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 +1187 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +19 -141
- package/out-js/decentraland/sdk/components/animator.gen.js +66 -72
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +19 -32
- package/out-js/decentraland/sdk/components/audio_source.gen.js +62 -23
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +18 -24
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +71 -21
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +31 -20
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +162 -22
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- 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 +57 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +199 -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 +51 -48
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +278 -25
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_movement.gen.d.ts +71 -0
- package/out-js/decentraland/sdk/components/avatar_movement.gen.js +304 -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 +82 -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 +39 -140
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +76 -37
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +21 -19
- package/out-js/decentraland/sdk/components/billboard.gen.js +49 -25
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- 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 +8 -16
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +24 -17
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +38 -45
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +171 -21
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- 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.js +4 -4
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +19 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +80 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +14 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +77 -7
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- 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 +8 -136
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +30 -23
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/texts.gen.js +7 -7
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +119 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js +86 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_configuration.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/explorer_configuration.gen.js +69 -0
- package/out-js/decentraland/sdk/components/explorer_configuration.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +309 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +232 -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 +12 -16
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +59 -20
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
- 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 +158 -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 +50 -3374
- package/out-js/decentraland/sdk/components/material.gen.js +219 -105
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +65 -181
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +255 -131
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +62 -226
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +235 -114
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +11 -51
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +37 -30
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- 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 +63 -187
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +162 -69
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +11 -209
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +42 -23
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +24 -17
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +23 -250
- package/out-js/decentraland/sdk/components/raycast.gen.js +122 -50
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +10 -348
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +44 -24
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- 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/skybox.gen.d.ts +103 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js +355 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/sun.gen.d.ts +53 -0
- package/out-js/decentraland/sdk/components/sun.gen.js +114 -0
- package/out-js/decentraland/sdk/components/sun.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +10 -174
- package/out-js/decentraland/sdk/components/text_shape.gen.js +58 -38
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/texture_camera.gen.d.ts +86 -0
- package/out-js/decentraland/sdk/components/texture_camera.gen.js +297 -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 +202 -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 +1214 -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 +123 -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 +8 -314
- package/out-js/decentraland/sdk/components/ui_background.gen.js +37 -29
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- 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 +10 -78
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +50 -29
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +24 -17
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +14 -104
- package/out-js/decentraland/sdk/components/ui_input.gen.js +71 -25
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- 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 +10 -16
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +41 -20
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
- 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 +28 -64
- package/out-js/decentraland/sdk/components/ui_text.gen.js +126 -24
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +84 -216
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +662 -96
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +18 -36
- package/out-js/decentraland/sdk/components/video_player.gen.js +69 -23
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +16 -16
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +41 -20
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- 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 +7845 -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 +2518 -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 +1892 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9519 -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 +920 -87149
- package/out-js/google/protobuf/descriptor.gen.js +1622 -770
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
- package/out-js/google/protobuf/empty.gen.d.ts +8 -8
- package/out-js/google/protobuf/empty.gen.js +23 -16
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- 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-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-ts/about.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +124 -19
- package/out-ts/decentraland/common/colors.gen.ts +116 -37
- package/out-ts/decentraland/common/content_mapping.gen.ts +17 -17
- package/out-ts/decentraland/common/gradient.gen.ts +170 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +59 -59
- package/out-ts/decentraland/common/texture.gen.ts +232 -84
- package/out-ts/decentraland/common/vectors.gen.ts +157 -53
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +318 -31
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +32 -32
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +500 -1880
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +310 -277
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +220 -199
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +132 -132
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +82 -66
- package/out-ts/decentraland/kernel/apis/players.gen.ts +106 -94
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +196 -149
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1392 -347
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +743 -164
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +34 -34
- package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +266 -89
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +50 -48
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +674 -152
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +33 -31
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +66 -62
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2097 -215
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +231 -200
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1509 -575
- package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +797 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/{bff/http_endpoints.gen.ts → realm/about.gen.ts} +582 -225
- package/out-ts/decentraland/sdk/components/animator.gen.ts +41 -64
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +68 -21
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +79 -19
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +150 -17
- 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 +237 -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 +319 -20
- package/out-ts/decentraland/sdk/components/avatar_movement.gen.ts +372 -0
- package/out-ts/decentraland/sdk/components/avatar_movement_info.gen.ts +435 -0
- package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +95 -42
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +49 -22
- 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 +16 -16
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +198 -19
- package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
- package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +77 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +70 -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 +22 -22
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +149 -0
- package/out-ts/decentraland/sdk/components/environment_fog.gen.ts +113 -0
- package/out-ts/decentraland/sdk/components/explorer_configuration.gen.ts +87 -0
- package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
- package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
- package/out-ts/decentraland/sdk/components/global_light.gen.ts +138 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +58 -18
- 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 +213 -94
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +215 -100
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +209 -94
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +28 -28
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +186 -58
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +42 -23
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +109 -34
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +35 -20
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/skybox.gen.ts +440 -0
- package/out-ts/decentraland/sdk/components/sun.gen.ts +155 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +55 -37
- 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 +22 -21
- package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +43 -25
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +78 -24
- package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +35 -18
- package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +83 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +142 -24
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +725 -66
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +80 -22
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +46 -19
- 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 +10939 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +1881 -540
- package/out-ts/google/protobuf/empty.gen.ts +15 -15
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/package.json +24 -12
- package/proto/decentraland/common/auth.proto +22 -0
- package/proto/decentraland/common/border_rect.proto +9 -1
- package/proto/decentraland/common/colors.proto +6 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/proto/decentraland/common/gradient.proto +16 -0
- package/proto/decentraland/common/options.proto +51 -0
- package/proto/decentraland/common/quantization_example.proto +164 -0
- package/proto/decentraland/common/texture.proto +21 -10
- 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 -4
- package/proto/decentraland/kernel/apis/engine_api.proto +9 -110
- package/proto/decentraland/kernel/apis/environment_api.proto +1 -1
- package/proto/decentraland/kernel/apis/permissions.proto +1 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +4 -1
- package/proto/decentraland/kernel/apis/restricted_actions.proto +122 -16
- package/proto/decentraland/kernel/apis/runtime.proto +54 -9
- package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
- package/proto/decentraland/kernel/apis/signed_fetch.proto +6 -0
- package/proto/decentraland/kernel/apis/testing.proto +45 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +180 -0
- package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +3 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +120 -34
- package/proto/decentraland/pulse/pulse_client.proto +147 -0
- package/proto/decentraland/pulse/pulse_clusters.proto +94 -0
- package/proto/decentraland/pulse/pulse_server.proto +217 -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 +9 -4
- 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 +10 -2
- package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +26 -3
- 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 +23 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_movement.proto +63 -0
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +38 -0
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +35 -17
- package/proto/decentraland/sdk/components/billboard.proto +11 -3
- 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_area.proto +18 -1
- 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/explorer_ui.proto +15 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +12 -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/engine_info.proto +17 -0
- package/proto/decentraland/sdk/components/environment_fog.proto +21 -0
- package/proto/decentraland/sdk/components/explorer_configuration.proto +11 -0
- package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
- package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
- package/proto/decentraland/sdk/components/global_light.proto +22 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +6 -0
- 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 +16 -4
- package/proto/decentraland/sdk/components/mesh_collider.proto +13 -6
- package/proto/decentraland/sdk/components/mesh_renderer.proto +10 -5
- package/proto/decentraland/sdk/components/nft_shape.proto +3 -3
- 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 +33 -2
- package/proto/decentraland/sdk/components/pointer_events_result.proto +2 -1
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +44 -0
- package/proto/decentraland/sdk/components/raycast.proto +14 -1
- package/proto/decentraland/sdk/components/raycast_result.proto +1 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox.proto +51 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/sun.proto +26 -0
- package/proto/decentraland/sdk/components/text_shape.proto +1 -0
- 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 +2 -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 +1 -0
- package/proto/decentraland/sdk/components/ui_input.proto +3 -0
- package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +1 -0
- package/proto/decentraland/sdk/components/ui_layout_feedback.proto +28 -0
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +15 -3
- 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 +8 -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 +769 -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/comms.proto +2 -1
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +2 -0
- package/public/sdk-components.proto +48 -19
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +3 -1
- package/out-js/bff-services.gen.d.ts +0 -1
- package/out-js/bff-services.gen.js.map +0 -1
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -197
- package/out-js/decentraland/bff/authentication_service.gen.js +0 -266
- package/out-js/decentraland/bff/authentication_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +0 -289
- package/out-js/decentraland/bff/comms_director_service.gen.js +0 -228
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +0 -348
- package/out-js/decentraland/bff/comms_service.gen.js +0 -175
- package/out-js/decentraland/bff/comms_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +0 -929
- package/out-js/decentraland/bff/http_endpoints.gen.js +0 -873
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +0 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +0 -272
- package/out-js/decentraland/bff/topics_service.gen.js +0 -386
- package/out-js/decentraland/bff/topics_service.gen.js.map +0 -1
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +0 -4816
- package/out-js/decentraland/social/friendships/friendships.gen.js +0 -1334
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +0 -1
- package/out-ts/bff-services.gen.ts +0 -3
- package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -323
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -272
- package/out-ts/decentraland/bff/comms_service.gen.ts +0 -212
- package/out-ts/decentraland/bff/topics_service.gen.ts +0 -468
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +0 -1598
- package/proto/buf.yaml +0 -47
- 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 -80
- package/proto/decentraland/bff/topics_service.proto +0 -34
- package/proto/decentraland/social/friendships/friendships.proto +0 -106
- 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
|
@@ -3,204 +3,194 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.RestrictedActionsServiceDefinition = exports.
|
|
6
|
+
exports.RestrictedActionsServiceDefinition = exports.OpenExplorerUiResponse = exports.OpenExplorerUiRequest_ItemPurchaseParams = 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;
|
|
7
9
|
/* eslint-disable */
|
|
8
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");
|
|
9
14
|
exports.protobufPackage = "decentraland.kernel.apis";
|
|
10
|
-
|
|
11
|
-
|
|
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 - the slot the requested panel occupies is already in use; panels sharing a slot exclude each other */
|
|
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
|
+
}
|
|
12
55
|
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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();
|
|
17
83
|
}
|
|
18
|
-
if (message.
|
|
19
|
-
writer.uint32(
|
|
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();
|
|
20
89
|
}
|
|
21
|
-
if (message.
|
|
22
|
-
writer.uint32(
|
|
90
|
+
if (message.duration !== undefined) {
|
|
91
|
+
writer.uint32(37).float(message.duration);
|
|
23
92
|
}
|
|
24
93
|
return writer;
|
|
25
|
-
}
|
|
26
|
-
|
|
94
|
+
}
|
|
95
|
+
MovePlayerToRequest.encode = encode;
|
|
96
|
+
function decode(input, length) {
|
|
27
97
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
28
98
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
|
-
const message =
|
|
99
|
+
const message = createBaseMovePlayerToRequest();
|
|
30
100
|
while (reader.pos < end) {
|
|
31
101
|
const tag = reader.uint32();
|
|
32
102
|
switch (tag >>> 3) {
|
|
33
103
|
case 1:
|
|
34
|
-
if (tag
|
|
104
|
+
if (tag !== 10) {
|
|
35
105
|
break;
|
|
36
106
|
}
|
|
37
|
-
message.
|
|
107
|
+
message.newRelativePosition = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
38
108
|
continue;
|
|
39
109
|
case 2:
|
|
40
|
-
if (tag
|
|
110
|
+
if (tag !== 18) {
|
|
41
111
|
break;
|
|
42
112
|
}
|
|
43
|
-
message.
|
|
113
|
+
message.cameraTarget = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
44
114
|
continue;
|
|
45
115
|
case 3:
|
|
46
|
-
if (tag
|
|
47
|
-
break;
|
|
48
|
-
}
|
|
49
|
-
message.z = reader.float();
|
|
50
|
-
continue;
|
|
51
|
-
}
|
|
52
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
53
|
-
break;
|
|
54
|
-
}
|
|
55
|
-
reader.skipType(tag & 7);
|
|
56
|
-
}
|
|
57
|
-
return message;
|
|
58
|
-
},
|
|
59
|
-
fromJSON(object) {
|
|
60
|
-
return {
|
|
61
|
-
x: isSet(object.x) ? Number(object.x) : 0,
|
|
62
|
-
y: isSet(object.y) ? Number(object.y) : 0,
|
|
63
|
-
z: isSet(object.z) ? Number(object.z) : 0,
|
|
64
|
-
};
|
|
65
|
-
},
|
|
66
|
-
toJSON(message) {
|
|
67
|
-
const obj = {};
|
|
68
|
-
message.x !== undefined && (obj.x = message.x);
|
|
69
|
-
message.y !== undefined && (obj.y = message.y);
|
|
70
|
-
message.z !== undefined && (obj.z = message.z);
|
|
71
|
-
return obj;
|
|
72
|
-
},
|
|
73
|
-
create(base) {
|
|
74
|
-
return exports.Vector3.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
75
|
-
},
|
|
76
|
-
fromPartial(object) {
|
|
77
|
-
var _a, _b, _c;
|
|
78
|
-
const message = createBaseVector3();
|
|
79
|
-
message.x = (_a = object.x) !== null && _a !== void 0 ? _a : 0;
|
|
80
|
-
message.y = (_b = object.y) !== null && _b !== void 0 ? _b : 0;
|
|
81
|
-
message.z = (_c = object.z) !== null && _c !== void 0 ? _c : 0;
|
|
82
|
-
return message;
|
|
83
|
-
},
|
|
84
|
-
};
|
|
85
|
-
function createBaseMovePlayerToResponse() {
|
|
86
|
-
return {};
|
|
87
|
-
}
|
|
88
|
-
exports.MovePlayerToResponse = {
|
|
89
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
90
|
-
return writer;
|
|
91
|
-
},
|
|
92
|
-
decode(input, length) {
|
|
93
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
94
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
95
|
-
const message = createBaseMovePlayerToResponse();
|
|
96
|
-
while (reader.pos < end) {
|
|
97
|
-
const tag = reader.uint32();
|
|
98
|
-
switch (tag >>> 3) {
|
|
99
|
-
}
|
|
100
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
101
|
-
break;
|
|
102
|
-
}
|
|
103
|
-
reader.skipType(tag & 7);
|
|
104
|
-
}
|
|
105
|
-
return message;
|
|
106
|
-
},
|
|
107
|
-
fromJSON(_) {
|
|
108
|
-
return {};
|
|
109
|
-
},
|
|
110
|
-
toJSON(_) {
|
|
111
|
-
const obj = {};
|
|
112
|
-
return obj;
|
|
113
|
-
},
|
|
114
|
-
create(base) {
|
|
115
|
-
return exports.MovePlayerToResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
116
|
-
},
|
|
117
|
-
fromPartial(_) {
|
|
118
|
-
const message = createBaseMovePlayerToResponse();
|
|
119
|
-
return message;
|
|
120
|
-
},
|
|
121
|
-
};
|
|
122
|
-
function createBaseMovePlayerToRequest() {
|
|
123
|
-
return { newRelativePosition: undefined, cameraTarget: undefined };
|
|
124
|
-
}
|
|
125
|
-
exports.MovePlayerToRequest = {
|
|
126
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
127
|
-
if (message.newRelativePosition !== undefined) {
|
|
128
|
-
exports.Vector3.encode(message.newRelativePosition, writer.uint32(10).fork()).ldelim();
|
|
129
|
-
}
|
|
130
|
-
if (message.cameraTarget !== undefined) {
|
|
131
|
-
exports.Vector3.encode(message.cameraTarget, writer.uint32(18).fork()).ldelim();
|
|
132
|
-
}
|
|
133
|
-
return writer;
|
|
134
|
-
},
|
|
135
|
-
decode(input, length) {
|
|
136
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
137
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
138
|
-
const message = createBaseMovePlayerToRequest();
|
|
139
|
-
while (reader.pos < end) {
|
|
140
|
-
const tag = reader.uint32();
|
|
141
|
-
switch (tag >>> 3) {
|
|
142
|
-
case 1:
|
|
143
|
-
if (tag != 10) {
|
|
116
|
+
if (tag !== 26) {
|
|
144
117
|
break;
|
|
145
118
|
}
|
|
146
|
-
message.
|
|
119
|
+
message.avatarTarget = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
147
120
|
continue;
|
|
148
|
-
case
|
|
149
|
-
if (tag
|
|
121
|
+
case 4:
|
|
122
|
+
if (tag !== 37) {
|
|
150
123
|
break;
|
|
151
124
|
}
|
|
152
|
-
message.
|
|
125
|
+
message.duration = reader.float();
|
|
153
126
|
continue;
|
|
154
127
|
}
|
|
155
|
-
if ((tag & 7)
|
|
128
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
156
129
|
break;
|
|
157
130
|
}
|
|
158
131
|
reader.skipType(tag & 7);
|
|
159
132
|
}
|
|
160
133
|
return message;
|
|
161
|
-
}
|
|
162
|
-
|
|
134
|
+
}
|
|
135
|
+
MovePlayerToRequest.decode = decode;
|
|
136
|
+
function fromJSON(object) {
|
|
163
137
|
return {
|
|
164
|
-
newRelativePosition: isSet(object.newRelativePosition) ?
|
|
165
|
-
cameraTarget: isSet(object.cameraTarget) ?
|
|
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,
|
|
166
142
|
};
|
|
167
|
-
}
|
|
168
|
-
|
|
143
|
+
}
|
|
144
|
+
MovePlayerToRequest.fromJSON = fromJSON;
|
|
145
|
+
function toJSON(message) {
|
|
169
146
|
const obj = {};
|
|
170
147
|
message.newRelativePosition !== undefined &&
|
|
171
|
-
(obj.newRelativePosition = message.newRelativePosition ?
|
|
148
|
+
(obj.newRelativePosition = message.newRelativePosition ? vectors_gen_1.Vector3.toJSON(message.newRelativePosition) : undefined);
|
|
172
149
|
message.cameraTarget !== undefined &&
|
|
173
|
-
(obj.cameraTarget = message.cameraTarget ?
|
|
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);
|
|
174
154
|
return obj;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
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;
|
|
180
163
|
const message = createBaseMovePlayerToRequest();
|
|
181
164
|
message.newRelativePosition = (object.newRelativePosition !== undefined && object.newRelativePosition !== null)
|
|
182
|
-
?
|
|
165
|
+
? vectors_gen_1.Vector3.fromPartial(object.newRelativePosition)
|
|
183
166
|
: undefined;
|
|
184
167
|
message.cameraTarget = (object.cameraTarget !== undefined && object.cameraTarget !== null)
|
|
185
|
-
?
|
|
168
|
+
? vectors_gen_1.Vector3.fromPartial(object.cameraTarget)
|
|
186
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;
|
|
187
174
|
return message;
|
|
188
|
-
}
|
|
189
|
-
|
|
175
|
+
}
|
|
176
|
+
MovePlayerToRequest.fromPartial = fromPartial;
|
|
177
|
+
})(MovePlayerToRequest || (exports.MovePlayerToRequest = MovePlayerToRequest = {}));
|
|
190
178
|
function createBaseTeleportToRequest() {
|
|
191
|
-
return {
|
|
179
|
+
return { worldCoordinates: undefined, realm: undefined };
|
|
192
180
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
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();
|
|
197
186
|
}
|
|
198
|
-
if (message.
|
|
199
|
-
|
|
187
|
+
if (message.realm !== undefined) {
|
|
188
|
+
writer.uint32(18).string(message.realm);
|
|
200
189
|
}
|
|
201
190
|
return writer;
|
|
202
|
-
}
|
|
203
|
-
|
|
191
|
+
}
|
|
192
|
+
TeleportToRequest.encode = encode;
|
|
193
|
+
function decode(input, length) {
|
|
204
194
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
205
195
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
206
196
|
const message = createBaseTeleportToRequest();
|
|
@@ -208,101 +198,72 @@ exports.TeleportToRequest = {
|
|
|
208
198
|
const tag = reader.uint32();
|
|
209
199
|
switch (tag >>> 3) {
|
|
210
200
|
case 1:
|
|
211
|
-
if (tag
|
|
201
|
+
if (tag !== 10) {
|
|
212
202
|
break;
|
|
213
203
|
}
|
|
214
|
-
message.
|
|
204
|
+
message.worldCoordinates = vectors_gen_1.Vector2.decode(reader, reader.uint32());
|
|
215
205
|
continue;
|
|
216
206
|
case 2:
|
|
217
|
-
if (tag
|
|
207
|
+
if (tag !== 18) {
|
|
218
208
|
break;
|
|
219
209
|
}
|
|
220
|
-
message.
|
|
210
|
+
message.realm = reader.string();
|
|
221
211
|
continue;
|
|
222
212
|
}
|
|
223
|
-
if ((tag & 7)
|
|
213
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
224
214
|
break;
|
|
225
215
|
}
|
|
226
216
|
reader.skipType(tag & 7);
|
|
227
217
|
}
|
|
228
218
|
return message;
|
|
229
|
-
}
|
|
230
|
-
|
|
219
|
+
}
|
|
220
|
+
TeleportToRequest.decode = decode;
|
|
221
|
+
function fromJSON(object) {
|
|
231
222
|
return {
|
|
232
|
-
|
|
233
|
-
|
|
223
|
+
worldCoordinates: isSet(object.worldCoordinates) ? vectors_gen_1.Vector2.fromJSON(object.worldCoordinates) : undefined,
|
|
224
|
+
realm: isSet(object.realm) ? String(object.realm) : undefined,
|
|
234
225
|
};
|
|
235
|
-
}
|
|
236
|
-
|
|
226
|
+
}
|
|
227
|
+
TeleportToRequest.fromJSON = fromJSON;
|
|
228
|
+
function toJSON(message) {
|
|
237
229
|
const obj = {};
|
|
238
|
-
message.
|
|
239
|
-
(obj.
|
|
240
|
-
message.
|
|
241
|
-
(obj.cameraTarget = message.cameraTarget ? exports.Vector3.toJSON(message.cameraTarget) : undefined);
|
|
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);
|
|
242
233
|
return obj;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
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;
|
|
248
242
|
const message = createBaseTeleportToRequest();
|
|
249
|
-
message.
|
|
250
|
-
?
|
|
251
|
-
: undefined;
|
|
252
|
-
message.cameraTarget = (object.cameraTarget !== undefined && object.cameraTarget !== null)
|
|
253
|
-
? exports.Vector3.fromPartial(object.cameraTarget)
|
|
243
|
+
message.worldCoordinates = (object.worldCoordinates !== undefined && object.worldCoordinates !== null)
|
|
244
|
+
? vectors_gen_1.Vector2.fromPartial(object.worldCoordinates)
|
|
254
245
|
: undefined;
|
|
246
|
+
message.realm = (_a = object.realm) !== null && _a !== void 0 ? _a : undefined;
|
|
255
247
|
return message;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
return {};
|
|
260
|
-
}
|
|
261
|
-
exports.TriggerEmoteResponse = {
|
|
262
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
263
|
-
return writer;
|
|
264
|
-
},
|
|
265
|
-
decode(input, length) {
|
|
266
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
267
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
268
|
-
const message = createBaseTriggerEmoteResponse();
|
|
269
|
-
while (reader.pos < end) {
|
|
270
|
-
const tag = reader.uint32();
|
|
271
|
-
switch (tag >>> 3) {
|
|
272
|
-
}
|
|
273
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
274
|
-
break;
|
|
275
|
-
}
|
|
276
|
-
reader.skipType(tag & 7);
|
|
277
|
-
}
|
|
278
|
-
return message;
|
|
279
|
-
},
|
|
280
|
-
fromJSON(_) {
|
|
281
|
-
return {};
|
|
282
|
-
},
|
|
283
|
-
toJSON(_) {
|
|
284
|
-
const obj = {};
|
|
285
|
-
return obj;
|
|
286
|
-
},
|
|
287
|
-
create(base) {
|
|
288
|
-
return exports.TriggerEmoteResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
289
|
-
},
|
|
290
|
-
fromPartial(_) {
|
|
291
|
-
const message = createBaseTriggerEmoteResponse();
|
|
292
|
-
return message;
|
|
293
|
-
},
|
|
294
|
-
};
|
|
248
|
+
}
|
|
249
|
+
TeleportToRequest.fromPartial = fromPartial;
|
|
250
|
+
})(TeleportToRequest || (exports.TeleportToRequest = TeleportToRequest = {}));
|
|
295
251
|
function createBaseTriggerEmoteRequest() {
|
|
296
|
-
return { predefinedEmote: "" };
|
|
252
|
+
return { predefinedEmote: "", mask: undefined };
|
|
297
253
|
}
|
|
298
|
-
|
|
299
|
-
|
|
254
|
+
var TriggerEmoteRequest;
|
|
255
|
+
(function (TriggerEmoteRequest) {
|
|
256
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
300
257
|
if (message.predefinedEmote !== "") {
|
|
301
258
|
writer.uint32(10).string(message.predefinedEmote);
|
|
302
259
|
}
|
|
260
|
+
if (message.mask !== undefined) {
|
|
261
|
+
writer.uint32(16).int32(message.mask);
|
|
262
|
+
}
|
|
303
263
|
return writer;
|
|
304
|
-
}
|
|
305
|
-
|
|
264
|
+
}
|
|
265
|
+
TriggerEmoteRequest.encode = encode;
|
|
266
|
+
function decode(input, length) {
|
|
306
267
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
307
268
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
308
269
|
const message = createBaseTriggerEmoteRequest();
|
|
@@ -310,42 +271,59 @@ exports.TriggerEmoteRequest = {
|
|
|
310
271
|
const tag = reader.uint32();
|
|
311
272
|
switch (tag >>> 3) {
|
|
312
273
|
case 1:
|
|
313
|
-
if (tag
|
|
274
|
+
if (tag !== 10) {
|
|
314
275
|
break;
|
|
315
276
|
}
|
|
316
277
|
message.predefinedEmote = reader.string();
|
|
317
278
|
continue;
|
|
279
|
+
case 2:
|
|
280
|
+
if (tag !== 16) {
|
|
281
|
+
break;
|
|
282
|
+
}
|
|
283
|
+
message.mask = reader.int32();
|
|
284
|
+
continue;
|
|
318
285
|
}
|
|
319
|
-
if ((tag & 7)
|
|
286
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
320
287
|
break;
|
|
321
288
|
}
|
|
322
289
|
reader.skipType(tag & 7);
|
|
323
290
|
}
|
|
324
291
|
return message;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
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) {
|
|
330
302
|
const obj = {};
|
|
331
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);
|
|
332
305
|
return obj;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
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;
|
|
339
314
|
const message = createBaseTriggerEmoteRequest();
|
|
340
315
|
message.predefinedEmote = (_a = object.predefinedEmote) !== null && _a !== void 0 ? _a : "";
|
|
316
|
+
message.mask = (_b = object.mask) !== null && _b !== void 0 ? _b : undefined;
|
|
341
317
|
return message;
|
|
342
|
-
}
|
|
343
|
-
|
|
318
|
+
}
|
|
319
|
+
TriggerEmoteRequest.fromPartial = fromPartial;
|
|
320
|
+
})(TriggerEmoteRequest || (exports.TriggerEmoteRequest = TriggerEmoteRequest = {}));
|
|
344
321
|
function createBaseChangeRealmRequest() {
|
|
345
322
|
return { realm: "", message: undefined };
|
|
346
323
|
}
|
|
347
|
-
|
|
348
|
-
|
|
324
|
+
var ChangeRealmRequest;
|
|
325
|
+
(function (ChangeRealmRequest) {
|
|
326
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
349
327
|
if (message.realm !== "") {
|
|
350
328
|
writer.uint32(10).string(message.realm);
|
|
351
329
|
}
|
|
@@ -353,8 +331,9 @@ exports.ChangeRealmRequest = {
|
|
|
353
331
|
writer.uint32(18).string(message.message);
|
|
354
332
|
}
|
|
355
333
|
return writer;
|
|
356
|
-
}
|
|
357
|
-
|
|
334
|
+
}
|
|
335
|
+
ChangeRealmRequest.encode = encode;
|
|
336
|
+
function decode(input, length) {
|
|
358
337
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
359
338
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
360
339
|
const message = createBaseChangeRealmRequest();
|
|
@@ -362,59 +341,66 @@ exports.ChangeRealmRequest = {
|
|
|
362
341
|
const tag = reader.uint32();
|
|
363
342
|
switch (tag >>> 3) {
|
|
364
343
|
case 1:
|
|
365
|
-
if (tag
|
|
344
|
+
if (tag !== 10) {
|
|
366
345
|
break;
|
|
367
346
|
}
|
|
368
347
|
message.realm = reader.string();
|
|
369
348
|
continue;
|
|
370
349
|
case 2:
|
|
371
|
-
if (tag
|
|
350
|
+
if (tag !== 18) {
|
|
372
351
|
break;
|
|
373
352
|
}
|
|
374
353
|
message.message = reader.string();
|
|
375
354
|
continue;
|
|
376
355
|
}
|
|
377
|
-
if ((tag & 7)
|
|
356
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
378
357
|
break;
|
|
379
358
|
}
|
|
380
359
|
reader.skipType(tag & 7);
|
|
381
360
|
}
|
|
382
361
|
return message;
|
|
383
|
-
}
|
|
384
|
-
|
|
362
|
+
}
|
|
363
|
+
ChangeRealmRequest.decode = decode;
|
|
364
|
+
function fromJSON(object) {
|
|
385
365
|
return {
|
|
386
366
|
realm: isSet(object.realm) ? String(object.realm) : "",
|
|
387
367
|
message: isSet(object.message) ? String(object.message) : undefined,
|
|
388
368
|
};
|
|
389
|
-
}
|
|
390
|
-
|
|
369
|
+
}
|
|
370
|
+
ChangeRealmRequest.fromJSON = fromJSON;
|
|
371
|
+
function toJSON(message) {
|
|
391
372
|
const obj = {};
|
|
392
373
|
message.realm !== undefined && (obj.realm = message.realm);
|
|
393
374
|
message.message !== undefined && (obj.message = message.message);
|
|
394
375
|
return obj;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
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) {
|
|
400
383
|
var _a, _b;
|
|
401
384
|
const message = createBaseChangeRealmRequest();
|
|
402
385
|
message.realm = (_a = object.realm) !== null && _a !== void 0 ? _a : "";
|
|
403
386
|
message.message = (_b = object.message) !== null && _b !== void 0 ? _b : undefined;
|
|
404
387
|
return message;
|
|
405
|
-
}
|
|
406
|
-
|
|
388
|
+
}
|
|
389
|
+
ChangeRealmRequest.fromPartial = fromPartial;
|
|
390
|
+
})(ChangeRealmRequest || (exports.ChangeRealmRequest = ChangeRealmRequest = {}));
|
|
407
391
|
function createBaseOpenExternalUrlRequest() {
|
|
408
392
|
return { url: "" };
|
|
409
393
|
}
|
|
410
|
-
|
|
411
|
-
|
|
394
|
+
var OpenExternalUrlRequest;
|
|
395
|
+
(function (OpenExternalUrlRequest) {
|
|
396
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
412
397
|
if (message.url !== "") {
|
|
413
398
|
writer.uint32(10).string(message.url);
|
|
414
399
|
}
|
|
415
400
|
return writer;
|
|
416
|
-
}
|
|
417
|
-
|
|
401
|
+
}
|
|
402
|
+
OpenExternalUrlRequest.encode = encode;
|
|
403
|
+
function decode(input, length) {
|
|
418
404
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
419
405
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
420
406
|
const message = createBaseOpenExternalUrlRequest();
|
|
@@ -422,48 +408,55 @@ exports.OpenExternalUrlRequest = {
|
|
|
422
408
|
const tag = reader.uint32();
|
|
423
409
|
switch (tag >>> 3) {
|
|
424
410
|
case 1:
|
|
425
|
-
if (tag
|
|
411
|
+
if (tag !== 10) {
|
|
426
412
|
break;
|
|
427
413
|
}
|
|
428
414
|
message.url = reader.string();
|
|
429
415
|
continue;
|
|
430
416
|
}
|
|
431
|
-
if ((tag & 7)
|
|
417
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
432
418
|
break;
|
|
433
419
|
}
|
|
434
420
|
reader.skipType(tag & 7);
|
|
435
421
|
}
|
|
436
422
|
return message;
|
|
437
|
-
}
|
|
438
|
-
|
|
423
|
+
}
|
|
424
|
+
OpenExternalUrlRequest.decode = decode;
|
|
425
|
+
function fromJSON(object) {
|
|
439
426
|
return { url: isSet(object.url) ? String(object.url) : "" };
|
|
440
|
-
}
|
|
441
|
-
|
|
427
|
+
}
|
|
428
|
+
OpenExternalUrlRequest.fromJSON = fromJSON;
|
|
429
|
+
function toJSON(message) {
|
|
442
430
|
const obj = {};
|
|
443
431
|
message.url !== undefined && (obj.url = message.url);
|
|
444
432
|
return obj;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
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) {
|
|
450
440
|
var _a;
|
|
451
441
|
const message = createBaseOpenExternalUrlRequest();
|
|
452
442
|
message.url = (_a = object.url) !== null && _a !== void 0 ? _a : "";
|
|
453
443
|
return message;
|
|
454
|
-
}
|
|
455
|
-
|
|
444
|
+
}
|
|
445
|
+
OpenExternalUrlRequest.fromPartial = fromPartial;
|
|
446
|
+
})(OpenExternalUrlRequest || (exports.OpenExternalUrlRequest = OpenExternalUrlRequest = {}));
|
|
456
447
|
function createBaseOpenNftDialogRequest() {
|
|
457
448
|
return { urn: "" };
|
|
458
449
|
}
|
|
459
|
-
|
|
460
|
-
|
|
450
|
+
var OpenNftDialogRequest;
|
|
451
|
+
(function (OpenNftDialogRequest) {
|
|
452
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
461
453
|
if (message.urn !== "") {
|
|
462
454
|
writer.uint32(10).string(message.urn);
|
|
463
455
|
}
|
|
464
456
|
return writer;
|
|
465
|
-
}
|
|
466
|
-
|
|
457
|
+
}
|
|
458
|
+
OpenNftDialogRequest.encode = encode;
|
|
459
|
+
function decode(input, length) {
|
|
467
460
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
468
461
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
469
462
|
const message = createBaseOpenNftDialogRequest();
|
|
@@ -471,45 +464,52 @@ exports.OpenNftDialogRequest = {
|
|
|
471
464
|
const tag = reader.uint32();
|
|
472
465
|
switch (tag >>> 3) {
|
|
473
466
|
case 1:
|
|
474
|
-
if (tag
|
|
467
|
+
if (tag !== 10) {
|
|
475
468
|
break;
|
|
476
469
|
}
|
|
477
470
|
message.urn = reader.string();
|
|
478
471
|
continue;
|
|
479
472
|
}
|
|
480
|
-
if ((tag & 7)
|
|
473
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
481
474
|
break;
|
|
482
475
|
}
|
|
483
476
|
reader.skipType(tag & 7);
|
|
484
477
|
}
|
|
485
478
|
return message;
|
|
486
|
-
}
|
|
487
|
-
|
|
479
|
+
}
|
|
480
|
+
OpenNftDialogRequest.decode = decode;
|
|
481
|
+
function fromJSON(object) {
|
|
488
482
|
return { urn: isSet(object.urn) ? String(object.urn) : "" };
|
|
489
|
-
}
|
|
490
|
-
|
|
483
|
+
}
|
|
484
|
+
OpenNftDialogRequest.fromJSON = fromJSON;
|
|
485
|
+
function toJSON(message) {
|
|
491
486
|
const obj = {};
|
|
492
487
|
message.urn !== undefined && (obj.urn = message.urn);
|
|
493
488
|
return obj;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
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) {
|
|
499
496
|
var _a;
|
|
500
497
|
const message = createBaseOpenNftDialogRequest();
|
|
501
498
|
message.urn = (_a = object.urn) !== null && _a !== void 0 ? _a : "";
|
|
502
499
|
return message;
|
|
503
|
-
}
|
|
504
|
-
|
|
500
|
+
}
|
|
501
|
+
OpenNftDialogRequest.fromPartial = fromPartial;
|
|
502
|
+
})(OpenNftDialogRequest || (exports.OpenNftDialogRequest = OpenNftDialogRequest = {}));
|
|
505
503
|
function createBaseUnblockPointerRequest() {
|
|
506
504
|
return {};
|
|
507
505
|
}
|
|
508
|
-
|
|
509
|
-
|
|
506
|
+
var UnblockPointerRequest;
|
|
507
|
+
(function (UnblockPointerRequest) {
|
|
508
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
510
509
|
return writer;
|
|
511
|
-
}
|
|
512
|
-
|
|
510
|
+
}
|
|
511
|
+
UnblockPointerRequest.encode = encode;
|
|
512
|
+
function decode(input, length) {
|
|
513
513
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
514
514
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
515
515
|
const message = createBaseUnblockPointerRequest();
|
|
@@ -517,39 +517,46 @@ exports.UnblockPointerRequest = {
|
|
|
517
517
|
const tag = reader.uint32();
|
|
518
518
|
switch (tag >>> 3) {
|
|
519
519
|
}
|
|
520
|
-
if ((tag & 7)
|
|
520
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
521
521
|
break;
|
|
522
522
|
}
|
|
523
523
|
reader.skipType(tag & 7);
|
|
524
524
|
}
|
|
525
525
|
return message;
|
|
526
|
-
}
|
|
527
|
-
|
|
526
|
+
}
|
|
527
|
+
UnblockPointerRequest.decode = decode;
|
|
528
|
+
function fromJSON(_) {
|
|
528
529
|
return {};
|
|
529
|
-
}
|
|
530
|
-
|
|
530
|
+
}
|
|
531
|
+
UnblockPointerRequest.fromJSON = fromJSON;
|
|
532
|
+
function toJSON(_) {
|
|
531
533
|
const obj = {};
|
|
532
534
|
return obj;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
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(_) {
|
|
538
542
|
const message = createBaseUnblockPointerRequest();
|
|
539
543
|
return message;
|
|
540
|
-
}
|
|
541
|
-
|
|
544
|
+
}
|
|
545
|
+
UnblockPointerRequest.fromPartial = fromPartial;
|
|
546
|
+
})(UnblockPointerRequest || (exports.UnblockPointerRequest = UnblockPointerRequest = {}));
|
|
542
547
|
function createBaseCommsAdapterRequest() {
|
|
543
548
|
return { connectionString: "" };
|
|
544
549
|
}
|
|
545
|
-
|
|
546
|
-
|
|
550
|
+
var CommsAdapterRequest;
|
|
551
|
+
(function (CommsAdapterRequest) {
|
|
552
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
547
553
|
if (message.connectionString !== "") {
|
|
548
554
|
writer.uint32(10).string(message.connectionString);
|
|
549
555
|
}
|
|
550
556
|
return writer;
|
|
551
|
-
}
|
|
552
|
-
|
|
557
|
+
}
|
|
558
|
+
CommsAdapterRequest.encode = encode;
|
|
559
|
+
function decode(input, length) {
|
|
553
560
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
554
561
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
555
562
|
const message = createBaseCommsAdapterRequest();
|
|
@@ -557,48 +564,137 @@ exports.CommsAdapterRequest = {
|
|
|
557
564
|
const tag = reader.uint32();
|
|
558
565
|
switch (tag >>> 3) {
|
|
559
566
|
case 1:
|
|
560
|
-
if (tag
|
|
567
|
+
if (tag !== 10) {
|
|
561
568
|
break;
|
|
562
569
|
}
|
|
563
570
|
message.connectionString = reader.string();
|
|
564
571
|
continue;
|
|
565
572
|
}
|
|
566
|
-
if ((tag & 7)
|
|
573
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
567
574
|
break;
|
|
568
575
|
}
|
|
569
576
|
reader.skipType(tag & 7);
|
|
570
577
|
}
|
|
571
578
|
return message;
|
|
572
|
-
}
|
|
573
|
-
|
|
579
|
+
}
|
|
580
|
+
CommsAdapterRequest.decode = decode;
|
|
581
|
+
function fromJSON(object) {
|
|
574
582
|
return { connectionString: isSet(object.connectionString) ? String(object.connectionString) : "" };
|
|
575
|
-
}
|
|
576
|
-
|
|
583
|
+
}
|
|
584
|
+
CommsAdapterRequest.fromJSON = fromJSON;
|
|
585
|
+
function toJSON(message) {
|
|
577
586
|
const obj = {};
|
|
578
587
|
message.connectionString !== undefined && (obj.connectionString = message.connectionString);
|
|
579
588
|
return obj;
|
|
580
|
-
}
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
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) {
|
|
585
596
|
var _a;
|
|
586
597
|
const message = createBaseCommsAdapterRequest();
|
|
587
598
|
message.connectionString = (_a = object.connectionString) !== null && _a !== void 0 ? _a : "";
|
|
588
599
|
return message;
|
|
589
|
-
}
|
|
590
|
-
|
|
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 = {}));
|
|
591
685
|
function createBaseSuccessResponse() {
|
|
592
686
|
return { success: false };
|
|
593
687
|
}
|
|
594
|
-
|
|
595
|
-
|
|
688
|
+
var SuccessResponse;
|
|
689
|
+
(function (SuccessResponse) {
|
|
690
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
596
691
|
if (message.success === true) {
|
|
597
692
|
writer.uint32(8).bool(message.success);
|
|
598
693
|
}
|
|
599
694
|
return writer;
|
|
600
|
-
}
|
|
601
|
-
|
|
695
|
+
}
|
|
696
|
+
SuccessResponse.encode = encode;
|
|
697
|
+
function decode(input, length) {
|
|
602
698
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
603
699
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
604
700
|
const message = createBaseSuccessResponse();
|
|
@@ -606,93 +702,965 @@ exports.SuccessResponse = {
|
|
|
606
702
|
const tag = reader.uint32();
|
|
607
703
|
switch (tag >>> 3) {
|
|
608
704
|
case 1:
|
|
609
|
-
if (tag
|
|
705
|
+
if (tag !== 8) {
|
|
610
706
|
break;
|
|
611
707
|
}
|
|
612
708
|
message.success = reader.bool();
|
|
613
709
|
continue;
|
|
614
710
|
}
|
|
615
|
-
if ((tag & 7)
|
|
711
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
616
712
|
break;
|
|
617
713
|
}
|
|
618
714
|
reader.skipType(tag & 7);
|
|
619
715
|
}
|
|
620
716
|
return message;
|
|
621
|
-
}
|
|
622
|
-
|
|
717
|
+
}
|
|
718
|
+
SuccessResponse.decode = decode;
|
|
719
|
+
function fromJSON(object) {
|
|
623
720
|
return { success: isSet(object.success) ? Boolean(object.success) : false };
|
|
624
|
-
}
|
|
625
|
-
|
|
721
|
+
}
|
|
722
|
+
SuccessResponse.fromJSON = fromJSON;
|
|
723
|
+
function toJSON(message) {
|
|
626
724
|
const obj = {};
|
|
627
725
|
message.success !== undefined && (obj.success = message.success);
|
|
628
726
|
return obj;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
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) {
|
|
634
734
|
var _a;
|
|
635
735
|
const message = createBaseSuccessResponse();
|
|
636
736
|
message.success = (_a = object.success) !== null && _a !== void 0 ? _a : false;
|
|
637
737
|
return message;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
exports.
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
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, requestId: undefined, params: undefined };
|
|
1372
|
+
}
|
|
1373
|
+
var OpenExplorerUiRequest;
|
|
1374
|
+
(function (OpenExplorerUiRequest) {
|
|
1375
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1376
|
+
var _a;
|
|
1377
|
+
if (message.ui !== 0) {
|
|
1378
|
+
writer.uint32(8).int32(message.ui);
|
|
1379
|
+
}
|
|
1380
|
+
if (message.requestId !== undefined) {
|
|
1381
|
+
writer.uint32(16).uint32(message.requestId);
|
|
1382
|
+
}
|
|
1383
|
+
switch ((_a = message.params) === null || _a === void 0 ? void 0 : _a.$case) {
|
|
1384
|
+
case "itemPurchase":
|
|
1385
|
+
OpenExplorerUiRequest_ItemPurchaseParams.encode(message.params.itemPurchase, writer.uint32(82).fork()).ldelim();
|
|
1386
|
+
break;
|
|
1387
|
+
}
|
|
1388
|
+
return writer;
|
|
1389
|
+
}
|
|
1390
|
+
OpenExplorerUiRequest.encode = encode;
|
|
1391
|
+
function decode(input, length) {
|
|
1392
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1393
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1394
|
+
const message = createBaseOpenExplorerUiRequest();
|
|
1395
|
+
while (reader.pos < end) {
|
|
1396
|
+
const tag = reader.uint32();
|
|
1397
|
+
switch (tag >>> 3) {
|
|
1398
|
+
case 1:
|
|
1399
|
+
if (tag !== 8) {
|
|
1400
|
+
break;
|
|
1401
|
+
}
|
|
1402
|
+
message.ui = reader.int32();
|
|
1403
|
+
continue;
|
|
1404
|
+
case 2:
|
|
1405
|
+
if (tag !== 16) {
|
|
1406
|
+
break;
|
|
1407
|
+
}
|
|
1408
|
+
message.requestId = reader.uint32();
|
|
1409
|
+
continue;
|
|
1410
|
+
case 10:
|
|
1411
|
+
if (tag !== 82) {
|
|
1412
|
+
break;
|
|
1413
|
+
}
|
|
1414
|
+
message.params = {
|
|
1415
|
+
$case: "itemPurchase",
|
|
1416
|
+
itemPurchase: OpenExplorerUiRequest_ItemPurchaseParams.decode(reader, reader.uint32()),
|
|
1417
|
+
};
|
|
1418
|
+
continue;
|
|
1419
|
+
}
|
|
1420
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1421
|
+
break;
|
|
1422
|
+
}
|
|
1423
|
+
reader.skipType(tag & 7);
|
|
1424
|
+
}
|
|
1425
|
+
return message;
|
|
1426
|
+
}
|
|
1427
|
+
OpenExplorerUiRequest.decode = decode;
|
|
1428
|
+
function fromJSON(object) {
|
|
1429
|
+
return {
|
|
1430
|
+
ui: isSet(object.ui) ? (0, explorer_ui_gen_1.explorerUiFromJSON)(object.ui) : 0,
|
|
1431
|
+
requestId: isSet(object.requestId) ? Number(object.requestId) : undefined,
|
|
1432
|
+
params: isSet(object.itemPurchase)
|
|
1433
|
+
? {
|
|
1434
|
+
$case: "itemPurchase",
|
|
1435
|
+
itemPurchase: OpenExplorerUiRequest_ItemPurchaseParams.fromJSON(object.itemPurchase),
|
|
1436
|
+
}
|
|
1437
|
+
: undefined,
|
|
1438
|
+
};
|
|
1439
|
+
}
|
|
1440
|
+
OpenExplorerUiRequest.fromJSON = fromJSON;
|
|
1441
|
+
function toJSON(message) {
|
|
1442
|
+
var _a, _b, _c;
|
|
1443
|
+
const obj = {};
|
|
1444
|
+
message.ui !== undefined && (obj.ui = (0, explorer_ui_gen_1.explorerUiToJSON)(message.ui));
|
|
1445
|
+
message.requestId !== undefined && (obj.requestId = Math.round(message.requestId));
|
|
1446
|
+
((_a = message.params) === null || _a === void 0 ? void 0 : _a.$case) === "itemPurchase" &&
|
|
1447
|
+
(obj.itemPurchase = ((_b = message.params) === null || _b === void 0 ? void 0 : _b.itemPurchase)
|
|
1448
|
+
? OpenExplorerUiRequest_ItemPurchaseParams.toJSON((_c = message.params) === null || _c === void 0 ? void 0 : _c.itemPurchase)
|
|
1449
|
+
: undefined);
|
|
1450
|
+
return obj;
|
|
1451
|
+
}
|
|
1452
|
+
OpenExplorerUiRequest.toJSON = toJSON;
|
|
1453
|
+
function create(base) {
|
|
1454
|
+
return OpenExplorerUiRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1455
|
+
}
|
|
1456
|
+
OpenExplorerUiRequest.create = create;
|
|
1457
|
+
function fromPartial(object) {
|
|
1458
|
+
var _a, _b, _c;
|
|
1459
|
+
var _d, _e;
|
|
1460
|
+
const message = createBaseOpenExplorerUiRequest();
|
|
1461
|
+
message.ui = (_d = object.ui) !== null && _d !== void 0 ? _d : 0;
|
|
1462
|
+
message.requestId = (_e = object.requestId) !== null && _e !== void 0 ? _e : undefined;
|
|
1463
|
+
if (((_a = object.params) === null || _a === void 0 ? void 0 : _a.$case) === "itemPurchase" &&
|
|
1464
|
+
((_b = object.params) === null || _b === void 0 ? void 0 : _b.itemPurchase) !== undefined &&
|
|
1465
|
+
((_c = object.params) === null || _c === void 0 ? void 0 : _c.itemPurchase) !== null) {
|
|
1466
|
+
message.params = {
|
|
1467
|
+
$case: "itemPurchase",
|
|
1468
|
+
itemPurchase: OpenExplorerUiRequest_ItemPurchaseParams.fromPartial(object.params.itemPurchase),
|
|
1469
|
+
};
|
|
1470
|
+
}
|
|
1471
|
+
return message;
|
|
1472
|
+
}
|
|
1473
|
+
OpenExplorerUiRequest.fromPartial = fromPartial;
|
|
1474
|
+
})(OpenExplorerUiRequest || (exports.OpenExplorerUiRequest = OpenExplorerUiRequest = {}));
|
|
1475
|
+
function createBaseOpenExplorerUiRequest_ItemPurchaseParams() {
|
|
1476
|
+
return { urn: "" };
|
|
1477
|
+
}
|
|
1478
|
+
var OpenExplorerUiRequest_ItemPurchaseParams;
|
|
1479
|
+
(function (OpenExplorerUiRequest_ItemPurchaseParams) {
|
|
1480
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1481
|
+
if (message.urn !== "") {
|
|
1482
|
+
writer.uint32(10).string(message.urn);
|
|
1483
|
+
}
|
|
1484
|
+
return writer;
|
|
1485
|
+
}
|
|
1486
|
+
OpenExplorerUiRequest_ItemPurchaseParams.encode = encode;
|
|
1487
|
+
function decode(input, length) {
|
|
1488
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1489
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1490
|
+
const message = createBaseOpenExplorerUiRequest_ItemPurchaseParams();
|
|
1491
|
+
while (reader.pos < end) {
|
|
1492
|
+
const tag = reader.uint32();
|
|
1493
|
+
switch (tag >>> 3) {
|
|
1494
|
+
case 1:
|
|
1495
|
+
if (tag !== 10) {
|
|
1496
|
+
break;
|
|
1497
|
+
}
|
|
1498
|
+
message.urn = reader.string();
|
|
1499
|
+
continue;
|
|
1500
|
+
}
|
|
1501
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1502
|
+
break;
|
|
1503
|
+
}
|
|
1504
|
+
reader.skipType(tag & 7);
|
|
1505
|
+
}
|
|
1506
|
+
return message;
|
|
1507
|
+
}
|
|
1508
|
+
OpenExplorerUiRequest_ItemPurchaseParams.decode = decode;
|
|
1509
|
+
function fromJSON(object) {
|
|
1510
|
+
return { urn: isSet(object.urn) ? String(object.urn) : "" };
|
|
1511
|
+
}
|
|
1512
|
+
OpenExplorerUiRequest_ItemPurchaseParams.fromJSON = fromJSON;
|
|
1513
|
+
function toJSON(message) {
|
|
1514
|
+
const obj = {};
|
|
1515
|
+
message.urn !== undefined && (obj.urn = message.urn);
|
|
1516
|
+
return obj;
|
|
1517
|
+
}
|
|
1518
|
+
OpenExplorerUiRequest_ItemPurchaseParams.toJSON = toJSON;
|
|
1519
|
+
function create(base) {
|
|
1520
|
+
return OpenExplorerUiRequest_ItemPurchaseParams.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1521
|
+
}
|
|
1522
|
+
OpenExplorerUiRequest_ItemPurchaseParams.create = create;
|
|
1523
|
+
function fromPartial(object) {
|
|
1524
|
+
var _a;
|
|
1525
|
+
const message = createBaseOpenExplorerUiRequest_ItemPurchaseParams();
|
|
1526
|
+
message.urn = (_a = object.urn) !== null && _a !== void 0 ? _a : "";
|
|
1527
|
+
return message;
|
|
1528
|
+
}
|
|
1529
|
+
OpenExplorerUiRequest_ItemPurchaseParams.fromPartial = fromPartial;
|
|
1530
|
+
})(OpenExplorerUiRequest_ItemPurchaseParams || (exports.OpenExplorerUiRequest_ItemPurchaseParams = OpenExplorerUiRequest_ItemPurchaseParams = {}));
|
|
1531
|
+
function createBaseOpenExplorerUiResponse() {
|
|
1532
|
+
return { openResult: 0 };
|
|
1533
|
+
}
|
|
1534
|
+
var OpenExplorerUiResponse;
|
|
1535
|
+
(function (OpenExplorerUiResponse) {
|
|
1536
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1537
|
+
if (message.openResult !== 0) {
|
|
1538
|
+
writer.uint32(8).int32(message.openResult);
|
|
1539
|
+
}
|
|
1540
|
+
return writer;
|
|
1541
|
+
}
|
|
1542
|
+
OpenExplorerUiResponse.encode = encode;
|
|
1543
|
+
function decode(input, length) {
|
|
1544
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1545
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1546
|
+
const message = createBaseOpenExplorerUiResponse();
|
|
1547
|
+
while (reader.pos < end) {
|
|
1548
|
+
const tag = reader.uint32();
|
|
1549
|
+
switch (tag >>> 3) {
|
|
1550
|
+
case 1:
|
|
1551
|
+
if (tag !== 8) {
|
|
1552
|
+
break;
|
|
1553
|
+
}
|
|
1554
|
+
message.openResult = reader.int32();
|
|
1555
|
+
continue;
|
|
1556
|
+
}
|
|
1557
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1558
|
+
break;
|
|
1559
|
+
}
|
|
1560
|
+
reader.skipType(tag & 7);
|
|
1561
|
+
}
|
|
1562
|
+
return message;
|
|
1563
|
+
}
|
|
1564
|
+
OpenExplorerUiResponse.decode = decode;
|
|
1565
|
+
function fromJSON(object) {
|
|
1566
|
+
return { openResult: isSet(object.openResult) ? openExplorerUiResultFromJSON(object.openResult) : 0 };
|
|
1567
|
+
}
|
|
1568
|
+
OpenExplorerUiResponse.fromJSON = fromJSON;
|
|
1569
|
+
function toJSON(message) {
|
|
1570
|
+
const obj = {};
|
|
1571
|
+
message.openResult !== undefined && (obj.openResult = openExplorerUiResultToJSON(message.openResult));
|
|
1572
|
+
return obj;
|
|
1573
|
+
}
|
|
1574
|
+
OpenExplorerUiResponse.toJSON = toJSON;
|
|
1575
|
+
function create(base) {
|
|
1576
|
+
return OpenExplorerUiResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1577
|
+
}
|
|
1578
|
+
OpenExplorerUiResponse.create = create;
|
|
1579
|
+
function fromPartial(object) {
|
|
1580
|
+
var _a;
|
|
1581
|
+
const message = createBaseOpenExplorerUiResponse();
|
|
1582
|
+
message.openResult = (_a = object.openResult) !== null && _a !== void 0 ? _a : 0;
|
|
1583
|
+
return message;
|
|
1584
|
+
}
|
|
1585
|
+
OpenExplorerUiResponse.fromPartial = fromPartial;
|
|
1586
|
+
})(OpenExplorerUiResponse || (exports.OpenExplorerUiResponse = OpenExplorerUiResponse = {}));
|
|
1587
|
+
exports.RestrictedActionsServiceDefinition = {
|
|
1588
|
+
name: "RestrictedActionsService",
|
|
1589
|
+
fullName: "decentraland.kernel.apis.RestrictedActionsService",
|
|
1590
|
+
methods: {
|
|
1591
|
+
/**
|
|
1592
|
+
* MovePlayerTo will move the player to a position relative to the current scene.
|
|
1593
|
+
* If 'duration' field is used in the request, the success response depends on the
|
|
1594
|
+
* whole interpolation being completed or interrupted (e.g: by input movement)
|
|
1595
|
+
*/
|
|
1596
|
+
movePlayerTo: {
|
|
1597
|
+
name: "MovePlayerTo",
|
|
1598
|
+
requestType: MovePlayerToRequest,
|
|
1599
|
+
requestStream: false,
|
|
1600
|
+
responseType: MovePlayerToResponse,
|
|
1601
|
+
responseStream: false,
|
|
1602
|
+
options: {},
|
|
1603
|
+
},
|
|
1604
|
+
/**
|
|
1605
|
+
* TeleportTo will move the user to the specified world LAND parcel coordinates
|
|
1606
|
+
* WalkPlayerTo will walk the player to a position relative to the current scene,
|
|
1607
|
+
* managed by the movement controller scene. Returns success when the player reaches
|
|
1608
|
+
* within stop_threshold distance, or false if the path is blocked, the player gets
|
|
1609
|
+
* stuck, the player interrupts the walk with manual input, or the optional timeout expires.
|
|
1610
|
+
*/
|
|
1611
|
+
walkPlayerTo: {
|
|
1612
|
+
name: "WalkPlayerTo",
|
|
1613
|
+
requestType: WalkPlayerToRequest,
|
|
1614
|
+
requestStream: false,
|
|
1615
|
+
responseType: WalkPlayerToResponse,
|
|
1616
|
+
responseStream: false,
|
|
1617
|
+
options: {},
|
|
1618
|
+
},
|
|
1619
|
+
teleportTo: {
|
|
1620
|
+
name: "TeleportTo",
|
|
1621
|
+
requestType: TeleportToRequest,
|
|
1622
|
+
requestStream: false,
|
|
1623
|
+
responseType: TeleportToResponse,
|
|
1624
|
+
responseStream: false,
|
|
1625
|
+
options: {},
|
|
1626
|
+
},
|
|
1627
|
+
/** TriggerEmote will trigger an emote in this current user */
|
|
1628
|
+
triggerEmote: {
|
|
1629
|
+
name: "TriggerEmote",
|
|
1630
|
+
requestType: TriggerEmoteRequest,
|
|
1631
|
+
requestStream: false,
|
|
1632
|
+
responseType: TriggerEmoteResponse,
|
|
1633
|
+
responseStream: false,
|
|
1634
|
+
options: {},
|
|
1635
|
+
},
|
|
1636
|
+
/**
|
|
1637
|
+
* @deprecated, use TeleportTo with `realm` (and no `world_coordinates` for the realm's default spawn)
|
|
1638
|
+
* ChangeRealm prompts the user to change to a specific realm
|
|
1639
|
+
*/
|
|
1640
|
+
changeRealm: {
|
|
1641
|
+
name: "ChangeRealm",
|
|
1642
|
+
requestType: ChangeRealmRequest,
|
|
1643
|
+
requestStream: false,
|
|
1644
|
+
responseType: SuccessResponse,
|
|
1645
|
+
responseStream: false,
|
|
1646
|
+
options: {},
|
|
1647
|
+
},
|
|
1648
|
+
/** OpenExternalUrl prompts the user to open an external link */
|
|
1649
|
+
openExternalUrl: {
|
|
1650
|
+
name: "OpenExternalUrl",
|
|
1651
|
+
requestType: OpenExternalUrlRequest,
|
|
1652
|
+
requestStream: false,
|
|
1653
|
+
responseType: SuccessResponse,
|
|
1654
|
+
responseStream: false,
|
|
1655
|
+
options: {},
|
|
1656
|
+
},
|
|
1657
|
+
/** OpenNftDialog opens an NFT dialog. */
|
|
1658
|
+
openNftDialog: {
|
|
1659
|
+
name: "OpenNftDialog",
|
|
1660
|
+
requestType: OpenNftDialogRequest,
|
|
1661
|
+
requestStream: false,
|
|
1662
|
+
responseType: SuccessResponse,
|
|
1663
|
+
responseStream: false,
|
|
696
1664
|
options: {},
|
|
697
1665
|
},
|
|
698
1666
|
/**
|
|
@@ -701,9 +1669,74 @@ exports.RestrictedActionsServiceDefinition = {
|
|
|
701
1669
|
*/
|
|
702
1670
|
setCommunicationsAdapter: {
|
|
703
1671
|
name: "SetCommunicationsAdapter",
|
|
704
|
-
requestType:
|
|
1672
|
+
requestType: CommsAdapterRequest,
|
|
1673
|
+
requestStream: false,
|
|
1674
|
+
responseType: SuccessResponse,
|
|
1675
|
+
responseStream: false,
|
|
1676
|
+
options: {},
|
|
1677
|
+
},
|
|
1678
|
+
/** TriggerSceneEmote will trigger an scene emote file in this current user */
|
|
1679
|
+
triggerSceneEmote: {
|
|
1680
|
+
name: "TriggerSceneEmote",
|
|
1681
|
+
requestType: TriggerSceneEmoteRequest,
|
|
1682
|
+
requestStream: false,
|
|
1683
|
+
responseType: SuccessResponse,
|
|
1684
|
+
responseStream: false,
|
|
1685
|
+
options: {},
|
|
1686
|
+
},
|
|
1687
|
+
/**
|
|
1688
|
+
* CopyToClipboard copies the provided text into the clipboard
|
|
1689
|
+
* Sets the focus to a specific UI element
|
|
1690
|
+
*/
|
|
1691
|
+
setUiFocus: {
|
|
1692
|
+
name: "SetUiFocus",
|
|
1693
|
+
requestType: SetUiFocusRequest,
|
|
1694
|
+
requestStream: false,
|
|
1695
|
+
responseType: UiFocusResponse,
|
|
1696
|
+
responseStream: false,
|
|
1697
|
+
options: {},
|
|
1698
|
+
},
|
|
1699
|
+
/** Clears the focus from any currently focused textentry or dropdown */
|
|
1700
|
+
clearUiFocus: {
|
|
1701
|
+
name: "ClearUiFocus",
|
|
1702
|
+
requestType: ClearUiFocusRequest,
|
|
1703
|
+
requestStream: false,
|
|
1704
|
+
responseType: UiFocusResponse,
|
|
1705
|
+
responseStream: false,
|
|
1706
|
+
options: {},
|
|
1707
|
+
},
|
|
1708
|
+
/** Returns the element_id of any currently focused textentry or dropdown */
|
|
1709
|
+
getUiFocus: {
|
|
1710
|
+
name: "GetUiFocus",
|
|
1711
|
+
requestType: GetUiFocusRequest,
|
|
1712
|
+
requestStream: false,
|
|
1713
|
+
responseType: UiFocusResponse,
|
|
1714
|
+
responseStream: false,
|
|
1715
|
+
options: {},
|
|
1716
|
+
},
|
|
1717
|
+
copyToClipboard: {
|
|
1718
|
+
name: "CopyToClipboard",
|
|
1719
|
+
requestType: CopyToClipboardRequest,
|
|
1720
|
+
requestStream: false,
|
|
1721
|
+
responseType: EmptyResponse,
|
|
1722
|
+
responseStream: false,
|
|
1723
|
+
options: {},
|
|
1724
|
+
},
|
|
1725
|
+
/** StopEmote will stop the current emote */
|
|
1726
|
+
stopEmote: {
|
|
1727
|
+
name: "StopEmote",
|
|
1728
|
+
requestType: StopEmoteRequest,
|
|
1729
|
+
requestStream: false,
|
|
1730
|
+
responseType: SuccessResponse,
|
|
1731
|
+
responseStream: false,
|
|
1732
|
+
options: {},
|
|
1733
|
+
},
|
|
1734
|
+
/** OpenExplorerUi opens an explorer panel, fullscreen or modal, and returns the open verdict. */
|
|
1735
|
+
openExplorerUi: {
|
|
1736
|
+
name: "OpenExplorerUi",
|
|
1737
|
+
requestType: OpenExplorerUiRequest,
|
|
705
1738
|
requestStream: false,
|
|
706
|
-
responseType:
|
|
1739
|
+
responseType: OpenExplorerUiResponse,
|
|
707
1740
|
responseStream: false,
|
|
708
1741
|
options: {},
|
|
709
1742
|
},
|