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