@dcl/protocol 1.0.0-4732850725.commit-c48ea0a → 1.0.0-47381439163.commit-e9ef0da
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 +296 -13
- package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
- package/out-js/decentraland/common/border_rect.gen.js +126 -25
- 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 +132 -47
- 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 +27 -20
- 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 +148 -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 +111 -88
- 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 +262 -111
- 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 +180 -65
- 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 +794 -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 +323 -37
- 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 +52 -38
- 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 +680 -1733
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +150 -690
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +458 -336
- 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 +329 -243
- 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 +227 -169
- 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 +117 -81
- 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 +157 -114
- 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 +279 -177
- 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 -577
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +1429 -322
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +130 -412
- package/out-js/decentraland/kernel/apis/runtime.gen.js +492 -269
- 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 +63 -47
- 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 +305 -116
- 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 +83 -61
- 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 +668 -195
- 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 +50 -36
- 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 +1905 -264
- 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 +354 -258
- 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 +233 -1004
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1247 -353
- 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 +678 -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 +2739 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +147 -538
- package/out-js/decentraland/realm/about.gen.js +580 -248
- package/out-js/decentraland/realm/about.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +19 -141
- package/out-js/decentraland/sdk/components/animator.gen.js +69 -74
- 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 +63 -24
- 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 +72 -22
- 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 +163 -23
- 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 +200 -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 +281 -27
- 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 +305 -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 +80 -40
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +17 -18
- package/out-js/decentraland/sdk/components/billboard.gen.js +45 -24
- 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 +81 -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 +25 -18
- 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 +172 -22
- 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 +23 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +94 -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 +31 -24
- 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 +60 -21
- 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 +159 -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 +165 -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 +253 -129
- 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 +239 -116
- 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 +165 -71
- 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 +45 -26
- 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 +22 -249
- package/out-js/decentraland/sdk/components/raycast.gen.js +124 -52
- 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 +46 -25
- 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 +59 -39
- 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 +203 -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 +124 -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 +40 -31
- 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 +52 -30
- 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 +25 -18
- 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 +72 -26
- 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 +82 -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 +42 -21
- 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 +127 -25
- 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 +709 -143
- 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 +70 -24
- 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 +7850 -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 +2521 -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 +9526 -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 +1719 -848
- 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/{bff-services.gen.js → quests.gen.js} +2 -2
- 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/decentraland/common/border_rect.gen.ts +128 -23
- package/out-ts/decentraland/common/colors.gen.ts +123 -44
- package/out-ts/decentraland/common/content_mapping.gen.ts +19 -19
- package/out-ts/decentraland/common/gradient.gen.ts +170 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +69 -69
- package/out-ts/decentraland/common/texture.gen.ts +235 -87
- package/out-ts/decentraland/common/vectors.gen.ts +165 -61
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +319 -32
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +34 -34
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +515 -1895
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +325 -292
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +238 -217
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +141 -141
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +85 -69
- package/out-ts/decentraland/kernel/apis/players.gen.ts +109 -97
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +201 -154
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +1418 -284
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +479 -267
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +38 -38
- package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +276 -99
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +53 -51
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +686 -164
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +34 -32
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +66 -62
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2120 -238
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +244 -213
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1205 -326
- 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/realm/about.gen.ts +588 -213
- package/out-ts/decentraland/sdk/components/animator.gen.ts +43 -66
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +69 -22
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +80 -20
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +151 -18
- 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 +321 -22
- 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 +98 -45
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +45 -21
- 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 +17 -17
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +199 -20
- package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
- package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +91 -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 +23 -23
- 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 +59 -19
- 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 +213 -98
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +211 -96
- 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 +188 -60
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +45 -26
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +110 -35
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +36 -21
- 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 +56 -38
- 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 +24 -23
- package/out-ts/decentraland/sdk/components/ui_canvas.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +44 -26
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +17 -17
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +79 -25
- package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +36 -19
- package/out-ts/decentraland/sdk/components/ui_scroll_result.gen.ts +83 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +143 -25
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +772 -113
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +81 -23
- 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 +1959 -618
- 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 +23 -11
- 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/permissions.proto +1 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +4 -1
- package/proto/decentraland/kernel/apis/restricted_actions.proto +119 -9
- package/proto/decentraland/kernel/apis/runtime.proto +22 -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 +73 -0
- 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 +69 -4
- 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 +9 -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 +17 -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 +12 -5
- 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 +13 -0
- 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/friendships/friendships.proto → social_service/v1/social_service_v1.proto} +73 -28
- 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/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 -253
- package/out-js/decentraland/bff/authentication_service.gen.js +0 -351
- 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 -4893
- package/out-js/decentraland/social/friendships/friendships.gen.js +0 -1399
- 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 -419
- 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/http_endpoints.gen.ts +0 -1058
- package/out-ts/decentraland/bff/topics_service.gen.ts +0 -468
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +0 -1680
- package/proto/buf.yaml +0 -47
- package/proto/decentraland/bff/authentication_service.proto +0 -39
- 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/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,62 +3,97 @@ 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.SuccessResponse = exports.CommsAdapterRequest = exports.UnblockPointerRequest = exports.OpenNftDialogRequest = exports.OpenExternalUrlRequest = exports.ChangeRealmRequest = exports.TriggerEmoteRequest = 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"));
|
|
9
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");
|
|
10
14
|
exports.protobufPackage = "decentraland.kernel.apis";
|
|
11
|
-
|
|
12
|
-
|
|
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
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function openExplorerUiResultToJSON(object) {
|
|
57
|
+
switch (object) {
|
|
58
|
+
case OpenExplorerUiResult.UNSPECIFIED:
|
|
59
|
+
return "UNSPECIFIED";
|
|
60
|
+
case OpenExplorerUiResult.OPENED:
|
|
61
|
+
return "OPENED";
|
|
62
|
+
case OpenExplorerUiResult.WAS_ALREADY_OPEN:
|
|
63
|
+
return "WAS_ALREADY_OPEN";
|
|
64
|
+
case OpenExplorerUiResult.REJECTED_NOT_CURRENT_SCENE:
|
|
65
|
+
return "REJECTED_NOT_CURRENT_SCENE";
|
|
66
|
+
case OpenExplorerUiResult.REJECTED_FEATURE_DISABLED:
|
|
67
|
+
return "REJECTED_FEATURE_DISABLED";
|
|
68
|
+
case OpenExplorerUiResult.REJECTED_NO_USER_GESTURE:
|
|
69
|
+
return "REJECTED_NO_USER_GESTURE";
|
|
70
|
+
case OpenExplorerUiResult.UNRECOGNIZED:
|
|
71
|
+
default:
|
|
72
|
+
return "UNRECOGNIZED";
|
|
73
|
+
}
|
|
13
74
|
}
|
|
14
|
-
exports.MovePlayerToResponse = {
|
|
15
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
16
|
-
return writer;
|
|
17
|
-
},
|
|
18
|
-
decode(input, length) {
|
|
19
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
20
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
21
|
-
const message = createBaseMovePlayerToResponse();
|
|
22
|
-
while (reader.pos < end) {
|
|
23
|
-
const tag = reader.uint32();
|
|
24
|
-
switch (tag >>> 3) {
|
|
25
|
-
}
|
|
26
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
27
|
-
break;
|
|
28
|
-
}
|
|
29
|
-
reader.skipType(tag & 7);
|
|
30
|
-
}
|
|
31
|
-
return message;
|
|
32
|
-
},
|
|
33
|
-
fromJSON(_) {
|
|
34
|
-
return {};
|
|
35
|
-
},
|
|
36
|
-
toJSON(_) {
|
|
37
|
-
const obj = {};
|
|
38
|
-
return obj;
|
|
39
|
-
},
|
|
40
|
-
create(base) {
|
|
41
|
-
return exports.MovePlayerToResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
42
|
-
},
|
|
43
|
-
fromPartial(_) {
|
|
44
|
-
const message = createBaseMovePlayerToResponse();
|
|
45
|
-
return message;
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
75
|
function createBaseMovePlayerToRequest() {
|
|
49
|
-
return { newRelativePosition: undefined, cameraTarget: undefined };
|
|
76
|
+
return { newRelativePosition: undefined, cameraTarget: undefined, avatarTarget: undefined, duration: undefined };
|
|
50
77
|
}
|
|
51
|
-
|
|
52
|
-
|
|
78
|
+
var MovePlayerToRequest;
|
|
79
|
+
(function (MovePlayerToRequest) {
|
|
80
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
53
81
|
if (message.newRelativePosition !== undefined) {
|
|
54
82
|
vectors_gen_1.Vector3.encode(message.newRelativePosition, writer.uint32(10).fork()).ldelim();
|
|
55
83
|
}
|
|
56
84
|
if (message.cameraTarget !== undefined) {
|
|
57
85
|
vectors_gen_1.Vector3.encode(message.cameraTarget, writer.uint32(18).fork()).ldelim();
|
|
58
86
|
}
|
|
87
|
+
if (message.avatarTarget !== undefined) {
|
|
88
|
+
vectors_gen_1.Vector3.encode(message.avatarTarget, writer.uint32(26).fork()).ldelim();
|
|
89
|
+
}
|
|
90
|
+
if (message.duration !== undefined) {
|
|
91
|
+
writer.uint32(37).float(message.duration);
|
|
92
|
+
}
|
|
59
93
|
return writer;
|
|
60
|
-
}
|
|
61
|
-
|
|
94
|
+
}
|
|
95
|
+
MovePlayerToRequest.encode = encode;
|
|
96
|
+
function decode(input, length) {
|
|
62
97
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
63
98
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
64
99
|
const message = createBaseMovePlayerToRequest();
|
|
@@ -66,43 +101,65 @@ exports.MovePlayerToRequest = {
|
|
|
66
101
|
const tag = reader.uint32();
|
|
67
102
|
switch (tag >>> 3) {
|
|
68
103
|
case 1:
|
|
69
|
-
if (tag
|
|
104
|
+
if (tag !== 10) {
|
|
70
105
|
break;
|
|
71
106
|
}
|
|
72
107
|
message.newRelativePosition = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
73
108
|
continue;
|
|
74
109
|
case 2:
|
|
75
|
-
if (tag
|
|
110
|
+
if (tag !== 18) {
|
|
76
111
|
break;
|
|
77
112
|
}
|
|
78
113
|
message.cameraTarget = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
79
114
|
continue;
|
|
115
|
+
case 3:
|
|
116
|
+
if (tag !== 26) {
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
message.avatarTarget = vectors_gen_1.Vector3.decode(reader, reader.uint32());
|
|
120
|
+
continue;
|
|
121
|
+
case 4:
|
|
122
|
+
if (tag !== 37) {
|
|
123
|
+
break;
|
|
124
|
+
}
|
|
125
|
+
message.duration = reader.float();
|
|
126
|
+
continue;
|
|
80
127
|
}
|
|
81
|
-
if ((tag & 7)
|
|
128
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
82
129
|
break;
|
|
83
130
|
}
|
|
84
131
|
reader.skipType(tag & 7);
|
|
85
132
|
}
|
|
86
133
|
return message;
|
|
87
|
-
}
|
|
88
|
-
|
|
134
|
+
}
|
|
135
|
+
MovePlayerToRequest.decode = decode;
|
|
136
|
+
function fromJSON(object) {
|
|
89
137
|
return {
|
|
90
138
|
newRelativePosition: isSet(object.newRelativePosition) ? vectors_gen_1.Vector3.fromJSON(object.newRelativePosition) : undefined,
|
|
91
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,
|
|
92
142
|
};
|
|
93
|
-
}
|
|
94
|
-
|
|
143
|
+
}
|
|
144
|
+
MovePlayerToRequest.fromJSON = fromJSON;
|
|
145
|
+
function toJSON(message) {
|
|
95
146
|
const obj = {};
|
|
96
147
|
message.newRelativePosition !== undefined &&
|
|
97
148
|
(obj.newRelativePosition = message.newRelativePosition ? vectors_gen_1.Vector3.toJSON(message.newRelativePosition) : undefined);
|
|
98
149
|
message.cameraTarget !== undefined &&
|
|
99
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);
|
|
100
154
|
return obj;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
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;
|
|
106
163
|
const message = createBaseMovePlayerToRequest();
|
|
107
164
|
message.newRelativePosition = (object.newRelativePosition !== undefined && object.newRelativePosition !== null)
|
|
108
165
|
? vectors_gen_1.Vector3.fromPartial(object.newRelativePosition)
|
|
@@ -110,23 +167,30 @@ exports.MovePlayerToRequest = {
|
|
|
110
167
|
message.cameraTarget = (object.cameraTarget !== undefined && object.cameraTarget !== null)
|
|
111
168
|
? vectors_gen_1.Vector3.fromPartial(object.cameraTarget)
|
|
112
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;
|
|
113
174
|
return message;
|
|
114
|
-
}
|
|
115
|
-
|
|
175
|
+
}
|
|
176
|
+
MovePlayerToRequest.fromPartial = fromPartial;
|
|
177
|
+
})(MovePlayerToRequest || (exports.MovePlayerToRequest = MovePlayerToRequest = {}));
|
|
116
178
|
function createBaseTeleportToRequest() {
|
|
117
|
-
return {
|
|
179
|
+
return { worldCoordinates: undefined, realm: undefined };
|
|
118
180
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
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();
|
|
123
186
|
}
|
|
124
|
-
if (message.
|
|
125
|
-
|
|
187
|
+
if (message.realm !== undefined) {
|
|
188
|
+
writer.uint32(18).string(message.realm);
|
|
126
189
|
}
|
|
127
190
|
return writer;
|
|
128
|
-
}
|
|
129
|
-
|
|
191
|
+
}
|
|
192
|
+
TeleportToRequest.encode = encode;
|
|
193
|
+
function decode(input, length) {
|
|
130
194
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
131
195
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
132
196
|
const message = createBaseTeleportToRequest();
|
|
@@ -134,101 +198,72 @@ exports.TeleportToRequest = {
|
|
|
134
198
|
const tag = reader.uint32();
|
|
135
199
|
switch (tag >>> 3) {
|
|
136
200
|
case 1:
|
|
137
|
-
if (tag
|
|
201
|
+
if (tag !== 10) {
|
|
138
202
|
break;
|
|
139
203
|
}
|
|
140
|
-
message.
|
|
204
|
+
message.worldCoordinates = vectors_gen_1.Vector2.decode(reader, reader.uint32());
|
|
141
205
|
continue;
|
|
142
206
|
case 2:
|
|
143
|
-
if (tag
|
|
207
|
+
if (tag !== 18) {
|
|
144
208
|
break;
|
|
145
209
|
}
|
|
146
|
-
message.
|
|
210
|
+
message.realm = reader.string();
|
|
147
211
|
continue;
|
|
148
212
|
}
|
|
149
|
-
if ((tag & 7)
|
|
213
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
150
214
|
break;
|
|
151
215
|
}
|
|
152
216
|
reader.skipType(tag & 7);
|
|
153
217
|
}
|
|
154
218
|
return message;
|
|
155
|
-
}
|
|
156
|
-
|
|
219
|
+
}
|
|
220
|
+
TeleportToRequest.decode = decode;
|
|
221
|
+
function fromJSON(object) {
|
|
157
222
|
return {
|
|
158
|
-
|
|
159
|
-
|
|
223
|
+
worldCoordinates: isSet(object.worldCoordinates) ? vectors_gen_1.Vector2.fromJSON(object.worldCoordinates) : undefined,
|
|
224
|
+
realm: isSet(object.realm) ? String(object.realm) : undefined,
|
|
160
225
|
};
|
|
161
|
-
}
|
|
162
|
-
|
|
226
|
+
}
|
|
227
|
+
TeleportToRequest.fromJSON = fromJSON;
|
|
228
|
+
function toJSON(message) {
|
|
163
229
|
const obj = {};
|
|
164
|
-
message.
|
|
165
|
-
(obj.
|
|
166
|
-
message.
|
|
167
|
-
(obj.cameraTarget = message.cameraTarget ? vectors_gen_1.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);
|
|
168
233
|
return obj;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
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;
|
|
174
242
|
const message = createBaseTeleportToRequest();
|
|
175
|
-
message.
|
|
176
|
-
? vectors_gen_1.
|
|
177
|
-
: undefined;
|
|
178
|
-
message.cameraTarget = (object.cameraTarget !== undefined && object.cameraTarget !== null)
|
|
179
|
-
? vectors_gen_1.Vector3.fromPartial(object.cameraTarget)
|
|
243
|
+
message.worldCoordinates = (object.worldCoordinates !== undefined && object.worldCoordinates !== null)
|
|
244
|
+
? vectors_gen_1.Vector2.fromPartial(object.worldCoordinates)
|
|
180
245
|
: undefined;
|
|
246
|
+
message.realm = (_a = object.realm) !== null && _a !== void 0 ? _a : undefined;
|
|
181
247
|
return message;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
return {};
|
|
186
|
-
}
|
|
187
|
-
exports.TriggerEmoteResponse = {
|
|
188
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
189
|
-
return writer;
|
|
190
|
-
},
|
|
191
|
-
decode(input, length) {
|
|
192
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
193
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
194
|
-
const message = createBaseTriggerEmoteResponse();
|
|
195
|
-
while (reader.pos < end) {
|
|
196
|
-
const tag = reader.uint32();
|
|
197
|
-
switch (tag >>> 3) {
|
|
198
|
-
}
|
|
199
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
200
|
-
break;
|
|
201
|
-
}
|
|
202
|
-
reader.skipType(tag & 7);
|
|
203
|
-
}
|
|
204
|
-
return message;
|
|
205
|
-
},
|
|
206
|
-
fromJSON(_) {
|
|
207
|
-
return {};
|
|
208
|
-
},
|
|
209
|
-
toJSON(_) {
|
|
210
|
-
const obj = {};
|
|
211
|
-
return obj;
|
|
212
|
-
},
|
|
213
|
-
create(base) {
|
|
214
|
-
return exports.TriggerEmoteResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
215
|
-
},
|
|
216
|
-
fromPartial(_) {
|
|
217
|
-
const message = createBaseTriggerEmoteResponse();
|
|
218
|
-
return message;
|
|
219
|
-
},
|
|
220
|
-
};
|
|
248
|
+
}
|
|
249
|
+
TeleportToRequest.fromPartial = fromPartial;
|
|
250
|
+
})(TeleportToRequest || (exports.TeleportToRequest = TeleportToRequest = {}));
|
|
221
251
|
function createBaseTriggerEmoteRequest() {
|
|
222
|
-
return { predefinedEmote: "" };
|
|
252
|
+
return { predefinedEmote: "", mask: undefined };
|
|
223
253
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
254
|
+
var TriggerEmoteRequest;
|
|
255
|
+
(function (TriggerEmoteRequest) {
|
|
256
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
257
|
+
if (message.predefinedEmote !== undefined && message.predefinedEmote !== "") {
|
|
227
258
|
writer.uint32(10).string(message.predefinedEmote);
|
|
228
259
|
}
|
|
260
|
+
if (message.mask !== undefined) {
|
|
261
|
+
writer.uint32(16).int32(message.mask);
|
|
262
|
+
}
|
|
229
263
|
return writer;
|
|
230
|
-
}
|
|
231
|
-
|
|
264
|
+
}
|
|
265
|
+
TriggerEmoteRequest.encode = encode;
|
|
266
|
+
function decode(input, length) {
|
|
232
267
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
233
268
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
234
269
|
const message = createBaseTriggerEmoteRequest();
|
|
@@ -236,51 +271,69 @@ exports.TriggerEmoteRequest = {
|
|
|
236
271
|
const tag = reader.uint32();
|
|
237
272
|
switch (tag >>> 3) {
|
|
238
273
|
case 1:
|
|
239
|
-
if (tag
|
|
274
|
+
if (tag !== 10) {
|
|
240
275
|
break;
|
|
241
276
|
}
|
|
242
277
|
message.predefinedEmote = reader.string();
|
|
243
278
|
continue;
|
|
279
|
+
case 2:
|
|
280
|
+
if (tag !== 16) {
|
|
281
|
+
break;
|
|
282
|
+
}
|
|
283
|
+
message.mask = reader.int32();
|
|
284
|
+
continue;
|
|
244
285
|
}
|
|
245
|
-
if ((tag & 7)
|
|
286
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
246
287
|
break;
|
|
247
288
|
}
|
|
248
289
|
reader.skipType(tag & 7);
|
|
249
290
|
}
|
|
250
291
|
return message;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
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) {
|
|
256
302
|
const obj = {};
|
|
257
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);
|
|
258
305
|
return obj;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
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;
|
|
265
314
|
const message = createBaseTriggerEmoteRequest();
|
|
266
315
|
message.predefinedEmote = (_a = object.predefinedEmote) !== null && _a !== void 0 ? _a : "";
|
|
316
|
+
message.mask = (_b = object.mask) !== null && _b !== void 0 ? _b : undefined;
|
|
267
317
|
return message;
|
|
268
|
-
}
|
|
269
|
-
|
|
318
|
+
}
|
|
319
|
+
TriggerEmoteRequest.fromPartial = fromPartial;
|
|
320
|
+
})(TriggerEmoteRequest || (exports.TriggerEmoteRequest = TriggerEmoteRequest = {}));
|
|
270
321
|
function createBaseChangeRealmRequest() {
|
|
271
322
|
return { realm: "", message: undefined };
|
|
272
323
|
}
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
324
|
+
var ChangeRealmRequest;
|
|
325
|
+
(function (ChangeRealmRequest) {
|
|
326
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
327
|
+
if (message.realm !== undefined && message.realm !== "") {
|
|
276
328
|
writer.uint32(10).string(message.realm);
|
|
277
329
|
}
|
|
278
330
|
if (message.message !== undefined) {
|
|
279
331
|
writer.uint32(18).string(message.message);
|
|
280
332
|
}
|
|
281
333
|
return writer;
|
|
282
|
-
}
|
|
283
|
-
|
|
334
|
+
}
|
|
335
|
+
ChangeRealmRequest.encode = encode;
|
|
336
|
+
function decode(input, length) {
|
|
284
337
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
285
338
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
286
339
|
const message = createBaseChangeRealmRequest();
|
|
@@ -288,59 +341,66 @@ exports.ChangeRealmRequest = {
|
|
|
288
341
|
const tag = reader.uint32();
|
|
289
342
|
switch (tag >>> 3) {
|
|
290
343
|
case 1:
|
|
291
|
-
if (tag
|
|
344
|
+
if (tag !== 10) {
|
|
292
345
|
break;
|
|
293
346
|
}
|
|
294
347
|
message.realm = reader.string();
|
|
295
348
|
continue;
|
|
296
349
|
case 2:
|
|
297
|
-
if (tag
|
|
350
|
+
if (tag !== 18) {
|
|
298
351
|
break;
|
|
299
352
|
}
|
|
300
353
|
message.message = reader.string();
|
|
301
354
|
continue;
|
|
302
355
|
}
|
|
303
|
-
if ((tag & 7)
|
|
356
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
304
357
|
break;
|
|
305
358
|
}
|
|
306
359
|
reader.skipType(tag & 7);
|
|
307
360
|
}
|
|
308
361
|
return message;
|
|
309
|
-
}
|
|
310
|
-
|
|
362
|
+
}
|
|
363
|
+
ChangeRealmRequest.decode = decode;
|
|
364
|
+
function fromJSON(object) {
|
|
311
365
|
return {
|
|
312
366
|
realm: isSet(object.realm) ? String(object.realm) : "",
|
|
313
367
|
message: isSet(object.message) ? String(object.message) : undefined,
|
|
314
368
|
};
|
|
315
|
-
}
|
|
316
|
-
|
|
369
|
+
}
|
|
370
|
+
ChangeRealmRequest.fromJSON = fromJSON;
|
|
371
|
+
function toJSON(message) {
|
|
317
372
|
const obj = {};
|
|
318
373
|
message.realm !== undefined && (obj.realm = message.realm);
|
|
319
374
|
message.message !== undefined && (obj.message = message.message);
|
|
320
375
|
return obj;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
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) {
|
|
326
383
|
var _a, _b;
|
|
327
384
|
const message = createBaseChangeRealmRequest();
|
|
328
385
|
message.realm = (_a = object.realm) !== null && _a !== void 0 ? _a : "";
|
|
329
386
|
message.message = (_b = object.message) !== null && _b !== void 0 ? _b : undefined;
|
|
330
387
|
return message;
|
|
331
|
-
}
|
|
332
|
-
|
|
388
|
+
}
|
|
389
|
+
ChangeRealmRequest.fromPartial = fromPartial;
|
|
390
|
+
})(ChangeRealmRequest || (exports.ChangeRealmRequest = ChangeRealmRequest = {}));
|
|
333
391
|
function createBaseOpenExternalUrlRequest() {
|
|
334
392
|
return { url: "" };
|
|
335
393
|
}
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
394
|
+
var OpenExternalUrlRequest;
|
|
395
|
+
(function (OpenExternalUrlRequest) {
|
|
396
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
397
|
+
if (message.url !== undefined && message.url !== "") {
|
|
339
398
|
writer.uint32(10).string(message.url);
|
|
340
399
|
}
|
|
341
400
|
return writer;
|
|
342
|
-
}
|
|
343
|
-
|
|
401
|
+
}
|
|
402
|
+
OpenExternalUrlRequest.encode = encode;
|
|
403
|
+
function decode(input, length) {
|
|
344
404
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
345
405
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
346
406
|
const message = createBaseOpenExternalUrlRequest();
|
|
@@ -348,48 +408,55 @@ exports.OpenExternalUrlRequest = {
|
|
|
348
408
|
const tag = reader.uint32();
|
|
349
409
|
switch (tag >>> 3) {
|
|
350
410
|
case 1:
|
|
351
|
-
if (tag
|
|
411
|
+
if (tag !== 10) {
|
|
352
412
|
break;
|
|
353
413
|
}
|
|
354
414
|
message.url = reader.string();
|
|
355
415
|
continue;
|
|
356
416
|
}
|
|
357
|
-
if ((tag & 7)
|
|
417
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
358
418
|
break;
|
|
359
419
|
}
|
|
360
420
|
reader.skipType(tag & 7);
|
|
361
421
|
}
|
|
362
422
|
return message;
|
|
363
|
-
}
|
|
364
|
-
|
|
423
|
+
}
|
|
424
|
+
OpenExternalUrlRequest.decode = decode;
|
|
425
|
+
function fromJSON(object) {
|
|
365
426
|
return { url: isSet(object.url) ? String(object.url) : "" };
|
|
366
|
-
}
|
|
367
|
-
|
|
427
|
+
}
|
|
428
|
+
OpenExternalUrlRequest.fromJSON = fromJSON;
|
|
429
|
+
function toJSON(message) {
|
|
368
430
|
const obj = {};
|
|
369
431
|
message.url !== undefined && (obj.url = message.url);
|
|
370
432
|
return obj;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
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) {
|
|
376
440
|
var _a;
|
|
377
441
|
const message = createBaseOpenExternalUrlRequest();
|
|
378
442
|
message.url = (_a = object.url) !== null && _a !== void 0 ? _a : "";
|
|
379
443
|
return message;
|
|
380
|
-
}
|
|
381
|
-
|
|
444
|
+
}
|
|
445
|
+
OpenExternalUrlRequest.fromPartial = fromPartial;
|
|
446
|
+
})(OpenExternalUrlRequest || (exports.OpenExternalUrlRequest = OpenExternalUrlRequest = {}));
|
|
382
447
|
function createBaseOpenNftDialogRequest() {
|
|
383
448
|
return { urn: "" };
|
|
384
449
|
}
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
450
|
+
var OpenNftDialogRequest;
|
|
451
|
+
(function (OpenNftDialogRequest) {
|
|
452
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
453
|
+
if (message.urn !== undefined && message.urn !== "") {
|
|
388
454
|
writer.uint32(10).string(message.urn);
|
|
389
455
|
}
|
|
390
456
|
return writer;
|
|
391
|
-
}
|
|
392
|
-
|
|
457
|
+
}
|
|
458
|
+
OpenNftDialogRequest.encode = encode;
|
|
459
|
+
function decode(input, length) {
|
|
393
460
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
394
461
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
395
462
|
const message = createBaseOpenNftDialogRequest();
|
|
@@ -397,45 +464,52 @@ exports.OpenNftDialogRequest = {
|
|
|
397
464
|
const tag = reader.uint32();
|
|
398
465
|
switch (tag >>> 3) {
|
|
399
466
|
case 1:
|
|
400
|
-
if (tag
|
|
467
|
+
if (tag !== 10) {
|
|
401
468
|
break;
|
|
402
469
|
}
|
|
403
470
|
message.urn = reader.string();
|
|
404
471
|
continue;
|
|
405
472
|
}
|
|
406
|
-
if ((tag & 7)
|
|
473
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
407
474
|
break;
|
|
408
475
|
}
|
|
409
476
|
reader.skipType(tag & 7);
|
|
410
477
|
}
|
|
411
478
|
return message;
|
|
412
|
-
}
|
|
413
|
-
|
|
479
|
+
}
|
|
480
|
+
OpenNftDialogRequest.decode = decode;
|
|
481
|
+
function fromJSON(object) {
|
|
414
482
|
return { urn: isSet(object.urn) ? String(object.urn) : "" };
|
|
415
|
-
}
|
|
416
|
-
|
|
483
|
+
}
|
|
484
|
+
OpenNftDialogRequest.fromJSON = fromJSON;
|
|
485
|
+
function toJSON(message) {
|
|
417
486
|
const obj = {};
|
|
418
487
|
message.urn !== undefined && (obj.urn = message.urn);
|
|
419
488
|
return obj;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
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) {
|
|
425
496
|
var _a;
|
|
426
497
|
const message = createBaseOpenNftDialogRequest();
|
|
427
498
|
message.urn = (_a = object.urn) !== null && _a !== void 0 ? _a : "";
|
|
428
499
|
return message;
|
|
429
|
-
}
|
|
430
|
-
|
|
500
|
+
}
|
|
501
|
+
OpenNftDialogRequest.fromPartial = fromPartial;
|
|
502
|
+
})(OpenNftDialogRequest || (exports.OpenNftDialogRequest = OpenNftDialogRequest = {}));
|
|
431
503
|
function createBaseUnblockPointerRequest() {
|
|
432
504
|
return {};
|
|
433
505
|
}
|
|
434
|
-
|
|
435
|
-
|
|
506
|
+
var UnblockPointerRequest;
|
|
507
|
+
(function (UnblockPointerRequest) {
|
|
508
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
436
509
|
return writer;
|
|
437
|
-
}
|
|
438
|
-
|
|
510
|
+
}
|
|
511
|
+
UnblockPointerRequest.encode = encode;
|
|
512
|
+
function decode(input, length) {
|
|
439
513
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
440
514
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
441
515
|
const message = createBaseUnblockPointerRequest();
|
|
@@ -443,39 +517,46 @@ exports.UnblockPointerRequest = {
|
|
|
443
517
|
const tag = reader.uint32();
|
|
444
518
|
switch (tag >>> 3) {
|
|
445
519
|
}
|
|
446
|
-
if ((tag & 7)
|
|
520
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
447
521
|
break;
|
|
448
522
|
}
|
|
449
523
|
reader.skipType(tag & 7);
|
|
450
524
|
}
|
|
451
525
|
return message;
|
|
452
|
-
}
|
|
453
|
-
|
|
526
|
+
}
|
|
527
|
+
UnblockPointerRequest.decode = decode;
|
|
528
|
+
function fromJSON(_) {
|
|
454
529
|
return {};
|
|
455
|
-
}
|
|
456
|
-
|
|
530
|
+
}
|
|
531
|
+
UnblockPointerRequest.fromJSON = fromJSON;
|
|
532
|
+
function toJSON(_) {
|
|
457
533
|
const obj = {};
|
|
458
534
|
return obj;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
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(_) {
|
|
464
542
|
const message = createBaseUnblockPointerRequest();
|
|
465
543
|
return message;
|
|
466
|
-
}
|
|
467
|
-
|
|
544
|
+
}
|
|
545
|
+
UnblockPointerRequest.fromPartial = fromPartial;
|
|
546
|
+
})(UnblockPointerRequest || (exports.UnblockPointerRequest = UnblockPointerRequest = {}));
|
|
468
547
|
function createBaseCommsAdapterRequest() {
|
|
469
548
|
return { connectionString: "" };
|
|
470
549
|
}
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
550
|
+
var CommsAdapterRequest;
|
|
551
|
+
(function (CommsAdapterRequest) {
|
|
552
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
553
|
+
if (message.connectionString !== undefined && message.connectionString !== "") {
|
|
474
554
|
writer.uint32(10).string(message.connectionString);
|
|
475
555
|
}
|
|
476
556
|
return writer;
|
|
477
|
-
}
|
|
478
|
-
|
|
557
|
+
}
|
|
558
|
+
CommsAdapterRequest.encode = encode;
|
|
559
|
+
function decode(input, length) {
|
|
479
560
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
480
561
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
481
562
|
const message = createBaseCommsAdapterRequest();
|
|
@@ -483,48 +564,137 @@ exports.CommsAdapterRequest = {
|
|
|
483
564
|
const tag = reader.uint32();
|
|
484
565
|
switch (tag >>> 3) {
|
|
485
566
|
case 1:
|
|
486
|
-
if (tag
|
|
567
|
+
if (tag !== 10) {
|
|
487
568
|
break;
|
|
488
569
|
}
|
|
489
570
|
message.connectionString = reader.string();
|
|
490
571
|
continue;
|
|
491
572
|
}
|
|
492
|
-
if ((tag & 7)
|
|
573
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
493
574
|
break;
|
|
494
575
|
}
|
|
495
576
|
reader.skipType(tag & 7);
|
|
496
577
|
}
|
|
497
578
|
return message;
|
|
498
|
-
}
|
|
499
|
-
|
|
579
|
+
}
|
|
580
|
+
CommsAdapterRequest.decode = decode;
|
|
581
|
+
function fromJSON(object) {
|
|
500
582
|
return { connectionString: isSet(object.connectionString) ? String(object.connectionString) : "" };
|
|
501
|
-
}
|
|
502
|
-
|
|
583
|
+
}
|
|
584
|
+
CommsAdapterRequest.fromJSON = fromJSON;
|
|
585
|
+
function toJSON(message) {
|
|
503
586
|
const obj = {};
|
|
504
587
|
message.connectionString !== undefined && (obj.connectionString = message.connectionString);
|
|
505
588
|
return obj;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
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) {
|
|
511
596
|
var _a;
|
|
512
597
|
const message = createBaseCommsAdapterRequest();
|
|
513
598
|
message.connectionString = (_a = object.connectionString) !== null && _a !== void 0 ? _a : "";
|
|
514
599
|
return message;
|
|
515
|
-
}
|
|
516
|
-
|
|
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 !== undefined && 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 = {}));
|
|
517
685
|
function createBaseSuccessResponse() {
|
|
518
686
|
return { success: false };
|
|
519
687
|
}
|
|
520
|
-
|
|
521
|
-
|
|
688
|
+
var SuccessResponse;
|
|
689
|
+
(function (SuccessResponse) {
|
|
690
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
522
691
|
if (message.success === true) {
|
|
523
692
|
writer.uint32(8).bool(message.success);
|
|
524
693
|
}
|
|
525
694
|
return writer;
|
|
526
|
-
}
|
|
527
|
-
|
|
695
|
+
}
|
|
696
|
+
SuccessResponse.encode = encode;
|
|
697
|
+
function decode(input, length) {
|
|
528
698
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
529
699
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
530
700
|
const message = createBaseSuccessResponse();
|
|
@@ -532,104 +702,1041 @@ exports.SuccessResponse = {
|
|
|
532
702
|
const tag = reader.uint32();
|
|
533
703
|
switch (tag >>> 3) {
|
|
534
704
|
case 1:
|
|
535
|
-
if (tag
|
|
705
|
+
if (tag !== 8) {
|
|
536
706
|
break;
|
|
537
707
|
}
|
|
538
708
|
message.success = reader.bool();
|
|
539
709
|
continue;
|
|
540
710
|
}
|
|
541
|
-
if ((tag & 7)
|
|
711
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
542
712
|
break;
|
|
543
713
|
}
|
|
544
714
|
reader.skipType(tag & 7);
|
|
545
715
|
}
|
|
546
716
|
return message;
|
|
547
|
-
}
|
|
548
|
-
|
|
717
|
+
}
|
|
718
|
+
SuccessResponse.decode = decode;
|
|
719
|
+
function fromJSON(object) {
|
|
549
720
|
return { success: isSet(object.success) ? Boolean(object.success) : false };
|
|
550
|
-
}
|
|
551
|
-
|
|
721
|
+
}
|
|
722
|
+
SuccessResponse.fromJSON = fromJSON;
|
|
723
|
+
function toJSON(message) {
|
|
552
724
|
const obj = {};
|
|
553
725
|
message.success !== undefined && (obj.success = message.success);
|
|
554
726
|
return obj;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
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) {
|
|
560
734
|
var _a;
|
|
561
735
|
const message = createBaseSuccessResponse();
|
|
562
736
|
message.success = (_a = object.success) !== null && _a !== void 0 ? _a : false;
|
|
563
737
|
return message;
|
|
564
|
-
}
|
|
565
|
-
|
|
566
|
-
exports.
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
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 !== undefined && 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 !== undefined && 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 !== undefined && 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 !== undefined && 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 !== undefined && 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 !== undefined && 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,
|
|
1664
|
+
options: {},
|
|
1665
|
+
},
|
|
1666
|
+
/**
|
|
1667
|
+
* Asks the explorer to connect to other communications adapter, this feature
|
|
1668
|
+
* can be used to join private game servers
|
|
1669
|
+
*/
|
|
1670
|
+
setCommunicationsAdapter: {
|
|
1671
|
+
name: "SetCommunicationsAdapter",
|
|
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,
|
|
631
1738
|
requestStream: false,
|
|
632
|
-
responseType:
|
|
1739
|
+
responseType: OpenExplorerUiResponse,
|
|
633
1740
|
responseStream: false,
|
|
634
1741
|
options: {},
|
|
635
1742
|
},
|