@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,104 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/**
|
|
4
|
+
* The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
|
|
5
|
+
* plane, a sphere or a cylinder.
|
|
6
|
+
*
|
|
7
|
+
* The cube and plane variants can include a UV texture mapping, so specific areas of a material
|
|
8
|
+
* texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
|
|
9
|
+
* `float` coordinates, one for each corner of each side of each face.
|
|
10
|
+
*
|
|
11
|
+
* More complex shapes require the use of a `GltfContainer` component.
|
|
12
|
+
*/
|
|
13
|
+
export interface PBMeshRenderer {
|
|
14
|
+
mesh?: {
|
|
15
|
+
$case: "box";
|
|
16
|
+
box: PBMeshRenderer_BoxMesh;
|
|
17
|
+
} | {
|
|
18
|
+
$case: "sphere";
|
|
19
|
+
sphere: PBMeshRenderer_SphereMesh;
|
|
20
|
+
} | {
|
|
21
|
+
$case: "cylinder";
|
|
22
|
+
cylinder: PBMeshRenderer_CylinderMesh;
|
|
23
|
+
} | {
|
|
24
|
+
$case: "plane";
|
|
25
|
+
plane: PBMeshRenderer_PlaneMesh;
|
|
26
|
+
} | undefined;
|
|
27
|
+
}
|
|
28
|
+
/** BoxMesh renders a prism shape. */
|
|
29
|
+
export interface PBMeshRenderer_BoxMesh {
|
|
30
|
+
/** 96-value texture map (2D * 6 faces * 2 sides * 4 vertices) */
|
|
31
|
+
uvs: number[];
|
|
32
|
+
}
|
|
33
|
+
/** CylinderMesh renders a truncated cone shape. */
|
|
34
|
+
export interface PBMeshRenderer_CylinderMesh {
|
|
35
|
+
/** (default 0.5) */
|
|
36
|
+
radiusTop?: number | undefined;
|
|
37
|
+
/** (default 0.5) */
|
|
38
|
+
radiusBottom?: number | undefined;
|
|
39
|
+
}
|
|
40
|
+
/** PlaneMesh renders a 2D rectangular shape. */
|
|
41
|
+
export interface PBMeshRenderer_PlaneMesh {
|
|
42
|
+
/** 16-value texture map (2D * 1 face * 2 sides * 4 vertices) */
|
|
43
|
+
uvs: number[];
|
|
44
|
+
}
|
|
45
|
+
/** SphereMesh renders a spherical shape. */
|
|
46
|
+
export interface PBMeshRenderer_SphereMesh {
|
|
47
|
+
}
|
|
48
|
+
export declare namespace PBMeshRenderer {
|
|
49
|
+
function encode(message: PBMeshRenderer, writer?: _m0.Writer): _m0.Writer;
|
|
50
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer;
|
|
51
|
+
function fromJSON(object: any): PBMeshRenderer;
|
|
52
|
+
function toJSON(message: PBMeshRenderer): unknown;
|
|
53
|
+
function create<I extends Exact<DeepPartial<PBMeshRenderer>, I>>(base?: I): PBMeshRenderer;
|
|
54
|
+
function fromPartial<I extends Exact<DeepPartial<PBMeshRenderer>, I>>(object: I): PBMeshRenderer;
|
|
55
|
+
}
|
|
56
|
+
export declare namespace PBMeshRenderer_BoxMesh {
|
|
57
|
+
function encode(message: PBMeshRenderer_BoxMesh, writer?: _m0.Writer): _m0.Writer;
|
|
58
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_BoxMesh;
|
|
59
|
+
function fromJSON(object: any): PBMeshRenderer_BoxMesh;
|
|
60
|
+
function toJSON(message: PBMeshRenderer_BoxMesh): unknown;
|
|
61
|
+
function create<I extends Exact<DeepPartial<PBMeshRenderer_BoxMesh>, I>>(base?: I): PBMeshRenderer_BoxMesh;
|
|
62
|
+
function fromPartial<I extends Exact<DeepPartial<PBMeshRenderer_BoxMesh>, I>>(object: I): PBMeshRenderer_BoxMesh;
|
|
63
|
+
}
|
|
64
|
+
export declare namespace PBMeshRenderer_CylinderMesh {
|
|
65
|
+
function encode(message: PBMeshRenderer_CylinderMesh, writer?: _m0.Writer): _m0.Writer;
|
|
66
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
|
|
67
|
+
function fromJSON(object: any): PBMeshRenderer_CylinderMesh;
|
|
68
|
+
function toJSON(message: PBMeshRenderer_CylinderMesh): unknown;
|
|
69
|
+
function create<I extends Exact<DeepPartial<PBMeshRenderer_CylinderMesh>, I>>(base?: I): PBMeshRenderer_CylinderMesh;
|
|
70
|
+
function fromPartial<I extends Exact<DeepPartial<PBMeshRenderer_CylinderMesh>, I>>(object: I): PBMeshRenderer_CylinderMesh;
|
|
71
|
+
}
|
|
72
|
+
export declare namespace PBMeshRenderer_PlaneMesh {
|
|
73
|
+
function encode(message: PBMeshRenderer_PlaneMesh, writer?: _m0.Writer): _m0.Writer;
|
|
74
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_PlaneMesh;
|
|
75
|
+
function fromJSON(object: any): PBMeshRenderer_PlaneMesh;
|
|
76
|
+
function toJSON(message: PBMeshRenderer_PlaneMesh): unknown;
|
|
77
|
+
function create<I extends Exact<DeepPartial<PBMeshRenderer_PlaneMesh>, I>>(base?: I): PBMeshRenderer_PlaneMesh;
|
|
78
|
+
function fromPartial<I extends Exact<DeepPartial<PBMeshRenderer_PlaneMesh>, I>>(object: I): PBMeshRenderer_PlaneMesh;
|
|
79
|
+
}
|
|
80
|
+
export declare namespace PBMeshRenderer_SphereMesh {
|
|
81
|
+
function encode(_: PBMeshRenderer_SphereMesh, writer?: _m0.Writer): _m0.Writer;
|
|
82
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_SphereMesh;
|
|
83
|
+
function fromJSON(_: any): PBMeshRenderer_SphereMesh;
|
|
84
|
+
function toJSON(_: PBMeshRenderer_SphereMesh): unknown;
|
|
85
|
+
function create<I extends Exact<DeepPartial<PBMeshRenderer_SphereMesh>, I>>(base?: I): PBMeshRenderer_SphereMesh;
|
|
86
|
+
function fromPartial<I extends Exact<DeepPartial<PBMeshRenderer_SphereMesh>, I>>(_: I): PBMeshRenderer_SphereMesh;
|
|
87
|
+
}
|
|
88
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
89
|
+
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 {
|
|
90
|
+
$case: string;
|
|
91
|
+
} ? {
|
|
92
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
93
|
+
} & {
|
|
94
|
+
$case: T["$case"];
|
|
95
|
+
} : T extends {} ? {
|
|
96
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
97
|
+
} : Partial<T>;
|
|
98
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
99
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
100
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
101
|
+
} & {
|
|
102
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
103
|
+
};
|
|
104
|
+
export {};
|
|
@@ -0,0 +1,382 @@
|
|
|
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.PBMeshRenderer_SphereMesh = exports.PBMeshRenderer_PlaneMesh = exports.PBMeshRenderer_CylinderMesh = exports.PBMeshRenderer_BoxMesh = exports.PBMeshRenderer = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
function createBasePBMeshRenderer() {
|
|
11
|
+
return { mesh: undefined };
|
|
12
|
+
}
|
|
13
|
+
var PBMeshRenderer;
|
|
14
|
+
(function (PBMeshRenderer) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
var _a;
|
|
17
|
+
switch ((_a = message.mesh) === null || _a === void 0 ? void 0 : _a.$case) {
|
|
18
|
+
case "box":
|
|
19
|
+
PBMeshRenderer_BoxMesh.encode(message.mesh.box, writer.uint32(10).fork()).ldelim();
|
|
20
|
+
break;
|
|
21
|
+
case "sphere":
|
|
22
|
+
PBMeshRenderer_SphereMesh.encode(message.mesh.sphere, writer.uint32(18).fork()).ldelim();
|
|
23
|
+
break;
|
|
24
|
+
case "cylinder":
|
|
25
|
+
PBMeshRenderer_CylinderMesh.encode(message.mesh.cylinder, writer.uint32(26).fork()).ldelim();
|
|
26
|
+
break;
|
|
27
|
+
case "plane":
|
|
28
|
+
PBMeshRenderer_PlaneMesh.encode(message.mesh.plane, writer.uint32(34).fork()).ldelim();
|
|
29
|
+
break;
|
|
30
|
+
}
|
|
31
|
+
return writer;
|
|
32
|
+
}
|
|
33
|
+
PBMeshRenderer.encode = encode;
|
|
34
|
+
function decode(input, length) {
|
|
35
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
36
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
37
|
+
const message = createBasePBMeshRenderer();
|
|
38
|
+
while (reader.pos < end) {
|
|
39
|
+
const tag = reader.uint32();
|
|
40
|
+
switch (tag >>> 3) {
|
|
41
|
+
case 1:
|
|
42
|
+
if (tag !== 10) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.mesh = { $case: "box", box: PBMeshRenderer_BoxMesh.decode(reader, reader.uint32()) };
|
|
46
|
+
continue;
|
|
47
|
+
case 2:
|
|
48
|
+
if (tag !== 18) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
message.mesh = { $case: "sphere", sphere: PBMeshRenderer_SphereMesh.decode(reader, reader.uint32()) };
|
|
52
|
+
continue;
|
|
53
|
+
case 3:
|
|
54
|
+
if (tag !== 26) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
message.mesh = { $case: "cylinder", cylinder: PBMeshRenderer_CylinderMesh.decode(reader, reader.uint32()) };
|
|
58
|
+
continue;
|
|
59
|
+
case 4:
|
|
60
|
+
if (tag !== 34) {
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
message.mesh = { $case: "plane", plane: PBMeshRenderer_PlaneMesh.decode(reader, reader.uint32()) };
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
reader.skipType(tag & 7);
|
|
70
|
+
}
|
|
71
|
+
return message;
|
|
72
|
+
}
|
|
73
|
+
PBMeshRenderer.decode = decode;
|
|
74
|
+
function fromJSON(object) {
|
|
75
|
+
return {
|
|
76
|
+
mesh: isSet(object.box)
|
|
77
|
+
? { $case: "box", box: PBMeshRenderer_BoxMesh.fromJSON(object.box) }
|
|
78
|
+
: isSet(object.sphere)
|
|
79
|
+
? { $case: "sphere", sphere: PBMeshRenderer_SphereMesh.fromJSON(object.sphere) }
|
|
80
|
+
: isSet(object.cylinder)
|
|
81
|
+
? { $case: "cylinder", cylinder: PBMeshRenderer_CylinderMesh.fromJSON(object.cylinder) }
|
|
82
|
+
: isSet(object.plane)
|
|
83
|
+
? { $case: "plane", plane: PBMeshRenderer_PlaneMesh.fromJSON(object.plane) }
|
|
84
|
+
: undefined,
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
PBMeshRenderer.fromJSON = fromJSON;
|
|
88
|
+
function toJSON(message) {
|
|
89
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
90
|
+
const obj = {};
|
|
91
|
+
((_a = message.mesh) === null || _a === void 0 ? void 0 : _a.$case) === "box" &&
|
|
92
|
+
(obj.box = ((_b = message.mesh) === null || _b === void 0 ? void 0 : _b.box) ? PBMeshRenderer_BoxMesh.toJSON((_c = message.mesh) === null || _c === void 0 ? void 0 : _c.box) : undefined);
|
|
93
|
+
((_d = message.mesh) === null || _d === void 0 ? void 0 : _d.$case) === "sphere" &&
|
|
94
|
+
(obj.sphere = ((_e = message.mesh) === null || _e === void 0 ? void 0 : _e.sphere) ? PBMeshRenderer_SphereMesh.toJSON((_f = message.mesh) === null || _f === void 0 ? void 0 : _f.sphere) : undefined);
|
|
95
|
+
((_g = message.mesh) === null || _g === void 0 ? void 0 : _g.$case) === "cylinder" &&
|
|
96
|
+
(obj.cylinder = ((_h = message.mesh) === null || _h === void 0 ? void 0 : _h.cylinder) ? PBMeshRenderer_CylinderMesh.toJSON((_j = message.mesh) === null || _j === void 0 ? void 0 : _j.cylinder) : undefined);
|
|
97
|
+
((_k = message.mesh) === null || _k === void 0 ? void 0 : _k.$case) === "plane" &&
|
|
98
|
+
(obj.plane = ((_l = message.mesh) === null || _l === void 0 ? void 0 : _l.plane) ? PBMeshRenderer_PlaneMesh.toJSON((_m = message.mesh) === null || _m === void 0 ? void 0 : _m.plane) : undefined);
|
|
99
|
+
return obj;
|
|
100
|
+
}
|
|
101
|
+
PBMeshRenderer.toJSON = toJSON;
|
|
102
|
+
function create(base) {
|
|
103
|
+
return PBMeshRenderer.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
104
|
+
}
|
|
105
|
+
PBMeshRenderer.create = create;
|
|
106
|
+
function fromPartial(object) {
|
|
107
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
108
|
+
const message = createBasePBMeshRenderer();
|
|
109
|
+
if (((_a = object.mesh) === null || _a === void 0 ? void 0 : _a.$case) === "box" && ((_b = object.mesh) === null || _b === void 0 ? void 0 : _b.box) !== undefined && ((_c = object.mesh) === null || _c === void 0 ? void 0 : _c.box) !== null) {
|
|
110
|
+
message.mesh = { $case: "box", box: PBMeshRenderer_BoxMesh.fromPartial(object.mesh.box) };
|
|
111
|
+
}
|
|
112
|
+
if (((_d = object.mesh) === null || _d === void 0 ? void 0 : _d.$case) === "sphere" && ((_e = object.mesh) === null || _e === void 0 ? void 0 : _e.sphere) !== undefined && ((_f = object.mesh) === null || _f === void 0 ? void 0 : _f.sphere) !== null) {
|
|
113
|
+
message.mesh = { $case: "sphere", sphere: PBMeshRenderer_SphereMesh.fromPartial(object.mesh.sphere) };
|
|
114
|
+
}
|
|
115
|
+
if (((_g = object.mesh) === null || _g === void 0 ? void 0 : _g.$case) === "cylinder" && ((_h = object.mesh) === null || _h === void 0 ? void 0 : _h.cylinder) !== undefined && ((_j = object.mesh) === null || _j === void 0 ? void 0 : _j.cylinder) !== null) {
|
|
116
|
+
message.mesh = { $case: "cylinder", cylinder: PBMeshRenderer_CylinderMesh.fromPartial(object.mesh.cylinder) };
|
|
117
|
+
}
|
|
118
|
+
if (((_k = object.mesh) === null || _k === void 0 ? void 0 : _k.$case) === "plane" && ((_l = object.mesh) === null || _l === void 0 ? void 0 : _l.plane) !== undefined && ((_m = object.mesh) === null || _m === void 0 ? void 0 : _m.plane) !== null) {
|
|
119
|
+
message.mesh = { $case: "plane", plane: PBMeshRenderer_PlaneMesh.fromPartial(object.mesh.plane) };
|
|
120
|
+
}
|
|
121
|
+
return message;
|
|
122
|
+
}
|
|
123
|
+
PBMeshRenderer.fromPartial = fromPartial;
|
|
124
|
+
})(PBMeshRenderer || (exports.PBMeshRenderer = PBMeshRenderer = {}));
|
|
125
|
+
function createBasePBMeshRenderer_BoxMesh() {
|
|
126
|
+
return { uvs: [] };
|
|
127
|
+
}
|
|
128
|
+
var PBMeshRenderer_BoxMesh;
|
|
129
|
+
(function (PBMeshRenderer_BoxMesh) {
|
|
130
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
131
|
+
writer.uint32(10).fork();
|
|
132
|
+
for (const v of message.uvs) {
|
|
133
|
+
writer.float(v);
|
|
134
|
+
}
|
|
135
|
+
writer.ldelim();
|
|
136
|
+
return writer;
|
|
137
|
+
}
|
|
138
|
+
PBMeshRenderer_BoxMesh.encode = encode;
|
|
139
|
+
function decode(input, length) {
|
|
140
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
141
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
142
|
+
const message = createBasePBMeshRenderer_BoxMesh();
|
|
143
|
+
while (reader.pos < end) {
|
|
144
|
+
const tag = reader.uint32();
|
|
145
|
+
switch (tag >>> 3) {
|
|
146
|
+
case 1:
|
|
147
|
+
if (tag === 13) {
|
|
148
|
+
message.uvs.push(reader.float());
|
|
149
|
+
continue;
|
|
150
|
+
}
|
|
151
|
+
if (tag === 10) {
|
|
152
|
+
const end2 = reader.uint32() + reader.pos;
|
|
153
|
+
while (reader.pos < end2) {
|
|
154
|
+
message.uvs.push(reader.float());
|
|
155
|
+
}
|
|
156
|
+
continue;
|
|
157
|
+
}
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
161
|
+
break;
|
|
162
|
+
}
|
|
163
|
+
reader.skipType(tag & 7);
|
|
164
|
+
}
|
|
165
|
+
return message;
|
|
166
|
+
}
|
|
167
|
+
PBMeshRenderer_BoxMesh.decode = decode;
|
|
168
|
+
function fromJSON(object) {
|
|
169
|
+
return { uvs: Array.isArray(object === null || object === void 0 ? void 0 : object.uvs) ? object.uvs.map((e) => Number(e)) : [] };
|
|
170
|
+
}
|
|
171
|
+
PBMeshRenderer_BoxMesh.fromJSON = fromJSON;
|
|
172
|
+
function toJSON(message) {
|
|
173
|
+
const obj = {};
|
|
174
|
+
if (message.uvs) {
|
|
175
|
+
obj.uvs = message.uvs.map((e) => e);
|
|
176
|
+
}
|
|
177
|
+
else {
|
|
178
|
+
obj.uvs = [];
|
|
179
|
+
}
|
|
180
|
+
return obj;
|
|
181
|
+
}
|
|
182
|
+
PBMeshRenderer_BoxMesh.toJSON = toJSON;
|
|
183
|
+
function create(base) {
|
|
184
|
+
return PBMeshRenderer_BoxMesh.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
185
|
+
}
|
|
186
|
+
PBMeshRenderer_BoxMesh.create = create;
|
|
187
|
+
function fromPartial(object) {
|
|
188
|
+
var _a;
|
|
189
|
+
const message = createBasePBMeshRenderer_BoxMesh();
|
|
190
|
+
message.uvs = ((_a = object.uvs) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
191
|
+
return message;
|
|
192
|
+
}
|
|
193
|
+
PBMeshRenderer_BoxMesh.fromPartial = fromPartial;
|
|
194
|
+
})(PBMeshRenderer_BoxMesh || (exports.PBMeshRenderer_BoxMesh = PBMeshRenderer_BoxMesh = {}));
|
|
195
|
+
function createBasePBMeshRenderer_CylinderMesh() {
|
|
196
|
+
return { radiusTop: undefined, radiusBottom: undefined };
|
|
197
|
+
}
|
|
198
|
+
var PBMeshRenderer_CylinderMesh;
|
|
199
|
+
(function (PBMeshRenderer_CylinderMesh) {
|
|
200
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
201
|
+
if (message.radiusTop !== undefined) {
|
|
202
|
+
writer.uint32(13).float(message.radiusTop);
|
|
203
|
+
}
|
|
204
|
+
if (message.radiusBottom !== undefined) {
|
|
205
|
+
writer.uint32(21).float(message.radiusBottom);
|
|
206
|
+
}
|
|
207
|
+
return writer;
|
|
208
|
+
}
|
|
209
|
+
PBMeshRenderer_CylinderMesh.encode = encode;
|
|
210
|
+
function decode(input, length) {
|
|
211
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
212
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
213
|
+
const message = createBasePBMeshRenderer_CylinderMesh();
|
|
214
|
+
while (reader.pos < end) {
|
|
215
|
+
const tag = reader.uint32();
|
|
216
|
+
switch (tag >>> 3) {
|
|
217
|
+
case 1:
|
|
218
|
+
if (tag !== 13) {
|
|
219
|
+
break;
|
|
220
|
+
}
|
|
221
|
+
message.radiusTop = reader.float();
|
|
222
|
+
continue;
|
|
223
|
+
case 2:
|
|
224
|
+
if (tag !== 21) {
|
|
225
|
+
break;
|
|
226
|
+
}
|
|
227
|
+
message.radiusBottom = reader.float();
|
|
228
|
+
continue;
|
|
229
|
+
}
|
|
230
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
231
|
+
break;
|
|
232
|
+
}
|
|
233
|
+
reader.skipType(tag & 7);
|
|
234
|
+
}
|
|
235
|
+
return message;
|
|
236
|
+
}
|
|
237
|
+
PBMeshRenderer_CylinderMesh.decode = decode;
|
|
238
|
+
function fromJSON(object) {
|
|
239
|
+
return {
|
|
240
|
+
radiusTop: isSet(object.radiusTop) ? Number(object.radiusTop) : undefined,
|
|
241
|
+
radiusBottom: isSet(object.radiusBottom) ? Number(object.radiusBottom) : undefined,
|
|
242
|
+
};
|
|
243
|
+
}
|
|
244
|
+
PBMeshRenderer_CylinderMesh.fromJSON = fromJSON;
|
|
245
|
+
function toJSON(message) {
|
|
246
|
+
const obj = {};
|
|
247
|
+
message.radiusTop !== undefined && (obj.radiusTop = message.radiusTop);
|
|
248
|
+
message.radiusBottom !== undefined && (obj.radiusBottom = message.radiusBottom);
|
|
249
|
+
return obj;
|
|
250
|
+
}
|
|
251
|
+
PBMeshRenderer_CylinderMesh.toJSON = toJSON;
|
|
252
|
+
function create(base) {
|
|
253
|
+
return PBMeshRenderer_CylinderMesh.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
254
|
+
}
|
|
255
|
+
PBMeshRenderer_CylinderMesh.create = create;
|
|
256
|
+
function fromPartial(object) {
|
|
257
|
+
var _a, _b;
|
|
258
|
+
const message = createBasePBMeshRenderer_CylinderMesh();
|
|
259
|
+
message.radiusTop = (_a = object.radiusTop) !== null && _a !== void 0 ? _a : undefined;
|
|
260
|
+
message.radiusBottom = (_b = object.radiusBottom) !== null && _b !== void 0 ? _b : undefined;
|
|
261
|
+
return message;
|
|
262
|
+
}
|
|
263
|
+
PBMeshRenderer_CylinderMesh.fromPartial = fromPartial;
|
|
264
|
+
})(PBMeshRenderer_CylinderMesh || (exports.PBMeshRenderer_CylinderMesh = PBMeshRenderer_CylinderMesh = {}));
|
|
265
|
+
function createBasePBMeshRenderer_PlaneMesh() {
|
|
266
|
+
return { uvs: [] };
|
|
267
|
+
}
|
|
268
|
+
var PBMeshRenderer_PlaneMesh;
|
|
269
|
+
(function (PBMeshRenderer_PlaneMesh) {
|
|
270
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
271
|
+
writer.uint32(10).fork();
|
|
272
|
+
for (const v of message.uvs) {
|
|
273
|
+
writer.float(v);
|
|
274
|
+
}
|
|
275
|
+
writer.ldelim();
|
|
276
|
+
return writer;
|
|
277
|
+
}
|
|
278
|
+
PBMeshRenderer_PlaneMesh.encode = encode;
|
|
279
|
+
function decode(input, length) {
|
|
280
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
281
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
282
|
+
const message = createBasePBMeshRenderer_PlaneMesh();
|
|
283
|
+
while (reader.pos < end) {
|
|
284
|
+
const tag = reader.uint32();
|
|
285
|
+
switch (tag >>> 3) {
|
|
286
|
+
case 1:
|
|
287
|
+
if (tag === 13) {
|
|
288
|
+
message.uvs.push(reader.float());
|
|
289
|
+
continue;
|
|
290
|
+
}
|
|
291
|
+
if (tag === 10) {
|
|
292
|
+
const end2 = reader.uint32() + reader.pos;
|
|
293
|
+
while (reader.pos < end2) {
|
|
294
|
+
message.uvs.push(reader.float());
|
|
295
|
+
}
|
|
296
|
+
continue;
|
|
297
|
+
}
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
301
|
+
break;
|
|
302
|
+
}
|
|
303
|
+
reader.skipType(tag & 7);
|
|
304
|
+
}
|
|
305
|
+
return message;
|
|
306
|
+
}
|
|
307
|
+
PBMeshRenderer_PlaneMesh.decode = decode;
|
|
308
|
+
function fromJSON(object) {
|
|
309
|
+
return { uvs: Array.isArray(object === null || object === void 0 ? void 0 : object.uvs) ? object.uvs.map((e) => Number(e)) : [] };
|
|
310
|
+
}
|
|
311
|
+
PBMeshRenderer_PlaneMesh.fromJSON = fromJSON;
|
|
312
|
+
function toJSON(message) {
|
|
313
|
+
const obj = {};
|
|
314
|
+
if (message.uvs) {
|
|
315
|
+
obj.uvs = message.uvs.map((e) => e);
|
|
316
|
+
}
|
|
317
|
+
else {
|
|
318
|
+
obj.uvs = [];
|
|
319
|
+
}
|
|
320
|
+
return obj;
|
|
321
|
+
}
|
|
322
|
+
PBMeshRenderer_PlaneMesh.toJSON = toJSON;
|
|
323
|
+
function create(base) {
|
|
324
|
+
return PBMeshRenderer_PlaneMesh.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
325
|
+
}
|
|
326
|
+
PBMeshRenderer_PlaneMesh.create = create;
|
|
327
|
+
function fromPartial(object) {
|
|
328
|
+
var _a;
|
|
329
|
+
const message = createBasePBMeshRenderer_PlaneMesh();
|
|
330
|
+
message.uvs = ((_a = object.uvs) === null || _a === void 0 ? void 0 : _a.map((e) => e)) || [];
|
|
331
|
+
return message;
|
|
332
|
+
}
|
|
333
|
+
PBMeshRenderer_PlaneMesh.fromPartial = fromPartial;
|
|
334
|
+
})(PBMeshRenderer_PlaneMesh || (exports.PBMeshRenderer_PlaneMesh = PBMeshRenderer_PlaneMesh = {}));
|
|
335
|
+
function createBasePBMeshRenderer_SphereMesh() {
|
|
336
|
+
return {};
|
|
337
|
+
}
|
|
338
|
+
var PBMeshRenderer_SphereMesh;
|
|
339
|
+
(function (PBMeshRenderer_SphereMesh) {
|
|
340
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
341
|
+
return writer;
|
|
342
|
+
}
|
|
343
|
+
PBMeshRenderer_SphereMesh.encode = encode;
|
|
344
|
+
function decode(input, length) {
|
|
345
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
346
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
347
|
+
const message = createBasePBMeshRenderer_SphereMesh();
|
|
348
|
+
while (reader.pos < end) {
|
|
349
|
+
const tag = reader.uint32();
|
|
350
|
+
switch (tag >>> 3) {
|
|
351
|
+
}
|
|
352
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
353
|
+
break;
|
|
354
|
+
}
|
|
355
|
+
reader.skipType(tag & 7);
|
|
356
|
+
}
|
|
357
|
+
return message;
|
|
358
|
+
}
|
|
359
|
+
PBMeshRenderer_SphereMesh.decode = decode;
|
|
360
|
+
function fromJSON(_) {
|
|
361
|
+
return {};
|
|
362
|
+
}
|
|
363
|
+
PBMeshRenderer_SphereMesh.fromJSON = fromJSON;
|
|
364
|
+
function toJSON(_) {
|
|
365
|
+
const obj = {};
|
|
366
|
+
return obj;
|
|
367
|
+
}
|
|
368
|
+
PBMeshRenderer_SphereMesh.toJSON = toJSON;
|
|
369
|
+
function create(base) {
|
|
370
|
+
return PBMeshRenderer_SphereMesh.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
371
|
+
}
|
|
372
|
+
PBMeshRenderer_SphereMesh.create = create;
|
|
373
|
+
function fromPartial(_) {
|
|
374
|
+
const message = createBasePBMeshRenderer_SphereMesh();
|
|
375
|
+
return message;
|
|
376
|
+
}
|
|
377
|
+
PBMeshRenderer_SphereMesh.fromPartial = fromPartial;
|
|
378
|
+
})(PBMeshRenderer_SphereMesh || (exports.PBMeshRenderer_SphereMesh = PBMeshRenderer_SphereMesh = {}));
|
|
379
|
+
function isSet(value) {
|
|
380
|
+
return value !== null && value !== undefined;
|
|
381
|
+
}
|
|
382
|
+
//# sourceMappingURL=mesh_renderer.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mesh_renderer.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/mesh_renderer.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AA+C7D,SAAS,wBAAwB;IAC/B,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;AAC7B,CAAC;AAED,IAAiB,cAAc,CA8G9B;AA9GD,WAAiB,cAAc;IAC7B,SAAgB,MAAM,CAAC,OAAuB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;;QACtF,QAAQ,MAAA,OAAO,CAAC,IAAI,0CAAE,KAAK,EAAE,CAAC;YAC5B,KAAK,KAAK;gBACR,sBAAsB,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;gBACnF,MAAM;YACR,KAAK,QAAQ;gBACX,yBAAyB,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;gBACzF,MAAM;YACR,KAAK,UAAU;gBACb,2BAA2B,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;gBAC7F,MAAM;YACR,KAAK,OAAO;gBACV,wBAAwB,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,C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,MAAM,OAAO,GAAG,mCAAmC,EAAE,CAAC;QACtD,OAAO,OAAO,CAAC;IACjB,CAAC;IALe,qCAAW,cAK1B,CAAA;AACH,CAAC,EA1CgB,yBAAyB,yCAAzB,yBAAyB,QA0CzC;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { Color3 } from "../../common/colors.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
4
|
+
/** NftFrameType is a predefined framing style for the image. */
|
|
5
|
+
export declare enum NftFrameType {
|
|
6
|
+
NFT_CLASSIC = 0,
|
|
7
|
+
NFT_BAROQUE_ORNAMENT = 1,
|
|
8
|
+
NFT_DIAMOND_ORNAMENT = 2,
|
|
9
|
+
NFT_MINIMAL_WIDE = 3,
|
|
10
|
+
NFT_MINIMAL_GREY = 4,
|
|
11
|
+
NFT_BLOCKY = 5,
|
|
12
|
+
NFT_GOLD_EDGES = 6,
|
|
13
|
+
NFT_GOLD_CARVED = 7,
|
|
14
|
+
NFT_GOLD_WIDE = 8,
|
|
15
|
+
NFT_GOLD_ROUNDED = 9,
|
|
16
|
+
NFT_METAL_MEDIUM = 10,
|
|
17
|
+
NFT_METAL_WIDE = 11,
|
|
18
|
+
NFT_METAL_SLIM = 12,
|
|
19
|
+
NFT_METAL_ROUNDED = 13,
|
|
20
|
+
NFT_PINS = 14,
|
|
21
|
+
NFT_MINIMAL_BLACK = 15,
|
|
22
|
+
NFT_MINIMAL_WHITE = 16,
|
|
23
|
+
NFT_TAPE = 17,
|
|
24
|
+
NFT_WOOD_SLIM = 18,
|
|
25
|
+
NFT_WOOD_WIDE = 19,
|
|
26
|
+
NFT_WOOD_TWIGS = 20,
|
|
27
|
+
NFT_CANVAS = 21,
|
|
28
|
+
NFT_NONE = 22,
|
|
29
|
+
UNRECOGNIZED = -1
|
|
30
|
+
}
|
|
31
|
+
export declare function nftFrameTypeFromJSON(object: any): NftFrameType;
|
|
32
|
+
export declare function nftFrameTypeToJSON(object: NftFrameType): string;
|
|
33
|
+
/**
|
|
34
|
+
* The NftShape component renders a framed picture from an NFT. It supports PNG, JPEG and GIF files.
|
|
35
|
+
*
|
|
36
|
+
* The `urn` field is the URI of the NFT, and must follow the format 'urn:decentraland:<CHAIN>:<CONTRACT_STANDARD>:<CONTRACT_ADDRESS>:<TOKEN_ID>'
|
|
37
|
+
* Example: 'urn:decentraland:ethereum:erc721:0x00000000:123'
|
|
38
|
+
*
|
|
39
|
+
* The picture frame can have several different styles, plus a background color for images that have
|
|
40
|
+
* transparent pixels.
|
|
41
|
+
*/
|
|
42
|
+
export interface PBNftShape {
|
|
43
|
+
/** the URI of the NFT */
|
|
44
|
+
urn: string;
|
|
45
|
+
/** the frame style (default NFT_CLASSIC) */
|
|
46
|
+
style?: NftFrameType | undefined;
|
|
47
|
+
/** RGB background (default [0.6404918, 0.611472, 0.8584906]) */
|
|
48
|
+
color?: Color3 | undefined;
|
|
49
|
+
}
|
|
50
|
+
export declare namespace PBNftShape {
|
|
51
|
+
function encode(message: PBNftShape, writer?: _m0.Writer): _m0.Writer;
|
|
52
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBNftShape;
|
|
53
|
+
function fromJSON(object: any): PBNftShape;
|
|
54
|
+
function toJSON(message: PBNftShape): unknown;
|
|
55
|
+
function create<I extends Exact<DeepPartial<PBNftShape>, I>>(base?: I): PBNftShape;
|
|
56
|
+
function fromPartial<I extends Exact<DeepPartial<PBNftShape>, I>>(object: I): PBNftShape;
|
|
57
|
+
}
|
|
58
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
59
|
+
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 {
|
|
60
|
+
$case: string;
|
|
61
|
+
} ? {
|
|
62
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
63
|
+
} & {
|
|
64
|
+
$case: T["$case"];
|
|
65
|
+
} : T extends {} ? {
|
|
66
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
67
|
+
} : Partial<T>;
|
|
68
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
69
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
70
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
71
|
+
} & {
|
|
72
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
73
|
+
};
|
|
74
|
+
export {};
|