@dcl/protocol 1.0.0-4671230683.commit-a8d74c3 → 1.0.0-47167692990.commit-12a6a30
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/about.gen.d.ts +1 -0
- package/out-js/{bff-services.gen.js → about.gen.js} +2 -2
- package/out-js/about.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
- package/out-js/decentraland/common/border_rect.gen.js +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 +288 -748
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1494 -555
- 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 +229 -0
- package/out-js/decentraland/realm/about.gen.js +1189 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +19 -141
- package/out-js/decentraland/sdk/components/animator.gen.js +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 +21 -19
- package/out-js/decentraland/sdk/components/billboard.gen.js +49 -25
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_layer.gen.d.ts +46 -0
- package/out-js/decentraland/sdk/components/camera_layer.gen.js +162 -0
- package/out-js/decentraland/sdk/components/camera_layer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/camera_layers.gen.js +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 +255 -131
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +62 -226
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +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 +23 -250
- 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/quests.gen.js +6 -0
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +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 +1517 -583
- package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +797 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/{bff/http_endpoints.gen.ts → realm/about.gen.ts} +589 -232
- 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 +49 -22
- package/out-ts/decentraland/sdk/components/camera_layer.gen.ts +202 -0
- package/out-ts/decentraland/sdk/components/camera_layers.gen.ts +92 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +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 +215 -100
- 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 +111 -36
- 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 +120 -34
- package/proto/decentraland/pulse/pulse_client.proto +147 -0
- package/proto/decentraland/pulse/pulse_clusters.proto +94 -0
- package/proto/decentraland/pulse/pulse_server.proto +217 -0
- package/proto/decentraland/pulse/pulse_shared.proto +57 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +138 -0
- package/proto/decentraland/sdk/components/animator.proto +9 -4
- package/proto/decentraland/sdk/components/asset_load.proto +10 -0
- package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
- package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +10 -2
- package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +26 -3
- package/proto/decentraland/sdk/components/avatar_base.proto +16 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +23 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_movement.proto +63 -0
- package/proto/decentraland/sdk/components/avatar_movement_info.proto +38 -0
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +35 -17
- package/proto/decentraland/sdk/components/billboard.proto +11 -3
- package/proto/decentraland/sdk/components/camera_layer.proto +30 -0
- package/proto/decentraland/sdk/components/camera_layers.proto +11 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +18 -1
- package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
- package/proto/decentraland/sdk/components/common/explorer_ui.proto +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 +13 -6
- package/proto/decentraland/sdk/components/mesh_renderer.proto +10 -5
- package/proto/decentraland/sdk/components/nft_shape.proto +3 -3
- package/proto/decentraland/sdk/components/particle_system.proto +133 -0
- package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
- package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +33 -2
- package/proto/decentraland/sdk/components/pointer_events_result.proto +2 -1
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +44 -0
- package/proto/decentraland/sdk/components/raycast.proto +14 -1
- package/proto/decentraland/sdk/components/raycast_result.proto +1 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox.proto +51 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/sun.proto +26 -0
- package/proto/decentraland/sdk/components/text_shape.proto +1 -0
- package/proto/decentraland/sdk/components/texture_camera.proto +46 -0
- package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
- package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
- package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
- package/proto/decentraland/sdk/components/tween.proto +117 -0
- package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
- package/proto/decentraland/sdk/components/tween_state.proto +18 -0
- package/proto/decentraland/sdk/components/ui_background.proto +2 -2
- package/proto/decentraland/sdk/components/ui_canvas.proto +16 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +1 -0
- package/proto/decentraland/sdk/components/ui_input.proto +3 -0
- package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +1 -0
- package/proto/decentraland/sdk/components/ui_layout_feedback.proto +28 -0
- package/proto/decentraland/sdk/components/ui_scroll_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +15 -3
- package/proto/decentraland/sdk/components/ui_transform.proto +57 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +8 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social_service/errors.proto +30 -0
- package/proto/decentraland/{social/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/about.proto +5 -0
- package/public/comms.proto +2 -1
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +2 -0
- package/public/sdk-components.proto +48 -19
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +3 -1
- package/out-js/bff-services.gen.d.ts +0 -1
- package/out-js/bff-services.gen.js.map +0 -1
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -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/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,166 +3,13 @@ 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.EngineApiServiceDefinition = exports.CrdtMessageFromRendererResponse = exports.CrdtMessageFromRendererRequest = exports.CrdtGetStateResponse = exports.CrdtGetStateRequest = exports.CrdtSendToResponse = exports.CrdtSendToRendererRequest = exports.EventData = exports.RotationChangedPayload = exports.PositionChangedPayload = exports.ReadOnlyQuaternion = exports.ReadOnlyVector3 = exports.GenericPayload = exports.UnsubscribeResponse = exports.SubscribeResponse = exports.SubscribeRequest = exports.UnsubscribeRequest = exports.SendBatchResponse = exports.ManyEntityAction = exports.
|
|
6
|
+
exports.EngineApiServiceDefinition = exports.IsServerResponse = exports.IsServerRequest = exports.CrdtMessageFromRendererResponse = exports.CrdtMessageFromRendererRequest = exports.CrdtGetStateResponse = exports.CrdtGetStateRequest = exports.CrdtSendToResponse = exports.CrdtSendToRendererRequest = exports.EventData = exports.RotationChangedPayload = exports.PositionChangedPayload = exports.ReadOnlyQuaternion = exports.ReadOnlyVector3 = exports.GenericPayload = exports.UnsubscribeResponse = exports.SubscribeResponse = exports.SubscribeRequest = exports.UnsubscribeRequest = exports.SendBatchResponse = exports.ManyEntityAction = exports.EventDataType = exports.protobufPackage = void 0;
|
|
7
|
+
exports.eventDataTypeFromJSON = eventDataTypeFromJSON;
|
|
8
|
+
exports.eventDataTypeToJSON = eventDataTypeToJSON;
|
|
7
9
|
/* eslint-disable */
|
|
8
10
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
11
|
+
const engine_interface_ecs6_gen_1 = require("../../sdk/ecs6/engine_interface_ecs6.gen");
|
|
9
12
|
exports.protobufPackage = "decentraland.kernel.apis";
|
|
10
|
-
var QueryType;
|
|
11
|
-
(function (QueryType) {
|
|
12
|
-
QueryType[QueryType["QT_INVALID_QUERY_TYPE"] = 0] = "QT_INVALID_QUERY_TYPE";
|
|
13
|
-
QueryType[QueryType["QT_HIT_FIRST"] = 1] = "QT_HIT_FIRST";
|
|
14
|
-
QueryType[QueryType["QT_HIT_ALL"] = 2] = "QT_HIT_ALL";
|
|
15
|
-
QueryType[QueryType["QT_HIT_FIRST_AVATAR"] = 3] = "QT_HIT_FIRST_AVATAR";
|
|
16
|
-
QueryType[QueryType["QT_HIT_ALL_AVATARS"] = 4] = "QT_HIT_ALL_AVATARS";
|
|
17
|
-
QueryType[QueryType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
18
|
-
})(QueryType = exports.QueryType || (exports.QueryType = {}));
|
|
19
|
-
function queryTypeFromJSON(object) {
|
|
20
|
-
switch (object) {
|
|
21
|
-
case 0:
|
|
22
|
-
case "QT_INVALID_QUERY_TYPE":
|
|
23
|
-
return QueryType.QT_INVALID_QUERY_TYPE;
|
|
24
|
-
case 1:
|
|
25
|
-
case "QT_HIT_FIRST":
|
|
26
|
-
return QueryType.QT_HIT_FIRST;
|
|
27
|
-
case 2:
|
|
28
|
-
case "QT_HIT_ALL":
|
|
29
|
-
return QueryType.QT_HIT_ALL;
|
|
30
|
-
case 3:
|
|
31
|
-
case "QT_HIT_FIRST_AVATAR":
|
|
32
|
-
return QueryType.QT_HIT_FIRST_AVATAR;
|
|
33
|
-
case 4:
|
|
34
|
-
case "QT_HIT_ALL_AVATARS":
|
|
35
|
-
return QueryType.QT_HIT_ALL_AVATARS;
|
|
36
|
-
case -1:
|
|
37
|
-
case "UNRECOGNIZED":
|
|
38
|
-
default:
|
|
39
|
-
return QueryType.UNRECOGNIZED;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.queryTypeFromJSON = queryTypeFromJSON;
|
|
43
|
-
function queryTypeToJSON(object) {
|
|
44
|
-
switch (object) {
|
|
45
|
-
case QueryType.QT_INVALID_QUERY_TYPE:
|
|
46
|
-
return "QT_INVALID_QUERY_TYPE";
|
|
47
|
-
case QueryType.QT_HIT_FIRST:
|
|
48
|
-
return "QT_HIT_FIRST";
|
|
49
|
-
case QueryType.QT_HIT_ALL:
|
|
50
|
-
return "QT_HIT_ALL";
|
|
51
|
-
case QueryType.QT_HIT_FIRST_AVATAR:
|
|
52
|
-
return "QT_HIT_FIRST_AVATAR";
|
|
53
|
-
case QueryType.QT_HIT_ALL_AVATARS:
|
|
54
|
-
return "QT_HIT_ALL_AVATARS";
|
|
55
|
-
case QueryType.UNRECOGNIZED:
|
|
56
|
-
default:
|
|
57
|
-
return "UNRECOGNIZED";
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
exports.queryTypeToJSON = queryTypeToJSON;
|
|
61
|
-
var EAType;
|
|
62
|
-
(function (EAType) {
|
|
63
|
-
EAType[EAType["EAT_INVALID_EA_TYPE"] = 0] = "EAT_INVALID_EA_TYPE";
|
|
64
|
-
EAType[EAType["EAT_OPEN_EXTERNAL_URL"] = 1] = "EAT_OPEN_EXTERNAL_URL";
|
|
65
|
-
EAType[EAType["EAT_OPEN_NFT_DIALOG"] = 2] = "EAT_OPEN_NFT_DIALOG";
|
|
66
|
-
EAType[EAType["EAT_CREATE_ENTITY"] = 3] = "EAT_CREATE_ENTITY";
|
|
67
|
-
EAType[EAType["EAT_REMOVE_ENTITY"] = 4] = "EAT_REMOVE_ENTITY";
|
|
68
|
-
EAType[EAType["EAT_UPDATE_ENTITY_COMPONENT"] = 5] = "EAT_UPDATE_ENTITY_COMPONENT";
|
|
69
|
-
EAType[EAType["EAT_ATTACH_ENTITY_COMPONENT"] = 6] = "EAT_ATTACH_ENTITY_COMPONENT";
|
|
70
|
-
EAType[EAType["EAT_COMPONENT_REMOVED"] = 7] = "EAT_COMPONENT_REMOVED";
|
|
71
|
-
EAType[EAType["EAT_SET_ENTITY_PARENT"] = 8] = "EAT_SET_ENTITY_PARENT";
|
|
72
|
-
EAType[EAType["EAT_QUERY"] = 9] = "EAT_QUERY";
|
|
73
|
-
EAType[EAType["EAT_COMPONENT_CREATED"] = 10] = "EAT_COMPONENT_CREATED";
|
|
74
|
-
EAType[EAType["EAT_COMPONENT_DISPOSED"] = 11] = "EAT_COMPONENT_DISPOSED";
|
|
75
|
-
EAType[EAType["EAT_COMPONENT_UPDATED"] = 12] = "EAT_COMPONENT_UPDATED";
|
|
76
|
-
EAType[EAType["EAT_INIT_MESSAGES_FINISHED"] = 13] = "EAT_INIT_MESSAGES_FINISHED";
|
|
77
|
-
EAType[EAType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
78
|
-
})(EAType = exports.EAType || (exports.EAType = {}));
|
|
79
|
-
function eATypeFromJSON(object) {
|
|
80
|
-
switch (object) {
|
|
81
|
-
case 0:
|
|
82
|
-
case "EAT_INVALID_EA_TYPE":
|
|
83
|
-
return EAType.EAT_INVALID_EA_TYPE;
|
|
84
|
-
case 1:
|
|
85
|
-
case "EAT_OPEN_EXTERNAL_URL":
|
|
86
|
-
return EAType.EAT_OPEN_EXTERNAL_URL;
|
|
87
|
-
case 2:
|
|
88
|
-
case "EAT_OPEN_NFT_DIALOG":
|
|
89
|
-
return EAType.EAT_OPEN_NFT_DIALOG;
|
|
90
|
-
case 3:
|
|
91
|
-
case "EAT_CREATE_ENTITY":
|
|
92
|
-
return EAType.EAT_CREATE_ENTITY;
|
|
93
|
-
case 4:
|
|
94
|
-
case "EAT_REMOVE_ENTITY":
|
|
95
|
-
return EAType.EAT_REMOVE_ENTITY;
|
|
96
|
-
case 5:
|
|
97
|
-
case "EAT_UPDATE_ENTITY_COMPONENT":
|
|
98
|
-
return EAType.EAT_UPDATE_ENTITY_COMPONENT;
|
|
99
|
-
case 6:
|
|
100
|
-
case "EAT_ATTACH_ENTITY_COMPONENT":
|
|
101
|
-
return EAType.EAT_ATTACH_ENTITY_COMPONENT;
|
|
102
|
-
case 7:
|
|
103
|
-
case "EAT_COMPONENT_REMOVED":
|
|
104
|
-
return EAType.EAT_COMPONENT_REMOVED;
|
|
105
|
-
case 8:
|
|
106
|
-
case "EAT_SET_ENTITY_PARENT":
|
|
107
|
-
return EAType.EAT_SET_ENTITY_PARENT;
|
|
108
|
-
case 9:
|
|
109
|
-
case "EAT_QUERY":
|
|
110
|
-
return EAType.EAT_QUERY;
|
|
111
|
-
case 10:
|
|
112
|
-
case "EAT_COMPONENT_CREATED":
|
|
113
|
-
return EAType.EAT_COMPONENT_CREATED;
|
|
114
|
-
case 11:
|
|
115
|
-
case "EAT_COMPONENT_DISPOSED":
|
|
116
|
-
return EAType.EAT_COMPONENT_DISPOSED;
|
|
117
|
-
case 12:
|
|
118
|
-
case "EAT_COMPONENT_UPDATED":
|
|
119
|
-
return EAType.EAT_COMPONENT_UPDATED;
|
|
120
|
-
case 13:
|
|
121
|
-
case "EAT_INIT_MESSAGES_FINISHED":
|
|
122
|
-
return EAType.EAT_INIT_MESSAGES_FINISHED;
|
|
123
|
-
case -1:
|
|
124
|
-
case "UNRECOGNIZED":
|
|
125
|
-
default:
|
|
126
|
-
return EAType.UNRECOGNIZED;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
exports.eATypeFromJSON = eATypeFromJSON;
|
|
130
|
-
function eATypeToJSON(object) {
|
|
131
|
-
switch (object) {
|
|
132
|
-
case EAType.EAT_INVALID_EA_TYPE:
|
|
133
|
-
return "EAT_INVALID_EA_TYPE";
|
|
134
|
-
case EAType.EAT_OPEN_EXTERNAL_URL:
|
|
135
|
-
return "EAT_OPEN_EXTERNAL_URL";
|
|
136
|
-
case EAType.EAT_OPEN_NFT_DIALOG:
|
|
137
|
-
return "EAT_OPEN_NFT_DIALOG";
|
|
138
|
-
case EAType.EAT_CREATE_ENTITY:
|
|
139
|
-
return "EAT_CREATE_ENTITY";
|
|
140
|
-
case EAType.EAT_REMOVE_ENTITY:
|
|
141
|
-
return "EAT_REMOVE_ENTITY";
|
|
142
|
-
case EAType.EAT_UPDATE_ENTITY_COMPONENT:
|
|
143
|
-
return "EAT_UPDATE_ENTITY_COMPONENT";
|
|
144
|
-
case EAType.EAT_ATTACH_ENTITY_COMPONENT:
|
|
145
|
-
return "EAT_ATTACH_ENTITY_COMPONENT";
|
|
146
|
-
case EAType.EAT_COMPONENT_REMOVED:
|
|
147
|
-
return "EAT_COMPONENT_REMOVED";
|
|
148
|
-
case EAType.EAT_SET_ENTITY_PARENT:
|
|
149
|
-
return "EAT_SET_ENTITY_PARENT";
|
|
150
|
-
case EAType.EAT_QUERY:
|
|
151
|
-
return "EAT_QUERY";
|
|
152
|
-
case EAType.EAT_COMPONENT_CREATED:
|
|
153
|
-
return "EAT_COMPONENT_CREATED";
|
|
154
|
-
case EAType.EAT_COMPONENT_DISPOSED:
|
|
155
|
-
return "EAT_COMPONENT_DISPOSED";
|
|
156
|
-
case EAType.EAT_COMPONENT_UPDATED:
|
|
157
|
-
return "EAT_COMPONENT_UPDATED";
|
|
158
|
-
case EAType.EAT_INIT_MESSAGES_FINISHED:
|
|
159
|
-
return "EAT_INIT_MESSAGES_FINISHED";
|
|
160
|
-
case EAType.UNRECOGNIZED:
|
|
161
|
-
default:
|
|
162
|
-
return "UNRECOGNIZED";
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
exports.eATypeToJSON = eATypeToJSON;
|
|
166
13
|
/** Events */
|
|
167
14
|
var EventDataType;
|
|
168
15
|
(function (EventDataType) {
|
|
@@ -170,7 +17,7 @@ var EventDataType;
|
|
|
170
17
|
EventDataType[EventDataType["EDT_POSITION_CHANGED"] = 1] = "EDT_POSITION_CHANGED";
|
|
171
18
|
EventDataType[EventDataType["EDT_ROTATION_CHANGED"] = 2] = "EDT_ROTATION_CHANGED";
|
|
172
19
|
EventDataType[EventDataType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
173
|
-
})(EventDataType
|
|
20
|
+
})(EventDataType || (exports.EventDataType = EventDataType = {}));
|
|
174
21
|
function eventDataTypeFromJSON(object) {
|
|
175
22
|
switch (object) {
|
|
176
23
|
case 0:
|
|
@@ -188,7 +35,6 @@ function eventDataTypeFromJSON(object) {
|
|
|
188
35
|
return EventDataType.UNRECOGNIZED;
|
|
189
36
|
}
|
|
190
37
|
}
|
|
191
|
-
exports.eventDataTypeFromJSON = eventDataTypeFromJSON;
|
|
192
38
|
function eventDataTypeToJSON(object) {
|
|
193
39
|
switch (object) {
|
|
194
40
|
case EventDataType.EDT_GENERIC:
|
|
@@ -202,1315 +48,199 @@ function eventDataTypeToJSON(object) {
|
|
|
202
48
|
return "UNRECOGNIZED";
|
|
203
49
|
}
|
|
204
50
|
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
return { url: "" };
|
|
51
|
+
function createBaseManyEntityAction() {
|
|
52
|
+
return { actions: [] };
|
|
208
53
|
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
writer.uint32(10).string(message.url);
|
|
213
|
-
}
|
|
214
|
-
return writer;
|
|
215
|
-
},
|
|
216
|
-
decode(input, length) {
|
|
217
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
218
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
219
|
-
const message = createBaseOpenExternalUrlBody();
|
|
220
|
-
while (reader.pos < end) {
|
|
221
|
-
const tag = reader.uint32();
|
|
222
|
-
switch (tag >>> 3) {
|
|
223
|
-
case 1:
|
|
224
|
-
if (tag != 10) {
|
|
225
|
-
break;
|
|
226
|
-
}
|
|
227
|
-
message.url = reader.string();
|
|
228
|
-
continue;
|
|
229
|
-
}
|
|
230
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
231
|
-
break;
|
|
232
|
-
}
|
|
233
|
-
reader.skipType(tag & 7);
|
|
234
|
-
}
|
|
235
|
-
return message;
|
|
236
|
-
},
|
|
237
|
-
fromJSON(object) {
|
|
238
|
-
return { url: isSet(object.url) ? String(object.url) : "" };
|
|
239
|
-
},
|
|
240
|
-
toJSON(message) {
|
|
241
|
-
const obj = {};
|
|
242
|
-
message.url !== undefined && (obj.url = message.url);
|
|
243
|
-
return obj;
|
|
244
|
-
},
|
|
245
|
-
create(base) {
|
|
246
|
-
return exports.OpenExternalUrlBody.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
247
|
-
},
|
|
248
|
-
fromPartial(object) {
|
|
54
|
+
var ManyEntityAction;
|
|
55
|
+
(function (ManyEntityAction) {
|
|
56
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
249
57
|
var _a;
|
|
250
|
-
const
|
|
251
|
-
|
|
252
|
-
return message;
|
|
253
|
-
},
|
|
254
|
-
};
|
|
255
|
-
function createBaseOpenNFTDialogBody() {
|
|
256
|
-
return { assetContractAddress: "", tokenId: "", comment: undefined };
|
|
257
|
-
}
|
|
258
|
-
exports.OpenNFTDialogBody = {
|
|
259
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
260
|
-
if (message.assetContractAddress !== "") {
|
|
261
|
-
writer.uint32(10).string(message.assetContractAddress);
|
|
262
|
-
}
|
|
263
|
-
if (message.tokenId !== "") {
|
|
264
|
-
writer.uint32(18).string(message.tokenId);
|
|
265
|
-
}
|
|
266
|
-
if (message.comment !== undefined) {
|
|
267
|
-
writer.uint32(26).string(message.comment);
|
|
58
|
+
for (const v of (_a = message.actions) !== null && _a !== void 0 ? _a : []) {
|
|
59
|
+
engine_interface_ecs6_gen_1.EntityAction.encode(v, writer.uint32(10).fork()).ldelim();
|
|
268
60
|
}
|
|
269
61
|
return writer;
|
|
270
|
-
}
|
|
271
|
-
|
|
62
|
+
}
|
|
63
|
+
ManyEntityAction.encode = encode;
|
|
64
|
+
function decode(input, length) {
|
|
272
65
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
273
66
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
274
|
-
const message =
|
|
67
|
+
const message = createBaseManyEntityAction();
|
|
275
68
|
while (reader.pos < end) {
|
|
276
69
|
const tag = reader.uint32();
|
|
277
70
|
switch (tag >>> 3) {
|
|
278
71
|
case 1:
|
|
279
|
-
if (tag
|
|
280
|
-
break;
|
|
281
|
-
}
|
|
282
|
-
message.assetContractAddress = reader.string();
|
|
283
|
-
continue;
|
|
284
|
-
case 2:
|
|
285
|
-
if (tag != 18) {
|
|
286
|
-
break;
|
|
287
|
-
}
|
|
288
|
-
message.tokenId = reader.string();
|
|
289
|
-
continue;
|
|
290
|
-
case 3:
|
|
291
|
-
if (tag != 26) {
|
|
72
|
+
if (tag !== 10) {
|
|
292
73
|
break;
|
|
293
74
|
}
|
|
294
|
-
message.
|
|
75
|
+
message.actions.push(engine_interface_ecs6_gen_1.EntityAction.decode(reader, reader.uint32()));
|
|
295
76
|
continue;
|
|
296
77
|
}
|
|
297
|
-
if ((tag & 7)
|
|
78
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
298
79
|
break;
|
|
299
80
|
}
|
|
300
81
|
reader.skipType(tag & 7);
|
|
301
82
|
}
|
|
302
83
|
return message;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
},
|
|
311
|
-
toJSON(message) {
|
|
84
|
+
}
|
|
85
|
+
ManyEntityAction.decode = decode;
|
|
86
|
+
function fromJSON(object) {
|
|
87
|
+
return { actions: Array.isArray(object === null || object === void 0 ? void 0 : object.actions) ? object.actions.map((e) => engine_interface_ecs6_gen_1.EntityAction.fromJSON(e)) : [] };
|
|
88
|
+
}
|
|
89
|
+
ManyEntityAction.fromJSON = fromJSON;
|
|
90
|
+
function toJSON(message) {
|
|
312
91
|
const obj = {};
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
message.comment !== undefined && (obj.comment = message.comment);
|
|
316
|
-
return obj;
|
|
317
|
-
},
|
|
318
|
-
create(base) {
|
|
319
|
-
return exports.OpenNFTDialogBody.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
320
|
-
},
|
|
321
|
-
fromPartial(object) {
|
|
322
|
-
var _a, _b, _c;
|
|
323
|
-
const message = createBaseOpenNFTDialogBody();
|
|
324
|
-
message.assetContractAddress = (_a = object.assetContractAddress) !== null && _a !== void 0 ? _a : "";
|
|
325
|
-
message.tokenId = (_b = object.tokenId) !== null && _b !== void 0 ? _b : "";
|
|
326
|
-
message.comment = (_c = object.comment) !== null && _c !== void 0 ? _c : undefined;
|
|
327
|
-
return message;
|
|
328
|
-
},
|
|
329
|
-
};
|
|
330
|
-
function createBaseCreateEntityBody() {
|
|
331
|
-
return { id: "" };
|
|
332
|
-
}
|
|
333
|
-
exports.CreateEntityBody = {
|
|
334
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
335
|
-
if (message.id !== "") {
|
|
336
|
-
writer.uint32(10).string(message.id);
|
|
92
|
+
if (message.actions) {
|
|
93
|
+
obj.actions = message.actions.map((e) => e ? engine_interface_ecs6_gen_1.EntityAction.toJSON(e) : undefined);
|
|
337
94
|
}
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
decode(input, length) {
|
|
341
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
342
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
343
|
-
const message = createBaseCreateEntityBody();
|
|
344
|
-
while (reader.pos < end) {
|
|
345
|
-
const tag = reader.uint32();
|
|
346
|
-
switch (tag >>> 3) {
|
|
347
|
-
case 1:
|
|
348
|
-
if (tag != 10) {
|
|
349
|
-
break;
|
|
350
|
-
}
|
|
351
|
-
message.id = reader.string();
|
|
352
|
-
continue;
|
|
353
|
-
}
|
|
354
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
355
|
-
break;
|
|
356
|
-
}
|
|
357
|
-
reader.skipType(tag & 7);
|
|
95
|
+
else {
|
|
96
|
+
obj.actions = [];
|
|
358
97
|
}
|
|
359
|
-
return message;
|
|
360
|
-
},
|
|
361
|
-
fromJSON(object) {
|
|
362
|
-
return { id: isSet(object.id) ? String(object.id) : "" };
|
|
363
|
-
},
|
|
364
|
-
toJSON(message) {
|
|
365
|
-
const obj = {};
|
|
366
|
-
message.id !== undefined && (obj.id = message.id);
|
|
367
98
|
return obj;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
99
|
+
}
|
|
100
|
+
ManyEntityAction.toJSON = toJSON;
|
|
101
|
+
function create(base) {
|
|
102
|
+
return ManyEntityAction.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
103
|
+
}
|
|
104
|
+
ManyEntityAction.create = create;
|
|
105
|
+
function fromPartial(object) {
|
|
373
106
|
var _a;
|
|
374
|
-
const message =
|
|
375
|
-
message.
|
|
107
|
+
const message = createBaseManyEntityAction();
|
|
108
|
+
message.actions = ((_a = object.actions) === null || _a === void 0 ? void 0 : _a.map((e) => engine_interface_ecs6_gen_1.EntityAction.fromPartial(e))) || [];
|
|
376
109
|
return message;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
110
|
+
}
|
|
111
|
+
ManyEntityAction.fromPartial = fromPartial;
|
|
112
|
+
})(ManyEntityAction || (exports.ManyEntityAction = ManyEntityAction = {}));
|
|
113
|
+
function createBaseSendBatchResponse() {
|
|
114
|
+
return { events: [] };
|
|
381
115
|
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
116
|
+
var SendBatchResponse;
|
|
117
|
+
(function (SendBatchResponse) {
|
|
118
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
119
|
+
var _a;
|
|
120
|
+
for (const v of (_a = message.events) !== null && _a !== void 0 ? _a : []) {
|
|
121
|
+
EventData.encode(v, writer.uint32(10).fork()).ldelim();
|
|
386
122
|
}
|
|
387
123
|
return writer;
|
|
388
|
-
}
|
|
389
|
-
|
|
124
|
+
}
|
|
125
|
+
SendBatchResponse.encode = encode;
|
|
126
|
+
function decode(input, length) {
|
|
390
127
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
391
128
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
392
|
-
const message =
|
|
129
|
+
const message = createBaseSendBatchResponse();
|
|
393
130
|
while (reader.pos < end) {
|
|
394
131
|
const tag = reader.uint32();
|
|
395
132
|
switch (tag >>> 3) {
|
|
396
133
|
case 1:
|
|
397
|
-
if (tag
|
|
134
|
+
if (tag !== 10) {
|
|
398
135
|
break;
|
|
399
136
|
}
|
|
400
|
-
message.
|
|
137
|
+
message.events.push(EventData.decode(reader, reader.uint32()));
|
|
401
138
|
continue;
|
|
402
139
|
}
|
|
403
|
-
if ((tag & 7)
|
|
140
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
404
141
|
break;
|
|
405
142
|
}
|
|
406
143
|
reader.skipType(tag & 7);
|
|
407
144
|
}
|
|
408
145
|
return message;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
146
|
+
}
|
|
147
|
+
SendBatchResponse.decode = decode;
|
|
148
|
+
function fromJSON(object) {
|
|
149
|
+
return { events: Array.isArray(object === null || object === void 0 ? void 0 : object.events) ? object.events.map((e) => EventData.fromJSON(e)) : [] };
|
|
150
|
+
}
|
|
151
|
+
SendBatchResponse.fromJSON = fromJSON;
|
|
152
|
+
function toJSON(message) {
|
|
414
153
|
const obj = {};
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
},
|
|
418
|
-
create(base) {
|
|
419
|
-
return exports.RemoveEntityBody.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
420
|
-
},
|
|
421
|
-
fromPartial(object) {
|
|
422
|
-
var _a;
|
|
423
|
-
const message = createBaseRemoveEntityBody();
|
|
424
|
-
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
425
|
-
return message;
|
|
426
|
-
},
|
|
427
|
-
};
|
|
428
|
-
function createBaseUpdateEntityComponentBody() {
|
|
429
|
-
return { entityId: "", classId: 0, name: "", json: "" };
|
|
430
|
-
}
|
|
431
|
-
exports.UpdateEntityComponentBody = {
|
|
432
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
433
|
-
if (message.entityId !== "") {
|
|
434
|
-
writer.uint32(10).string(message.entityId);
|
|
435
|
-
}
|
|
436
|
-
if (message.classId !== 0) {
|
|
437
|
-
writer.uint32(16).int32(message.classId);
|
|
438
|
-
}
|
|
439
|
-
if (message.name !== "") {
|
|
440
|
-
writer.uint32(26).string(message.name);
|
|
441
|
-
}
|
|
442
|
-
if (message.json !== "") {
|
|
443
|
-
writer.uint32(34).string(message.json);
|
|
154
|
+
if (message.events) {
|
|
155
|
+
obj.events = message.events.map((e) => e ? EventData.toJSON(e) : undefined);
|
|
444
156
|
}
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
decode(input, length) {
|
|
448
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
449
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
450
|
-
const message = createBaseUpdateEntityComponentBody();
|
|
451
|
-
while (reader.pos < end) {
|
|
452
|
-
const tag = reader.uint32();
|
|
453
|
-
switch (tag >>> 3) {
|
|
454
|
-
case 1:
|
|
455
|
-
if (tag != 10) {
|
|
456
|
-
break;
|
|
457
|
-
}
|
|
458
|
-
message.entityId = reader.string();
|
|
459
|
-
continue;
|
|
460
|
-
case 2:
|
|
461
|
-
if (tag != 16) {
|
|
462
|
-
break;
|
|
463
|
-
}
|
|
464
|
-
message.classId = reader.int32();
|
|
465
|
-
continue;
|
|
466
|
-
case 3:
|
|
467
|
-
if (tag != 26) {
|
|
468
|
-
break;
|
|
469
|
-
}
|
|
470
|
-
message.name = reader.string();
|
|
471
|
-
continue;
|
|
472
|
-
case 4:
|
|
473
|
-
if (tag != 34) {
|
|
474
|
-
break;
|
|
475
|
-
}
|
|
476
|
-
message.json = reader.string();
|
|
477
|
-
continue;
|
|
478
|
-
}
|
|
479
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
480
|
-
break;
|
|
481
|
-
}
|
|
482
|
-
reader.skipType(tag & 7);
|
|
157
|
+
else {
|
|
158
|
+
obj.events = [];
|
|
483
159
|
}
|
|
484
|
-
return message;
|
|
485
|
-
},
|
|
486
|
-
fromJSON(object) {
|
|
487
|
-
return {
|
|
488
|
-
entityId: isSet(object.entityId) ? String(object.entityId) : "",
|
|
489
|
-
classId: isSet(object.classId) ? Number(object.classId) : 0,
|
|
490
|
-
name: isSet(object.name) ? String(object.name) : "",
|
|
491
|
-
json: isSet(object.json) ? String(object.json) : "",
|
|
492
|
-
};
|
|
493
|
-
},
|
|
494
|
-
toJSON(message) {
|
|
495
|
-
const obj = {};
|
|
496
|
-
message.entityId !== undefined && (obj.entityId = message.entityId);
|
|
497
|
-
message.classId !== undefined && (obj.classId = Math.round(message.classId));
|
|
498
|
-
message.name !== undefined && (obj.name = message.name);
|
|
499
|
-
message.json !== undefined && (obj.json = message.json);
|
|
500
160
|
return obj;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
message
|
|
510
|
-
message.
|
|
511
|
-
message.json = (_d = object.json) !== null && _d !== void 0 ? _d : "";
|
|
161
|
+
}
|
|
162
|
+
SendBatchResponse.toJSON = toJSON;
|
|
163
|
+
function create(base) {
|
|
164
|
+
return SendBatchResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
165
|
+
}
|
|
166
|
+
SendBatchResponse.create = create;
|
|
167
|
+
function fromPartial(object) {
|
|
168
|
+
var _a;
|
|
169
|
+
const message = createBaseSendBatchResponse();
|
|
170
|
+
message.events = ((_a = object.events) === null || _a === void 0 ? void 0 : _a.map((e) => EventData.fromPartial(e))) || [];
|
|
512
171
|
return message;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
172
|
+
}
|
|
173
|
+
SendBatchResponse.fromPartial = fromPartial;
|
|
174
|
+
})(SendBatchResponse || (exports.SendBatchResponse = SendBatchResponse = {}));
|
|
175
|
+
function createBaseUnsubscribeRequest() {
|
|
176
|
+
return { eventId: "" };
|
|
517
177
|
}
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
if (message.name !== "") {
|
|
524
|
-
writer.uint32(18).string(message.name);
|
|
525
|
-
}
|
|
526
|
-
if (message.id !== "") {
|
|
527
|
-
writer.uint32(26).string(message.id);
|
|
178
|
+
var UnsubscribeRequest;
|
|
179
|
+
(function (UnsubscribeRequest) {
|
|
180
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
181
|
+
if (message.eventId !== undefined && message.eventId !== "") {
|
|
182
|
+
writer.uint32(10).string(message.eventId);
|
|
528
183
|
}
|
|
529
184
|
return writer;
|
|
530
|
-
}
|
|
531
|
-
|
|
185
|
+
}
|
|
186
|
+
UnsubscribeRequest.encode = encode;
|
|
187
|
+
function decode(input, length) {
|
|
532
188
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
533
189
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
534
|
-
const message =
|
|
190
|
+
const message = createBaseUnsubscribeRequest();
|
|
535
191
|
while (reader.pos < end) {
|
|
536
192
|
const tag = reader.uint32();
|
|
537
193
|
switch (tag >>> 3) {
|
|
538
194
|
case 1:
|
|
539
|
-
if (tag
|
|
540
|
-
break;
|
|
541
|
-
}
|
|
542
|
-
message.entityId = reader.string();
|
|
543
|
-
continue;
|
|
544
|
-
case 2:
|
|
545
|
-
if (tag != 18) {
|
|
546
|
-
break;
|
|
547
|
-
}
|
|
548
|
-
message.name = reader.string();
|
|
549
|
-
continue;
|
|
550
|
-
case 3:
|
|
551
|
-
if (tag != 26) {
|
|
195
|
+
if (tag !== 10) {
|
|
552
196
|
break;
|
|
553
197
|
}
|
|
554
|
-
message.
|
|
198
|
+
message.eventId = reader.string();
|
|
555
199
|
continue;
|
|
556
200
|
}
|
|
557
|
-
if ((tag & 7)
|
|
201
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
558
202
|
break;
|
|
559
203
|
}
|
|
560
204
|
reader.skipType(tag & 7);
|
|
561
205
|
}
|
|
562
206
|
return message;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
},
|
|
571
|
-
toJSON(message) {
|
|
207
|
+
}
|
|
208
|
+
UnsubscribeRequest.decode = decode;
|
|
209
|
+
function fromJSON(object) {
|
|
210
|
+
return { eventId: isSet(object.eventId) ? String(object.eventId) : "" };
|
|
211
|
+
}
|
|
212
|
+
UnsubscribeRequest.fromJSON = fromJSON;
|
|
213
|
+
function toJSON(message) {
|
|
572
214
|
const obj = {};
|
|
573
|
-
message.
|
|
574
|
-
message.name !== undefined && (obj.name = message.name);
|
|
575
|
-
message.id !== undefined && (obj.id = message.id);
|
|
215
|
+
message.eventId !== undefined && (obj.eventId = message.eventId);
|
|
576
216
|
return obj;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
message
|
|
586
|
-
message.
|
|
217
|
+
}
|
|
218
|
+
UnsubscribeRequest.toJSON = toJSON;
|
|
219
|
+
function create(base) {
|
|
220
|
+
return UnsubscribeRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
221
|
+
}
|
|
222
|
+
UnsubscribeRequest.create = create;
|
|
223
|
+
function fromPartial(object) {
|
|
224
|
+
var _a;
|
|
225
|
+
const message = createBaseUnsubscribeRequest();
|
|
226
|
+
message.eventId = (_a = object.eventId) !== null && _a !== void 0 ? _a : "";
|
|
587
227
|
return message;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
228
|
+
}
|
|
229
|
+
UnsubscribeRequest.fromPartial = fromPartial;
|
|
230
|
+
})(UnsubscribeRequest || (exports.UnsubscribeRequest = UnsubscribeRequest = {}));
|
|
231
|
+
function createBaseSubscribeRequest() {
|
|
232
|
+
return { eventId: "" };
|
|
592
233
|
}
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
if (message.name !== "") {
|
|
599
|
-
writer.uint32(18).string(message.name);
|
|
234
|
+
var SubscribeRequest;
|
|
235
|
+
(function (SubscribeRequest) {
|
|
236
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
237
|
+
if (message.eventId !== undefined && message.eventId !== "") {
|
|
238
|
+
writer.uint32(10).string(message.eventId);
|
|
600
239
|
}
|
|
601
240
|
return writer;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
606
|
-
const message = createBaseComponentRemovedBody();
|
|
607
|
-
while (reader.pos < end) {
|
|
608
|
-
const tag = reader.uint32();
|
|
609
|
-
switch (tag >>> 3) {
|
|
610
|
-
case 1:
|
|
611
|
-
if (tag != 10) {
|
|
612
|
-
break;
|
|
613
|
-
}
|
|
614
|
-
message.entityId = reader.string();
|
|
615
|
-
continue;
|
|
616
|
-
case 2:
|
|
617
|
-
if (tag != 18) {
|
|
618
|
-
break;
|
|
619
|
-
}
|
|
620
|
-
message.name = reader.string();
|
|
621
|
-
continue;
|
|
622
|
-
}
|
|
623
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
624
|
-
break;
|
|
625
|
-
}
|
|
626
|
-
reader.skipType(tag & 7);
|
|
627
|
-
}
|
|
628
|
-
return message;
|
|
629
|
-
},
|
|
630
|
-
fromJSON(object) {
|
|
631
|
-
return {
|
|
632
|
-
entityId: isSet(object.entityId) ? String(object.entityId) : "",
|
|
633
|
-
name: isSet(object.name) ? String(object.name) : "",
|
|
634
|
-
};
|
|
635
|
-
},
|
|
636
|
-
toJSON(message) {
|
|
637
|
-
const obj = {};
|
|
638
|
-
message.entityId !== undefined && (obj.entityId = message.entityId);
|
|
639
|
-
message.name !== undefined && (obj.name = message.name);
|
|
640
|
-
return obj;
|
|
641
|
-
},
|
|
642
|
-
create(base) {
|
|
643
|
-
return exports.ComponentRemovedBody.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
644
|
-
},
|
|
645
|
-
fromPartial(object) {
|
|
646
|
-
var _a, _b;
|
|
647
|
-
const message = createBaseComponentRemovedBody();
|
|
648
|
-
message.entityId = (_a = object.entityId) !== null && _a !== void 0 ? _a : "";
|
|
649
|
-
message.name = (_b = object.name) !== null && _b !== void 0 ? _b : "";
|
|
650
|
-
return message;
|
|
651
|
-
},
|
|
652
|
-
};
|
|
653
|
-
function createBaseSetEntityParentBody() {
|
|
654
|
-
return { entityId: "", parentId: "" };
|
|
655
|
-
}
|
|
656
|
-
exports.SetEntityParentBody = {
|
|
657
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
658
|
-
if (message.entityId !== "") {
|
|
659
|
-
writer.uint32(10).string(message.entityId);
|
|
660
|
-
}
|
|
661
|
-
if (message.parentId !== "") {
|
|
662
|
-
writer.uint32(18).string(message.parentId);
|
|
663
|
-
}
|
|
664
|
-
return writer;
|
|
665
|
-
},
|
|
666
|
-
decode(input, length) {
|
|
667
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
668
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
669
|
-
const message = createBaseSetEntityParentBody();
|
|
670
|
-
while (reader.pos < end) {
|
|
671
|
-
const tag = reader.uint32();
|
|
672
|
-
switch (tag >>> 3) {
|
|
673
|
-
case 1:
|
|
674
|
-
if (tag != 10) {
|
|
675
|
-
break;
|
|
676
|
-
}
|
|
677
|
-
message.entityId = reader.string();
|
|
678
|
-
continue;
|
|
679
|
-
case 2:
|
|
680
|
-
if (tag != 18) {
|
|
681
|
-
break;
|
|
682
|
-
}
|
|
683
|
-
message.parentId = reader.string();
|
|
684
|
-
continue;
|
|
685
|
-
}
|
|
686
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
687
|
-
break;
|
|
688
|
-
}
|
|
689
|
-
reader.skipType(tag & 7);
|
|
690
|
-
}
|
|
691
|
-
return message;
|
|
692
|
-
},
|
|
693
|
-
fromJSON(object) {
|
|
694
|
-
return {
|
|
695
|
-
entityId: isSet(object.entityId) ? String(object.entityId) : "",
|
|
696
|
-
parentId: isSet(object.parentId) ? String(object.parentId) : "",
|
|
697
|
-
};
|
|
698
|
-
},
|
|
699
|
-
toJSON(message) {
|
|
700
|
-
const obj = {};
|
|
701
|
-
message.entityId !== undefined && (obj.entityId = message.entityId);
|
|
702
|
-
message.parentId !== undefined && (obj.parentId = message.parentId);
|
|
703
|
-
return obj;
|
|
704
|
-
},
|
|
705
|
-
create(base) {
|
|
706
|
-
return exports.SetEntityParentBody.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
707
|
-
},
|
|
708
|
-
fromPartial(object) {
|
|
709
|
-
var _a, _b;
|
|
710
|
-
const message = createBaseSetEntityParentBody();
|
|
711
|
-
message.entityId = (_a = object.entityId) !== null && _a !== void 0 ? _a : "";
|
|
712
|
-
message.parentId = (_b = object.parentId) !== null && _b !== void 0 ? _b : "";
|
|
713
|
-
return message;
|
|
714
|
-
},
|
|
715
|
-
};
|
|
716
|
-
function createBaseQueryBody() {
|
|
717
|
-
return { queryId: 0, payload: "" };
|
|
718
|
-
}
|
|
719
|
-
exports.QueryBody = {
|
|
720
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
721
|
-
if (message.queryId !== 0) {
|
|
722
|
-
writer.uint32(8).int32(message.queryId);
|
|
723
|
-
}
|
|
724
|
-
if (message.payload !== "") {
|
|
725
|
-
writer.uint32(18).string(message.payload);
|
|
726
|
-
}
|
|
727
|
-
return writer;
|
|
728
|
-
},
|
|
729
|
-
decode(input, length) {
|
|
730
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
731
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
732
|
-
const message = createBaseQueryBody();
|
|
733
|
-
while (reader.pos < end) {
|
|
734
|
-
const tag = reader.uint32();
|
|
735
|
-
switch (tag >>> 3) {
|
|
736
|
-
case 1:
|
|
737
|
-
if (tag != 8) {
|
|
738
|
-
break;
|
|
739
|
-
}
|
|
740
|
-
message.queryId = reader.int32();
|
|
741
|
-
continue;
|
|
742
|
-
case 2:
|
|
743
|
-
if (tag != 18) {
|
|
744
|
-
break;
|
|
745
|
-
}
|
|
746
|
-
message.payload = reader.string();
|
|
747
|
-
continue;
|
|
748
|
-
}
|
|
749
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
750
|
-
break;
|
|
751
|
-
}
|
|
752
|
-
reader.skipType(tag & 7);
|
|
753
|
-
}
|
|
754
|
-
return message;
|
|
755
|
-
},
|
|
756
|
-
fromJSON(object) {
|
|
757
|
-
return {
|
|
758
|
-
queryId: isSet(object.queryId) ? queryTypeFromJSON(object.queryId) : 0,
|
|
759
|
-
payload: isSet(object.payload) ? String(object.payload) : "",
|
|
760
|
-
};
|
|
761
|
-
},
|
|
762
|
-
toJSON(message) {
|
|
763
|
-
const obj = {};
|
|
764
|
-
message.queryId !== undefined && (obj.queryId = queryTypeToJSON(message.queryId));
|
|
765
|
-
message.payload !== undefined && (obj.payload = message.payload);
|
|
766
|
-
return obj;
|
|
767
|
-
},
|
|
768
|
-
create(base) {
|
|
769
|
-
return exports.QueryBody.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
770
|
-
},
|
|
771
|
-
fromPartial(object) {
|
|
772
|
-
var _a, _b;
|
|
773
|
-
const message = createBaseQueryBody();
|
|
774
|
-
message.queryId = (_a = object.queryId) !== null && _a !== void 0 ? _a : 0;
|
|
775
|
-
message.payload = (_b = object.payload) !== null && _b !== void 0 ? _b : "";
|
|
776
|
-
return message;
|
|
777
|
-
},
|
|
778
|
-
};
|
|
779
|
-
function createBaseComponentCreatedBody() {
|
|
780
|
-
return { id: "", classId: 0, name: "" };
|
|
781
|
-
}
|
|
782
|
-
exports.ComponentCreatedBody = {
|
|
783
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
784
|
-
if (message.id !== "") {
|
|
785
|
-
writer.uint32(10).string(message.id);
|
|
786
|
-
}
|
|
787
|
-
if (message.classId !== 0) {
|
|
788
|
-
writer.uint32(16).int32(message.classId);
|
|
789
|
-
}
|
|
790
|
-
if (message.name !== "") {
|
|
791
|
-
writer.uint32(26).string(message.name);
|
|
792
|
-
}
|
|
793
|
-
return writer;
|
|
794
|
-
},
|
|
795
|
-
decode(input, length) {
|
|
796
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
797
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
798
|
-
const message = createBaseComponentCreatedBody();
|
|
799
|
-
while (reader.pos < end) {
|
|
800
|
-
const tag = reader.uint32();
|
|
801
|
-
switch (tag >>> 3) {
|
|
802
|
-
case 1:
|
|
803
|
-
if (tag != 10) {
|
|
804
|
-
break;
|
|
805
|
-
}
|
|
806
|
-
message.id = reader.string();
|
|
807
|
-
continue;
|
|
808
|
-
case 2:
|
|
809
|
-
if (tag != 16) {
|
|
810
|
-
break;
|
|
811
|
-
}
|
|
812
|
-
message.classId = reader.int32();
|
|
813
|
-
continue;
|
|
814
|
-
case 3:
|
|
815
|
-
if (tag != 26) {
|
|
816
|
-
break;
|
|
817
|
-
}
|
|
818
|
-
message.name = reader.string();
|
|
819
|
-
continue;
|
|
820
|
-
}
|
|
821
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
822
|
-
break;
|
|
823
|
-
}
|
|
824
|
-
reader.skipType(tag & 7);
|
|
825
|
-
}
|
|
826
|
-
return message;
|
|
827
|
-
},
|
|
828
|
-
fromJSON(object) {
|
|
829
|
-
return {
|
|
830
|
-
id: isSet(object.id) ? String(object.id) : "",
|
|
831
|
-
classId: isSet(object.classId) ? Number(object.classId) : 0,
|
|
832
|
-
name: isSet(object.name) ? String(object.name) : "",
|
|
833
|
-
};
|
|
834
|
-
},
|
|
835
|
-
toJSON(message) {
|
|
836
|
-
const obj = {};
|
|
837
|
-
message.id !== undefined && (obj.id = message.id);
|
|
838
|
-
message.classId !== undefined && (obj.classId = Math.round(message.classId));
|
|
839
|
-
message.name !== undefined && (obj.name = message.name);
|
|
840
|
-
return obj;
|
|
841
|
-
},
|
|
842
|
-
create(base) {
|
|
843
|
-
return exports.ComponentCreatedBody.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
844
|
-
},
|
|
845
|
-
fromPartial(object) {
|
|
846
|
-
var _a, _b, _c;
|
|
847
|
-
const message = createBaseComponentCreatedBody();
|
|
848
|
-
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
849
|
-
message.classId = (_b = object.classId) !== null && _b !== void 0 ? _b : 0;
|
|
850
|
-
message.name = (_c = object.name) !== null && _c !== void 0 ? _c : "";
|
|
851
|
-
return message;
|
|
852
|
-
},
|
|
853
|
-
};
|
|
854
|
-
function createBaseComponentDisposedBody() {
|
|
855
|
-
return { id: "" };
|
|
856
|
-
}
|
|
857
|
-
exports.ComponentDisposedBody = {
|
|
858
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
859
|
-
if (message.id !== "") {
|
|
860
|
-
writer.uint32(10).string(message.id);
|
|
861
|
-
}
|
|
862
|
-
return writer;
|
|
863
|
-
},
|
|
864
|
-
decode(input, length) {
|
|
865
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
866
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
867
|
-
const message = createBaseComponentDisposedBody();
|
|
868
|
-
while (reader.pos < end) {
|
|
869
|
-
const tag = reader.uint32();
|
|
870
|
-
switch (tag >>> 3) {
|
|
871
|
-
case 1:
|
|
872
|
-
if (tag != 10) {
|
|
873
|
-
break;
|
|
874
|
-
}
|
|
875
|
-
message.id = reader.string();
|
|
876
|
-
continue;
|
|
877
|
-
}
|
|
878
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
879
|
-
break;
|
|
880
|
-
}
|
|
881
|
-
reader.skipType(tag & 7);
|
|
882
|
-
}
|
|
883
|
-
return message;
|
|
884
|
-
},
|
|
885
|
-
fromJSON(object) {
|
|
886
|
-
return { id: isSet(object.id) ? String(object.id) : "" };
|
|
887
|
-
},
|
|
888
|
-
toJSON(message) {
|
|
889
|
-
const obj = {};
|
|
890
|
-
message.id !== undefined && (obj.id = message.id);
|
|
891
|
-
return obj;
|
|
892
|
-
},
|
|
893
|
-
create(base) {
|
|
894
|
-
return exports.ComponentDisposedBody.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
895
|
-
},
|
|
896
|
-
fromPartial(object) {
|
|
897
|
-
var _a;
|
|
898
|
-
const message = createBaseComponentDisposedBody();
|
|
899
|
-
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
900
|
-
return message;
|
|
901
|
-
},
|
|
902
|
-
};
|
|
903
|
-
function createBaseComponentUpdatedBody() {
|
|
904
|
-
return { id: "", json: "" };
|
|
905
|
-
}
|
|
906
|
-
exports.ComponentUpdatedBody = {
|
|
907
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
908
|
-
if (message.id !== "") {
|
|
909
|
-
writer.uint32(10).string(message.id);
|
|
910
|
-
}
|
|
911
|
-
if (message.json !== "") {
|
|
912
|
-
writer.uint32(18).string(message.json);
|
|
913
|
-
}
|
|
914
|
-
return writer;
|
|
915
|
-
},
|
|
916
|
-
decode(input, length) {
|
|
917
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
918
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
919
|
-
const message = createBaseComponentUpdatedBody();
|
|
920
|
-
while (reader.pos < end) {
|
|
921
|
-
const tag = reader.uint32();
|
|
922
|
-
switch (tag >>> 3) {
|
|
923
|
-
case 1:
|
|
924
|
-
if (tag != 10) {
|
|
925
|
-
break;
|
|
926
|
-
}
|
|
927
|
-
message.id = reader.string();
|
|
928
|
-
continue;
|
|
929
|
-
case 2:
|
|
930
|
-
if (tag != 18) {
|
|
931
|
-
break;
|
|
932
|
-
}
|
|
933
|
-
message.json = reader.string();
|
|
934
|
-
continue;
|
|
935
|
-
}
|
|
936
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
937
|
-
break;
|
|
938
|
-
}
|
|
939
|
-
reader.skipType(tag & 7);
|
|
940
|
-
}
|
|
941
|
-
return message;
|
|
942
|
-
},
|
|
943
|
-
fromJSON(object) {
|
|
944
|
-
return { id: isSet(object.id) ? String(object.id) : "", json: isSet(object.json) ? String(object.json) : "" };
|
|
945
|
-
},
|
|
946
|
-
toJSON(message) {
|
|
947
|
-
const obj = {};
|
|
948
|
-
message.id !== undefined && (obj.id = message.id);
|
|
949
|
-
message.json !== undefined && (obj.json = message.json);
|
|
950
|
-
return obj;
|
|
951
|
-
},
|
|
952
|
-
create(base) {
|
|
953
|
-
return exports.ComponentUpdatedBody.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
954
|
-
},
|
|
955
|
-
fromPartial(object) {
|
|
956
|
-
var _a, _b;
|
|
957
|
-
const message = createBaseComponentUpdatedBody();
|
|
958
|
-
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
959
|
-
message.json = (_b = object.json) !== null && _b !== void 0 ? _b : "";
|
|
960
|
-
return message;
|
|
961
|
-
},
|
|
962
|
-
};
|
|
963
|
-
function createBaseInitMessagesFinishedBody() {
|
|
964
|
-
return {};
|
|
965
|
-
}
|
|
966
|
-
exports.InitMessagesFinishedBody = {
|
|
967
|
-
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
968
|
-
return writer;
|
|
969
|
-
},
|
|
970
|
-
decode(input, length) {
|
|
971
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
972
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
973
|
-
const message = createBaseInitMessagesFinishedBody();
|
|
974
|
-
while (reader.pos < end) {
|
|
975
|
-
const tag = reader.uint32();
|
|
976
|
-
switch (tag >>> 3) {
|
|
977
|
-
}
|
|
978
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
979
|
-
break;
|
|
980
|
-
}
|
|
981
|
-
reader.skipType(tag & 7);
|
|
982
|
-
}
|
|
983
|
-
return message;
|
|
984
|
-
},
|
|
985
|
-
fromJSON(_) {
|
|
986
|
-
return {};
|
|
987
|
-
},
|
|
988
|
-
toJSON(_) {
|
|
989
|
-
const obj = {};
|
|
990
|
-
return obj;
|
|
991
|
-
},
|
|
992
|
-
create(base) {
|
|
993
|
-
return exports.InitMessagesFinishedBody.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
994
|
-
},
|
|
995
|
-
fromPartial(_) {
|
|
996
|
-
const message = createBaseInitMessagesFinishedBody();
|
|
997
|
-
return message;
|
|
998
|
-
},
|
|
999
|
-
};
|
|
1000
|
-
function createBasePayload() {
|
|
1001
|
-
return {
|
|
1002
|
-
openExternalUrl: undefined,
|
|
1003
|
-
openNftDialog: undefined,
|
|
1004
|
-
createEntity: undefined,
|
|
1005
|
-
removeEntity: undefined,
|
|
1006
|
-
updateEntityComponent: undefined,
|
|
1007
|
-
attachEntityComponent: undefined,
|
|
1008
|
-
componentRemoved: undefined,
|
|
1009
|
-
setEntityParent: undefined,
|
|
1010
|
-
query: undefined,
|
|
1011
|
-
componentCreated: undefined,
|
|
1012
|
-
componentDisposed: undefined,
|
|
1013
|
-
componentUpdated: undefined,
|
|
1014
|
-
initMessagesFinished: undefined,
|
|
1015
|
-
};
|
|
1016
|
-
}
|
|
1017
|
-
exports.Payload = {
|
|
1018
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1019
|
-
if (message.openExternalUrl !== undefined) {
|
|
1020
|
-
exports.OpenExternalUrlBody.encode(message.openExternalUrl, writer.uint32(10).fork()).ldelim();
|
|
1021
|
-
}
|
|
1022
|
-
if (message.openNftDialog !== undefined) {
|
|
1023
|
-
exports.OpenNFTDialogBody.encode(message.openNftDialog, writer.uint32(18).fork()).ldelim();
|
|
1024
|
-
}
|
|
1025
|
-
if (message.createEntity !== undefined) {
|
|
1026
|
-
exports.CreateEntityBody.encode(message.createEntity, writer.uint32(26).fork()).ldelim();
|
|
1027
|
-
}
|
|
1028
|
-
if (message.removeEntity !== undefined) {
|
|
1029
|
-
exports.RemoveEntityBody.encode(message.removeEntity, writer.uint32(34).fork()).ldelim();
|
|
1030
|
-
}
|
|
1031
|
-
if (message.updateEntityComponent !== undefined) {
|
|
1032
|
-
exports.UpdateEntityComponentBody.encode(message.updateEntityComponent, writer.uint32(42).fork()).ldelim();
|
|
1033
|
-
}
|
|
1034
|
-
if (message.attachEntityComponent !== undefined) {
|
|
1035
|
-
exports.AttachEntityComponentBody.encode(message.attachEntityComponent, writer.uint32(50).fork()).ldelim();
|
|
1036
|
-
}
|
|
1037
|
-
if (message.componentRemoved !== undefined) {
|
|
1038
|
-
exports.ComponentRemovedBody.encode(message.componentRemoved, writer.uint32(58).fork()).ldelim();
|
|
1039
|
-
}
|
|
1040
|
-
if (message.setEntityParent !== undefined) {
|
|
1041
|
-
exports.SetEntityParentBody.encode(message.setEntityParent, writer.uint32(66).fork()).ldelim();
|
|
1042
|
-
}
|
|
1043
|
-
if (message.query !== undefined) {
|
|
1044
|
-
exports.QueryBody.encode(message.query, writer.uint32(74).fork()).ldelim();
|
|
1045
|
-
}
|
|
1046
|
-
if (message.componentCreated !== undefined) {
|
|
1047
|
-
exports.ComponentCreatedBody.encode(message.componentCreated, writer.uint32(82).fork()).ldelim();
|
|
1048
|
-
}
|
|
1049
|
-
if (message.componentDisposed !== undefined) {
|
|
1050
|
-
exports.ComponentDisposedBody.encode(message.componentDisposed, writer.uint32(90).fork()).ldelim();
|
|
1051
|
-
}
|
|
1052
|
-
if (message.componentUpdated !== undefined) {
|
|
1053
|
-
exports.ComponentUpdatedBody.encode(message.componentUpdated, writer.uint32(98).fork()).ldelim();
|
|
1054
|
-
}
|
|
1055
|
-
if (message.initMessagesFinished !== undefined) {
|
|
1056
|
-
exports.InitMessagesFinishedBody.encode(message.initMessagesFinished, writer.uint32(106).fork()).ldelim();
|
|
1057
|
-
}
|
|
1058
|
-
return writer;
|
|
1059
|
-
},
|
|
1060
|
-
decode(input, length) {
|
|
1061
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1062
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1063
|
-
const message = createBasePayload();
|
|
1064
|
-
while (reader.pos < end) {
|
|
1065
|
-
const tag = reader.uint32();
|
|
1066
|
-
switch (tag >>> 3) {
|
|
1067
|
-
case 1:
|
|
1068
|
-
if (tag != 10) {
|
|
1069
|
-
break;
|
|
1070
|
-
}
|
|
1071
|
-
message.openExternalUrl = exports.OpenExternalUrlBody.decode(reader, reader.uint32());
|
|
1072
|
-
continue;
|
|
1073
|
-
case 2:
|
|
1074
|
-
if (tag != 18) {
|
|
1075
|
-
break;
|
|
1076
|
-
}
|
|
1077
|
-
message.openNftDialog = exports.OpenNFTDialogBody.decode(reader, reader.uint32());
|
|
1078
|
-
continue;
|
|
1079
|
-
case 3:
|
|
1080
|
-
if (tag != 26) {
|
|
1081
|
-
break;
|
|
1082
|
-
}
|
|
1083
|
-
message.createEntity = exports.CreateEntityBody.decode(reader, reader.uint32());
|
|
1084
|
-
continue;
|
|
1085
|
-
case 4:
|
|
1086
|
-
if (tag != 34) {
|
|
1087
|
-
break;
|
|
1088
|
-
}
|
|
1089
|
-
message.removeEntity = exports.RemoveEntityBody.decode(reader, reader.uint32());
|
|
1090
|
-
continue;
|
|
1091
|
-
case 5:
|
|
1092
|
-
if (tag != 42) {
|
|
1093
|
-
break;
|
|
1094
|
-
}
|
|
1095
|
-
message.updateEntityComponent = exports.UpdateEntityComponentBody.decode(reader, reader.uint32());
|
|
1096
|
-
continue;
|
|
1097
|
-
case 6:
|
|
1098
|
-
if (tag != 50) {
|
|
1099
|
-
break;
|
|
1100
|
-
}
|
|
1101
|
-
message.attachEntityComponent = exports.AttachEntityComponentBody.decode(reader, reader.uint32());
|
|
1102
|
-
continue;
|
|
1103
|
-
case 7:
|
|
1104
|
-
if (tag != 58) {
|
|
1105
|
-
break;
|
|
1106
|
-
}
|
|
1107
|
-
message.componentRemoved = exports.ComponentRemovedBody.decode(reader, reader.uint32());
|
|
1108
|
-
continue;
|
|
1109
|
-
case 8:
|
|
1110
|
-
if (tag != 66) {
|
|
1111
|
-
break;
|
|
1112
|
-
}
|
|
1113
|
-
message.setEntityParent = exports.SetEntityParentBody.decode(reader, reader.uint32());
|
|
1114
|
-
continue;
|
|
1115
|
-
case 9:
|
|
1116
|
-
if (tag != 74) {
|
|
1117
|
-
break;
|
|
1118
|
-
}
|
|
1119
|
-
message.query = exports.QueryBody.decode(reader, reader.uint32());
|
|
1120
|
-
continue;
|
|
1121
|
-
case 10:
|
|
1122
|
-
if (tag != 82) {
|
|
1123
|
-
break;
|
|
1124
|
-
}
|
|
1125
|
-
message.componentCreated = exports.ComponentCreatedBody.decode(reader, reader.uint32());
|
|
1126
|
-
continue;
|
|
1127
|
-
case 11:
|
|
1128
|
-
if (tag != 90) {
|
|
1129
|
-
break;
|
|
1130
|
-
}
|
|
1131
|
-
message.componentDisposed = exports.ComponentDisposedBody.decode(reader, reader.uint32());
|
|
1132
|
-
continue;
|
|
1133
|
-
case 12:
|
|
1134
|
-
if (tag != 98) {
|
|
1135
|
-
break;
|
|
1136
|
-
}
|
|
1137
|
-
message.componentUpdated = exports.ComponentUpdatedBody.decode(reader, reader.uint32());
|
|
1138
|
-
continue;
|
|
1139
|
-
case 13:
|
|
1140
|
-
if (tag != 106) {
|
|
1141
|
-
break;
|
|
1142
|
-
}
|
|
1143
|
-
message.initMessagesFinished = exports.InitMessagesFinishedBody.decode(reader, reader.uint32());
|
|
1144
|
-
continue;
|
|
1145
|
-
}
|
|
1146
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
1147
|
-
break;
|
|
1148
|
-
}
|
|
1149
|
-
reader.skipType(tag & 7);
|
|
1150
|
-
}
|
|
1151
|
-
return message;
|
|
1152
|
-
},
|
|
1153
|
-
fromJSON(object) {
|
|
1154
|
-
return {
|
|
1155
|
-
openExternalUrl: isSet(object.openExternalUrl) ? exports.OpenExternalUrlBody.fromJSON(object.openExternalUrl) : undefined,
|
|
1156
|
-
openNftDialog: isSet(object.openNftDialog) ? exports.OpenNFTDialogBody.fromJSON(object.openNftDialog) : undefined,
|
|
1157
|
-
createEntity: isSet(object.createEntity) ? exports.CreateEntityBody.fromJSON(object.createEntity) : undefined,
|
|
1158
|
-
removeEntity: isSet(object.removeEntity) ? exports.RemoveEntityBody.fromJSON(object.removeEntity) : undefined,
|
|
1159
|
-
updateEntityComponent: isSet(object.updateEntityComponent)
|
|
1160
|
-
? exports.UpdateEntityComponentBody.fromJSON(object.updateEntityComponent)
|
|
1161
|
-
: undefined,
|
|
1162
|
-
attachEntityComponent: isSet(object.attachEntityComponent)
|
|
1163
|
-
? exports.AttachEntityComponentBody.fromJSON(object.attachEntityComponent)
|
|
1164
|
-
: undefined,
|
|
1165
|
-
componentRemoved: isSet(object.componentRemoved)
|
|
1166
|
-
? exports.ComponentRemovedBody.fromJSON(object.componentRemoved)
|
|
1167
|
-
: undefined,
|
|
1168
|
-
setEntityParent: isSet(object.setEntityParent) ? exports.SetEntityParentBody.fromJSON(object.setEntityParent) : undefined,
|
|
1169
|
-
query: isSet(object.query) ? exports.QueryBody.fromJSON(object.query) : undefined,
|
|
1170
|
-
componentCreated: isSet(object.componentCreated)
|
|
1171
|
-
? exports.ComponentCreatedBody.fromJSON(object.componentCreated)
|
|
1172
|
-
: undefined,
|
|
1173
|
-
componentDisposed: isSet(object.componentDisposed)
|
|
1174
|
-
? exports.ComponentDisposedBody.fromJSON(object.componentDisposed)
|
|
1175
|
-
: undefined,
|
|
1176
|
-
componentUpdated: isSet(object.componentUpdated)
|
|
1177
|
-
? exports.ComponentUpdatedBody.fromJSON(object.componentUpdated)
|
|
1178
|
-
: undefined,
|
|
1179
|
-
initMessagesFinished: isSet(object.initMessagesFinished)
|
|
1180
|
-
? exports.InitMessagesFinishedBody.fromJSON(object.initMessagesFinished)
|
|
1181
|
-
: undefined,
|
|
1182
|
-
};
|
|
1183
|
-
},
|
|
1184
|
-
toJSON(message) {
|
|
1185
|
-
const obj = {};
|
|
1186
|
-
message.openExternalUrl !== undefined &&
|
|
1187
|
-
(obj.openExternalUrl = message.openExternalUrl ? exports.OpenExternalUrlBody.toJSON(message.openExternalUrl) : undefined);
|
|
1188
|
-
message.openNftDialog !== undefined &&
|
|
1189
|
-
(obj.openNftDialog = message.openNftDialog ? exports.OpenNFTDialogBody.toJSON(message.openNftDialog) : undefined);
|
|
1190
|
-
message.createEntity !== undefined &&
|
|
1191
|
-
(obj.createEntity = message.createEntity ? exports.CreateEntityBody.toJSON(message.createEntity) : undefined);
|
|
1192
|
-
message.removeEntity !== undefined &&
|
|
1193
|
-
(obj.removeEntity = message.removeEntity ? exports.RemoveEntityBody.toJSON(message.removeEntity) : undefined);
|
|
1194
|
-
message.updateEntityComponent !== undefined && (obj.updateEntityComponent = message.updateEntityComponent
|
|
1195
|
-
? exports.UpdateEntityComponentBody.toJSON(message.updateEntityComponent)
|
|
1196
|
-
: undefined);
|
|
1197
|
-
message.attachEntityComponent !== undefined && (obj.attachEntityComponent = message.attachEntityComponent
|
|
1198
|
-
? exports.AttachEntityComponentBody.toJSON(message.attachEntityComponent)
|
|
1199
|
-
: undefined);
|
|
1200
|
-
message.componentRemoved !== undefined && (obj.componentRemoved = message.componentRemoved
|
|
1201
|
-
? exports.ComponentRemovedBody.toJSON(message.componentRemoved)
|
|
1202
|
-
: undefined);
|
|
1203
|
-
message.setEntityParent !== undefined &&
|
|
1204
|
-
(obj.setEntityParent = message.setEntityParent ? exports.SetEntityParentBody.toJSON(message.setEntityParent) : undefined);
|
|
1205
|
-
message.query !== undefined && (obj.query = message.query ? exports.QueryBody.toJSON(message.query) : undefined);
|
|
1206
|
-
message.componentCreated !== undefined && (obj.componentCreated = message.componentCreated
|
|
1207
|
-
? exports.ComponentCreatedBody.toJSON(message.componentCreated)
|
|
1208
|
-
: undefined);
|
|
1209
|
-
message.componentDisposed !== undefined && (obj.componentDisposed = message.componentDisposed
|
|
1210
|
-
? exports.ComponentDisposedBody.toJSON(message.componentDisposed)
|
|
1211
|
-
: undefined);
|
|
1212
|
-
message.componentUpdated !== undefined && (obj.componentUpdated = message.componentUpdated
|
|
1213
|
-
? exports.ComponentUpdatedBody.toJSON(message.componentUpdated)
|
|
1214
|
-
: undefined);
|
|
1215
|
-
message.initMessagesFinished !== undefined && (obj.initMessagesFinished = message.initMessagesFinished
|
|
1216
|
-
? exports.InitMessagesFinishedBody.toJSON(message.initMessagesFinished)
|
|
1217
|
-
: undefined);
|
|
1218
|
-
return obj;
|
|
1219
|
-
},
|
|
1220
|
-
create(base) {
|
|
1221
|
-
return exports.Payload.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1222
|
-
},
|
|
1223
|
-
fromPartial(object) {
|
|
1224
|
-
const message = createBasePayload();
|
|
1225
|
-
message.openExternalUrl = (object.openExternalUrl !== undefined && object.openExternalUrl !== null)
|
|
1226
|
-
? exports.OpenExternalUrlBody.fromPartial(object.openExternalUrl)
|
|
1227
|
-
: undefined;
|
|
1228
|
-
message.openNftDialog = (object.openNftDialog !== undefined && object.openNftDialog !== null)
|
|
1229
|
-
? exports.OpenNFTDialogBody.fromPartial(object.openNftDialog)
|
|
1230
|
-
: undefined;
|
|
1231
|
-
message.createEntity = (object.createEntity !== undefined && object.createEntity !== null)
|
|
1232
|
-
? exports.CreateEntityBody.fromPartial(object.createEntity)
|
|
1233
|
-
: undefined;
|
|
1234
|
-
message.removeEntity = (object.removeEntity !== undefined && object.removeEntity !== null)
|
|
1235
|
-
? exports.RemoveEntityBody.fromPartial(object.removeEntity)
|
|
1236
|
-
: undefined;
|
|
1237
|
-
message.updateEntityComponent =
|
|
1238
|
-
(object.updateEntityComponent !== undefined && object.updateEntityComponent !== null)
|
|
1239
|
-
? exports.UpdateEntityComponentBody.fromPartial(object.updateEntityComponent)
|
|
1240
|
-
: undefined;
|
|
1241
|
-
message.attachEntityComponent =
|
|
1242
|
-
(object.attachEntityComponent !== undefined && object.attachEntityComponent !== null)
|
|
1243
|
-
? exports.AttachEntityComponentBody.fromPartial(object.attachEntityComponent)
|
|
1244
|
-
: undefined;
|
|
1245
|
-
message.componentRemoved = (object.componentRemoved !== undefined && object.componentRemoved !== null)
|
|
1246
|
-
? exports.ComponentRemovedBody.fromPartial(object.componentRemoved)
|
|
1247
|
-
: undefined;
|
|
1248
|
-
message.setEntityParent = (object.setEntityParent !== undefined && object.setEntityParent !== null)
|
|
1249
|
-
? exports.SetEntityParentBody.fromPartial(object.setEntityParent)
|
|
1250
|
-
: undefined;
|
|
1251
|
-
message.query = (object.query !== undefined && object.query !== null)
|
|
1252
|
-
? exports.QueryBody.fromPartial(object.query)
|
|
1253
|
-
: undefined;
|
|
1254
|
-
message.componentCreated = (object.componentCreated !== undefined && object.componentCreated !== null)
|
|
1255
|
-
? exports.ComponentCreatedBody.fromPartial(object.componentCreated)
|
|
1256
|
-
: undefined;
|
|
1257
|
-
message.componentDisposed = (object.componentDisposed !== undefined && object.componentDisposed !== null)
|
|
1258
|
-
? exports.ComponentDisposedBody.fromPartial(object.componentDisposed)
|
|
1259
|
-
: undefined;
|
|
1260
|
-
message.componentUpdated = (object.componentUpdated !== undefined && object.componentUpdated !== null)
|
|
1261
|
-
? exports.ComponentUpdatedBody.fromPartial(object.componentUpdated)
|
|
1262
|
-
: undefined;
|
|
1263
|
-
message.initMessagesFinished = (object.initMessagesFinished !== undefined && object.initMessagesFinished !== null)
|
|
1264
|
-
? exports.InitMessagesFinishedBody.fromPartial(object.initMessagesFinished)
|
|
1265
|
-
: undefined;
|
|
1266
|
-
return message;
|
|
1267
|
-
},
|
|
1268
|
-
};
|
|
1269
|
-
function createBaseEntityAction() {
|
|
1270
|
-
return { type: 0, tag: undefined, payload: undefined };
|
|
1271
|
-
}
|
|
1272
|
-
exports.EntityAction = {
|
|
1273
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1274
|
-
if (message.type !== 0) {
|
|
1275
|
-
writer.uint32(8).int32(message.type);
|
|
1276
|
-
}
|
|
1277
|
-
if (message.tag !== undefined) {
|
|
1278
|
-
writer.uint32(18).string(message.tag);
|
|
1279
|
-
}
|
|
1280
|
-
if (message.payload !== undefined) {
|
|
1281
|
-
exports.Payload.encode(message.payload, writer.uint32(26).fork()).ldelim();
|
|
1282
|
-
}
|
|
1283
|
-
return writer;
|
|
1284
|
-
},
|
|
1285
|
-
decode(input, length) {
|
|
1286
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1287
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1288
|
-
const message = createBaseEntityAction();
|
|
1289
|
-
while (reader.pos < end) {
|
|
1290
|
-
const tag = reader.uint32();
|
|
1291
|
-
switch (tag >>> 3) {
|
|
1292
|
-
case 1:
|
|
1293
|
-
if (tag != 8) {
|
|
1294
|
-
break;
|
|
1295
|
-
}
|
|
1296
|
-
message.type = reader.int32();
|
|
1297
|
-
continue;
|
|
1298
|
-
case 2:
|
|
1299
|
-
if (tag != 18) {
|
|
1300
|
-
break;
|
|
1301
|
-
}
|
|
1302
|
-
message.tag = reader.string();
|
|
1303
|
-
continue;
|
|
1304
|
-
case 3:
|
|
1305
|
-
if (tag != 26) {
|
|
1306
|
-
break;
|
|
1307
|
-
}
|
|
1308
|
-
message.payload = exports.Payload.decode(reader, reader.uint32());
|
|
1309
|
-
continue;
|
|
1310
|
-
}
|
|
1311
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
1312
|
-
break;
|
|
1313
|
-
}
|
|
1314
|
-
reader.skipType(tag & 7);
|
|
1315
|
-
}
|
|
1316
|
-
return message;
|
|
1317
|
-
},
|
|
1318
|
-
fromJSON(object) {
|
|
1319
|
-
return {
|
|
1320
|
-
type: isSet(object.type) ? eATypeFromJSON(object.type) : 0,
|
|
1321
|
-
tag: isSet(object.tag) ? String(object.tag) : undefined,
|
|
1322
|
-
payload: isSet(object.payload) ? exports.Payload.fromJSON(object.payload) : undefined,
|
|
1323
|
-
};
|
|
1324
|
-
},
|
|
1325
|
-
toJSON(message) {
|
|
1326
|
-
const obj = {};
|
|
1327
|
-
message.type !== undefined && (obj.type = eATypeToJSON(message.type));
|
|
1328
|
-
message.tag !== undefined && (obj.tag = message.tag);
|
|
1329
|
-
message.payload !== undefined && (obj.payload = message.payload ? exports.Payload.toJSON(message.payload) : undefined);
|
|
1330
|
-
return obj;
|
|
1331
|
-
},
|
|
1332
|
-
create(base) {
|
|
1333
|
-
return exports.EntityAction.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1334
|
-
},
|
|
1335
|
-
fromPartial(object) {
|
|
1336
|
-
var _a, _b;
|
|
1337
|
-
const message = createBaseEntityAction();
|
|
1338
|
-
message.type = (_a = object.type) !== null && _a !== void 0 ? _a : 0;
|
|
1339
|
-
message.tag = (_b = object.tag) !== null && _b !== void 0 ? _b : undefined;
|
|
1340
|
-
message.payload = (object.payload !== undefined && object.payload !== null)
|
|
1341
|
-
? exports.Payload.fromPartial(object.payload)
|
|
1342
|
-
: undefined;
|
|
1343
|
-
return message;
|
|
1344
|
-
},
|
|
1345
|
-
};
|
|
1346
|
-
function createBaseManyEntityAction() {
|
|
1347
|
-
return { actions: [] };
|
|
1348
|
-
}
|
|
1349
|
-
exports.ManyEntityAction = {
|
|
1350
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1351
|
-
for (const v of message.actions) {
|
|
1352
|
-
exports.EntityAction.encode(v, writer.uint32(10).fork()).ldelim();
|
|
1353
|
-
}
|
|
1354
|
-
return writer;
|
|
1355
|
-
},
|
|
1356
|
-
decode(input, length) {
|
|
1357
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1358
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1359
|
-
const message = createBaseManyEntityAction();
|
|
1360
|
-
while (reader.pos < end) {
|
|
1361
|
-
const tag = reader.uint32();
|
|
1362
|
-
switch (tag >>> 3) {
|
|
1363
|
-
case 1:
|
|
1364
|
-
if (tag != 10) {
|
|
1365
|
-
break;
|
|
1366
|
-
}
|
|
1367
|
-
message.actions.push(exports.EntityAction.decode(reader, reader.uint32()));
|
|
1368
|
-
continue;
|
|
1369
|
-
}
|
|
1370
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
1371
|
-
break;
|
|
1372
|
-
}
|
|
1373
|
-
reader.skipType(tag & 7);
|
|
1374
|
-
}
|
|
1375
|
-
return message;
|
|
1376
|
-
},
|
|
1377
|
-
fromJSON(object) {
|
|
1378
|
-
return { actions: Array.isArray(object === null || object === void 0 ? void 0 : object.actions) ? object.actions.map((e) => exports.EntityAction.fromJSON(e)) : [] };
|
|
1379
|
-
},
|
|
1380
|
-
toJSON(message) {
|
|
1381
|
-
const obj = {};
|
|
1382
|
-
if (message.actions) {
|
|
1383
|
-
obj.actions = message.actions.map((e) => e ? exports.EntityAction.toJSON(e) : undefined);
|
|
1384
|
-
}
|
|
1385
|
-
else {
|
|
1386
|
-
obj.actions = [];
|
|
1387
|
-
}
|
|
1388
|
-
return obj;
|
|
1389
|
-
},
|
|
1390
|
-
create(base) {
|
|
1391
|
-
return exports.ManyEntityAction.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1392
|
-
},
|
|
1393
|
-
fromPartial(object) {
|
|
1394
|
-
var _a;
|
|
1395
|
-
const message = createBaseManyEntityAction();
|
|
1396
|
-
message.actions = ((_a = object.actions) === null || _a === void 0 ? void 0 : _a.map((e) => exports.EntityAction.fromPartial(e))) || [];
|
|
1397
|
-
return message;
|
|
1398
|
-
},
|
|
1399
|
-
};
|
|
1400
|
-
function createBaseSendBatchResponse() {
|
|
1401
|
-
return { events: [] };
|
|
1402
|
-
}
|
|
1403
|
-
exports.SendBatchResponse = {
|
|
1404
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1405
|
-
for (const v of message.events) {
|
|
1406
|
-
exports.EventData.encode(v, writer.uint32(10).fork()).ldelim();
|
|
1407
|
-
}
|
|
1408
|
-
return writer;
|
|
1409
|
-
},
|
|
1410
|
-
decode(input, length) {
|
|
1411
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1412
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1413
|
-
const message = createBaseSendBatchResponse();
|
|
1414
|
-
while (reader.pos < end) {
|
|
1415
|
-
const tag = reader.uint32();
|
|
1416
|
-
switch (tag >>> 3) {
|
|
1417
|
-
case 1:
|
|
1418
|
-
if (tag != 10) {
|
|
1419
|
-
break;
|
|
1420
|
-
}
|
|
1421
|
-
message.events.push(exports.EventData.decode(reader, reader.uint32()));
|
|
1422
|
-
continue;
|
|
1423
|
-
}
|
|
1424
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
1425
|
-
break;
|
|
1426
|
-
}
|
|
1427
|
-
reader.skipType(tag & 7);
|
|
1428
|
-
}
|
|
1429
|
-
return message;
|
|
1430
|
-
},
|
|
1431
|
-
fromJSON(object) {
|
|
1432
|
-
return { events: Array.isArray(object === null || object === void 0 ? void 0 : object.events) ? object.events.map((e) => exports.EventData.fromJSON(e)) : [] };
|
|
1433
|
-
},
|
|
1434
|
-
toJSON(message) {
|
|
1435
|
-
const obj = {};
|
|
1436
|
-
if (message.events) {
|
|
1437
|
-
obj.events = message.events.map((e) => e ? exports.EventData.toJSON(e) : undefined);
|
|
1438
|
-
}
|
|
1439
|
-
else {
|
|
1440
|
-
obj.events = [];
|
|
1441
|
-
}
|
|
1442
|
-
return obj;
|
|
1443
|
-
},
|
|
1444
|
-
create(base) {
|
|
1445
|
-
return exports.SendBatchResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1446
|
-
},
|
|
1447
|
-
fromPartial(object) {
|
|
1448
|
-
var _a;
|
|
1449
|
-
const message = createBaseSendBatchResponse();
|
|
1450
|
-
message.events = ((_a = object.events) === null || _a === void 0 ? void 0 : _a.map((e) => exports.EventData.fromPartial(e))) || [];
|
|
1451
|
-
return message;
|
|
1452
|
-
},
|
|
1453
|
-
};
|
|
1454
|
-
function createBaseUnsubscribeRequest() {
|
|
1455
|
-
return { eventId: "" };
|
|
1456
|
-
}
|
|
1457
|
-
exports.UnsubscribeRequest = {
|
|
1458
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1459
|
-
if (message.eventId !== "") {
|
|
1460
|
-
writer.uint32(10).string(message.eventId);
|
|
1461
|
-
}
|
|
1462
|
-
return writer;
|
|
1463
|
-
},
|
|
1464
|
-
decode(input, length) {
|
|
1465
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1466
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1467
|
-
const message = createBaseUnsubscribeRequest();
|
|
1468
|
-
while (reader.pos < end) {
|
|
1469
|
-
const tag = reader.uint32();
|
|
1470
|
-
switch (tag >>> 3) {
|
|
1471
|
-
case 1:
|
|
1472
|
-
if (tag != 10) {
|
|
1473
|
-
break;
|
|
1474
|
-
}
|
|
1475
|
-
message.eventId = reader.string();
|
|
1476
|
-
continue;
|
|
1477
|
-
}
|
|
1478
|
-
if ((tag & 7) == 4 || tag == 0) {
|
|
1479
|
-
break;
|
|
1480
|
-
}
|
|
1481
|
-
reader.skipType(tag & 7);
|
|
1482
|
-
}
|
|
1483
|
-
return message;
|
|
1484
|
-
},
|
|
1485
|
-
fromJSON(object) {
|
|
1486
|
-
return { eventId: isSet(object.eventId) ? String(object.eventId) : "" };
|
|
1487
|
-
},
|
|
1488
|
-
toJSON(message) {
|
|
1489
|
-
const obj = {};
|
|
1490
|
-
message.eventId !== undefined && (obj.eventId = message.eventId);
|
|
1491
|
-
return obj;
|
|
1492
|
-
},
|
|
1493
|
-
create(base) {
|
|
1494
|
-
return exports.UnsubscribeRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1495
|
-
},
|
|
1496
|
-
fromPartial(object) {
|
|
1497
|
-
var _a;
|
|
1498
|
-
const message = createBaseUnsubscribeRequest();
|
|
1499
|
-
message.eventId = (_a = object.eventId) !== null && _a !== void 0 ? _a : "";
|
|
1500
|
-
return message;
|
|
1501
|
-
},
|
|
1502
|
-
};
|
|
1503
|
-
function createBaseSubscribeRequest() {
|
|
1504
|
-
return { eventId: "" };
|
|
1505
|
-
}
|
|
1506
|
-
exports.SubscribeRequest = {
|
|
1507
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1508
|
-
if (message.eventId !== "") {
|
|
1509
|
-
writer.uint32(10).string(message.eventId);
|
|
1510
|
-
}
|
|
1511
|
-
return writer;
|
|
1512
|
-
},
|
|
1513
|
-
decode(input, length) {
|
|
241
|
+
}
|
|
242
|
+
SubscribeRequest.encode = encode;
|
|
243
|
+
function decode(input, length) {
|
|
1514
244
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1515
245
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1516
246
|
const message = createBaseSubscribeRequest();
|
|
@@ -1518,45 +248,52 @@ exports.SubscribeRequest = {
|
|
|
1518
248
|
const tag = reader.uint32();
|
|
1519
249
|
switch (tag >>> 3) {
|
|
1520
250
|
case 1:
|
|
1521
|
-
if (tag
|
|
251
|
+
if (tag !== 10) {
|
|
1522
252
|
break;
|
|
1523
253
|
}
|
|
1524
254
|
message.eventId = reader.string();
|
|
1525
255
|
continue;
|
|
1526
256
|
}
|
|
1527
|
-
if ((tag & 7)
|
|
257
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1528
258
|
break;
|
|
1529
259
|
}
|
|
1530
260
|
reader.skipType(tag & 7);
|
|
1531
261
|
}
|
|
1532
262
|
return message;
|
|
1533
|
-
}
|
|
1534
|
-
|
|
263
|
+
}
|
|
264
|
+
SubscribeRequest.decode = decode;
|
|
265
|
+
function fromJSON(object) {
|
|
1535
266
|
return { eventId: isSet(object.eventId) ? String(object.eventId) : "" };
|
|
1536
|
-
}
|
|
1537
|
-
|
|
267
|
+
}
|
|
268
|
+
SubscribeRequest.fromJSON = fromJSON;
|
|
269
|
+
function toJSON(message) {
|
|
1538
270
|
const obj = {};
|
|
1539
271
|
message.eventId !== undefined && (obj.eventId = message.eventId);
|
|
1540
272
|
return obj;
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
273
|
+
}
|
|
274
|
+
SubscribeRequest.toJSON = toJSON;
|
|
275
|
+
function create(base) {
|
|
276
|
+
return SubscribeRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
277
|
+
}
|
|
278
|
+
SubscribeRequest.create = create;
|
|
279
|
+
function fromPartial(object) {
|
|
1546
280
|
var _a;
|
|
1547
281
|
const message = createBaseSubscribeRequest();
|
|
1548
282
|
message.eventId = (_a = object.eventId) !== null && _a !== void 0 ? _a : "";
|
|
1549
283
|
return message;
|
|
1550
|
-
}
|
|
1551
|
-
|
|
284
|
+
}
|
|
285
|
+
SubscribeRequest.fromPartial = fromPartial;
|
|
286
|
+
})(SubscribeRequest || (exports.SubscribeRequest = SubscribeRequest = {}));
|
|
1552
287
|
function createBaseSubscribeResponse() {
|
|
1553
288
|
return {};
|
|
1554
289
|
}
|
|
1555
|
-
|
|
1556
|
-
|
|
290
|
+
var SubscribeResponse;
|
|
291
|
+
(function (SubscribeResponse) {
|
|
292
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
1557
293
|
return writer;
|
|
1558
|
-
}
|
|
1559
|
-
|
|
294
|
+
}
|
|
295
|
+
SubscribeResponse.encode = encode;
|
|
296
|
+
function decode(input, length) {
|
|
1560
297
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1561
298
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1562
299
|
const message = createBaseSubscribeResponse();
|
|
@@ -1564,36 +301,43 @@ exports.SubscribeResponse = {
|
|
|
1564
301
|
const tag = reader.uint32();
|
|
1565
302
|
switch (tag >>> 3) {
|
|
1566
303
|
}
|
|
1567
|
-
if ((tag & 7)
|
|
304
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1568
305
|
break;
|
|
1569
306
|
}
|
|
1570
307
|
reader.skipType(tag & 7);
|
|
1571
308
|
}
|
|
1572
309
|
return message;
|
|
1573
|
-
}
|
|
1574
|
-
|
|
310
|
+
}
|
|
311
|
+
SubscribeResponse.decode = decode;
|
|
312
|
+
function fromJSON(_) {
|
|
1575
313
|
return {};
|
|
1576
|
-
}
|
|
1577
|
-
|
|
314
|
+
}
|
|
315
|
+
SubscribeResponse.fromJSON = fromJSON;
|
|
316
|
+
function toJSON(_) {
|
|
1578
317
|
const obj = {};
|
|
1579
318
|
return obj;
|
|
1580
|
-
}
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
319
|
+
}
|
|
320
|
+
SubscribeResponse.toJSON = toJSON;
|
|
321
|
+
function create(base) {
|
|
322
|
+
return SubscribeResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
323
|
+
}
|
|
324
|
+
SubscribeResponse.create = create;
|
|
325
|
+
function fromPartial(_) {
|
|
1585
326
|
const message = createBaseSubscribeResponse();
|
|
1586
327
|
return message;
|
|
1587
|
-
}
|
|
1588
|
-
|
|
328
|
+
}
|
|
329
|
+
SubscribeResponse.fromPartial = fromPartial;
|
|
330
|
+
})(SubscribeResponse || (exports.SubscribeResponse = SubscribeResponse = {}));
|
|
1589
331
|
function createBaseUnsubscribeResponse() {
|
|
1590
332
|
return {};
|
|
1591
333
|
}
|
|
1592
|
-
|
|
1593
|
-
|
|
334
|
+
var UnsubscribeResponse;
|
|
335
|
+
(function (UnsubscribeResponse) {
|
|
336
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
1594
337
|
return writer;
|
|
1595
|
-
}
|
|
1596
|
-
|
|
338
|
+
}
|
|
339
|
+
UnsubscribeResponse.encode = encode;
|
|
340
|
+
function decode(input, length) {
|
|
1597
341
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1598
342
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1599
343
|
const message = createBaseUnsubscribeResponse();
|
|
@@ -1601,42 +345,49 @@ exports.UnsubscribeResponse = {
|
|
|
1601
345
|
const tag = reader.uint32();
|
|
1602
346
|
switch (tag >>> 3) {
|
|
1603
347
|
}
|
|
1604
|
-
if ((tag & 7)
|
|
348
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1605
349
|
break;
|
|
1606
350
|
}
|
|
1607
351
|
reader.skipType(tag & 7);
|
|
1608
352
|
}
|
|
1609
353
|
return message;
|
|
1610
|
-
}
|
|
1611
|
-
|
|
354
|
+
}
|
|
355
|
+
UnsubscribeResponse.decode = decode;
|
|
356
|
+
function fromJSON(_) {
|
|
1612
357
|
return {};
|
|
1613
|
-
}
|
|
1614
|
-
|
|
358
|
+
}
|
|
359
|
+
UnsubscribeResponse.fromJSON = fromJSON;
|
|
360
|
+
function toJSON(_) {
|
|
1615
361
|
const obj = {};
|
|
1616
362
|
return obj;
|
|
1617
|
-
}
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
363
|
+
}
|
|
364
|
+
UnsubscribeResponse.toJSON = toJSON;
|
|
365
|
+
function create(base) {
|
|
366
|
+
return UnsubscribeResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
367
|
+
}
|
|
368
|
+
UnsubscribeResponse.create = create;
|
|
369
|
+
function fromPartial(_) {
|
|
1622
370
|
const message = createBaseUnsubscribeResponse();
|
|
1623
371
|
return message;
|
|
1624
|
-
}
|
|
1625
|
-
|
|
372
|
+
}
|
|
373
|
+
UnsubscribeResponse.fromPartial = fromPartial;
|
|
374
|
+
})(UnsubscribeResponse || (exports.UnsubscribeResponse = UnsubscribeResponse = {}));
|
|
1626
375
|
function createBaseGenericPayload() {
|
|
1627
376
|
return { eventId: "", eventData: "" };
|
|
1628
377
|
}
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
378
|
+
var GenericPayload;
|
|
379
|
+
(function (GenericPayload) {
|
|
380
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
381
|
+
if (message.eventId !== undefined && message.eventId !== "") {
|
|
1632
382
|
writer.uint32(26).string(message.eventId);
|
|
1633
383
|
}
|
|
1634
|
-
if (message.eventData !== "") {
|
|
384
|
+
if (message.eventData !== undefined && message.eventData !== "") {
|
|
1635
385
|
writer.uint32(34).string(message.eventData);
|
|
1636
386
|
}
|
|
1637
387
|
return writer;
|
|
1638
|
-
}
|
|
1639
|
-
|
|
388
|
+
}
|
|
389
|
+
GenericPayload.encode = encode;
|
|
390
|
+
function decode(input, length) {
|
|
1640
391
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1641
392
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1642
393
|
const message = createBaseGenericPayload();
|
|
@@ -1644,65 +395,72 @@ exports.GenericPayload = {
|
|
|
1644
395
|
const tag = reader.uint32();
|
|
1645
396
|
switch (tag >>> 3) {
|
|
1646
397
|
case 3:
|
|
1647
|
-
if (tag
|
|
398
|
+
if (tag !== 26) {
|
|
1648
399
|
break;
|
|
1649
400
|
}
|
|
1650
401
|
message.eventId = reader.string();
|
|
1651
402
|
continue;
|
|
1652
403
|
case 4:
|
|
1653
|
-
if (tag
|
|
404
|
+
if (tag !== 34) {
|
|
1654
405
|
break;
|
|
1655
406
|
}
|
|
1656
407
|
message.eventData = reader.string();
|
|
1657
408
|
continue;
|
|
1658
409
|
}
|
|
1659
|
-
if ((tag & 7)
|
|
410
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1660
411
|
break;
|
|
1661
412
|
}
|
|
1662
413
|
reader.skipType(tag & 7);
|
|
1663
414
|
}
|
|
1664
415
|
return message;
|
|
1665
|
-
}
|
|
1666
|
-
|
|
416
|
+
}
|
|
417
|
+
GenericPayload.decode = decode;
|
|
418
|
+
function fromJSON(object) {
|
|
1667
419
|
return {
|
|
1668
420
|
eventId: isSet(object.eventId) ? String(object.eventId) : "",
|
|
1669
421
|
eventData: isSet(object.eventData) ? String(object.eventData) : "",
|
|
1670
422
|
};
|
|
1671
|
-
}
|
|
1672
|
-
|
|
423
|
+
}
|
|
424
|
+
GenericPayload.fromJSON = fromJSON;
|
|
425
|
+
function toJSON(message) {
|
|
1673
426
|
const obj = {};
|
|
1674
427
|
message.eventId !== undefined && (obj.eventId = message.eventId);
|
|
1675
428
|
message.eventData !== undefined && (obj.eventData = message.eventData);
|
|
1676
429
|
return obj;
|
|
1677
|
-
}
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
430
|
+
}
|
|
431
|
+
GenericPayload.toJSON = toJSON;
|
|
432
|
+
function create(base) {
|
|
433
|
+
return GenericPayload.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
434
|
+
}
|
|
435
|
+
GenericPayload.create = create;
|
|
436
|
+
function fromPartial(object) {
|
|
1682
437
|
var _a, _b;
|
|
1683
438
|
const message = createBaseGenericPayload();
|
|
1684
439
|
message.eventId = (_a = object.eventId) !== null && _a !== void 0 ? _a : "";
|
|
1685
440
|
message.eventData = (_b = object.eventData) !== null && _b !== void 0 ? _b : "";
|
|
1686
441
|
return message;
|
|
1687
|
-
}
|
|
1688
|
-
|
|
442
|
+
}
|
|
443
|
+
GenericPayload.fromPartial = fromPartial;
|
|
444
|
+
})(GenericPayload || (exports.GenericPayload = GenericPayload = {}));
|
|
1689
445
|
function createBaseReadOnlyVector3() {
|
|
1690
446
|
return { x: 0, y: 0, z: 0 };
|
|
1691
447
|
}
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
448
|
+
var ReadOnlyVector3;
|
|
449
|
+
(function (ReadOnlyVector3) {
|
|
450
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
451
|
+
if (message.x !== undefined && message.x !== 0) {
|
|
1695
452
|
writer.uint32(13).float(message.x);
|
|
1696
453
|
}
|
|
1697
|
-
if (message.y !== 0) {
|
|
454
|
+
if (message.y !== undefined && message.y !== 0) {
|
|
1698
455
|
writer.uint32(21).float(message.y);
|
|
1699
456
|
}
|
|
1700
|
-
if (message.z !== 0) {
|
|
457
|
+
if (message.z !== undefined && message.z !== 0) {
|
|
1701
458
|
writer.uint32(29).float(message.z);
|
|
1702
459
|
}
|
|
1703
460
|
return writer;
|
|
1704
|
-
}
|
|
1705
|
-
|
|
461
|
+
}
|
|
462
|
+
ReadOnlyVector3.encode = encode;
|
|
463
|
+
function decode(input, length) {
|
|
1706
464
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1707
465
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1708
466
|
const message = createBaseReadOnlyVector3();
|
|
@@ -1710,77 +468,84 @@ exports.ReadOnlyVector3 = {
|
|
|
1710
468
|
const tag = reader.uint32();
|
|
1711
469
|
switch (tag >>> 3) {
|
|
1712
470
|
case 1:
|
|
1713
|
-
if (tag
|
|
471
|
+
if (tag !== 13) {
|
|
1714
472
|
break;
|
|
1715
473
|
}
|
|
1716
474
|
message.x = reader.float();
|
|
1717
475
|
continue;
|
|
1718
476
|
case 2:
|
|
1719
|
-
if (tag
|
|
477
|
+
if (tag !== 21) {
|
|
1720
478
|
break;
|
|
1721
479
|
}
|
|
1722
480
|
message.y = reader.float();
|
|
1723
481
|
continue;
|
|
1724
482
|
case 3:
|
|
1725
|
-
if (tag
|
|
483
|
+
if (tag !== 29) {
|
|
1726
484
|
break;
|
|
1727
485
|
}
|
|
1728
486
|
message.z = reader.float();
|
|
1729
487
|
continue;
|
|
1730
488
|
}
|
|
1731
|
-
if ((tag & 7)
|
|
489
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1732
490
|
break;
|
|
1733
491
|
}
|
|
1734
492
|
reader.skipType(tag & 7);
|
|
1735
493
|
}
|
|
1736
494
|
return message;
|
|
1737
|
-
}
|
|
1738
|
-
|
|
495
|
+
}
|
|
496
|
+
ReadOnlyVector3.decode = decode;
|
|
497
|
+
function fromJSON(object) {
|
|
1739
498
|
return {
|
|
1740
499
|
x: isSet(object.x) ? Number(object.x) : 0,
|
|
1741
500
|
y: isSet(object.y) ? Number(object.y) : 0,
|
|
1742
501
|
z: isSet(object.z) ? Number(object.z) : 0,
|
|
1743
502
|
};
|
|
1744
|
-
}
|
|
1745
|
-
|
|
503
|
+
}
|
|
504
|
+
ReadOnlyVector3.fromJSON = fromJSON;
|
|
505
|
+
function toJSON(message) {
|
|
1746
506
|
const obj = {};
|
|
1747
507
|
message.x !== undefined && (obj.x = message.x);
|
|
1748
508
|
message.y !== undefined && (obj.y = message.y);
|
|
1749
509
|
message.z !== undefined && (obj.z = message.z);
|
|
1750
510
|
return obj;
|
|
1751
|
-
}
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
511
|
+
}
|
|
512
|
+
ReadOnlyVector3.toJSON = toJSON;
|
|
513
|
+
function create(base) {
|
|
514
|
+
return ReadOnlyVector3.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
515
|
+
}
|
|
516
|
+
ReadOnlyVector3.create = create;
|
|
517
|
+
function fromPartial(object) {
|
|
1756
518
|
var _a, _b, _c;
|
|
1757
519
|
const message = createBaseReadOnlyVector3();
|
|
1758
520
|
message.x = (_a = object.x) !== null && _a !== void 0 ? _a : 0;
|
|
1759
521
|
message.y = (_b = object.y) !== null && _b !== void 0 ? _b : 0;
|
|
1760
522
|
message.z = (_c = object.z) !== null && _c !== void 0 ? _c : 0;
|
|
1761
523
|
return message;
|
|
1762
|
-
}
|
|
1763
|
-
|
|
524
|
+
}
|
|
525
|
+
ReadOnlyVector3.fromPartial = fromPartial;
|
|
526
|
+
})(ReadOnlyVector3 || (exports.ReadOnlyVector3 = ReadOnlyVector3 = {}));
|
|
1764
527
|
function createBaseReadOnlyQuaternion() {
|
|
1765
528
|
return { x: 0, y: 0, z: 0, w: 0 };
|
|
1766
529
|
}
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
530
|
+
var ReadOnlyQuaternion;
|
|
531
|
+
(function (ReadOnlyQuaternion) {
|
|
532
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
533
|
+
if (message.x !== undefined && message.x !== 0) {
|
|
1770
534
|
writer.uint32(13).float(message.x);
|
|
1771
535
|
}
|
|
1772
|
-
if (message.y !== 0) {
|
|
536
|
+
if (message.y !== undefined && message.y !== 0) {
|
|
1773
537
|
writer.uint32(21).float(message.y);
|
|
1774
538
|
}
|
|
1775
|
-
if (message.z !== 0) {
|
|
539
|
+
if (message.z !== undefined && message.z !== 0) {
|
|
1776
540
|
writer.uint32(29).float(message.z);
|
|
1777
541
|
}
|
|
1778
|
-
if (message.w !== 0) {
|
|
542
|
+
if (message.w !== undefined && message.w !== 0) {
|
|
1779
543
|
writer.uint32(37).float(message.w);
|
|
1780
544
|
}
|
|
1781
545
|
return writer;
|
|
1782
|
-
}
|
|
1783
|
-
|
|
546
|
+
}
|
|
547
|
+
ReadOnlyQuaternion.encode = encode;
|
|
548
|
+
function decode(input, length) {
|
|
1784
549
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1785
550
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1786
551
|
const message = createBaseReadOnlyQuaternion();
|
|
@@ -1788,57 +553,61 @@ exports.ReadOnlyQuaternion = {
|
|
|
1788
553
|
const tag = reader.uint32();
|
|
1789
554
|
switch (tag >>> 3) {
|
|
1790
555
|
case 1:
|
|
1791
|
-
if (tag
|
|
556
|
+
if (tag !== 13) {
|
|
1792
557
|
break;
|
|
1793
558
|
}
|
|
1794
559
|
message.x = reader.float();
|
|
1795
560
|
continue;
|
|
1796
561
|
case 2:
|
|
1797
|
-
if (tag
|
|
562
|
+
if (tag !== 21) {
|
|
1798
563
|
break;
|
|
1799
564
|
}
|
|
1800
565
|
message.y = reader.float();
|
|
1801
566
|
continue;
|
|
1802
567
|
case 3:
|
|
1803
|
-
if (tag
|
|
568
|
+
if (tag !== 29) {
|
|
1804
569
|
break;
|
|
1805
570
|
}
|
|
1806
571
|
message.z = reader.float();
|
|
1807
572
|
continue;
|
|
1808
573
|
case 4:
|
|
1809
|
-
if (tag
|
|
574
|
+
if (tag !== 37) {
|
|
1810
575
|
break;
|
|
1811
576
|
}
|
|
1812
577
|
message.w = reader.float();
|
|
1813
578
|
continue;
|
|
1814
579
|
}
|
|
1815
|
-
if ((tag & 7)
|
|
580
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1816
581
|
break;
|
|
1817
582
|
}
|
|
1818
583
|
reader.skipType(tag & 7);
|
|
1819
584
|
}
|
|
1820
585
|
return message;
|
|
1821
|
-
}
|
|
1822
|
-
|
|
586
|
+
}
|
|
587
|
+
ReadOnlyQuaternion.decode = decode;
|
|
588
|
+
function fromJSON(object) {
|
|
1823
589
|
return {
|
|
1824
590
|
x: isSet(object.x) ? Number(object.x) : 0,
|
|
1825
591
|
y: isSet(object.y) ? Number(object.y) : 0,
|
|
1826
592
|
z: isSet(object.z) ? Number(object.z) : 0,
|
|
1827
593
|
w: isSet(object.w) ? Number(object.w) : 0,
|
|
1828
594
|
};
|
|
1829
|
-
}
|
|
1830
|
-
|
|
595
|
+
}
|
|
596
|
+
ReadOnlyQuaternion.fromJSON = fromJSON;
|
|
597
|
+
function toJSON(message) {
|
|
1831
598
|
const obj = {};
|
|
1832
599
|
message.x !== undefined && (obj.x = message.x);
|
|
1833
600
|
message.y !== undefined && (obj.y = message.y);
|
|
1834
601
|
message.z !== undefined && (obj.z = message.z);
|
|
1835
602
|
message.w !== undefined && (obj.w = message.w);
|
|
1836
603
|
return obj;
|
|
1837
|
-
}
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
604
|
+
}
|
|
605
|
+
ReadOnlyQuaternion.toJSON = toJSON;
|
|
606
|
+
function create(base) {
|
|
607
|
+
return ReadOnlyQuaternion.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
608
|
+
}
|
|
609
|
+
ReadOnlyQuaternion.create = create;
|
|
610
|
+
function fromPartial(object) {
|
|
1842
611
|
var _a, _b, _c, _d;
|
|
1843
612
|
const message = createBaseReadOnlyQuaternion();
|
|
1844
613
|
message.x = (_a = object.x) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -1846,25 +615,28 @@ exports.ReadOnlyQuaternion = {
|
|
|
1846
615
|
message.z = (_c = object.z) !== null && _c !== void 0 ? _c : 0;
|
|
1847
616
|
message.w = (_d = object.w) !== null && _d !== void 0 ? _d : 0;
|
|
1848
617
|
return message;
|
|
1849
|
-
}
|
|
1850
|
-
|
|
618
|
+
}
|
|
619
|
+
ReadOnlyQuaternion.fromPartial = fromPartial;
|
|
620
|
+
})(ReadOnlyQuaternion || (exports.ReadOnlyQuaternion = ReadOnlyQuaternion = {}));
|
|
1851
621
|
function createBasePositionChangedPayload() {
|
|
1852
622
|
return { position: undefined, cameraPosition: undefined, playerHeight: 0 };
|
|
1853
623
|
}
|
|
1854
|
-
|
|
1855
|
-
|
|
624
|
+
var PositionChangedPayload;
|
|
625
|
+
(function (PositionChangedPayload) {
|
|
626
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1856
627
|
if (message.position !== undefined) {
|
|
1857
|
-
|
|
628
|
+
ReadOnlyVector3.encode(message.position, writer.uint32(10).fork()).ldelim();
|
|
1858
629
|
}
|
|
1859
630
|
if (message.cameraPosition !== undefined) {
|
|
1860
|
-
|
|
631
|
+
ReadOnlyVector3.encode(message.cameraPosition, writer.uint32(18).fork()).ldelim();
|
|
1861
632
|
}
|
|
1862
|
-
if (message.playerHeight !== 0) {
|
|
633
|
+
if (message.playerHeight !== undefined && message.playerHeight !== 0) {
|
|
1863
634
|
writer.uint32(29).float(message.playerHeight);
|
|
1864
635
|
}
|
|
1865
636
|
return writer;
|
|
1866
|
-
}
|
|
1867
|
-
|
|
637
|
+
}
|
|
638
|
+
PositionChangedPayload.encode = encode;
|
|
639
|
+
function decode(input, length) {
|
|
1868
640
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1869
641
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1870
642
|
const message = createBasePositionChangedPayload();
|
|
@@ -1872,77 +644,84 @@ exports.PositionChangedPayload = {
|
|
|
1872
644
|
const tag = reader.uint32();
|
|
1873
645
|
switch (tag >>> 3) {
|
|
1874
646
|
case 1:
|
|
1875
|
-
if (tag
|
|
647
|
+
if (tag !== 10) {
|
|
1876
648
|
break;
|
|
1877
649
|
}
|
|
1878
|
-
message.position =
|
|
650
|
+
message.position = ReadOnlyVector3.decode(reader, reader.uint32());
|
|
1879
651
|
continue;
|
|
1880
652
|
case 2:
|
|
1881
|
-
if (tag
|
|
653
|
+
if (tag !== 18) {
|
|
1882
654
|
break;
|
|
1883
655
|
}
|
|
1884
|
-
message.cameraPosition =
|
|
656
|
+
message.cameraPosition = ReadOnlyVector3.decode(reader, reader.uint32());
|
|
1885
657
|
continue;
|
|
1886
658
|
case 3:
|
|
1887
|
-
if (tag
|
|
659
|
+
if (tag !== 29) {
|
|
1888
660
|
break;
|
|
1889
661
|
}
|
|
1890
662
|
message.playerHeight = reader.float();
|
|
1891
663
|
continue;
|
|
1892
664
|
}
|
|
1893
|
-
if ((tag & 7)
|
|
665
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1894
666
|
break;
|
|
1895
667
|
}
|
|
1896
668
|
reader.skipType(tag & 7);
|
|
1897
669
|
}
|
|
1898
670
|
return message;
|
|
1899
|
-
}
|
|
1900
|
-
|
|
671
|
+
}
|
|
672
|
+
PositionChangedPayload.decode = decode;
|
|
673
|
+
function fromJSON(object) {
|
|
1901
674
|
return {
|
|
1902
|
-
position: isSet(object.position) ?
|
|
1903
|
-
cameraPosition: isSet(object.cameraPosition) ?
|
|
675
|
+
position: isSet(object.position) ? ReadOnlyVector3.fromJSON(object.position) : undefined,
|
|
676
|
+
cameraPosition: isSet(object.cameraPosition) ? ReadOnlyVector3.fromJSON(object.cameraPosition) : undefined,
|
|
1904
677
|
playerHeight: isSet(object.playerHeight) ? Number(object.playerHeight) : 0,
|
|
1905
678
|
};
|
|
1906
|
-
}
|
|
1907
|
-
|
|
679
|
+
}
|
|
680
|
+
PositionChangedPayload.fromJSON = fromJSON;
|
|
681
|
+
function toJSON(message) {
|
|
1908
682
|
const obj = {};
|
|
1909
683
|
message.position !== undefined &&
|
|
1910
|
-
(obj.position = message.position ?
|
|
684
|
+
(obj.position = message.position ? ReadOnlyVector3.toJSON(message.position) : undefined);
|
|
1911
685
|
message.cameraPosition !== undefined &&
|
|
1912
|
-
(obj.cameraPosition = message.cameraPosition ?
|
|
686
|
+
(obj.cameraPosition = message.cameraPosition ? ReadOnlyVector3.toJSON(message.cameraPosition) : undefined);
|
|
1913
687
|
message.playerHeight !== undefined && (obj.playerHeight = message.playerHeight);
|
|
1914
688
|
return obj;
|
|
1915
|
-
}
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
689
|
+
}
|
|
690
|
+
PositionChangedPayload.toJSON = toJSON;
|
|
691
|
+
function create(base) {
|
|
692
|
+
return PositionChangedPayload.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
693
|
+
}
|
|
694
|
+
PositionChangedPayload.create = create;
|
|
695
|
+
function fromPartial(object) {
|
|
1920
696
|
var _a;
|
|
1921
697
|
const message = createBasePositionChangedPayload();
|
|
1922
698
|
message.position = (object.position !== undefined && object.position !== null)
|
|
1923
|
-
?
|
|
699
|
+
? ReadOnlyVector3.fromPartial(object.position)
|
|
1924
700
|
: undefined;
|
|
1925
701
|
message.cameraPosition = (object.cameraPosition !== undefined && object.cameraPosition !== null)
|
|
1926
|
-
?
|
|
702
|
+
? ReadOnlyVector3.fromPartial(object.cameraPosition)
|
|
1927
703
|
: undefined;
|
|
1928
704
|
message.playerHeight = (_a = object.playerHeight) !== null && _a !== void 0 ? _a : 0;
|
|
1929
705
|
return message;
|
|
1930
|
-
}
|
|
1931
|
-
|
|
706
|
+
}
|
|
707
|
+
PositionChangedPayload.fromPartial = fromPartial;
|
|
708
|
+
})(PositionChangedPayload || (exports.PositionChangedPayload = PositionChangedPayload = {}));
|
|
1932
709
|
function createBaseRotationChangedPayload() {
|
|
1933
710
|
return { rotation: undefined, quaternion: undefined };
|
|
1934
711
|
}
|
|
1935
|
-
|
|
1936
|
-
|
|
712
|
+
var RotationChangedPayload;
|
|
713
|
+
(function (RotationChangedPayload) {
|
|
714
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1937
715
|
if (message.rotation !== undefined) {
|
|
1938
|
-
|
|
716
|
+
ReadOnlyVector3.encode(message.rotation, writer.uint32(10).fork()).ldelim();
|
|
1939
717
|
}
|
|
1940
718
|
if (message.quaternion !== undefined) {
|
|
1941
|
-
|
|
719
|
+
ReadOnlyQuaternion.encode(message.quaternion, writer.uint32(18).fork()).ldelim();
|
|
1942
720
|
}
|
|
1943
721
|
return writer;
|
|
1944
|
-
}
|
|
1945
|
-
|
|
722
|
+
}
|
|
723
|
+
RotationChangedPayload.encode = encode;
|
|
724
|
+
function decode(input, length) {
|
|
1946
725
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1947
726
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1948
727
|
const message = createBaseRotationChangedPayload();
|
|
@@ -1950,73 +729,80 @@ exports.RotationChangedPayload = {
|
|
|
1950
729
|
const tag = reader.uint32();
|
|
1951
730
|
switch (tag >>> 3) {
|
|
1952
731
|
case 1:
|
|
1953
|
-
if (tag
|
|
732
|
+
if (tag !== 10) {
|
|
1954
733
|
break;
|
|
1955
734
|
}
|
|
1956
|
-
message.rotation =
|
|
735
|
+
message.rotation = ReadOnlyVector3.decode(reader, reader.uint32());
|
|
1957
736
|
continue;
|
|
1958
737
|
case 2:
|
|
1959
|
-
if (tag
|
|
738
|
+
if (tag !== 18) {
|
|
1960
739
|
break;
|
|
1961
740
|
}
|
|
1962
|
-
message.quaternion =
|
|
741
|
+
message.quaternion = ReadOnlyQuaternion.decode(reader, reader.uint32());
|
|
1963
742
|
continue;
|
|
1964
743
|
}
|
|
1965
|
-
if ((tag & 7)
|
|
744
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1966
745
|
break;
|
|
1967
746
|
}
|
|
1968
747
|
reader.skipType(tag & 7);
|
|
1969
748
|
}
|
|
1970
749
|
return message;
|
|
1971
|
-
}
|
|
1972
|
-
|
|
750
|
+
}
|
|
751
|
+
RotationChangedPayload.decode = decode;
|
|
752
|
+
function fromJSON(object) {
|
|
1973
753
|
return {
|
|
1974
|
-
rotation: isSet(object.rotation) ?
|
|
1975
|
-
quaternion: isSet(object.quaternion) ?
|
|
754
|
+
rotation: isSet(object.rotation) ? ReadOnlyVector3.fromJSON(object.rotation) : undefined,
|
|
755
|
+
quaternion: isSet(object.quaternion) ? ReadOnlyQuaternion.fromJSON(object.quaternion) : undefined,
|
|
1976
756
|
};
|
|
1977
|
-
}
|
|
1978
|
-
|
|
757
|
+
}
|
|
758
|
+
RotationChangedPayload.fromJSON = fromJSON;
|
|
759
|
+
function toJSON(message) {
|
|
1979
760
|
const obj = {};
|
|
1980
761
|
message.rotation !== undefined &&
|
|
1981
|
-
(obj.rotation = message.rotation ?
|
|
762
|
+
(obj.rotation = message.rotation ? ReadOnlyVector3.toJSON(message.rotation) : undefined);
|
|
1982
763
|
message.quaternion !== undefined &&
|
|
1983
|
-
(obj.quaternion = message.quaternion ?
|
|
764
|
+
(obj.quaternion = message.quaternion ? ReadOnlyQuaternion.toJSON(message.quaternion) : undefined);
|
|
1984
765
|
return obj;
|
|
1985
|
-
}
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
766
|
+
}
|
|
767
|
+
RotationChangedPayload.toJSON = toJSON;
|
|
768
|
+
function create(base) {
|
|
769
|
+
return RotationChangedPayload.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
770
|
+
}
|
|
771
|
+
RotationChangedPayload.create = create;
|
|
772
|
+
function fromPartial(object) {
|
|
1990
773
|
const message = createBaseRotationChangedPayload();
|
|
1991
774
|
message.rotation = (object.rotation !== undefined && object.rotation !== null)
|
|
1992
|
-
?
|
|
775
|
+
? ReadOnlyVector3.fromPartial(object.rotation)
|
|
1993
776
|
: undefined;
|
|
1994
777
|
message.quaternion = (object.quaternion !== undefined && object.quaternion !== null)
|
|
1995
|
-
?
|
|
778
|
+
? ReadOnlyQuaternion.fromPartial(object.quaternion)
|
|
1996
779
|
: undefined;
|
|
1997
780
|
return message;
|
|
1998
|
-
}
|
|
1999
|
-
|
|
781
|
+
}
|
|
782
|
+
RotationChangedPayload.fromPartial = fromPartial;
|
|
783
|
+
})(RotationChangedPayload || (exports.RotationChangedPayload = RotationChangedPayload = {}));
|
|
2000
784
|
function createBaseEventData() {
|
|
2001
785
|
return { type: 0, generic: undefined, positionChanged: undefined, rotationChanged: undefined };
|
|
2002
786
|
}
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
787
|
+
var EventData;
|
|
788
|
+
(function (EventData) {
|
|
789
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
790
|
+
if (message.type !== undefined && message.type !== 0) {
|
|
2006
791
|
writer.uint32(8).int32(message.type);
|
|
2007
792
|
}
|
|
2008
793
|
if (message.generic !== undefined) {
|
|
2009
|
-
|
|
794
|
+
GenericPayload.encode(message.generic, writer.uint32(18).fork()).ldelim();
|
|
2010
795
|
}
|
|
2011
796
|
if (message.positionChanged !== undefined) {
|
|
2012
|
-
|
|
797
|
+
PositionChangedPayload.encode(message.positionChanged, writer.uint32(26).fork()).ldelim();
|
|
2013
798
|
}
|
|
2014
799
|
if (message.rotationChanged !== undefined) {
|
|
2015
|
-
|
|
800
|
+
RotationChangedPayload.encode(message.rotationChanged, writer.uint32(34).fork()).ldelim();
|
|
2016
801
|
}
|
|
2017
802
|
return writer;
|
|
2018
|
-
}
|
|
2019
|
-
|
|
803
|
+
}
|
|
804
|
+
EventData.encode = encode;
|
|
805
|
+
function decode(input, length) {
|
|
2020
806
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2021
807
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2022
808
|
const message = createBaseEventData();
|
|
@@ -2024,92 +810,101 @@ exports.EventData = {
|
|
|
2024
810
|
const tag = reader.uint32();
|
|
2025
811
|
switch (tag >>> 3) {
|
|
2026
812
|
case 1:
|
|
2027
|
-
if (tag
|
|
813
|
+
if (tag !== 8) {
|
|
2028
814
|
break;
|
|
2029
815
|
}
|
|
2030
816
|
message.type = reader.int32();
|
|
2031
817
|
continue;
|
|
2032
818
|
case 2:
|
|
2033
|
-
if (tag
|
|
819
|
+
if (tag !== 18) {
|
|
2034
820
|
break;
|
|
2035
821
|
}
|
|
2036
|
-
message.generic =
|
|
822
|
+
message.generic = GenericPayload.decode(reader, reader.uint32());
|
|
2037
823
|
continue;
|
|
2038
824
|
case 3:
|
|
2039
|
-
if (tag
|
|
825
|
+
if (tag !== 26) {
|
|
2040
826
|
break;
|
|
2041
827
|
}
|
|
2042
|
-
message.positionChanged =
|
|
828
|
+
message.positionChanged = PositionChangedPayload.decode(reader, reader.uint32());
|
|
2043
829
|
continue;
|
|
2044
830
|
case 4:
|
|
2045
|
-
if (tag
|
|
831
|
+
if (tag !== 34) {
|
|
2046
832
|
break;
|
|
2047
833
|
}
|
|
2048
|
-
message.rotationChanged =
|
|
834
|
+
message.rotationChanged = RotationChangedPayload.decode(reader, reader.uint32());
|
|
2049
835
|
continue;
|
|
2050
836
|
}
|
|
2051
|
-
if ((tag & 7)
|
|
837
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2052
838
|
break;
|
|
2053
839
|
}
|
|
2054
840
|
reader.skipType(tag & 7);
|
|
2055
841
|
}
|
|
2056
842
|
return message;
|
|
2057
|
-
}
|
|
2058
|
-
|
|
843
|
+
}
|
|
844
|
+
EventData.decode = decode;
|
|
845
|
+
function fromJSON(object) {
|
|
2059
846
|
return {
|
|
2060
847
|
type: isSet(object.type) ? eventDataTypeFromJSON(object.type) : 0,
|
|
2061
|
-
generic: isSet(object.generic) ?
|
|
848
|
+
generic: isSet(object.generic) ? GenericPayload.fromJSON(object.generic) : undefined,
|
|
2062
849
|
positionChanged: isSet(object.positionChanged)
|
|
2063
|
-
?
|
|
850
|
+
? PositionChangedPayload.fromJSON(object.positionChanged)
|
|
2064
851
|
: undefined,
|
|
2065
852
|
rotationChanged: isSet(object.rotationChanged)
|
|
2066
|
-
?
|
|
853
|
+
? RotationChangedPayload.fromJSON(object.rotationChanged)
|
|
2067
854
|
: undefined,
|
|
2068
855
|
};
|
|
2069
|
-
}
|
|
2070
|
-
|
|
856
|
+
}
|
|
857
|
+
EventData.fromJSON = fromJSON;
|
|
858
|
+
function toJSON(message) {
|
|
2071
859
|
const obj = {};
|
|
2072
860
|
message.type !== undefined && (obj.type = eventDataTypeToJSON(message.type));
|
|
2073
861
|
message.generic !== undefined &&
|
|
2074
|
-
(obj.generic = message.generic ?
|
|
2075
|
-
message.positionChanged !== undefined &&
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
862
|
+
(obj.generic = message.generic ? GenericPayload.toJSON(message.generic) : undefined);
|
|
863
|
+
message.positionChanged !== undefined &&
|
|
864
|
+
(obj.positionChanged = message.positionChanged
|
|
865
|
+
? PositionChangedPayload.toJSON(message.positionChanged)
|
|
866
|
+
: undefined);
|
|
867
|
+
message.rotationChanged !== undefined &&
|
|
868
|
+
(obj.rotationChanged = message.rotationChanged
|
|
869
|
+
? RotationChangedPayload.toJSON(message.rotationChanged)
|
|
870
|
+
: undefined);
|
|
2081
871
|
return obj;
|
|
2082
|
-
}
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
872
|
+
}
|
|
873
|
+
EventData.toJSON = toJSON;
|
|
874
|
+
function create(base) {
|
|
875
|
+
return EventData.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
876
|
+
}
|
|
877
|
+
EventData.create = create;
|
|
878
|
+
function fromPartial(object) {
|
|
2087
879
|
var _a;
|
|
2088
880
|
const message = createBaseEventData();
|
|
2089
881
|
message.type = (_a = object.type) !== null && _a !== void 0 ? _a : 0;
|
|
2090
882
|
message.generic = (object.generic !== undefined && object.generic !== null)
|
|
2091
|
-
?
|
|
883
|
+
? GenericPayload.fromPartial(object.generic)
|
|
2092
884
|
: undefined;
|
|
2093
885
|
message.positionChanged = (object.positionChanged !== undefined && object.positionChanged !== null)
|
|
2094
|
-
?
|
|
886
|
+
? PositionChangedPayload.fromPartial(object.positionChanged)
|
|
2095
887
|
: undefined;
|
|
2096
888
|
message.rotationChanged = (object.rotationChanged !== undefined && object.rotationChanged !== null)
|
|
2097
|
-
?
|
|
889
|
+
? RotationChangedPayload.fromPartial(object.rotationChanged)
|
|
2098
890
|
: undefined;
|
|
2099
891
|
return message;
|
|
2100
|
-
}
|
|
2101
|
-
|
|
892
|
+
}
|
|
893
|
+
EventData.fromPartial = fromPartial;
|
|
894
|
+
})(EventData || (exports.EventData = EventData = {}));
|
|
2102
895
|
function createBaseCrdtSendToRendererRequest() {
|
|
2103
|
-
return { data: new Uint8Array() };
|
|
896
|
+
return { data: new Uint8Array(0) };
|
|
2104
897
|
}
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
898
|
+
var CrdtSendToRendererRequest;
|
|
899
|
+
(function (CrdtSendToRendererRequest) {
|
|
900
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
901
|
+
if (message.data !== undefined && message.data.length !== 0) {
|
|
2108
902
|
writer.uint32(10).bytes(message.data);
|
|
2109
903
|
}
|
|
2110
904
|
return writer;
|
|
2111
|
-
}
|
|
2112
|
-
|
|
905
|
+
}
|
|
906
|
+
CrdtSendToRendererRequest.encode = encode;
|
|
907
|
+
function decode(input, length) {
|
|
2113
908
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2114
909
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2115
910
|
const message = createBaseCrdtSendToRendererRequest();
|
|
@@ -2117,49 +912,57 @@ exports.CrdtSendToRendererRequest = {
|
|
|
2117
912
|
const tag = reader.uint32();
|
|
2118
913
|
switch (tag >>> 3) {
|
|
2119
914
|
case 1:
|
|
2120
|
-
if (tag
|
|
915
|
+
if (tag !== 10) {
|
|
2121
916
|
break;
|
|
2122
917
|
}
|
|
2123
918
|
message.data = reader.bytes();
|
|
2124
919
|
continue;
|
|
2125
920
|
}
|
|
2126
|
-
if ((tag & 7)
|
|
921
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2127
922
|
break;
|
|
2128
923
|
}
|
|
2129
924
|
reader.skipType(tag & 7);
|
|
2130
925
|
}
|
|
2131
926
|
return message;
|
|
2132
|
-
}
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
927
|
+
}
|
|
928
|
+
CrdtSendToRendererRequest.decode = decode;
|
|
929
|
+
function fromJSON(object) {
|
|
930
|
+
return { data: isSet(object.data) ? bytesFromBase64(object.data) : new Uint8Array(0) };
|
|
931
|
+
}
|
|
932
|
+
CrdtSendToRendererRequest.fromJSON = fromJSON;
|
|
933
|
+
function toJSON(message) {
|
|
2137
934
|
const obj = {};
|
|
2138
935
|
message.data !== undefined &&
|
|
2139
|
-
(obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array()));
|
|
936
|
+
(obj.data = base64FromBytes(message.data !== undefined ? message.data : new Uint8Array(0)));
|
|
2140
937
|
return obj;
|
|
2141
|
-
}
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
938
|
+
}
|
|
939
|
+
CrdtSendToRendererRequest.toJSON = toJSON;
|
|
940
|
+
function create(base) {
|
|
941
|
+
return CrdtSendToRendererRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
942
|
+
}
|
|
943
|
+
CrdtSendToRendererRequest.create = create;
|
|
944
|
+
function fromPartial(object) {
|
|
2146
945
|
var _a;
|
|
2147
946
|
const message = createBaseCrdtSendToRendererRequest();
|
|
2148
|
-
message.data = (_a = object.data) !== null && _a !== void 0 ? _a : new Uint8Array();
|
|
947
|
+
message.data = (_a = object.data) !== null && _a !== void 0 ? _a : new Uint8Array(0);
|
|
2149
948
|
return message;
|
|
2150
|
-
}
|
|
2151
|
-
|
|
949
|
+
}
|
|
950
|
+
CrdtSendToRendererRequest.fromPartial = fromPartial;
|
|
951
|
+
})(CrdtSendToRendererRequest || (exports.CrdtSendToRendererRequest = CrdtSendToRendererRequest = {}));
|
|
2152
952
|
function createBaseCrdtSendToResponse() {
|
|
2153
953
|
return { data: [] };
|
|
2154
954
|
}
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
955
|
+
var CrdtSendToResponse;
|
|
956
|
+
(function (CrdtSendToResponse) {
|
|
957
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
958
|
+
var _a;
|
|
959
|
+
for (const v of (_a = message.data) !== null && _a !== void 0 ? _a : []) {
|
|
2158
960
|
writer.uint32(10).bytes(v);
|
|
2159
961
|
}
|
|
2160
962
|
return writer;
|
|
2161
|
-
}
|
|
2162
|
-
|
|
963
|
+
}
|
|
964
|
+
CrdtSendToResponse.encode = encode;
|
|
965
|
+
function decode(input, length) {
|
|
2163
966
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2164
967
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2165
968
|
const message = createBaseCrdtSendToResponse();
|
|
@@ -2167,50 +970,57 @@ exports.CrdtSendToResponse = {
|
|
|
2167
970
|
const tag = reader.uint32();
|
|
2168
971
|
switch (tag >>> 3) {
|
|
2169
972
|
case 1:
|
|
2170
|
-
if (tag
|
|
973
|
+
if (tag !== 10) {
|
|
2171
974
|
break;
|
|
2172
975
|
}
|
|
2173
976
|
message.data.push(reader.bytes());
|
|
2174
977
|
continue;
|
|
2175
978
|
}
|
|
2176
|
-
if ((tag & 7)
|
|
979
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2177
980
|
break;
|
|
2178
981
|
}
|
|
2179
982
|
reader.skipType(tag & 7);
|
|
2180
983
|
}
|
|
2181
984
|
return message;
|
|
2182
|
-
}
|
|
2183
|
-
|
|
985
|
+
}
|
|
986
|
+
CrdtSendToResponse.decode = decode;
|
|
987
|
+
function fromJSON(object) {
|
|
2184
988
|
return { data: Array.isArray(object === null || object === void 0 ? void 0 : object.data) ? object.data.map((e) => bytesFromBase64(e)) : [] };
|
|
2185
|
-
}
|
|
2186
|
-
|
|
989
|
+
}
|
|
990
|
+
CrdtSendToResponse.fromJSON = fromJSON;
|
|
991
|
+
function toJSON(message) {
|
|
2187
992
|
const obj = {};
|
|
2188
993
|
if (message.data) {
|
|
2189
|
-
obj.data = message.data.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
994
|
+
obj.data = message.data.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array(0)));
|
|
2190
995
|
}
|
|
2191
996
|
else {
|
|
2192
997
|
obj.data = [];
|
|
2193
998
|
}
|
|
2194
999
|
return obj;
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
1000
|
+
}
|
|
1001
|
+
CrdtSendToResponse.toJSON = toJSON;
|
|
1002
|
+
function create(base) {
|
|
1003
|
+
return CrdtSendToResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1004
|
+
}
|
|
1005
|
+
CrdtSendToResponse.create = create;
|
|
1006
|
+
function fromPartial(object) {
|
|
2200
1007
|
var _a;
|
|
2201
1008
|
const message = createBaseCrdtSendToResponse();
|
|
2202
1009
|
message.data = ((_a = object.data) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
2203
1010
|
return message;
|
|
2204
|
-
}
|
|
2205
|
-
|
|
1011
|
+
}
|
|
1012
|
+
CrdtSendToResponse.fromPartial = fromPartial;
|
|
1013
|
+
})(CrdtSendToResponse || (exports.CrdtSendToResponse = CrdtSendToResponse = {}));
|
|
2206
1014
|
function createBaseCrdtGetStateRequest() {
|
|
2207
1015
|
return {};
|
|
2208
1016
|
}
|
|
2209
|
-
|
|
2210
|
-
|
|
1017
|
+
var CrdtGetStateRequest;
|
|
1018
|
+
(function (CrdtGetStateRequest) {
|
|
1019
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
2211
1020
|
return writer;
|
|
2212
|
-
}
|
|
2213
|
-
|
|
1021
|
+
}
|
|
1022
|
+
CrdtGetStateRequest.encode = encode;
|
|
1023
|
+
function decode(input, length) {
|
|
2214
1024
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2215
1025
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2216
1026
|
const message = createBaseCrdtGetStateRequest();
|
|
@@ -2218,42 +1028,50 @@ exports.CrdtGetStateRequest = {
|
|
|
2218
1028
|
const tag = reader.uint32();
|
|
2219
1029
|
switch (tag >>> 3) {
|
|
2220
1030
|
}
|
|
2221
|
-
if ((tag & 7)
|
|
1031
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2222
1032
|
break;
|
|
2223
1033
|
}
|
|
2224
1034
|
reader.skipType(tag & 7);
|
|
2225
1035
|
}
|
|
2226
1036
|
return message;
|
|
2227
|
-
}
|
|
2228
|
-
|
|
1037
|
+
}
|
|
1038
|
+
CrdtGetStateRequest.decode = decode;
|
|
1039
|
+
function fromJSON(_) {
|
|
2229
1040
|
return {};
|
|
2230
|
-
}
|
|
2231
|
-
|
|
1041
|
+
}
|
|
1042
|
+
CrdtGetStateRequest.fromJSON = fromJSON;
|
|
1043
|
+
function toJSON(_) {
|
|
2232
1044
|
const obj = {};
|
|
2233
1045
|
return obj;
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
1046
|
+
}
|
|
1047
|
+
CrdtGetStateRequest.toJSON = toJSON;
|
|
1048
|
+
function create(base) {
|
|
1049
|
+
return CrdtGetStateRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1050
|
+
}
|
|
1051
|
+
CrdtGetStateRequest.create = create;
|
|
1052
|
+
function fromPartial(_) {
|
|
2239
1053
|
const message = createBaseCrdtGetStateRequest();
|
|
2240
1054
|
return message;
|
|
2241
|
-
}
|
|
2242
|
-
|
|
1055
|
+
}
|
|
1056
|
+
CrdtGetStateRequest.fromPartial = fromPartial;
|
|
1057
|
+
})(CrdtGetStateRequest || (exports.CrdtGetStateRequest = CrdtGetStateRequest = {}));
|
|
2243
1058
|
function createBaseCrdtGetStateResponse() {
|
|
2244
1059
|
return { hasEntities: false, data: [] };
|
|
2245
1060
|
}
|
|
2246
|
-
|
|
2247
|
-
|
|
1061
|
+
var CrdtGetStateResponse;
|
|
1062
|
+
(function (CrdtGetStateResponse) {
|
|
1063
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1064
|
+
var _a;
|
|
2248
1065
|
if (message.hasEntities === true) {
|
|
2249
1066
|
writer.uint32(8).bool(message.hasEntities);
|
|
2250
1067
|
}
|
|
2251
|
-
for (const v of message.data) {
|
|
1068
|
+
for (const v of (_a = message.data) !== null && _a !== void 0 ? _a : []) {
|
|
2252
1069
|
writer.uint32(18).bytes(v);
|
|
2253
1070
|
}
|
|
2254
1071
|
return writer;
|
|
2255
|
-
}
|
|
2256
|
-
|
|
1072
|
+
}
|
|
1073
|
+
CrdtGetStateResponse.encode = encode;
|
|
1074
|
+
function decode(input, length) {
|
|
2257
1075
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2258
1076
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2259
1077
|
const message = createBaseCrdtGetStateResponse();
|
|
@@ -2261,61 +1079,69 @@ exports.CrdtGetStateResponse = {
|
|
|
2261
1079
|
const tag = reader.uint32();
|
|
2262
1080
|
switch (tag >>> 3) {
|
|
2263
1081
|
case 1:
|
|
2264
|
-
if (tag
|
|
1082
|
+
if (tag !== 8) {
|
|
2265
1083
|
break;
|
|
2266
1084
|
}
|
|
2267
1085
|
message.hasEntities = reader.bool();
|
|
2268
1086
|
continue;
|
|
2269
1087
|
case 2:
|
|
2270
|
-
if (tag
|
|
1088
|
+
if (tag !== 18) {
|
|
2271
1089
|
break;
|
|
2272
1090
|
}
|
|
2273
1091
|
message.data.push(reader.bytes());
|
|
2274
1092
|
continue;
|
|
2275
1093
|
}
|
|
2276
|
-
if ((tag & 7)
|
|
1094
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2277
1095
|
break;
|
|
2278
1096
|
}
|
|
2279
1097
|
reader.skipType(tag & 7);
|
|
2280
1098
|
}
|
|
2281
1099
|
return message;
|
|
2282
|
-
}
|
|
2283
|
-
|
|
1100
|
+
}
|
|
1101
|
+
CrdtGetStateResponse.decode = decode;
|
|
1102
|
+
function fromJSON(object) {
|
|
2284
1103
|
return {
|
|
2285
1104
|
hasEntities: isSet(object.hasEntities) ? Boolean(object.hasEntities) : false,
|
|
2286
1105
|
data: Array.isArray(object === null || object === void 0 ? void 0 : object.data) ? object.data.map((e) => bytesFromBase64(e)) : [],
|
|
2287
1106
|
};
|
|
2288
|
-
}
|
|
2289
|
-
|
|
1107
|
+
}
|
|
1108
|
+
CrdtGetStateResponse.fromJSON = fromJSON;
|
|
1109
|
+
function toJSON(message) {
|
|
2290
1110
|
const obj = {};
|
|
2291
1111
|
message.hasEntities !== undefined && (obj.hasEntities = message.hasEntities);
|
|
2292
1112
|
if (message.data) {
|
|
2293
|
-
obj.data = message.data.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
1113
|
+
obj.data = message.data.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array(0)));
|
|
2294
1114
|
}
|
|
2295
1115
|
else {
|
|
2296
1116
|
obj.data = [];
|
|
2297
1117
|
}
|
|
2298
1118
|
return obj;
|
|
2299
|
-
}
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
1119
|
+
}
|
|
1120
|
+
CrdtGetStateResponse.toJSON = toJSON;
|
|
1121
|
+
function create(base) {
|
|
1122
|
+
return CrdtGetStateResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1123
|
+
}
|
|
1124
|
+
CrdtGetStateResponse.create = create;
|
|
1125
|
+
function fromPartial(object) {
|
|
1126
|
+
var _a;
|
|
1127
|
+
var _b;
|
|
2305
1128
|
const message = createBaseCrdtGetStateResponse();
|
|
2306
|
-
message.hasEntities = (
|
|
2307
|
-
message.data = ((
|
|
1129
|
+
message.hasEntities = (_b = object.hasEntities) !== null && _b !== void 0 ? _b : false;
|
|
1130
|
+
message.data = ((_a = object.data) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
2308
1131
|
return message;
|
|
2309
|
-
}
|
|
2310
|
-
|
|
1132
|
+
}
|
|
1133
|
+
CrdtGetStateResponse.fromPartial = fromPartial;
|
|
1134
|
+
})(CrdtGetStateResponse || (exports.CrdtGetStateResponse = CrdtGetStateResponse = {}));
|
|
2311
1135
|
function createBaseCrdtMessageFromRendererRequest() {
|
|
2312
1136
|
return {};
|
|
2313
1137
|
}
|
|
2314
|
-
|
|
2315
|
-
|
|
1138
|
+
var CrdtMessageFromRendererRequest;
|
|
1139
|
+
(function (CrdtMessageFromRendererRequest) {
|
|
1140
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
2316
1141
|
return writer;
|
|
2317
|
-
}
|
|
2318
|
-
|
|
1142
|
+
}
|
|
1143
|
+
CrdtMessageFromRendererRequest.encode = encode;
|
|
1144
|
+
function decode(input, length) {
|
|
2319
1145
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2320
1146
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2321
1147
|
const message = createBaseCrdtMessageFromRendererRequest();
|
|
@@ -2323,39 +1149,47 @@ exports.CrdtMessageFromRendererRequest = {
|
|
|
2323
1149
|
const tag = reader.uint32();
|
|
2324
1150
|
switch (tag >>> 3) {
|
|
2325
1151
|
}
|
|
2326
|
-
if ((tag & 7)
|
|
1152
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2327
1153
|
break;
|
|
2328
1154
|
}
|
|
2329
1155
|
reader.skipType(tag & 7);
|
|
2330
1156
|
}
|
|
2331
1157
|
return message;
|
|
2332
|
-
}
|
|
2333
|
-
|
|
1158
|
+
}
|
|
1159
|
+
CrdtMessageFromRendererRequest.decode = decode;
|
|
1160
|
+
function fromJSON(_) {
|
|
2334
1161
|
return {};
|
|
2335
|
-
}
|
|
2336
|
-
|
|
1162
|
+
}
|
|
1163
|
+
CrdtMessageFromRendererRequest.fromJSON = fromJSON;
|
|
1164
|
+
function toJSON(_) {
|
|
2337
1165
|
const obj = {};
|
|
2338
1166
|
return obj;
|
|
2339
|
-
}
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
1167
|
+
}
|
|
1168
|
+
CrdtMessageFromRendererRequest.toJSON = toJSON;
|
|
1169
|
+
function create(base) {
|
|
1170
|
+
return CrdtMessageFromRendererRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1171
|
+
}
|
|
1172
|
+
CrdtMessageFromRendererRequest.create = create;
|
|
1173
|
+
function fromPartial(_) {
|
|
2344
1174
|
const message = createBaseCrdtMessageFromRendererRequest();
|
|
2345
1175
|
return message;
|
|
2346
|
-
}
|
|
2347
|
-
|
|
1176
|
+
}
|
|
1177
|
+
CrdtMessageFromRendererRequest.fromPartial = fromPartial;
|
|
1178
|
+
})(CrdtMessageFromRendererRequest || (exports.CrdtMessageFromRendererRequest = CrdtMessageFromRendererRequest = {}));
|
|
2348
1179
|
function createBaseCrdtMessageFromRendererResponse() {
|
|
2349
1180
|
return { data: [] };
|
|
2350
1181
|
}
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
1182
|
+
var CrdtMessageFromRendererResponse;
|
|
1183
|
+
(function (CrdtMessageFromRendererResponse) {
|
|
1184
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1185
|
+
var _a;
|
|
1186
|
+
for (const v of (_a = message.data) !== null && _a !== void 0 ? _a : []) {
|
|
2354
1187
|
writer.uint32(10).bytes(v);
|
|
2355
1188
|
}
|
|
2356
1189
|
return writer;
|
|
2357
|
-
}
|
|
2358
|
-
|
|
1190
|
+
}
|
|
1191
|
+
CrdtMessageFromRendererResponse.encode = encode;
|
|
1192
|
+
function decode(input, length) {
|
|
2359
1193
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
2360
1194
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
2361
1195
|
const message = createBaseCrdtMessageFromRendererResponse();
|
|
@@ -2363,42 +1197,147 @@ exports.CrdtMessageFromRendererResponse = {
|
|
|
2363
1197
|
const tag = reader.uint32();
|
|
2364
1198
|
switch (tag >>> 3) {
|
|
2365
1199
|
case 1:
|
|
2366
|
-
if (tag
|
|
1200
|
+
if (tag !== 10) {
|
|
2367
1201
|
break;
|
|
2368
1202
|
}
|
|
2369
1203
|
message.data.push(reader.bytes());
|
|
2370
1204
|
continue;
|
|
2371
1205
|
}
|
|
2372
|
-
if ((tag & 7)
|
|
1206
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2373
1207
|
break;
|
|
2374
1208
|
}
|
|
2375
1209
|
reader.skipType(tag & 7);
|
|
2376
1210
|
}
|
|
2377
1211
|
return message;
|
|
2378
|
-
}
|
|
2379
|
-
|
|
1212
|
+
}
|
|
1213
|
+
CrdtMessageFromRendererResponse.decode = decode;
|
|
1214
|
+
function fromJSON(object) {
|
|
2380
1215
|
return { data: Array.isArray(object === null || object === void 0 ? void 0 : object.data) ? object.data.map((e) => bytesFromBase64(e)) : [] };
|
|
2381
|
-
}
|
|
2382
|
-
|
|
1216
|
+
}
|
|
1217
|
+
CrdtMessageFromRendererResponse.fromJSON = fromJSON;
|
|
1218
|
+
function toJSON(message) {
|
|
2383
1219
|
const obj = {};
|
|
2384
1220
|
if (message.data) {
|
|
2385
|
-
obj.data = message.data.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array()));
|
|
1221
|
+
obj.data = message.data.map((e) => base64FromBytes(e !== undefined ? e : new Uint8Array(0)));
|
|
2386
1222
|
}
|
|
2387
1223
|
else {
|
|
2388
1224
|
obj.data = [];
|
|
2389
1225
|
}
|
|
2390
1226
|
return obj;
|
|
2391
|
-
}
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
1227
|
+
}
|
|
1228
|
+
CrdtMessageFromRendererResponse.toJSON = toJSON;
|
|
1229
|
+
function create(base) {
|
|
1230
|
+
return CrdtMessageFromRendererResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1231
|
+
}
|
|
1232
|
+
CrdtMessageFromRendererResponse.create = create;
|
|
1233
|
+
function fromPartial(object) {
|
|
2396
1234
|
var _a;
|
|
2397
1235
|
const message = createBaseCrdtMessageFromRendererResponse();
|
|
2398
1236
|
message.data = ((_a = object.data) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
2399
1237
|
return message;
|
|
2400
|
-
}
|
|
2401
|
-
|
|
1238
|
+
}
|
|
1239
|
+
CrdtMessageFromRendererResponse.fromPartial = fromPartial;
|
|
1240
|
+
})(CrdtMessageFromRendererResponse || (exports.CrdtMessageFromRendererResponse = CrdtMessageFromRendererResponse = {}));
|
|
1241
|
+
function createBaseIsServerRequest() {
|
|
1242
|
+
return {};
|
|
1243
|
+
}
|
|
1244
|
+
var IsServerRequest;
|
|
1245
|
+
(function (IsServerRequest) {
|
|
1246
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
1247
|
+
return writer;
|
|
1248
|
+
}
|
|
1249
|
+
IsServerRequest.encode = encode;
|
|
1250
|
+
function decode(input, length) {
|
|
1251
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1252
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1253
|
+
const message = createBaseIsServerRequest();
|
|
1254
|
+
while (reader.pos < end) {
|
|
1255
|
+
const tag = reader.uint32();
|
|
1256
|
+
switch (tag >>> 3) {
|
|
1257
|
+
}
|
|
1258
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1259
|
+
break;
|
|
1260
|
+
}
|
|
1261
|
+
reader.skipType(tag & 7);
|
|
1262
|
+
}
|
|
1263
|
+
return message;
|
|
1264
|
+
}
|
|
1265
|
+
IsServerRequest.decode = decode;
|
|
1266
|
+
function fromJSON(_) {
|
|
1267
|
+
return {};
|
|
1268
|
+
}
|
|
1269
|
+
IsServerRequest.fromJSON = fromJSON;
|
|
1270
|
+
function toJSON(_) {
|
|
1271
|
+
const obj = {};
|
|
1272
|
+
return obj;
|
|
1273
|
+
}
|
|
1274
|
+
IsServerRequest.toJSON = toJSON;
|
|
1275
|
+
function create(base) {
|
|
1276
|
+
return IsServerRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1277
|
+
}
|
|
1278
|
+
IsServerRequest.create = create;
|
|
1279
|
+
function fromPartial(_) {
|
|
1280
|
+
const message = createBaseIsServerRequest();
|
|
1281
|
+
return message;
|
|
1282
|
+
}
|
|
1283
|
+
IsServerRequest.fromPartial = fromPartial;
|
|
1284
|
+
})(IsServerRequest || (exports.IsServerRequest = IsServerRequest = {}));
|
|
1285
|
+
function createBaseIsServerResponse() {
|
|
1286
|
+
return { isServer: false };
|
|
1287
|
+
}
|
|
1288
|
+
var IsServerResponse;
|
|
1289
|
+
(function (IsServerResponse) {
|
|
1290
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
1291
|
+
if (message.isServer === true) {
|
|
1292
|
+
writer.uint32(8).bool(message.isServer);
|
|
1293
|
+
}
|
|
1294
|
+
return writer;
|
|
1295
|
+
}
|
|
1296
|
+
IsServerResponse.encode = encode;
|
|
1297
|
+
function decode(input, length) {
|
|
1298
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
1299
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
1300
|
+
const message = createBaseIsServerResponse();
|
|
1301
|
+
while (reader.pos < end) {
|
|
1302
|
+
const tag = reader.uint32();
|
|
1303
|
+
switch (tag >>> 3) {
|
|
1304
|
+
case 1:
|
|
1305
|
+
if (tag !== 8) {
|
|
1306
|
+
break;
|
|
1307
|
+
}
|
|
1308
|
+
message.isServer = reader.bool();
|
|
1309
|
+
continue;
|
|
1310
|
+
}
|
|
1311
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1312
|
+
break;
|
|
1313
|
+
}
|
|
1314
|
+
reader.skipType(tag & 7);
|
|
1315
|
+
}
|
|
1316
|
+
return message;
|
|
1317
|
+
}
|
|
1318
|
+
IsServerResponse.decode = decode;
|
|
1319
|
+
function fromJSON(object) {
|
|
1320
|
+
return { isServer: isSet(object.isServer) ? Boolean(object.isServer) : false };
|
|
1321
|
+
}
|
|
1322
|
+
IsServerResponse.fromJSON = fromJSON;
|
|
1323
|
+
function toJSON(message) {
|
|
1324
|
+
const obj = {};
|
|
1325
|
+
message.isServer !== undefined && (obj.isServer = message.isServer);
|
|
1326
|
+
return obj;
|
|
1327
|
+
}
|
|
1328
|
+
IsServerResponse.toJSON = toJSON;
|
|
1329
|
+
function create(base) {
|
|
1330
|
+
return IsServerResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1331
|
+
}
|
|
1332
|
+
IsServerResponse.create = create;
|
|
1333
|
+
function fromPartial(object) {
|
|
1334
|
+
var _a;
|
|
1335
|
+
const message = createBaseIsServerResponse();
|
|
1336
|
+
message.isServer = (_a = object.isServer) !== null && _a !== void 0 ? _a : false;
|
|
1337
|
+
return message;
|
|
1338
|
+
}
|
|
1339
|
+
IsServerResponse.fromPartial = fromPartial;
|
|
1340
|
+
})(IsServerResponse || (exports.IsServerResponse = IsServerResponse = {}));
|
|
2402
1341
|
exports.EngineApiServiceDefinition = {
|
|
2403
1342
|
name: "EngineApiService",
|
|
2404
1343
|
fullName: "decentraland.kernel.apis.EngineApiService",
|
|
@@ -2406,27 +1345,27 @@ exports.EngineApiServiceDefinition = {
|
|
|
2406
1345
|
/** @deprecated */
|
|
2407
1346
|
sendBatch: {
|
|
2408
1347
|
name: "SendBatch",
|
|
2409
|
-
requestType:
|
|
1348
|
+
requestType: ManyEntityAction,
|
|
2410
1349
|
requestStream: false,
|
|
2411
|
-
responseType:
|
|
1350
|
+
responseType: SendBatchResponse,
|
|
2412
1351
|
responseStream: false,
|
|
2413
1352
|
options: {},
|
|
2414
1353
|
},
|
|
2415
1354
|
/** @deprecated */
|
|
2416
1355
|
subscribe: {
|
|
2417
1356
|
name: "Subscribe",
|
|
2418
|
-
requestType:
|
|
1357
|
+
requestType: SubscribeRequest,
|
|
2419
1358
|
requestStream: false,
|
|
2420
|
-
responseType:
|
|
1359
|
+
responseType: SubscribeResponse,
|
|
2421
1360
|
responseStream: false,
|
|
2422
1361
|
options: {},
|
|
2423
1362
|
},
|
|
2424
1363
|
/** @deprecated */
|
|
2425
1364
|
unsubscribe: {
|
|
2426
1365
|
name: "Unsubscribe",
|
|
2427
|
-
requestType:
|
|
1366
|
+
requestType: UnsubscribeRequest,
|
|
2428
1367
|
requestStream: false,
|
|
2429
|
-
responseType:
|
|
1368
|
+
responseType: UnsubscribeResponse,
|
|
2430
1369
|
responseStream: false,
|
|
2431
1370
|
options: {},
|
|
2432
1371
|
},
|
|
@@ -2436,9 +1375,9 @@ exports.EngineApiServiceDefinition = {
|
|
|
2436
1375
|
*/
|
|
2437
1376
|
crdtSendToRenderer: {
|
|
2438
1377
|
name: "CrdtSendToRenderer",
|
|
2439
|
-
requestType:
|
|
1378
|
+
requestType: CrdtSendToRendererRequest,
|
|
2440
1379
|
requestStream: false,
|
|
2441
|
-
responseType:
|
|
1380
|
+
responseType: CrdtSendToResponse,
|
|
2442
1381
|
responseStream: false,
|
|
2443
1382
|
options: {},
|
|
2444
1383
|
},
|
|
@@ -2448,24 +1387,32 @@ exports.EngineApiServiceDefinition = {
|
|
|
2448
1387
|
*/
|
|
2449
1388
|
crdtGetState: {
|
|
2450
1389
|
name: "CrdtGetState",
|
|
2451
|
-
requestType:
|
|
1390
|
+
requestType: CrdtSendToRendererRequest,
|
|
2452
1391
|
requestStream: false,
|
|
2453
|
-
responseType:
|
|
1392
|
+
responseType: CrdtGetStateResponse,
|
|
2454
1393
|
responseStream: false,
|
|
2455
1394
|
options: {},
|
|
2456
1395
|
},
|
|
2457
1396
|
/** @deprecated, this response was merged into CrdtSendToResponse */
|
|
2458
1397
|
crdtGetMessageFromRenderer: {
|
|
2459
1398
|
name: "CrdtGetMessageFromRenderer",
|
|
2460
|
-
requestType:
|
|
1399
|
+
requestType: CrdtMessageFromRendererRequest,
|
|
1400
|
+
requestStream: false,
|
|
1401
|
+
responseType: CrdtMessageFromRendererResponse,
|
|
1402
|
+
responseStream: false,
|
|
1403
|
+
options: {},
|
|
1404
|
+
},
|
|
1405
|
+
isServer: {
|
|
1406
|
+
name: "IsServer",
|
|
1407
|
+
requestType: IsServerRequest,
|
|
2461
1408
|
requestStream: false,
|
|
2462
|
-
responseType:
|
|
1409
|
+
responseType: IsServerResponse,
|
|
2463
1410
|
responseStream: false,
|
|
2464
1411
|
options: {},
|
|
2465
1412
|
},
|
|
2466
1413
|
},
|
|
2467
1414
|
};
|
|
2468
|
-
|
|
1415
|
+
const tsProtoGlobalThis = (() => {
|
|
2469
1416
|
if (typeof globalThis !== "undefined") {
|
|
2470
1417
|
return globalThis;
|
|
2471
1418
|
}
|