@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,259 @@
|
|
|
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.PBNftShape = exports.NftFrameType = exports.protobufPackage = void 0;
|
|
7
|
+
exports.nftFrameTypeFromJSON = nftFrameTypeFromJSON;
|
|
8
|
+
exports.nftFrameTypeToJSON = nftFrameTypeToJSON;
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
11
|
+
const colors_gen_1 = require("../../common/colors.gen");
|
|
12
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
13
|
+
/** NftFrameType is a predefined framing style for the image. */
|
|
14
|
+
var NftFrameType;
|
|
15
|
+
(function (NftFrameType) {
|
|
16
|
+
NftFrameType[NftFrameType["NFT_CLASSIC"] = 0] = "NFT_CLASSIC";
|
|
17
|
+
NftFrameType[NftFrameType["NFT_BAROQUE_ORNAMENT"] = 1] = "NFT_BAROQUE_ORNAMENT";
|
|
18
|
+
NftFrameType[NftFrameType["NFT_DIAMOND_ORNAMENT"] = 2] = "NFT_DIAMOND_ORNAMENT";
|
|
19
|
+
NftFrameType[NftFrameType["NFT_MINIMAL_WIDE"] = 3] = "NFT_MINIMAL_WIDE";
|
|
20
|
+
NftFrameType[NftFrameType["NFT_MINIMAL_GREY"] = 4] = "NFT_MINIMAL_GREY";
|
|
21
|
+
NftFrameType[NftFrameType["NFT_BLOCKY"] = 5] = "NFT_BLOCKY";
|
|
22
|
+
NftFrameType[NftFrameType["NFT_GOLD_EDGES"] = 6] = "NFT_GOLD_EDGES";
|
|
23
|
+
NftFrameType[NftFrameType["NFT_GOLD_CARVED"] = 7] = "NFT_GOLD_CARVED";
|
|
24
|
+
NftFrameType[NftFrameType["NFT_GOLD_WIDE"] = 8] = "NFT_GOLD_WIDE";
|
|
25
|
+
NftFrameType[NftFrameType["NFT_GOLD_ROUNDED"] = 9] = "NFT_GOLD_ROUNDED";
|
|
26
|
+
NftFrameType[NftFrameType["NFT_METAL_MEDIUM"] = 10] = "NFT_METAL_MEDIUM";
|
|
27
|
+
NftFrameType[NftFrameType["NFT_METAL_WIDE"] = 11] = "NFT_METAL_WIDE";
|
|
28
|
+
NftFrameType[NftFrameType["NFT_METAL_SLIM"] = 12] = "NFT_METAL_SLIM";
|
|
29
|
+
NftFrameType[NftFrameType["NFT_METAL_ROUNDED"] = 13] = "NFT_METAL_ROUNDED";
|
|
30
|
+
NftFrameType[NftFrameType["NFT_PINS"] = 14] = "NFT_PINS";
|
|
31
|
+
NftFrameType[NftFrameType["NFT_MINIMAL_BLACK"] = 15] = "NFT_MINIMAL_BLACK";
|
|
32
|
+
NftFrameType[NftFrameType["NFT_MINIMAL_WHITE"] = 16] = "NFT_MINIMAL_WHITE";
|
|
33
|
+
NftFrameType[NftFrameType["NFT_TAPE"] = 17] = "NFT_TAPE";
|
|
34
|
+
NftFrameType[NftFrameType["NFT_WOOD_SLIM"] = 18] = "NFT_WOOD_SLIM";
|
|
35
|
+
NftFrameType[NftFrameType["NFT_WOOD_WIDE"] = 19] = "NFT_WOOD_WIDE";
|
|
36
|
+
NftFrameType[NftFrameType["NFT_WOOD_TWIGS"] = 20] = "NFT_WOOD_TWIGS";
|
|
37
|
+
NftFrameType[NftFrameType["NFT_CANVAS"] = 21] = "NFT_CANVAS";
|
|
38
|
+
NftFrameType[NftFrameType["NFT_NONE"] = 22] = "NFT_NONE";
|
|
39
|
+
NftFrameType[NftFrameType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
40
|
+
})(NftFrameType || (exports.NftFrameType = NftFrameType = {}));
|
|
41
|
+
function nftFrameTypeFromJSON(object) {
|
|
42
|
+
switch (object) {
|
|
43
|
+
case 0:
|
|
44
|
+
case "NFT_CLASSIC":
|
|
45
|
+
return NftFrameType.NFT_CLASSIC;
|
|
46
|
+
case 1:
|
|
47
|
+
case "NFT_BAROQUE_ORNAMENT":
|
|
48
|
+
return NftFrameType.NFT_BAROQUE_ORNAMENT;
|
|
49
|
+
case 2:
|
|
50
|
+
case "NFT_DIAMOND_ORNAMENT":
|
|
51
|
+
return NftFrameType.NFT_DIAMOND_ORNAMENT;
|
|
52
|
+
case 3:
|
|
53
|
+
case "NFT_MINIMAL_WIDE":
|
|
54
|
+
return NftFrameType.NFT_MINIMAL_WIDE;
|
|
55
|
+
case 4:
|
|
56
|
+
case "NFT_MINIMAL_GREY":
|
|
57
|
+
return NftFrameType.NFT_MINIMAL_GREY;
|
|
58
|
+
case 5:
|
|
59
|
+
case "NFT_BLOCKY":
|
|
60
|
+
return NftFrameType.NFT_BLOCKY;
|
|
61
|
+
case 6:
|
|
62
|
+
case "NFT_GOLD_EDGES":
|
|
63
|
+
return NftFrameType.NFT_GOLD_EDGES;
|
|
64
|
+
case 7:
|
|
65
|
+
case "NFT_GOLD_CARVED":
|
|
66
|
+
return NftFrameType.NFT_GOLD_CARVED;
|
|
67
|
+
case 8:
|
|
68
|
+
case "NFT_GOLD_WIDE":
|
|
69
|
+
return NftFrameType.NFT_GOLD_WIDE;
|
|
70
|
+
case 9:
|
|
71
|
+
case "NFT_GOLD_ROUNDED":
|
|
72
|
+
return NftFrameType.NFT_GOLD_ROUNDED;
|
|
73
|
+
case 10:
|
|
74
|
+
case "NFT_METAL_MEDIUM":
|
|
75
|
+
return NftFrameType.NFT_METAL_MEDIUM;
|
|
76
|
+
case 11:
|
|
77
|
+
case "NFT_METAL_WIDE":
|
|
78
|
+
return NftFrameType.NFT_METAL_WIDE;
|
|
79
|
+
case 12:
|
|
80
|
+
case "NFT_METAL_SLIM":
|
|
81
|
+
return NftFrameType.NFT_METAL_SLIM;
|
|
82
|
+
case 13:
|
|
83
|
+
case "NFT_METAL_ROUNDED":
|
|
84
|
+
return NftFrameType.NFT_METAL_ROUNDED;
|
|
85
|
+
case 14:
|
|
86
|
+
case "NFT_PINS":
|
|
87
|
+
return NftFrameType.NFT_PINS;
|
|
88
|
+
case 15:
|
|
89
|
+
case "NFT_MINIMAL_BLACK":
|
|
90
|
+
return NftFrameType.NFT_MINIMAL_BLACK;
|
|
91
|
+
case 16:
|
|
92
|
+
case "NFT_MINIMAL_WHITE":
|
|
93
|
+
return NftFrameType.NFT_MINIMAL_WHITE;
|
|
94
|
+
case 17:
|
|
95
|
+
case "NFT_TAPE":
|
|
96
|
+
return NftFrameType.NFT_TAPE;
|
|
97
|
+
case 18:
|
|
98
|
+
case "NFT_WOOD_SLIM":
|
|
99
|
+
return NftFrameType.NFT_WOOD_SLIM;
|
|
100
|
+
case 19:
|
|
101
|
+
case "NFT_WOOD_WIDE":
|
|
102
|
+
return NftFrameType.NFT_WOOD_WIDE;
|
|
103
|
+
case 20:
|
|
104
|
+
case "NFT_WOOD_TWIGS":
|
|
105
|
+
return NftFrameType.NFT_WOOD_TWIGS;
|
|
106
|
+
case 21:
|
|
107
|
+
case "NFT_CANVAS":
|
|
108
|
+
return NftFrameType.NFT_CANVAS;
|
|
109
|
+
case 22:
|
|
110
|
+
case "NFT_NONE":
|
|
111
|
+
return NftFrameType.NFT_NONE;
|
|
112
|
+
case -1:
|
|
113
|
+
case "UNRECOGNIZED":
|
|
114
|
+
default:
|
|
115
|
+
return NftFrameType.UNRECOGNIZED;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
function nftFrameTypeToJSON(object) {
|
|
119
|
+
switch (object) {
|
|
120
|
+
case NftFrameType.NFT_CLASSIC:
|
|
121
|
+
return "NFT_CLASSIC";
|
|
122
|
+
case NftFrameType.NFT_BAROQUE_ORNAMENT:
|
|
123
|
+
return "NFT_BAROQUE_ORNAMENT";
|
|
124
|
+
case NftFrameType.NFT_DIAMOND_ORNAMENT:
|
|
125
|
+
return "NFT_DIAMOND_ORNAMENT";
|
|
126
|
+
case NftFrameType.NFT_MINIMAL_WIDE:
|
|
127
|
+
return "NFT_MINIMAL_WIDE";
|
|
128
|
+
case NftFrameType.NFT_MINIMAL_GREY:
|
|
129
|
+
return "NFT_MINIMAL_GREY";
|
|
130
|
+
case NftFrameType.NFT_BLOCKY:
|
|
131
|
+
return "NFT_BLOCKY";
|
|
132
|
+
case NftFrameType.NFT_GOLD_EDGES:
|
|
133
|
+
return "NFT_GOLD_EDGES";
|
|
134
|
+
case NftFrameType.NFT_GOLD_CARVED:
|
|
135
|
+
return "NFT_GOLD_CARVED";
|
|
136
|
+
case NftFrameType.NFT_GOLD_WIDE:
|
|
137
|
+
return "NFT_GOLD_WIDE";
|
|
138
|
+
case NftFrameType.NFT_GOLD_ROUNDED:
|
|
139
|
+
return "NFT_GOLD_ROUNDED";
|
|
140
|
+
case NftFrameType.NFT_METAL_MEDIUM:
|
|
141
|
+
return "NFT_METAL_MEDIUM";
|
|
142
|
+
case NftFrameType.NFT_METAL_WIDE:
|
|
143
|
+
return "NFT_METAL_WIDE";
|
|
144
|
+
case NftFrameType.NFT_METAL_SLIM:
|
|
145
|
+
return "NFT_METAL_SLIM";
|
|
146
|
+
case NftFrameType.NFT_METAL_ROUNDED:
|
|
147
|
+
return "NFT_METAL_ROUNDED";
|
|
148
|
+
case NftFrameType.NFT_PINS:
|
|
149
|
+
return "NFT_PINS";
|
|
150
|
+
case NftFrameType.NFT_MINIMAL_BLACK:
|
|
151
|
+
return "NFT_MINIMAL_BLACK";
|
|
152
|
+
case NftFrameType.NFT_MINIMAL_WHITE:
|
|
153
|
+
return "NFT_MINIMAL_WHITE";
|
|
154
|
+
case NftFrameType.NFT_TAPE:
|
|
155
|
+
return "NFT_TAPE";
|
|
156
|
+
case NftFrameType.NFT_WOOD_SLIM:
|
|
157
|
+
return "NFT_WOOD_SLIM";
|
|
158
|
+
case NftFrameType.NFT_WOOD_WIDE:
|
|
159
|
+
return "NFT_WOOD_WIDE";
|
|
160
|
+
case NftFrameType.NFT_WOOD_TWIGS:
|
|
161
|
+
return "NFT_WOOD_TWIGS";
|
|
162
|
+
case NftFrameType.NFT_CANVAS:
|
|
163
|
+
return "NFT_CANVAS";
|
|
164
|
+
case NftFrameType.NFT_NONE:
|
|
165
|
+
return "NFT_NONE";
|
|
166
|
+
case NftFrameType.UNRECOGNIZED:
|
|
167
|
+
default:
|
|
168
|
+
return "UNRECOGNIZED";
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
function createBasePBNftShape() {
|
|
172
|
+
return { urn: "", style: undefined, color: undefined };
|
|
173
|
+
}
|
|
174
|
+
var PBNftShape;
|
|
175
|
+
(function (PBNftShape) {
|
|
176
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
177
|
+
if (message.urn !== "") {
|
|
178
|
+
writer.uint32(10).string(message.urn);
|
|
179
|
+
}
|
|
180
|
+
if (message.style !== undefined) {
|
|
181
|
+
writer.uint32(16).int32(message.style);
|
|
182
|
+
}
|
|
183
|
+
if (message.color !== undefined) {
|
|
184
|
+
colors_gen_1.Color3.encode(message.color, writer.uint32(26).fork()).ldelim();
|
|
185
|
+
}
|
|
186
|
+
return writer;
|
|
187
|
+
}
|
|
188
|
+
PBNftShape.encode = encode;
|
|
189
|
+
function decode(input, length) {
|
|
190
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
191
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
192
|
+
const message = createBasePBNftShape();
|
|
193
|
+
while (reader.pos < end) {
|
|
194
|
+
const tag = reader.uint32();
|
|
195
|
+
switch (tag >>> 3) {
|
|
196
|
+
case 1:
|
|
197
|
+
if (tag !== 10) {
|
|
198
|
+
break;
|
|
199
|
+
}
|
|
200
|
+
message.urn = reader.string();
|
|
201
|
+
continue;
|
|
202
|
+
case 2:
|
|
203
|
+
if (tag !== 16) {
|
|
204
|
+
break;
|
|
205
|
+
}
|
|
206
|
+
message.style = reader.int32();
|
|
207
|
+
continue;
|
|
208
|
+
case 3:
|
|
209
|
+
if (tag !== 26) {
|
|
210
|
+
break;
|
|
211
|
+
}
|
|
212
|
+
message.color = colors_gen_1.Color3.decode(reader, reader.uint32());
|
|
213
|
+
continue;
|
|
214
|
+
}
|
|
215
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
reader.skipType(tag & 7);
|
|
219
|
+
}
|
|
220
|
+
return message;
|
|
221
|
+
}
|
|
222
|
+
PBNftShape.decode = decode;
|
|
223
|
+
function fromJSON(object) {
|
|
224
|
+
return {
|
|
225
|
+
urn: isSet(object.urn) ? String(object.urn) : "",
|
|
226
|
+
style: isSet(object.style) ? nftFrameTypeFromJSON(object.style) : undefined,
|
|
227
|
+
color: isSet(object.color) ? colors_gen_1.Color3.fromJSON(object.color) : undefined,
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
PBNftShape.fromJSON = fromJSON;
|
|
231
|
+
function toJSON(message) {
|
|
232
|
+
const obj = {};
|
|
233
|
+
message.urn !== undefined && (obj.urn = message.urn);
|
|
234
|
+
message.style !== undefined &&
|
|
235
|
+
(obj.style = message.style !== undefined ? nftFrameTypeToJSON(message.style) : undefined);
|
|
236
|
+
message.color !== undefined && (obj.color = message.color ? colors_gen_1.Color3.toJSON(message.color) : undefined);
|
|
237
|
+
return obj;
|
|
238
|
+
}
|
|
239
|
+
PBNftShape.toJSON = toJSON;
|
|
240
|
+
function create(base) {
|
|
241
|
+
return PBNftShape.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
242
|
+
}
|
|
243
|
+
PBNftShape.create = create;
|
|
244
|
+
function fromPartial(object) {
|
|
245
|
+
var _a, _b;
|
|
246
|
+
const message = createBasePBNftShape();
|
|
247
|
+
message.urn = (_a = object.urn) !== null && _a !== void 0 ? _a : "";
|
|
248
|
+
message.style = (_b = object.style) !== null && _b !== void 0 ? _b : undefined;
|
|
249
|
+
message.color = (object.color !== undefined && object.color !== null)
|
|
250
|
+
? colors_gen_1.Color3.fromPartial(object.color)
|
|
251
|
+
: undefined;
|
|
252
|
+
return message;
|
|
253
|
+
}
|
|
254
|
+
PBNftShape.fromPartial = fromPartial;
|
|
255
|
+
})(PBNftShape || (exports.PBNftShape = PBNftShape = {}));
|
|
256
|
+
function isSet(value) {
|
|
257
|
+
return value !== null && value !== undefined;
|
|
258
|
+
}
|
|
259
|
+
//# sourceMappingURL=nft_shape.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nft_shape.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/nft_shape.gen.ts"],"names":[],"mappings":";;;;;;AAkCA,oDA4EC;AAED,gDAoDC;AApKD,oBAAoB;AACpB,iEAAqC;AACrC,wDAAiD;AAEpC,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAE7D,gEAAgE;AAChE,IAAY,YAyBX;AAzBD,WAAY,YAAY;IACtB,6DAAe,CAAA;IACf,+EAAwB,CAAA;IACxB,+EAAwB,CAAA;IACxB,uEAAoB,CAAA;IACpB,uEAAoB,CAAA;IACpB,2DAAc,CAAA;IACd,mEAAkB,CAAA;IAClB,qEAAmB,CAAA;IACnB,iEAAiB,CAAA;IACjB,uEAAoB,CAAA;IACpB,wEAAqB,CAAA;IACrB,oEAAmB,CAAA;IACnB,oEAAmB,CAAA;IACnB,0EAAsB,CAAA;IACtB,wDAAa,CAAA;IACb,0EAAsB,CAAA;IACtB,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G,CAAC,MAAM,CAAC,KAAK,KAAK,SAAS,IAAI,MAAM,CAAC,KAAK,KAAK,IAAI,CAAC;YACnE,CAAC,CAAC,mBAAM,CAAC,WAAW,CAAC,MAAM,CAAC,KAAK,CAAC;YAClC,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,OAAO,CAAC;IACjB,CAAC;IARe,sBAAW,cAQ1B,CAAA;AACH,CAAC,EAjFgB,UAAU,0BAAV,UAAU,QAiF1B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
3
|
+
/**
|
|
4
|
+
* PlayerIdentityData is used to read the information about the avatar's
|
|
5
|
+
* identity. this component is written by the engine using the communications
|
|
6
|
+
* transports' data.
|
|
7
|
+
*/
|
|
8
|
+
export interface PBPlayerIdentityData {
|
|
9
|
+
/** ethereum address of this player */
|
|
10
|
+
address: string;
|
|
11
|
+
isGuest: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace PBPlayerIdentityData {
|
|
14
|
+
function encode(message: PBPlayerIdentityData, writer?: _m0.Writer): _m0.Writer;
|
|
15
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBPlayerIdentityData;
|
|
16
|
+
function fromJSON(object: any): PBPlayerIdentityData;
|
|
17
|
+
function toJSON(message: PBPlayerIdentityData): unknown;
|
|
18
|
+
function create<I extends Exact<DeepPartial<PBPlayerIdentityData>, I>>(base?: I): PBPlayerIdentityData;
|
|
19
|
+
function fromPartial<I extends Exact<DeepPartial<PBPlayerIdentityData>, I>>(object: I): PBPlayerIdentityData;
|
|
20
|
+
}
|
|
21
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
22
|
+
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 {
|
|
23
|
+
$case: string;
|
|
24
|
+
} ? {
|
|
25
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
26
|
+
} & {
|
|
27
|
+
$case: T["$case"];
|
|
28
|
+
} : T extends {} ? {
|
|
29
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
30
|
+
} : Partial<T>;
|
|
31
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
32
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
33
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
34
|
+
} & {
|
|
35
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
36
|
+
};
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
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.PBPlayerIdentityData = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
|
+
function createBasePBPlayerIdentityData() {
|
|
11
|
+
return { address: "", isGuest: false };
|
|
12
|
+
}
|
|
13
|
+
var PBPlayerIdentityData;
|
|
14
|
+
(function (PBPlayerIdentityData) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
if (message.address !== "") {
|
|
17
|
+
writer.uint32(10).string(message.address);
|
|
18
|
+
}
|
|
19
|
+
if (message.isGuest === true) {
|
|
20
|
+
writer.uint32(24).bool(message.isGuest);
|
|
21
|
+
}
|
|
22
|
+
return writer;
|
|
23
|
+
}
|
|
24
|
+
PBPlayerIdentityData.encode = encode;
|
|
25
|
+
function decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBasePBPlayerIdentityData();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 10) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.address = reader.string();
|
|
37
|
+
continue;
|
|
38
|
+
case 3:
|
|
39
|
+
if (tag !== 24) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
message.isGuest = reader.bool();
|
|
43
|
+
continue;
|
|
44
|
+
}
|
|
45
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
reader.skipType(tag & 7);
|
|
49
|
+
}
|
|
50
|
+
return message;
|
|
51
|
+
}
|
|
52
|
+
PBPlayerIdentityData.decode = decode;
|
|
53
|
+
function fromJSON(object) {
|
|
54
|
+
return {
|
|
55
|
+
address: isSet(object.address) ? String(object.address) : "",
|
|
56
|
+
isGuest: isSet(object.isGuest) ? Boolean(object.isGuest) : false,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
PBPlayerIdentityData.fromJSON = fromJSON;
|
|
60
|
+
function toJSON(message) {
|
|
61
|
+
const obj = {};
|
|
62
|
+
message.address !== undefined && (obj.address = message.address);
|
|
63
|
+
message.isGuest !== undefined && (obj.isGuest = message.isGuest);
|
|
64
|
+
return obj;
|
|
65
|
+
}
|
|
66
|
+
PBPlayerIdentityData.toJSON = toJSON;
|
|
67
|
+
function create(base) {
|
|
68
|
+
return PBPlayerIdentityData.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
69
|
+
}
|
|
70
|
+
PBPlayerIdentityData.create = create;
|
|
71
|
+
function fromPartial(object) {
|
|
72
|
+
var _a, _b;
|
|
73
|
+
const message = createBasePBPlayerIdentityData();
|
|
74
|
+
message.address = (_a = object.address) !== null && _a !== void 0 ? _a : "";
|
|
75
|
+
message.isGuest = (_b = object.isGuest) !== null && _b !== void 0 ? _b : false;
|
|
76
|
+
return message;
|
|
77
|
+
}
|
|
78
|
+
PBPlayerIdentityData.fromPartial = fromPartial;
|
|
79
|
+
})(PBPlayerIdentityData || (exports.PBPlayerIdentityData = PBPlayerIdentityData = {}));
|
|
80
|
+
function isSet(value) {
|
|
81
|
+
return value !== null && value !== undefined;
|
|
82
|
+
}
|
|
83
|
+
//# sourceMappingURL=player_identity_data.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"player_identity_data.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/player_identity_data.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,6BAA6B,CAAC;AAa7D,SAAS,8BAA8B;IACrC,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AACzC,CAAC;AAED,IAAiB,oBAAoB,CAiEpC;AAjED,WAAiB,oBAAoB;IACnC,SAAgB,MAAM,CAAC,OAA6B,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC5F,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,OAAO,KAAK,IAAI,EAAE,CAAC;YAC7B,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QAC1C,CAAC;QACD,OAAO,MAAM,CAAC;IAChB,C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
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
import { InputAction, PointerEventType } from "./common/input_action.gen";
|
|
3
|
+
export declare const protobufPackage = "decentraland.sdk.components";
|
|
4
|
+
/**
|
|
5
|
+
* PointerEvents adds configurable pointer-based interactions to the attached Entity.
|
|
6
|
+
*
|
|
7
|
+
* Events that match the criteria defined in the PointerEvents structure are reported back to the
|
|
8
|
+
* Entity via the PointerEventsResult component.
|
|
9
|
+
*
|
|
10
|
+
* Some examples of events that can be detected:
|
|
11
|
+
* - Pointer hovering over the Entity.
|
|
12
|
+
* - Held mouse button released over the Entity.
|
|
13
|
+
* - Controller button pressed while targeting the Entity.
|
|
14
|
+
* - Key pressed while targeting the Entity, but only in close range.
|
|
15
|
+
*
|
|
16
|
+
* It also supports simple visual feedback when interactions occur, by showing floating text.
|
|
17
|
+
* More sophisticated feedback requires the use of other components.
|
|
18
|
+
*/
|
|
19
|
+
export interface PBPointerEvents {
|
|
20
|
+
/** the list of relevant events to detect */
|
|
21
|
+
pointerEvents: PBPointerEvents_Entry[];
|
|
22
|
+
}
|
|
23
|
+
export interface PBPointerEvents_Info {
|
|
24
|
+
/** key/button in use (default IA_ANY) */
|
|
25
|
+
button?: InputAction | undefined;
|
|
26
|
+
/** feedback on hover (default 'Interact') */
|
|
27
|
+
hoverText?: string | undefined;
|
|
28
|
+
/** range of interaction (default 10) */
|
|
29
|
+
maxDistance?: number | undefined;
|
|
30
|
+
/** enable or disable hover text (default true) */
|
|
31
|
+
showFeedback?: boolean | undefined;
|
|
32
|
+
}
|
|
33
|
+
export interface PBPointerEvents_Entry {
|
|
34
|
+
/** the kind of interaction to detect */
|
|
35
|
+
eventType: PointerEventType;
|
|
36
|
+
/** additional configuration for this detection */
|
|
37
|
+
eventInfo: PBPointerEvents_Info | undefined;
|
|
38
|
+
}
|
|
39
|
+
export declare namespace PBPointerEvents {
|
|
40
|
+
function encode(message: PBPointerEvents, writer?: _m0.Writer): _m0.Writer;
|
|
41
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerEvents;
|
|
42
|
+
function fromJSON(object: any): PBPointerEvents;
|
|
43
|
+
function toJSON(message: PBPointerEvents): unknown;
|
|
44
|
+
function create<I extends Exact<DeepPartial<PBPointerEvents>, I>>(base?: I): PBPointerEvents;
|
|
45
|
+
function fromPartial<I extends Exact<DeepPartial<PBPointerEvents>, I>>(object: I): PBPointerEvents;
|
|
46
|
+
}
|
|
47
|
+
export declare namespace PBPointerEvents_Info {
|
|
48
|
+
function encode(message: PBPointerEvents_Info, writer?: _m0.Writer): _m0.Writer;
|
|
49
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerEvents_Info;
|
|
50
|
+
function fromJSON(object: any): PBPointerEvents_Info;
|
|
51
|
+
function toJSON(message: PBPointerEvents_Info): unknown;
|
|
52
|
+
function create<I extends Exact<DeepPartial<PBPointerEvents_Info>, I>>(base?: I): PBPointerEvents_Info;
|
|
53
|
+
function fromPartial<I extends Exact<DeepPartial<PBPointerEvents_Info>, I>>(object: I): PBPointerEvents_Info;
|
|
54
|
+
}
|
|
55
|
+
export declare namespace PBPointerEvents_Entry {
|
|
56
|
+
function encode(message: PBPointerEvents_Entry, writer?: _m0.Writer): _m0.Writer;
|
|
57
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerEvents_Entry;
|
|
58
|
+
function fromJSON(object: any): PBPointerEvents_Entry;
|
|
59
|
+
function toJSON(message: PBPointerEvents_Entry): unknown;
|
|
60
|
+
function create<I extends Exact<DeepPartial<PBPointerEvents_Entry>, I>>(base?: I): PBPointerEvents_Entry;
|
|
61
|
+
function fromPartial<I extends Exact<DeepPartial<PBPointerEvents_Entry>, I>>(object: I): PBPointerEvents_Entry;
|
|
62
|
+
}
|
|
63
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
64
|
+
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 {
|
|
65
|
+
$case: string;
|
|
66
|
+
} ? {
|
|
67
|
+
[K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
|
|
68
|
+
} & {
|
|
69
|
+
$case: T["$case"];
|
|
70
|
+
} : T extends {} ? {
|
|
71
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
72
|
+
} : Partial<T>;
|
|
73
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
74
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
75
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
76
|
+
} & {
|
|
77
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
78
|
+
};
|
|
79
|
+
export {};
|