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