@dcl/protocol 1.0.0-10043247792.commit-428d1eb
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/LICENSE +201 -0
- package/README.md +69 -0
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/about.gen.js +6 -0
- package/out-js/about.gen.js.map +1 -0
- package/out-js/comms.gen.d.ts +1 -0
- package/out-js/comms.gen.js +6 -0
- package/out-js/comms.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
- package/out-js/decentraland/common/border_rect.gen.js +201 -0
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
- package/out-js/decentraland/common/colors.gen.d.ts +46 -0
- package/out-js/decentraland/common/colors.gen.js +189 -0
- package/out-js/decentraland/common/colors.gen.js.map +1 -0
- package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
- package/out-js/decentraland/common/content_mapping.gen.js +80 -0
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
- package/out-js/decentraland/common/texture.gen.d.ts +100 -0
- package/out-js/decentraland/common/texture.gen.js +446 -0
- package/out-js/decentraland/common/texture.gen.js.map +1 -0
- package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
- package/out-js/decentraland/common/vectors.gen.js +338 -0
- package/out-js/decentraland/common/vectors.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +76 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +257 -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 +89 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +301 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +1452 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +1122 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +557 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
- package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +244 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +824 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +217 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js +801 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js +171 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +139 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +56 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +213 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1282 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +224 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1204 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2728 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +150 -0
- package/out-js/decentraland/realm/about.gen.js +914 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
- package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +95 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -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 +37 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +95 -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 +36 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +60 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +153 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +72 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +251 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +54 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js +128 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +157 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
- 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 +45 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +106 -0
- package/out-js/decentraland/sdk/components/material.gen.js +515 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +128 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +469 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +104 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
- 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 +79 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +247 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +131 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +125 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +598 -0
- package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +204 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1210 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +138 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +31 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +69 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +500 -0
- package/out-js/decentraland/social/friendships/friendships.gen.js +2517 -0
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.d.ts +357 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.js +1554 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.js.map +1 -0
- package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
- package/out-js/google/protobuf/descriptor.gen.js +3173 -0
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
- package/out-js/google/protobuf/empty.gen.d.ts +38 -0
- package/out-js/google/protobuf/empty.gen.js +54 -0
- package/out-js/google/protobuf/empty.gen.js.map +1 -0
- 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-apis.gen.d.ts +1 -0
- package/out-js/sdk-apis.gen.js +6 -0
- package/out-js/sdk-apis.gen.js.map +1 -0
- package/out-js/sdk-components.gen.d.ts +1 -0
- package/out-js/sdk-components.gen.js +6 -0
- package/out-js/sdk-components.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-js/social.gen.d.ts +1 -0
- package/out-js/social.gen.js +6 -0
- package/out-js/social.gen.js.map +1 -0
- package/out-js/social_service_v2.gen.d.ts +1 -0
- package/out-js/social_service_v2.gen.js +6 -0
- package/out-js/social_service_v2.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/comms.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
- package/out-ts/decentraland/common/colors.gen.ts +214 -0
- package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
- package/out-ts/decentraland/common/texture.gen.ts +500 -0
- package/out-ts/decentraland/common/vectors.gen.ts +377 -0
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +295 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +327 -0
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
- package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +895 -0
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1440 -0
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1338 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/realm/about.gen.ts +1062 -0
- package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +122 -0
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +188 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +333 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +148 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +154 -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 +204 -0
- package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +629 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +534 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +310 -0
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +152 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +648 -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 +223 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1361 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +173 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +83 -0
- 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/friendships/friendships.gen.ts +2798 -0
- package/out-ts/decentraland/social_service_v2/social_service.gen.ts +1709 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +3470 -0
- package/out-ts/google/protobuf/empty.gen.ts +72 -0
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-apis.gen.ts +3 -0
- package/out-ts/sdk-components.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/out-ts/social.gen.ts +3 -0
- package/out-ts/social_service_v2.gen.ts +3 -0
- package/package.json +33 -0
- package/proto/buf.yaml +47 -0
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +15 -0
- package/proto/decentraland/common/content_mapping.proto +7 -0
- package/proto/decentraland/common/entity.proto +13 -0
- package/proto/decentraland/common/sdk/user_data.proto +25 -0
- package/proto/decentraland/common/texture.proto +40 -0
- package/proto/decentraland/common/vectors.proto +26 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +25 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +23 -0
- package/proto/decentraland/kernel/apis/dev_tools.proto +15 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
- package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
- package/proto/decentraland/kernel/apis/ethereum_controller.proto +64 -0
- package/proto/decentraland/kernel/apis/parcel_identity.proto +43 -0
- package/proto/decentraland/kernel/apis/permissions.proto +36 -0
- package/proto/decentraland/kernel/apis/players.proto +35 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
- package/proto/decentraland/kernel/apis/restricted_actions.proto +78 -0
- package/proto/decentraland/kernel/apis/runtime.proto +71 -0
- package/proto/decentraland/kernel/apis/scene.proto +16 -0
- package/proto/decentraland/kernel/apis/signed_fetch.proto +33 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/apis/user_action_module.proto +13 -0
- package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +110 -0
- package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +104 -0
- package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
- package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
- package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +86 -0
- package/proto/decentraland/kernel/comms/v3/comms.proto +64 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +73 -0
- package/proto/decentraland/sdk/components/README.md +32 -0
- package/proto/decentraland/sdk/components/Transform.md +25 -0
- package/proto/decentraland/sdk/components/animator.proto +31 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +31 -0
- package/proto/decentraland/sdk/components/audio_stream.proto +14 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
- package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +42 -0
- package/proto/decentraland/sdk/components/billboard.proto +29 -0
- package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +25 -0
- package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
- package/proto/decentraland/sdk/components/common/id.md +2 -0
- package/proto/decentraland/sdk/components/common/id.proto +8 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +28 -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/common/raycast_hit.proto +16 -0
- package/proto/decentraland/sdk/components/common/texts.proto +21 -0
- package/proto/decentraland/sdk/components/engine_info.proto +15 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
- package/proto/decentraland/sdk/components/material.proto +57 -0
- package/proto/decentraland/sdk/components/mesh_collider.proto +62 -0
- package/proto/decentraland/sdk/components/mesh_renderer.proto +43 -0
- package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +37 -0
- package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
- package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
- package/proto/decentraland/sdk/components/raycast.proto +58 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
- package/proto/decentraland/sdk/components/realm_info.proto +14 -0
- package/proto/decentraland/sdk/components/text_shape.proto +45 -0
- package/proto/decentraland/sdk/components/tween.proto +74 -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 +34 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +24 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
- package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
- package/proto/decentraland/sdk/components/ui_input.proto +20 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +26 -0
- package/proto/decentraland/sdk/components/ui_transform.proto +148 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +16 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +9 -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/friendships/friendships.proto +162 -0
- package/proto/decentraland/social_service_v2/social_service.proto +111 -0
- package/proto/google/LICENSE +27 -0
- package/proto/google/README.md +1 -0
- package/proto/google/api/annotations.json +83 -0
- package/proto/google/api/annotations.proto +11 -0
- package/proto/google/api/http.json +86 -0
- package/proto/google/api/http.proto +31 -0
- package/proto/google/protobuf/api.json +118 -0
- package/proto/google/protobuf/api.proto +34 -0
- package/proto/google/protobuf/descriptor.json +739 -0
- package/proto/google/protobuf/descriptor.proto +286 -0
- package/proto/google/protobuf/source_context.json +20 -0
- package/proto/google/protobuf/source_context.proto +7 -0
- package/proto/google/protobuf/type.json +202 -0
- package/proto/google/protobuf/type.proto +89 -0
- package/public/about.proto +5 -0
- package/public/comms.proto +5 -0
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +25 -0
- package/public/sdk-components.proto +42 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +4 -0
- package/public/social_service_v2.proto +4 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"realm_info.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/realm_info.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAW7D,SAAS,qBAAqB;IAC5B,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,YAAY,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAC3G,CAAC;AAED,IAAiB,WAAW,CAqH3B;AArHD,WAAiB,WAAW;IAC1B,SAAgB,MAAM,CAAC,OAAoB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QACnF,IAAI,OAAO,CAAC,OAAO,KAAK,EAAE,EAAE,CAAC;YAC3B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC5C,CAAC;QACD,IAAI,OAAO,CAAC,SAAS,KAAK,EAAE,EAAE,CAAC;YAC7B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAC9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B,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Color3, Color4 } from "../../common/colors.gen";
|
|
3
|
+
import { Font, TextAlignMode } from "./common/texts.gen";
|
|
4
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
5
|
+
/**
|
|
6
|
+
* The TextShape component renders customizable floating text.
|
|
7
|
+
*
|
|
8
|
+
* The position and rotation of the text are defined by the Entity's Transform, while its size
|
|
9
|
+
* can either scale with the Transform or be fixed by a font size.
|
|
10
|
+
*
|
|
11
|
+
* Several options can be configured, including color, padding, line spacing and drop shadows.
|
|
12
|
+
*/
|
|
13
|
+
export interface PBTextShape {
|
|
14
|
+
/** the content */
|
|
15
|
+
text: string;
|
|
16
|
+
/** the font (default F_SANS_SERIF) */
|
|
17
|
+
font?: Font | undefined;
|
|
18
|
+
/** the font size (default 10) */
|
|
19
|
+
fontSize?: number | undefined;
|
|
20
|
+
/** override `font_size` to automatically fit in `width`/`height` */
|
|
21
|
+
fontAutoSize?: boolean | undefined;
|
|
22
|
+
/** X and Y alignment (default TAM_CENTER_CENTER) */
|
|
23
|
+
textAlign?: TextAlignMode | undefined;
|
|
24
|
+
/** available horizontal space (default 1) */
|
|
25
|
+
width?: number | undefined;
|
|
26
|
+
/** available vertical space (default 1) */
|
|
27
|
+
height?: number | undefined;
|
|
28
|
+
/** distance from text to top border (default 0) */
|
|
29
|
+
paddingTop?: number | undefined;
|
|
30
|
+
/** distance from text to right border (default 0) */
|
|
31
|
+
paddingRight?: number | undefined;
|
|
32
|
+
/** distance from text to bottom border (default 0) */
|
|
33
|
+
paddingBottom?: number | undefined;
|
|
34
|
+
/** distance from text to left border (default 0) */
|
|
35
|
+
paddingLeft?: number | undefined;
|
|
36
|
+
/** extra distance between lines (default 0) */
|
|
37
|
+
lineSpacing?: number | undefined;
|
|
38
|
+
/** maximum number of lines to display */
|
|
39
|
+
lineCount?: number | undefined;
|
|
40
|
+
/** wrap text when the border is reached (default false) */
|
|
41
|
+
textWrapping?: boolean | undefined;
|
|
42
|
+
/** blurriness of the drop shadow (default 0) */
|
|
43
|
+
shadowBlur?: number | undefined;
|
|
44
|
+
/** horizontal length of the shadow (default 0) */
|
|
45
|
+
shadowOffsetX?: number | undefined;
|
|
46
|
+
/** vertical length of the shadow (default 0) */
|
|
47
|
+
shadowOffsetY?: number | undefined;
|
|
48
|
+
/** width of the stroke outlining each letter (default 0) */
|
|
49
|
+
outlineWidth?: number | undefined;
|
|
50
|
+
/** drop shadow color (default [1.0, 1.0, 1.0]) */
|
|
51
|
+
shadowColor?: Color3 | undefined;
|
|
52
|
+
/** outline stroke color (default [1.0, 1.0, 1.0]) */
|
|
53
|
+
outlineColor?: Color3 | undefined;
|
|
54
|
+
/** text color (default [1.0, 1.0, 1.0]) */
|
|
55
|
+
textColor?: Color4 | undefined;
|
|
56
|
+
}
|
|
57
|
+
export declare namespace PBTextShape {
|
|
58
|
+
function encode(message: PBTextShape, writer?: _m0.Writer): _m0.Writer;
|
|
59
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextShape;
|
|
60
|
+
function fromJSON(object: any): PBTextShape;
|
|
61
|
+
function toJSON(message: PBTextShape): unknown;
|
|
62
|
+
function create<I extends Exact<DeepPartial<PBTextShape>, I>>(base?: I): PBTextShape;
|
|
63
|
+
function fromPartial<I extends Exact<DeepPartial<PBTextShape>, I>>(object: I): PBTextShape;
|
|
64
|
+
}
|
|
65
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
66
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
67
|
+
$case: string;
|
|
68
|
+
} ? {
|
|
69
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
70
|
+
} & {
|
|
71
|
+
$case: T["$case"];
|
|
72
|
+
} : T extends {} ? {
|
|
73
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
74
|
+
} : Partial<T>;
|
|
75
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
76
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
77
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
78
|
+
} & {
|
|
79
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
80
|
+
};
|
|
81
|
+
export {};
|
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PBTextShape = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
const colors_gen_1 = require("../../common/colors.gen");
|
|
10
|
+
const texts_gen_1 = require("./common/texts.gen");
|
|
11
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
12
|
+
function createBasePBTextShape() {
|
|
13
|
+
return {
|
|
14
|
+
text: "",
|
|
15
|
+
font: undefined,
|
|
16
|
+
fontSize: undefined,
|
|
17
|
+
fontAutoSize: undefined,
|
|
18
|
+
textAlign: undefined,
|
|
19
|
+
width: undefined,
|
|
20
|
+
height: undefined,
|
|
21
|
+
paddingTop: undefined,
|
|
22
|
+
paddingRight: undefined,
|
|
23
|
+
paddingBottom: undefined,
|
|
24
|
+
paddingLeft: undefined,
|
|
25
|
+
lineSpacing: undefined,
|
|
26
|
+
lineCount: undefined,
|
|
27
|
+
textWrapping: undefined,
|
|
28
|
+
shadowBlur: undefined,
|
|
29
|
+
shadowOffsetX: undefined,
|
|
30
|
+
shadowOffsetY: undefined,
|
|
31
|
+
outlineWidth: undefined,
|
|
32
|
+
shadowColor: undefined,
|
|
33
|
+
outlineColor: undefined,
|
|
34
|
+
textColor: undefined,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
var PBTextShape;
|
|
38
|
+
(function (PBTextShape) {
|
|
39
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
40
|
+
if (message.text !== "") {
|
|
41
|
+
writer.uint32(10).string(message.text);
|
|
42
|
+
}
|
|
43
|
+
if (message.font !== undefined) {
|
|
44
|
+
writer.uint32(16).int32(message.font);
|
|
45
|
+
}
|
|
46
|
+
if (message.fontSize !== undefined) {
|
|
47
|
+
writer.uint32(29).float(message.fontSize);
|
|
48
|
+
}
|
|
49
|
+
if (message.fontAutoSize !== undefined) {
|
|
50
|
+
writer.uint32(32).bool(message.fontAutoSize);
|
|
51
|
+
}
|
|
52
|
+
if (message.textAlign !== undefined) {
|
|
53
|
+
writer.uint32(40).int32(message.textAlign);
|
|
54
|
+
}
|
|
55
|
+
if (message.width !== undefined) {
|
|
56
|
+
writer.uint32(53).float(message.width);
|
|
57
|
+
}
|
|
58
|
+
if (message.height !== undefined) {
|
|
59
|
+
writer.uint32(61).float(message.height);
|
|
60
|
+
}
|
|
61
|
+
if (message.paddingTop !== undefined) {
|
|
62
|
+
writer.uint32(69).float(message.paddingTop);
|
|
63
|
+
}
|
|
64
|
+
if (message.paddingRight !== undefined) {
|
|
65
|
+
writer.uint32(77).float(message.paddingRight);
|
|
66
|
+
}
|
|
67
|
+
if (message.paddingBottom !== undefined) {
|
|
68
|
+
writer.uint32(85).float(message.paddingBottom);
|
|
69
|
+
}
|
|
70
|
+
if (message.paddingLeft !== undefined) {
|
|
71
|
+
writer.uint32(93).float(message.paddingLeft);
|
|
72
|
+
}
|
|
73
|
+
if (message.lineSpacing !== undefined) {
|
|
74
|
+
writer.uint32(101).float(message.lineSpacing);
|
|
75
|
+
}
|
|
76
|
+
if (message.lineCount !== undefined) {
|
|
77
|
+
writer.uint32(104).int32(message.lineCount);
|
|
78
|
+
}
|
|
79
|
+
if (message.textWrapping !== undefined) {
|
|
80
|
+
writer.uint32(112).bool(message.textWrapping);
|
|
81
|
+
}
|
|
82
|
+
if (message.shadowBlur !== undefined) {
|
|
83
|
+
writer.uint32(125).float(message.shadowBlur);
|
|
84
|
+
}
|
|
85
|
+
if (message.shadowOffsetX !== undefined) {
|
|
86
|
+
writer.uint32(133).float(message.shadowOffsetX);
|
|
87
|
+
}
|
|
88
|
+
if (message.shadowOffsetY !== undefined) {
|
|
89
|
+
writer.uint32(141).float(message.shadowOffsetY);
|
|
90
|
+
}
|
|
91
|
+
if (message.outlineWidth !== undefined) {
|
|
92
|
+
writer.uint32(149).float(message.outlineWidth);
|
|
93
|
+
}
|
|
94
|
+
if (message.shadowColor !== undefined) {
|
|
95
|
+
colors_gen_1.Color3.encode(message.shadowColor, writer.uint32(154).fork()).ldelim();
|
|
96
|
+
}
|
|
97
|
+
if (message.outlineColor !== undefined) {
|
|
98
|
+
colors_gen_1.Color3.encode(message.outlineColor, writer.uint32(162).fork()).ldelim();
|
|
99
|
+
}
|
|
100
|
+
if (message.textColor !== undefined) {
|
|
101
|
+
colors_gen_1.Color4.encode(message.textColor, writer.uint32(170).fork()).ldelim();
|
|
102
|
+
}
|
|
103
|
+
return writer;
|
|
104
|
+
}
|
|
105
|
+
PBTextShape.encode = encode;
|
|
106
|
+
function decode(input, length) {
|
|
107
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
108
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
109
|
+
const message = createBasePBTextShape();
|
|
110
|
+
while (reader.pos < end) {
|
|
111
|
+
const tag = reader.uint32();
|
|
112
|
+
switch (tag >>> 3) {
|
|
113
|
+
case 1:
|
|
114
|
+
if (tag !== 10) {
|
|
115
|
+
break;
|
|
116
|
+
}
|
|
117
|
+
message.text = reader.string();
|
|
118
|
+
continue;
|
|
119
|
+
case 2:
|
|
120
|
+
if (tag !== 16) {
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
message.font = reader.int32();
|
|
124
|
+
continue;
|
|
125
|
+
case 3:
|
|
126
|
+
if (tag !== 29) {
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
message.fontSize = reader.float();
|
|
130
|
+
continue;
|
|
131
|
+
case 4:
|
|
132
|
+
if (tag !== 32) {
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
message.fontAutoSize = reader.bool();
|
|
136
|
+
continue;
|
|
137
|
+
case 5:
|
|
138
|
+
if (tag !== 40) {
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
message.textAlign = reader.int32();
|
|
142
|
+
continue;
|
|
143
|
+
case 6:
|
|
144
|
+
if (tag !== 53) {
|
|
145
|
+
break;
|
|
146
|
+
}
|
|
147
|
+
message.width = reader.float();
|
|
148
|
+
continue;
|
|
149
|
+
case 7:
|
|
150
|
+
if (tag !== 61) {
|
|
151
|
+
break;
|
|
152
|
+
}
|
|
153
|
+
message.height = reader.float();
|
|
154
|
+
continue;
|
|
155
|
+
case 8:
|
|
156
|
+
if (tag !== 69) {
|
|
157
|
+
break;
|
|
158
|
+
}
|
|
159
|
+
message.paddingTop = reader.float();
|
|
160
|
+
continue;
|
|
161
|
+
case 9:
|
|
162
|
+
if (tag !== 77) {
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
message.paddingRight = reader.float();
|
|
166
|
+
continue;
|
|
167
|
+
case 10:
|
|
168
|
+
if (tag !== 85) {
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
message.paddingBottom = reader.float();
|
|
172
|
+
continue;
|
|
173
|
+
case 11:
|
|
174
|
+
if (tag !== 93) {
|
|
175
|
+
break;
|
|
176
|
+
}
|
|
177
|
+
message.paddingLeft = reader.float();
|
|
178
|
+
continue;
|
|
179
|
+
case 12:
|
|
180
|
+
if (tag !== 101) {
|
|
181
|
+
break;
|
|
182
|
+
}
|
|
183
|
+
message.lineSpacing = reader.float();
|
|
184
|
+
continue;
|
|
185
|
+
case 13:
|
|
186
|
+
if (tag !== 104) {
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
message.lineCount = reader.int32();
|
|
190
|
+
continue;
|
|
191
|
+
case 14:
|
|
192
|
+
if (tag !== 112) {
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
message.textWrapping = reader.bool();
|
|
196
|
+
continue;
|
|
197
|
+
case 15:
|
|
198
|
+
if (tag !== 125) {
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
message.shadowBlur = reader.float();
|
|
202
|
+
continue;
|
|
203
|
+
case 16:
|
|
204
|
+
if (tag !== 133) {
|
|
205
|
+
break;
|
|
206
|
+
}
|
|
207
|
+
message.shadowOffsetX = reader.float();
|
|
208
|
+
continue;
|
|
209
|
+
case 17:
|
|
210
|
+
if (tag !== 141) {
|
|
211
|
+
break;
|
|
212
|
+
}
|
|
213
|
+
message.shadowOffsetY = reader.float();
|
|
214
|
+
continue;
|
|
215
|
+
case 18:
|
|
216
|
+
if (tag !== 149) {
|
|
217
|
+
break;
|
|
218
|
+
}
|
|
219
|
+
message.outlineWidth = reader.float();
|
|
220
|
+
continue;
|
|
221
|
+
case 19:
|
|
222
|
+
if (tag !== 154) {
|
|
223
|
+
break;
|
|
224
|
+
}
|
|
225
|
+
message.shadowColor = colors_gen_1.Color3.decode(reader, reader.uint32());
|
|
226
|
+
continue;
|
|
227
|
+
case 20:
|
|
228
|
+
if (tag !== 162) {
|
|
229
|
+
break;
|
|
230
|
+
}
|
|
231
|
+
message.outlineColor = colors_gen_1.Color3.decode(reader, reader.uint32());
|
|
232
|
+
continue;
|
|
233
|
+
case 21:
|
|
234
|
+
if (tag !== 170) {
|
|
235
|
+
break;
|
|
236
|
+
}
|
|
237
|
+
message.textColor = colors_gen_1.Color4.decode(reader, reader.uint32());
|
|
238
|
+
continue;
|
|
239
|
+
}
|
|
240
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
241
|
+
break;
|
|
242
|
+
}
|
|
243
|
+
reader.skipType(tag & 7);
|
|
244
|
+
}
|
|
245
|
+
return message;
|
|
246
|
+
}
|
|
247
|
+
PBTextShape.decode = decode;
|
|
248
|
+
function fromJSON(object) {
|
|
249
|
+
return {
|
|
250
|
+
text: isSet(object.text) ? String(object.text) : "",
|
|
251
|
+
font: isSet(object.font) ? (0, texts_gen_1.fontFromJSON)(object.font) : undefined,
|
|
252
|
+
fontSize: isSet(object.fontSize) ? Number(object.fontSize) : undefined,
|
|
253
|
+
fontAutoSize: isSet(object.fontAutoSize) ? Boolean(object.fontAutoSize) : undefined,
|
|
254
|
+
textAlign: isSet(object.textAlign) ? (0, texts_gen_1.textAlignModeFromJSON)(object.textAlign) : undefined,
|
|
255
|
+
width: isSet(object.width) ? Number(object.width) : undefined,
|
|
256
|
+
height: isSet(object.height) ? Number(object.height) : undefined,
|
|
257
|
+
paddingTop: isSet(object.paddingTop) ? Number(object.paddingTop) : undefined,
|
|
258
|
+
paddingRight: isSet(object.paddingRight) ? Number(object.paddingRight) : undefined,
|
|
259
|
+
paddingBottom: isSet(object.paddingBottom) ? Number(object.paddingBottom) : undefined,
|
|
260
|
+
paddingLeft: isSet(object.paddingLeft) ? Number(object.paddingLeft) : undefined,
|
|
261
|
+
lineSpacing: isSet(object.lineSpacing) ? Number(object.lineSpacing) : undefined,
|
|
262
|
+
lineCount: isSet(object.lineCount) ? Number(object.lineCount) : undefined,
|
|
263
|
+
textWrapping: isSet(object.textWrapping) ? Boolean(object.textWrapping) : undefined,
|
|
264
|
+
shadowBlur: isSet(object.shadowBlur) ? Number(object.shadowBlur) : undefined,
|
|
265
|
+
shadowOffsetX: isSet(object.shadowOffsetX) ? Number(object.shadowOffsetX) : undefined,
|
|
266
|
+
shadowOffsetY: isSet(object.shadowOffsetY) ? Number(object.shadowOffsetY) : undefined,
|
|
267
|
+
outlineWidth: isSet(object.outlineWidth) ? Number(object.outlineWidth) : undefined,
|
|
268
|
+
shadowColor: isSet(object.shadowColor) ? colors_gen_1.Color3.fromJSON(object.shadowColor) : undefined,
|
|
269
|
+
outlineColor: isSet(object.outlineColor) ? colors_gen_1.Color3.fromJSON(object.outlineColor) : undefined,
|
|
270
|
+
textColor: isSet(object.textColor) ? colors_gen_1.Color4.fromJSON(object.textColor) : undefined,
|
|
271
|
+
};
|
|
272
|
+
}
|
|
273
|
+
PBTextShape.fromJSON = fromJSON;
|
|
274
|
+
function toJSON(message) {
|
|
275
|
+
const obj = {};
|
|
276
|
+
message.text !== undefined && (obj.text = message.text);
|
|
277
|
+
message.font !== undefined && (obj.font = message.font !== undefined ? (0, texts_gen_1.fontToJSON)(message.font) : undefined);
|
|
278
|
+
message.fontSize !== undefined && (obj.fontSize = message.fontSize);
|
|
279
|
+
message.fontAutoSize !== undefined && (obj.fontAutoSize = message.fontAutoSize);
|
|
280
|
+
message.textAlign !== undefined &&
|
|
281
|
+
(obj.textAlign = message.textAlign !== undefined ? (0, texts_gen_1.textAlignModeToJSON)(message.textAlign) : undefined);
|
|
282
|
+
message.width !== undefined && (obj.width = message.width);
|
|
283
|
+
message.height !== undefined && (obj.height = message.height);
|
|
284
|
+
message.paddingTop !== undefined && (obj.paddingTop = message.paddingTop);
|
|
285
|
+
message.paddingRight !== undefined && (obj.paddingRight = message.paddingRight);
|
|
286
|
+
message.paddingBottom !== undefined && (obj.paddingBottom = message.paddingBottom);
|
|
287
|
+
message.paddingLeft !== undefined && (obj.paddingLeft = message.paddingLeft);
|
|
288
|
+
message.lineSpacing !== undefined && (obj.lineSpacing = message.lineSpacing);
|
|
289
|
+
message.lineCount !== undefined && (obj.lineCount = Math.round(message.lineCount));
|
|
290
|
+
message.textWrapping !== undefined && (obj.textWrapping = message.textWrapping);
|
|
291
|
+
message.shadowBlur !== undefined && (obj.shadowBlur = message.shadowBlur);
|
|
292
|
+
message.shadowOffsetX !== undefined && (obj.shadowOffsetX = message.shadowOffsetX);
|
|
293
|
+
message.shadowOffsetY !== undefined && (obj.shadowOffsetY = message.shadowOffsetY);
|
|
294
|
+
message.outlineWidth !== undefined && (obj.outlineWidth = message.outlineWidth);
|
|
295
|
+
message.shadowColor !== undefined &&
|
|
296
|
+
(obj.shadowColor = message.shadowColor ? colors_gen_1.Color3.toJSON(message.shadowColor) : undefined);
|
|
297
|
+
message.outlineColor !== undefined &&
|
|
298
|
+
(obj.outlineColor = message.outlineColor ? colors_gen_1.Color3.toJSON(message.outlineColor) : undefined);
|
|
299
|
+
message.textColor !== undefined &&
|
|
300
|
+
(obj.textColor = message.textColor ? colors_gen_1.Color4.toJSON(message.textColor) : undefined);
|
|
301
|
+
return obj;
|
|
302
|
+
}
|
|
303
|
+
PBTextShape.toJSON = toJSON;
|
|
304
|
+
function create(base) {
|
|
305
|
+
return PBTextShape.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
306
|
+
}
|
|
307
|
+
PBTextShape.create = create;
|
|
308
|
+
function fromPartial(object) {
|
|
309
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
310
|
+
const message = createBasePBTextShape();
|
|
311
|
+
message.text = (_a = object.text) !== null && _a !== void 0 ? _a : "";
|
|
312
|
+
message.font = (_b = object.font) !== null && _b !== void 0 ? _b : undefined;
|
|
313
|
+
message.fontSize = (_c = object.fontSize) !== null && _c !== void 0 ? _c : undefined;
|
|
314
|
+
message.fontAutoSize = (_d = object.fontAutoSize) !== null && _d !== void 0 ? _d : undefined;
|
|
315
|
+
message.textAlign = (_e = object.textAlign) !== null && _e !== void 0 ? _e : undefined;
|
|
316
|
+
message.width = (_f = object.width) !== null && _f !== void 0 ? _f : undefined;
|
|
317
|
+
message.height = (_g = object.height) !== null && _g !== void 0 ? _g : undefined;
|
|
318
|
+
message.paddingTop = (_h = object.paddingTop) !== null && _h !== void 0 ? _h : undefined;
|
|
319
|
+
message.paddingRight = (_j = object.paddingRight) !== null && _j !== void 0 ? _j : undefined;
|
|
320
|
+
message.paddingBottom = (_k = object.paddingBottom) !== null && _k !== void 0 ? _k : undefined;
|
|
321
|
+
message.paddingLeft = (_l = object.paddingLeft) !== null && _l !== void 0 ? _l : undefined;
|
|
322
|
+
message.lineSpacing = (_m = object.lineSpacing) !== null && _m !== void 0 ? _m : undefined;
|
|
323
|
+
message.lineCount = (_o = object.lineCount) !== null && _o !== void 0 ? _o : undefined;
|
|
324
|
+
message.textWrapping = (_p = object.textWrapping) !== null && _p !== void 0 ? _p : undefined;
|
|
325
|
+
message.shadowBlur = (_q = object.shadowBlur) !== null && _q !== void 0 ? _q : undefined;
|
|
326
|
+
message.shadowOffsetX = (_r = object.shadowOffsetX) !== null && _r !== void 0 ? _r : undefined;
|
|
327
|
+
message.shadowOffsetY = (_s = object.shadowOffsetY) !== null && _s !== void 0 ? _s : undefined;
|
|
328
|
+
message.outlineWidth = (_t = object.outlineWidth) !== null && _t !== void 0 ? _t : undefined;
|
|
329
|
+
message.shadowColor = (object.shadowColor !== undefined && object.shadowColor !== null)
|
|
330
|
+
? colors_gen_1.Color3.fromPartial(object.shadowColor)
|
|
331
|
+
: undefined;
|
|
332
|
+
message.outlineColor = (object.outlineColor !== undefined && object.outlineColor !== null)
|
|
333
|
+
? colors_gen_1.Color3.fromPartial(object.outlineColor)
|
|
334
|
+
: undefined;
|
|
335
|
+
message.textColor = (object.textColor !== undefined && object.textColor !== null)
|
|
336
|
+
? colors_gen_1.Color4.fromPartial(object.textColor)
|
|
337
|
+
: undefined;
|
|
338
|
+
return message;
|
|
339
|
+
}
|
|
340
|
+
PBTextShape.fromPartial = fromPartial;
|
|
341
|
+
})(PBTextShape || (exports.PBTextShape = PBTextShape = {}));
|
|
342
|
+
function isSet(value) {
|
|
343
|
+
return value !== null && value !== undefined;
|
|
344
|
+
}
|
|
345
|
+
//# sourceMappingURL=text_shape.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text_shape.gen.js","sourceRoot":"","sources":["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;YACrF,CAAC,CAAC,mBAAM,CAAC,WAAW,CAAC,MAAM,CAAC,WAAW,CAAC;YACxC,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,CAAC,YAAY,GAAG,CAAC,MAAM,CAAC,YAAY,KAAK,SAAS,IAAI,MAAM,CAAC,YAAY,KAAK,IAAI,CAAC;YACxF,CAAC,CAAC,mBAAM,CAAC,WAAW,CAAC,MAAM,CAAC,YAAY,CAAC;YACzC,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,CAAC,SAAS,GAAG,CAAC,MAAM,CAAC,SAAS,KAAK,SAAS,IAAI,MAAM,CAAC,SAAS,KAAK,IAAI,CAAC;YAC/E,CAAC,CAAC,mBAAM,CAAC,WAAW,CAAC,MAAM,CAAC,SAAS,CAAC;YACtC,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,OAAO,CAAC;IACjB,CAAC;IA9Be,uBAAW,cA8B1B,CAAA;AACH,CAAC,EAlUgB,WAAW,2BAAX,WAAW,QAkU3B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Quaternion, Vector3 } from "../../common/vectors.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
4
|
+
/**
|
|
5
|
+
* Implementation guidelines for these easing functions can be found
|
|
6
|
+
* at https://github.com/ai/easings.net/blob/6fcd5f852a470bf1a7890e8178afa0f471d5f2ec/src/easings/easingsFunctions.ts
|
|
7
|
+
*/
|
|
8
|
+
export declare enum EasingFunction {
|
|
9
|
+
/** EF_LINEAR - default */
|
|
10
|
+
EF_LINEAR = 0,
|
|
11
|
+
EF_EASEINQUAD = 1,
|
|
12
|
+
EF_EASEOUTQUAD = 2,
|
|
13
|
+
EF_EASEQUAD = 3,
|
|
14
|
+
EF_EASEINSINE = 4,
|
|
15
|
+
EF_EASEOUTSINE = 5,
|
|
16
|
+
EF_EASESINE = 6,
|
|
17
|
+
EF_EASEINEXPO = 7,
|
|
18
|
+
EF_EASEOUTEXPO = 8,
|
|
19
|
+
EF_EASEEXPO = 9,
|
|
20
|
+
EF_EASEINELASTIC = 10,
|
|
21
|
+
EF_EASEOUTELASTIC = 11,
|
|
22
|
+
EF_EASEELASTIC = 12,
|
|
23
|
+
EF_EASEINBOUNCE = 13,
|
|
24
|
+
EF_EASEOUTBOUNCE = 14,
|
|
25
|
+
EF_EASEBOUNCE = 15,
|
|
26
|
+
EF_EASEINCUBIC = 16,
|
|
27
|
+
EF_EASEOUTCUBIC = 17,
|
|
28
|
+
EF_EASECUBIC = 18,
|
|
29
|
+
EF_EASEINQUART = 19,
|
|
30
|
+
EF_EASEOUTQUART = 20,
|
|
31
|
+
EF_EASEQUART = 21,
|
|
32
|
+
EF_EASEINQUINT = 22,
|
|
33
|
+
EF_EASEOUTQUINT = 23,
|
|
34
|
+
EF_EASEQUINT = 24,
|
|
35
|
+
EF_EASEINCIRC = 25,
|
|
36
|
+
EF_EASEOUTCIRC = 26,
|
|
37
|
+
EF_EASECIRC = 27,
|
|
38
|
+
EF_EASEINBACK = 28,
|
|
39
|
+
EF_EASEOUTBACK = 29,
|
|
40
|
+
EF_EASEBACK = 30,
|
|
41
|
+
UNRECOGNIZED = -1
|
|
42
|
+
}
|
|
43
|
+
export declare function easingFunctionFromJSON(object: any): EasingFunction;
|
|
44
|
+
export declare function easingFunctionToJSON(object: EasingFunction): string;
|
|
45
|
+
export interface PBTween {
|
|
46
|
+
/** in milliseconds */
|
|
47
|
+
duration: number;
|
|
48
|
+
easingFunction: EasingFunction;
|
|
49
|
+
mode?: {
|
|
50
|
+
$case: "move";
|
|
51
|
+
move: Move;
|
|
52
|
+
} | {
|
|
53
|
+
$case: "rotate";
|
|
54
|
+
rotate: Rotate;
|
|
55
|
+
} | {
|
|
56
|
+
$case: "scale";
|
|
57
|
+
scale: Scale;
|
|
58
|
+
} | undefined;
|
|
59
|
+
/** default true (pause or running) */
|
|
60
|
+
playing?: boolean | undefined;
|
|
61
|
+
/** between 0 and 1 */
|
|
62
|
+
currentTime?: number | undefined;
|
|
63
|
+
}
|
|
64
|
+
export interface Move {
|
|
65
|
+
start: Vector3 | undefined;
|
|
66
|
+
end: Vector3 | undefined;
|
|
67
|
+
faceDirection?: boolean | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface Rotate {
|
|
70
|
+
start: Quaternion | undefined;
|
|
71
|
+
end: Quaternion | undefined;
|
|
72
|
+
}
|
|
73
|
+
export interface Scale {
|
|
74
|
+
start: Vector3 | undefined;
|
|
75
|
+
end: Vector3 | undefined;
|
|
76
|
+
}
|
|
77
|
+
export declare namespace PBTween {
|
|
78
|
+
function encode(message: PBTween, writer?: _m0.Writer): _m0.Writer;
|
|
79
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBTween;
|
|
80
|
+
function fromJSON(object: any): PBTween;
|
|
81
|
+
function toJSON(message: PBTween): unknown;
|
|
82
|
+
function create<I extends Exact<DeepPartial<PBTween>, I>>(base?: I): PBTween;
|
|
83
|
+
function fromPartial<I extends Exact<DeepPartial<PBTween>, I>>(object: I): PBTween;
|
|
84
|
+
}
|
|
85
|
+
export declare namespace Move {
|
|
86
|
+
function encode(message: Move, writer?: _m0.Writer): _m0.Writer;
|
|
87
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): Move;
|
|
88
|
+
function fromJSON(object: any): Move;
|
|
89
|
+
function toJSON(message: Move): unknown;
|
|
90
|
+
function create<I extends Exact<DeepPartial<Move>, I>>(base?: I): Move;
|
|
91
|
+
function fromPartial<I extends Exact<DeepPartial<Move>, I>>(object: I): Move;
|
|
92
|
+
}
|
|
93
|
+
export declare namespace Rotate {
|
|
94
|
+
function encode(message: Rotate, writer?: _m0.Writer): _m0.Writer;
|
|
95
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): Rotate;
|
|
96
|
+
function fromJSON(object: any): Rotate;
|
|
97
|
+
function toJSON(message: Rotate): unknown;
|
|
98
|
+
function create<I extends Exact<DeepPartial<Rotate>, I>>(base?: I): Rotate;
|
|
99
|
+
function fromPartial<I extends Exact<DeepPartial<Rotate>, I>>(object: I): Rotate;
|
|
100
|
+
}
|
|
101
|
+
export declare namespace Scale {
|
|
102
|
+
function encode(message: Scale, writer?: _m0.Writer): _m0.Writer;
|
|
103
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): Scale;
|
|
104
|
+
function fromJSON(object: any): Scale;
|
|
105
|
+
function toJSON(message: Scale): unknown;
|
|
106
|
+
function create<I extends Exact<DeepPartial<Scale>, I>>(base?: I): Scale;
|
|
107
|
+
function fromPartial<I extends Exact<DeepPartial<Scale>, I>>(object: I): Scale;
|
|
108
|
+
}
|
|
109
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
110
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
|
|
111
|
+
$case: string;
|
|
112
|
+
} ? {
|
|
113
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
114
|
+
} & {
|
|
115
|
+
$case: T["$case"];
|
|
116
|
+
} : T extends {} ? {
|
|
117
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
118
|
+
} : Partial<T>;
|
|
119
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
120
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
121
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
122
|
+
} & {
|
|
123
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
124
|
+
};
|
|
125
|
+
export {};
|