@dcl/protocol 1.0.0-4958447726.commit-3016853 → 1.0.0-4982121558.commit-4b98e1a
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 +3 -3
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +46 -184
- package/out-js/decentraland/bff/authentication_service.gen.js +115 -80
- package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +28 -228
- package/out-js/decentraland/bff/comms_director_service.gen.js +76 -54
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +30 -272
- package/out-js/decentraland/bff/comms_service.gen.js +52 -38
- package/out-js/decentraland/bff/comms_service.gen.js.map +1 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +66 -854
- package/out-js/decentraland/bff/http_endpoints.gen.js +215 -158
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +46 -208
- package/out-js/decentraland/bff/topics_service.gen.js +116 -81
- package/out-js/decentraland/bff/topics_service.gen.js.map +1 -1
- package/out-js/decentraland/common/border_rect.gen.d.ts +16 -56
- package/out-js/decentraland/common/border_rect.gen.js +44 -30
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.d.ts +16 -52
- package/out-js/decentraland/common/colors.gen.js +44 -30
- 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 +22 -15
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
- package/out-js/decentraland/common/sdk/user_data.gen.js +76 -55
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.d.ts +32 -250
- package/out-js/decentraland/common/texture.gen.js +103 -75
- 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 +161 -46
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +18 -48
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +46 -32
- 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 +46 -32
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +157 -4088
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +483 -1650
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +150 -690
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +400 -281
- 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 +278 -194
- 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 +192 -136
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +36 -128
- package/out-js/decentraland/kernel/apis/permissions.gen.js +92 -64
- 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 +143 -101
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +80 -308
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +211 -148
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +102 -568
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +256 -179
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +80 -404
- package/out-js/decentraland/kernel/apis/runtime.gen.js +211 -148
- 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 +46 -32
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +42 -284
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +121 -86
- 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 +73 -52
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +78 -408
- package/out-js/decentraland/kernel/apis/testing.gen.js +219 -156
- 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 +46 -32
- 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 +92 -64
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +64 -550
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +220 -161
- 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 +80 -560
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +280 -204
- 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 +112 -1002
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +372 -270
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/realm/about.gen.d.ts +64 -534
- package/out-js/decentraland/realm/about.gen.js +214 -157
- package/out-js/decentraland/realm/about.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +16 -136
- package/out-js/decentraland/sdk/components/animator.gen.js +49 -35
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +8 -32
- package/out-js/decentraland/sdk/components/audio_source.gen.js +22 -15
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +22 -15
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +8 -20
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +8 -48
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +8 -128
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/billboard.gen.js +22 -15
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +22 -15
- 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 +8 -44
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +22 -15
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- 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 +22 -15
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/engine_info.gen.js +22 -15
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +8 -24
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +22 -15
- 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 +8 -16
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +22 -15
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/material.gen.d.ts +24 -3368
- package/out-js/decentraland/sdk/components/material.gen.js +80 -58
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +40 -176
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +130 -95
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +40 -220
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +130 -95
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +8 -48
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +24 -184
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +76 -55
- 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 +8 -212
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +22 -15
- 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 +22 -15
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +8 -248
- package/out-js/decentraland/sdk/components/raycast.gen.js +30 -21
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +8 -352
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +8 -174
- package/out-js/decentraland/sdk/components/text_shape.gen.js +22 -15
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +8 -314
- package/out-js/decentraland/sdk/components/ui_background.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +8 -78
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +22 -15
- 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 +22 -15
- 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 +8 -104
- package/out-js/decentraland/sdk/components/ui_input.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +8 -62
- package/out-js/decentraland/sdk/components/ui_text.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +8 -216
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +22 -15
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +8 -36
- package/out-js/decentraland/sdk/components/video_player.gen.js +22 -15
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +22 -15
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1004 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7829 -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/friendships/friendships.gen.d.ts +182 -7715
- package/out-js/decentraland/social/friendships/friendships.gen.js +684 -1370
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -1
- package/out-js/google/protobuf/descriptor.gen.d.ts +200 -87148
- package/out-js/google/protobuf/descriptor.gen.js +720 -545
- 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 +22 -15
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- package/out-ts/decentraland/bff/authentication_service.gen.ts +72 -70
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +46 -45
- package/out-ts/decentraland/bff/comms_service.gen.ts +28 -28
- package/out-ts/decentraland/bff/http_endpoints.gen.ts +137 -115
- package/out-ts/decentraland/bff/topics_service.gen.ts +80 -70
- package/out-ts/decentraland/common/border_rect.gen.ts +28 -28
- package/out-ts/decentraland/common/colors.gen.ts +28 -28
- package/out-ts/decentraland/common/content_mapping.gen.ts +14 -14
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +42 -42
- package/out-ts/decentraland/common/texture.gen.ts +56 -56
- package/out-ts/decentraland/common/vectors.gen.ts +146 -42
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +291 -1786
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +271 -238
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +189 -168
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +112 -112
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +64 -56
- package/out-ts/decentraland/kernel/apis/players.gen.ts +96 -84
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +129 -126
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +156 -154
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +134 -126
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +28 -28
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +79 -70
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +44 -42
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +139 -126
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +30 -28
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +60 -56
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +126 -121
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +166 -158
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +225 -208
- package/out-ts/decentraland/realm/about.gen.ts +137 -115
- package/out-ts/decentraland/sdk/components/animator.gen.ts +28 -28
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +18 -14
- package/out-ts/decentraland/sdk/components/material.gen.ts +52 -45
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +82 -70
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +84 -70
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +44 -42
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +16 -14
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +22 -20
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +14 -14
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +16 -14
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8942 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2884 -0
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +411 -1379
- package/out-ts/google/protobuf/descriptor.gen.ts +375 -350
- package/out-ts/google/protobuf/empty.gen.ts +14 -14
- package/package.json +3 -3
- package/proto/decentraland/common/vectors.proto +7 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +2 -110
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +677 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social/friendships/friendships.proto +21 -64
|
@@ -11,8 +11,9 @@ exports.protobufPackage = "decentraland.kernel.apis";
|
|
|
11
11
|
function createBaseRealmInfo() {
|
|
12
12
|
return { baseUrl: "", realmName: "", networkId: 0, commsAdapter: "", isPreview: false };
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
var RealmInfo;
|
|
15
|
+
(function (RealmInfo) {
|
|
16
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
17
|
if (message.baseUrl !== "") {
|
|
17
18
|
writer.uint32(10).string(message.baseUrl);
|
|
18
19
|
}
|
|
@@ -29,8 +30,9 @@ exports.RealmInfo = {
|
|
|
29
30
|
writer.uint32(40).bool(message.isPreview);
|
|
30
31
|
}
|
|
31
32
|
return writer;
|
|
32
|
-
}
|
|
33
|
-
|
|
33
|
+
}
|
|
34
|
+
RealmInfo.encode = encode;
|
|
35
|
+
function decode(input, length) {
|
|
34
36
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
35
37
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
36
38
|
const message = createBaseRealmInfo();
|
|
@@ -74,8 +76,9 @@ exports.RealmInfo = {
|
|
|
74
76
|
reader.skipType(tag & 7);
|
|
75
77
|
}
|
|
76
78
|
return message;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
+
}
|
|
80
|
+
RealmInfo.decode = decode;
|
|
81
|
+
function fromJSON(object) {
|
|
79
82
|
return {
|
|
80
83
|
baseUrl: isSet(object.baseUrl) ? String(object.baseUrl) : "",
|
|
81
84
|
realmName: isSet(object.realmName) ? String(object.realmName) : "",
|
|
@@ -83,8 +86,9 @@ exports.RealmInfo = {
|
|
|
83
86
|
commsAdapter: isSet(object.commsAdapter) ? String(object.commsAdapter) : "",
|
|
84
87
|
isPreview: isSet(object.isPreview) ? Boolean(object.isPreview) : false,
|
|
85
88
|
};
|
|
86
|
-
}
|
|
87
|
-
|
|
89
|
+
}
|
|
90
|
+
RealmInfo.fromJSON = fromJSON;
|
|
91
|
+
function toJSON(message) {
|
|
88
92
|
const obj = {};
|
|
89
93
|
message.baseUrl !== undefined && (obj.baseUrl = message.baseUrl);
|
|
90
94
|
message.realmName !== undefined && (obj.realmName = message.realmName);
|
|
@@ -92,11 +96,13 @@ exports.RealmInfo = {
|
|
|
92
96
|
message.commsAdapter !== undefined && (obj.commsAdapter = message.commsAdapter);
|
|
93
97
|
message.isPreview !== undefined && (obj.isPreview = message.isPreview);
|
|
94
98
|
return obj;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
}
|
|
100
|
+
RealmInfo.toJSON = toJSON;
|
|
101
|
+
function create(base) {
|
|
102
|
+
return RealmInfo.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
103
|
+
}
|
|
104
|
+
RealmInfo.create = create;
|
|
105
|
+
function fromPartial(object) {
|
|
100
106
|
var _a, _b, _c, _d, _e;
|
|
101
107
|
const message = createBaseRealmInfo();
|
|
102
108
|
message.baseUrl = (_a = object.baseUrl) !== null && _a !== void 0 ? _a : "";
|
|
@@ -105,19 +111,22 @@ exports.RealmInfo = {
|
|
|
105
111
|
message.commsAdapter = (_d = object.commsAdapter) !== null && _d !== void 0 ? _d : "";
|
|
106
112
|
message.isPreview = (_e = object.isPreview) !== null && _e !== void 0 ? _e : false;
|
|
107
113
|
return message;
|
|
108
|
-
}
|
|
109
|
-
|
|
114
|
+
}
|
|
115
|
+
RealmInfo.fromPartial = fromPartial;
|
|
116
|
+
})(RealmInfo = exports.RealmInfo || (exports.RealmInfo = {}));
|
|
110
117
|
function createBaseGetRealmResponse() {
|
|
111
118
|
return { realmInfo: undefined };
|
|
112
119
|
}
|
|
113
|
-
|
|
114
|
-
|
|
120
|
+
var GetRealmResponse;
|
|
121
|
+
(function (GetRealmResponse) {
|
|
122
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
115
123
|
if (message.realmInfo !== undefined) {
|
|
116
|
-
|
|
124
|
+
RealmInfo.encode(message.realmInfo, writer.uint32(10).fork()).ldelim();
|
|
117
125
|
}
|
|
118
126
|
return writer;
|
|
119
|
-
}
|
|
120
|
-
|
|
127
|
+
}
|
|
128
|
+
GetRealmResponse.encode = encode;
|
|
129
|
+
function decode(input, length) {
|
|
121
130
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
122
131
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
123
132
|
const message = createBaseGetRealmResponse();
|
|
@@ -128,7 +137,7 @@ exports.GetRealmResponse = {
|
|
|
128
137
|
if (tag !== 10) {
|
|
129
138
|
break;
|
|
130
139
|
}
|
|
131
|
-
message.realmInfo =
|
|
140
|
+
message.realmInfo = RealmInfo.decode(reader, reader.uint32());
|
|
132
141
|
continue;
|
|
133
142
|
}
|
|
134
143
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -137,38 +146,45 @@ exports.GetRealmResponse = {
|
|
|
137
146
|
reader.skipType(tag & 7);
|
|
138
147
|
}
|
|
139
148
|
return message;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
149
|
+
}
|
|
150
|
+
GetRealmResponse.decode = decode;
|
|
151
|
+
function fromJSON(object) {
|
|
152
|
+
return { realmInfo: isSet(object.realmInfo) ? RealmInfo.fromJSON(object.realmInfo) : undefined };
|
|
153
|
+
}
|
|
154
|
+
GetRealmResponse.fromJSON = fromJSON;
|
|
155
|
+
function toJSON(message) {
|
|
145
156
|
const obj = {};
|
|
146
157
|
message.realmInfo !== undefined &&
|
|
147
|
-
(obj.realmInfo = message.realmInfo ?
|
|
158
|
+
(obj.realmInfo = message.realmInfo ? RealmInfo.toJSON(message.realmInfo) : undefined);
|
|
148
159
|
return obj;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
160
|
+
}
|
|
161
|
+
GetRealmResponse.toJSON = toJSON;
|
|
162
|
+
function create(base) {
|
|
163
|
+
return GetRealmResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
164
|
+
}
|
|
165
|
+
GetRealmResponse.create = create;
|
|
166
|
+
function fromPartial(object) {
|
|
154
167
|
const message = createBaseGetRealmResponse();
|
|
155
168
|
message.realmInfo = (object.realmInfo !== undefined && object.realmInfo !== null)
|
|
156
|
-
?
|
|
169
|
+
? RealmInfo.fromPartial(object.realmInfo)
|
|
157
170
|
: undefined;
|
|
158
171
|
return message;
|
|
159
|
-
}
|
|
160
|
-
|
|
172
|
+
}
|
|
173
|
+
GetRealmResponse.fromPartial = fromPartial;
|
|
174
|
+
})(GetRealmResponse = exports.GetRealmResponse || (exports.GetRealmResponse = {}));
|
|
161
175
|
function createBaseGetWorldTimeResponse() {
|
|
162
176
|
return { seconds: 0 };
|
|
163
177
|
}
|
|
164
|
-
|
|
165
|
-
|
|
178
|
+
var GetWorldTimeResponse;
|
|
179
|
+
(function (GetWorldTimeResponse) {
|
|
180
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
166
181
|
if (message.seconds !== 0) {
|
|
167
182
|
writer.uint32(8).int32(message.seconds);
|
|
168
183
|
}
|
|
169
184
|
return writer;
|
|
170
|
-
}
|
|
171
|
-
|
|
185
|
+
}
|
|
186
|
+
GetWorldTimeResponse.encode = encode;
|
|
187
|
+
function decode(input, length) {
|
|
172
188
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
173
189
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
174
190
|
const message = createBaseGetWorldTimeResponse();
|
|
@@ -188,33 +204,40 @@ exports.GetWorldTimeResponse = {
|
|
|
188
204
|
reader.skipType(tag & 7);
|
|
189
205
|
}
|
|
190
206
|
return message;
|
|
191
|
-
}
|
|
192
|
-
|
|
207
|
+
}
|
|
208
|
+
GetWorldTimeResponse.decode = decode;
|
|
209
|
+
function fromJSON(object) {
|
|
193
210
|
return { seconds: isSet(object.seconds) ? Number(object.seconds) : 0 };
|
|
194
|
-
}
|
|
195
|
-
|
|
211
|
+
}
|
|
212
|
+
GetWorldTimeResponse.fromJSON = fromJSON;
|
|
213
|
+
function toJSON(message) {
|
|
196
214
|
const obj = {};
|
|
197
215
|
message.seconds !== undefined && (obj.seconds = Math.round(message.seconds));
|
|
198
216
|
return obj;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
217
|
+
}
|
|
218
|
+
GetWorldTimeResponse.toJSON = toJSON;
|
|
219
|
+
function create(base) {
|
|
220
|
+
return GetWorldTimeResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
221
|
+
}
|
|
222
|
+
GetWorldTimeResponse.create = create;
|
|
223
|
+
function fromPartial(object) {
|
|
204
224
|
var _a;
|
|
205
225
|
const message = createBaseGetWorldTimeResponse();
|
|
206
226
|
message.seconds = (_a = object.seconds) !== null && _a !== void 0 ? _a : 0;
|
|
207
227
|
return message;
|
|
208
|
-
}
|
|
209
|
-
|
|
228
|
+
}
|
|
229
|
+
GetWorldTimeResponse.fromPartial = fromPartial;
|
|
230
|
+
})(GetWorldTimeResponse = exports.GetWorldTimeResponse || (exports.GetWorldTimeResponse = {}));
|
|
210
231
|
function createBaseGetRealmRequest() {
|
|
211
232
|
return {};
|
|
212
233
|
}
|
|
213
|
-
|
|
214
|
-
|
|
234
|
+
var GetRealmRequest;
|
|
235
|
+
(function (GetRealmRequest) {
|
|
236
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
215
237
|
return writer;
|
|
216
|
-
}
|
|
217
|
-
|
|
238
|
+
}
|
|
239
|
+
GetRealmRequest.encode = encode;
|
|
240
|
+
function decode(input, length) {
|
|
218
241
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
219
242
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
220
243
|
const message = createBaseGetRealmRequest();
|
|
@@ -228,30 +251,37 @@ exports.GetRealmRequest = {
|
|
|
228
251
|
reader.skipType(tag & 7);
|
|
229
252
|
}
|
|
230
253
|
return message;
|
|
231
|
-
}
|
|
232
|
-
|
|
254
|
+
}
|
|
255
|
+
GetRealmRequest.decode = decode;
|
|
256
|
+
function fromJSON(_) {
|
|
233
257
|
return {};
|
|
234
|
-
}
|
|
235
|
-
|
|
258
|
+
}
|
|
259
|
+
GetRealmRequest.fromJSON = fromJSON;
|
|
260
|
+
function toJSON(_) {
|
|
236
261
|
const obj = {};
|
|
237
262
|
return obj;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
263
|
+
}
|
|
264
|
+
GetRealmRequest.toJSON = toJSON;
|
|
265
|
+
function create(base) {
|
|
266
|
+
return GetRealmRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
267
|
+
}
|
|
268
|
+
GetRealmRequest.create = create;
|
|
269
|
+
function fromPartial(_) {
|
|
243
270
|
const message = createBaseGetRealmRequest();
|
|
244
271
|
return message;
|
|
245
|
-
}
|
|
246
|
-
|
|
272
|
+
}
|
|
273
|
+
GetRealmRequest.fromPartial = fromPartial;
|
|
274
|
+
})(GetRealmRequest = exports.GetRealmRequest || (exports.GetRealmRequest = {}));
|
|
247
275
|
function createBaseGetWorldTimeRequest() {
|
|
248
276
|
return {};
|
|
249
277
|
}
|
|
250
|
-
|
|
251
|
-
|
|
278
|
+
var GetWorldTimeRequest;
|
|
279
|
+
(function (GetWorldTimeRequest) {
|
|
280
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
252
281
|
return writer;
|
|
253
|
-
}
|
|
254
|
-
|
|
282
|
+
}
|
|
283
|
+
GetWorldTimeRequest.encode = encode;
|
|
284
|
+
function decode(input, length) {
|
|
255
285
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
256
286
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
257
287
|
const message = createBaseGetWorldTimeRequest();
|
|
@@ -265,33 +295,40 @@ exports.GetWorldTimeRequest = {
|
|
|
265
295
|
reader.skipType(tag & 7);
|
|
266
296
|
}
|
|
267
297
|
return message;
|
|
268
|
-
}
|
|
269
|
-
|
|
298
|
+
}
|
|
299
|
+
GetWorldTimeRequest.decode = decode;
|
|
300
|
+
function fromJSON(_) {
|
|
270
301
|
return {};
|
|
271
|
-
}
|
|
272
|
-
|
|
302
|
+
}
|
|
303
|
+
GetWorldTimeRequest.fromJSON = fromJSON;
|
|
304
|
+
function toJSON(_) {
|
|
273
305
|
const obj = {};
|
|
274
306
|
return obj;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
307
|
+
}
|
|
308
|
+
GetWorldTimeRequest.toJSON = toJSON;
|
|
309
|
+
function create(base) {
|
|
310
|
+
return GetWorldTimeRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
311
|
+
}
|
|
312
|
+
GetWorldTimeRequest.create = create;
|
|
313
|
+
function fromPartial(_) {
|
|
280
314
|
const message = createBaseGetWorldTimeRequest();
|
|
281
315
|
return message;
|
|
282
|
-
}
|
|
283
|
-
|
|
316
|
+
}
|
|
317
|
+
GetWorldTimeRequest.fromPartial = fromPartial;
|
|
318
|
+
})(GetWorldTimeRequest = exports.GetWorldTimeRequest || (exports.GetWorldTimeRequest = {}));
|
|
284
319
|
function createBaseReadFileRequest() {
|
|
285
320
|
return { fileName: "" };
|
|
286
321
|
}
|
|
287
|
-
|
|
288
|
-
|
|
322
|
+
var ReadFileRequest;
|
|
323
|
+
(function (ReadFileRequest) {
|
|
324
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
289
325
|
if (message.fileName !== "") {
|
|
290
326
|
writer.uint32(10).string(message.fileName);
|
|
291
327
|
}
|
|
292
328
|
return writer;
|
|
293
|
-
}
|
|
294
|
-
|
|
329
|
+
}
|
|
330
|
+
ReadFileRequest.encode = encode;
|
|
331
|
+
function decode(input, length) {
|
|
295
332
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
296
333
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
297
334
|
const message = createBaseReadFileRequest();
|
|
@@ -311,30 +348,36 @@ exports.ReadFileRequest = {
|
|
|
311
348
|
reader.skipType(tag & 7);
|
|
312
349
|
}
|
|
313
350
|
return message;
|
|
314
|
-
}
|
|
315
|
-
|
|
351
|
+
}
|
|
352
|
+
ReadFileRequest.decode = decode;
|
|
353
|
+
function fromJSON(object) {
|
|
316
354
|
return { fileName: isSet(object.fileName) ? String(object.fileName) : "" };
|
|
317
|
-
}
|
|
318
|
-
|
|
355
|
+
}
|
|
356
|
+
ReadFileRequest.fromJSON = fromJSON;
|
|
357
|
+
function toJSON(message) {
|
|
319
358
|
const obj = {};
|
|
320
359
|
message.fileName !== undefined && (obj.fileName = message.fileName);
|
|
321
360
|
return obj;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
361
|
+
}
|
|
362
|
+
ReadFileRequest.toJSON = toJSON;
|
|
363
|
+
function create(base) {
|
|
364
|
+
return ReadFileRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
365
|
+
}
|
|
366
|
+
ReadFileRequest.create = create;
|
|
367
|
+
function fromPartial(object) {
|
|
327
368
|
var _a;
|
|
328
369
|
const message = createBaseReadFileRequest();
|
|
329
370
|
message.fileName = (_a = object.fileName) !== null && _a !== void 0 ? _a : "";
|
|
330
371
|
return message;
|
|
331
|
-
}
|
|
332
|
-
|
|
372
|
+
}
|
|
373
|
+
ReadFileRequest.fromPartial = fromPartial;
|
|
374
|
+
})(ReadFileRequest = exports.ReadFileRequest || (exports.ReadFileRequest = {}));
|
|
333
375
|
function createBaseReadFileResponse() {
|
|
334
376
|
return { content: new Uint8Array(), hash: "" };
|
|
335
377
|
}
|
|
336
|
-
|
|
337
|
-
|
|
378
|
+
var ReadFileResponse;
|
|
379
|
+
(function (ReadFileResponse) {
|
|
380
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
338
381
|
if (message.content.length !== 0) {
|
|
339
382
|
writer.uint32(10).bytes(message.content);
|
|
340
383
|
}
|
|
@@ -342,8 +385,9 @@ exports.ReadFileResponse = {
|
|
|
342
385
|
writer.uint32(18).string(message.hash);
|
|
343
386
|
}
|
|
344
387
|
return writer;
|
|
345
|
-
}
|
|
346
|
-
|
|
388
|
+
}
|
|
389
|
+
ReadFileResponse.encode = encode;
|
|
390
|
+
function decode(input, length) {
|
|
347
391
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
348
392
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
349
393
|
const message = createBaseReadFileResponse();
|
|
@@ -369,39 +413,46 @@ exports.ReadFileResponse = {
|
|
|
369
413
|
reader.skipType(tag & 7);
|
|
370
414
|
}
|
|
371
415
|
return message;
|
|
372
|
-
}
|
|
373
|
-
|
|
416
|
+
}
|
|
417
|
+
ReadFileResponse.decode = decode;
|
|
418
|
+
function fromJSON(object) {
|
|
374
419
|
return {
|
|
375
420
|
content: isSet(object.content) ? bytesFromBase64(object.content) : new Uint8Array(),
|
|
376
421
|
hash: isSet(object.hash) ? String(object.hash) : "",
|
|
377
422
|
};
|
|
378
|
-
}
|
|
379
|
-
|
|
423
|
+
}
|
|
424
|
+
ReadFileResponse.fromJSON = fromJSON;
|
|
425
|
+
function toJSON(message) {
|
|
380
426
|
const obj = {};
|
|
381
427
|
message.content !== undefined &&
|
|
382
428
|
(obj.content = base64FromBytes(message.content !== undefined ? message.content : new Uint8Array()));
|
|
383
429
|
message.hash !== undefined && (obj.hash = message.hash);
|
|
384
430
|
return obj;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
431
|
+
}
|
|
432
|
+
ReadFileResponse.toJSON = toJSON;
|
|
433
|
+
function create(base) {
|
|
434
|
+
return ReadFileResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
435
|
+
}
|
|
436
|
+
ReadFileResponse.create = create;
|
|
437
|
+
function fromPartial(object) {
|
|
390
438
|
var _a, _b;
|
|
391
439
|
const message = createBaseReadFileResponse();
|
|
392
440
|
message.content = (_a = object.content) !== null && _a !== void 0 ? _a : new Uint8Array();
|
|
393
441
|
message.hash = (_b = object.hash) !== null && _b !== void 0 ? _b : "";
|
|
394
442
|
return message;
|
|
395
|
-
}
|
|
396
|
-
|
|
443
|
+
}
|
|
444
|
+
ReadFileResponse.fromPartial = fromPartial;
|
|
445
|
+
})(ReadFileResponse = exports.ReadFileResponse || (exports.ReadFileResponse = {}));
|
|
397
446
|
function createBaseCurrentSceneEntityRequest() {
|
|
398
447
|
return {};
|
|
399
448
|
}
|
|
400
|
-
|
|
401
|
-
|
|
449
|
+
var CurrentSceneEntityRequest;
|
|
450
|
+
(function (CurrentSceneEntityRequest) {
|
|
451
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
402
452
|
return writer;
|
|
403
|
-
}
|
|
404
|
-
|
|
453
|
+
}
|
|
454
|
+
CurrentSceneEntityRequest.encode = encode;
|
|
455
|
+
function decode(input, length) {
|
|
405
456
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
406
457
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
407
458
|
const message = createBaseCurrentSceneEntityRequest();
|
|
@@ -415,27 +466,33 @@ exports.CurrentSceneEntityRequest = {
|
|
|
415
466
|
reader.skipType(tag & 7);
|
|
416
467
|
}
|
|
417
468
|
return message;
|
|
418
|
-
}
|
|
419
|
-
|
|
469
|
+
}
|
|
470
|
+
CurrentSceneEntityRequest.decode = decode;
|
|
471
|
+
function fromJSON(_) {
|
|
420
472
|
return {};
|
|
421
|
-
}
|
|
422
|
-
|
|
473
|
+
}
|
|
474
|
+
CurrentSceneEntityRequest.fromJSON = fromJSON;
|
|
475
|
+
function toJSON(_) {
|
|
423
476
|
const obj = {};
|
|
424
477
|
return obj;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
478
|
+
}
|
|
479
|
+
CurrentSceneEntityRequest.toJSON = toJSON;
|
|
480
|
+
function create(base) {
|
|
481
|
+
return CurrentSceneEntityRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
482
|
+
}
|
|
483
|
+
CurrentSceneEntityRequest.create = create;
|
|
484
|
+
function fromPartial(_) {
|
|
430
485
|
const message = createBaseCurrentSceneEntityRequest();
|
|
431
486
|
return message;
|
|
432
|
-
}
|
|
433
|
-
|
|
487
|
+
}
|
|
488
|
+
CurrentSceneEntityRequest.fromPartial = fromPartial;
|
|
489
|
+
})(CurrentSceneEntityRequest = exports.CurrentSceneEntityRequest || (exports.CurrentSceneEntityRequest = {}));
|
|
434
490
|
function createBaseCurrentSceneEntityResponse() {
|
|
435
491
|
return { urn: "", content: [], metadataJson: "", baseUrl: "" };
|
|
436
492
|
}
|
|
437
|
-
|
|
438
|
-
|
|
493
|
+
var CurrentSceneEntityResponse;
|
|
494
|
+
(function (CurrentSceneEntityResponse) {
|
|
495
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
439
496
|
if (message.urn !== "") {
|
|
440
497
|
writer.uint32(10).string(message.urn);
|
|
441
498
|
}
|
|
@@ -449,8 +506,9 @@ exports.CurrentSceneEntityResponse = {
|
|
|
449
506
|
writer.uint32(34).string(message.baseUrl);
|
|
450
507
|
}
|
|
451
508
|
return writer;
|
|
452
|
-
}
|
|
453
|
-
|
|
509
|
+
}
|
|
510
|
+
CurrentSceneEntityResponse.encode = encode;
|
|
511
|
+
function decode(input, length) {
|
|
454
512
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
455
513
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
456
514
|
const message = createBaseCurrentSceneEntityResponse();
|
|
@@ -488,16 +546,18 @@ exports.CurrentSceneEntityResponse = {
|
|
|
488
546
|
reader.skipType(tag & 7);
|
|
489
547
|
}
|
|
490
548
|
return message;
|
|
491
|
-
}
|
|
492
|
-
|
|
549
|
+
}
|
|
550
|
+
CurrentSceneEntityResponse.decode = decode;
|
|
551
|
+
function fromJSON(object) {
|
|
493
552
|
return {
|
|
494
553
|
urn: isSet(object.urn) ? String(object.urn) : "",
|
|
495
554
|
content: Array.isArray(object === null || object === void 0 ? void 0 : object.content) ? object.content.map((e) => content_mapping_gen_1.ContentMapping.fromJSON(e)) : [],
|
|
496
555
|
metadataJson: isSet(object.metadataJson) ? String(object.metadataJson) : "",
|
|
497
556
|
baseUrl: isSet(object.baseUrl) ? String(object.baseUrl) : "",
|
|
498
557
|
};
|
|
499
|
-
}
|
|
500
|
-
|
|
558
|
+
}
|
|
559
|
+
CurrentSceneEntityResponse.fromJSON = fromJSON;
|
|
560
|
+
function toJSON(message) {
|
|
501
561
|
const obj = {};
|
|
502
562
|
message.urn !== undefined && (obj.urn = message.urn);
|
|
503
563
|
if (message.content) {
|
|
@@ -509,11 +569,13 @@ exports.CurrentSceneEntityResponse = {
|
|
|
509
569
|
message.metadataJson !== undefined && (obj.metadataJson = message.metadataJson);
|
|
510
570
|
message.baseUrl !== undefined && (obj.baseUrl = message.baseUrl);
|
|
511
571
|
return obj;
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
572
|
+
}
|
|
573
|
+
CurrentSceneEntityResponse.toJSON = toJSON;
|
|
574
|
+
function create(base) {
|
|
575
|
+
return CurrentSceneEntityResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
576
|
+
}
|
|
577
|
+
CurrentSceneEntityResponse.create = create;
|
|
578
|
+
function fromPartial(object) {
|
|
517
579
|
var _a, _b, _c, _d;
|
|
518
580
|
const message = createBaseCurrentSceneEntityResponse();
|
|
519
581
|
message.urn = (_a = object.urn) !== null && _a !== void 0 ? _a : "";
|
|
@@ -521,8 +583,9 @@ exports.CurrentSceneEntityResponse = {
|
|
|
521
583
|
message.metadataJson = (_c = object.metadataJson) !== null && _c !== void 0 ? _c : "";
|
|
522
584
|
message.baseUrl = (_d = object.baseUrl) !== null && _d !== void 0 ? _d : "";
|
|
523
585
|
return message;
|
|
524
|
-
}
|
|
525
|
-
|
|
586
|
+
}
|
|
587
|
+
CurrentSceneEntityResponse.fromPartial = fromPartial;
|
|
588
|
+
})(CurrentSceneEntityResponse = exports.CurrentSceneEntityResponse || (exports.CurrentSceneEntityResponse = {}));
|
|
526
589
|
exports.RuntimeServiceDefinition = {
|
|
527
590
|
name: "RuntimeService",
|
|
528
591
|
fullName: "decentraland.kernel.apis.RuntimeService",
|
|
@@ -530,9 +593,9 @@ exports.RuntimeServiceDefinition = {
|
|
|
530
593
|
/** Provides information about the current realm */
|
|
531
594
|
getRealm: {
|
|
532
595
|
name: "GetRealm",
|
|
533
|
-
requestType:
|
|
596
|
+
requestType: GetRealmRequest,
|
|
534
597
|
requestStream: false,
|
|
535
|
-
responseType:
|
|
598
|
+
responseType: GetRealmResponse,
|
|
536
599
|
responseStream: false,
|
|
537
600
|
options: {},
|
|
538
601
|
},
|
|
@@ -542,9 +605,9 @@ exports.RuntimeServiceDefinition = {
|
|
|
542
605
|
*/
|
|
543
606
|
getWorldTime: {
|
|
544
607
|
name: "GetWorldTime",
|
|
545
|
-
requestType:
|
|
608
|
+
requestType: GetWorldTimeRequest,
|
|
546
609
|
requestStream: false,
|
|
547
|
-
responseType:
|
|
610
|
+
responseType: GetWorldTimeResponse,
|
|
548
611
|
responseStream: false,
|
|
549
612
|
options: {},
|
|
550
613
|
},
|
|
@@ -556,18 +619,18 @@ exports.RuntimeServiceDefinition = {
|
|
|
556
619
|
*/
|
|
557
620
|
readFile: {
|
|
558
621
|
name: "ReadFile",
|
|
559
|
-
requestType:
|
|
622
|
+
requestType: ReadFileRequest,
|
|
560
623
|
requestStream: false,
|
|
561
|
-
responseType:
|
|
624
|
+
responseType: ReadFileResponse,
|
|
562
625
|
responseStream: false,
|
|
563
626
|
options: {},
|
|
564
627
|
},
|
|
565
628
|
/** Returns information about the current scene. This is the replacement of GetBootstrapData */
|
|
566
629
|
getSceneInformation: {
|
|
567
630
|
name: "GetSceneInformation",
|
|
568
|
-
requestType:
|
|
631
|
+
requestType: CurrentSceneEntityRequest,
|
|
569
632
|
requestStream: false,
|
|
570
|
-
responseType:
|
|
633
|
+
responseType: CurrentSceneEntityResponse,
|
|
571
634
|
responseStream: false,
|
|
572
635
|
options: {},
|
|
573
636
|
},
|