@dcl/protocol 1.0.0-4543854409.commit-89f5875 → 1.0.0-45872166367.commit-57a13e1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +241 -12
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/{bff-services.gen.js → about.gen.js} +2 -2
- package/out-js/about.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +23 -28
- package/out-js/decentraland/common/border_rect.gen.js +122 -21
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -1
- package/out-js/decentraland/common/colors.gen.d.ts +29 -52
- package/out-js/decentraland/common/colors.gen.js +125 -40
- package/out-js/decentraland/common/colors.gen.js.map +1 -1
- package/out-js/decentraland/common/content_mapping.gen.d.ts +8 -20
- package/out-js/decentraland/common/content_mapping.gen.js +25 -18
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -1
- package/out-js/decentraland/common/gradient.gen.d.ts +50 -0
- package/out-js/decentraland/common/gradient.gen.js +147 -0
- package/out-js/decentraland/common/gradient.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +24 -176
- package/out-js/decentraland/common/sdk/user_data.gen.js +93 -72
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -1
- package/out-js/decentraland/common/texture.gen.d.ts +38 -252
- package/out-js/decentraland/common/texture.gen.js +156 -105
- package/out-js/decentraland/common/texture.gen.js.map +1 -1
- package/out-js/decentraland/common/vectors.gen.d.ts +38 -68
- package/out-js/decentraland/common/vectors.gen.js +172 -57
- package/out-js/decentraland/common/vectors.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +206 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +792 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +64 -48
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +319 -36
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +18 -56
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +50 -36
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +186 -4088
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +650 -1709
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +151 -691
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +439 -320
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +106 -440
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +309 -225
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +70 -518
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +212 -156
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +37 -128
- package/out-js/decentraland/kernel/apis/permissions.gen.js +112 -78
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +54 -476
- package/out-js/decentraland/kernel/apis/players.gen.js +153 -111
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +84 -309
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +273 -172
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +280 -605
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +998 -350
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +165 -208
- package/out-js/decentraland/kernel/apis/runtime.gen.js +660 -172
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +18 -132
- package/out-js/decentraland/kernel/apis/scene.gen.js +52 -38
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/scene_credits.gen.d.ts +186 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js +388 -0
- package/out-js/decentraland/kernel/apis/scene_credits.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +75 -284
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +292 -106
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +26 -128
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +79 -58
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +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 +18 -48
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +49 -35
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +36 -352
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +98 -70
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +237 -551
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1478 -244
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +81 -561
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +318 -242
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -1
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +194 -748
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +884 -557
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -1
- package/out-js/decentraland/pulse/pulse_clusters.gen.d.ts +105 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js +336 -0
- package/out-js/decentraland/pulse/pulse_clusters.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2728 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +229 -0
- package/out-js/decentraland/realm/about.gen.js +1185 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +19 -141
- package/out-js/decentraland/sdk/components/animator.gen.js +66 -72
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +19 -32
- package/out-js/decentraland/sdk/components/audio_source.gen.js +62 -23
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +18 -24
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +71 -21
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +31 -20
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +162 -22
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +38 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +148 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +64 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +171 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +55 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +182 -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 +10 -48
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +38 -24
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.d.ts +58 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js +117 -0
- package/out-js/decentraland/sdk/components/avatar_nametag.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +37 -140
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +49 -29
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +21 -19
- package/out-js/decentraland/sdk/components/billboard.gen.js +49 -25
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +24 -17
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +8 -44
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +25 -18
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.d.ts +8 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js +34 -0
- package/out-js/decentraland/sdk/components/common/avatar_mask.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +4 -4
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.d.ts +19 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js +80 -0
- package/out-js/decentraland/sdk/components/common/explorer_ui.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +59 -7
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +8 -136
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +30 -23
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/common/texts.gen.js +7 -7
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +107 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js +86 -0
- package/out-js/decentraland/sdk/components/environment_fog.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.d.ts +78 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js +308 -0
- package/out-js/decentraland/sdk/components/explorer_item_purchase_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.d.ts +73 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js +231 -0
- package/out-js/decentraland/sdk/components/explorer_ui_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +12 -16
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +59 -20
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +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/gltf_node_modifiers.gen.d.ts +57 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js +164 -0
- package/out-js/decentraland/sdk/components/gltf_node_modifiers.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +30 -3374
- package/out-js/decentraland/sdk/components/material.gen.js +134 -104
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +47 -181
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +160 -123
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +43 -223
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +145 -110
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +11 -51
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +37 -30
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +63 -187
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +162 -69
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +11 -209
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +42 -23
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +24 -17
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +10 -250
- package/out-js/decentraland/sdk/components/raycast.gen.js +45 -36
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +10 -348
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +41 -22
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +43 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +151 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/skybox.gen.d.ts +103 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js +355 -0
- package/out-js/decentraland/sdk/components/skybox.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/sun.gen.d.ts +53 -0
- package/out-js/decentraland/sdk/components/sun.gen.js +114 -0
- package/out-js/decentraland/sdk/components/sun.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +10 -174
- package/out-js/decentraland/sdk/components/text_shape.gen.js +58 -38
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.d.ts +77 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js +201 -0
- package/out-js/decentraland/sdk/components/touch_screen_controls.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +220 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +1213 -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 +8 -314
- package/out-js/decentraland/sdk/components/ui_background.gen.js +33 -26
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +10 -78
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +46 -26
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +8 -16
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +24 -17
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +10 -104
- package/out-js/decentraland/sdk/components/ui_input.gen.js +45 -25
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.d.ts +52 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js +81 -0
- package/out-js/decentraland/sdk/components/ui_input_binding.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +10 -16
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +41 -20
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +20 -63
- package/out-js/decentraland/sdk/components/ui_text.gen.js +97 -24
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +51 -216
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +489 -96
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +18 -36
- package/out-js/decentraland/sdk/components/video_player.gen.js +69 -23
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +16 -16
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +41 -20
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -1
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +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_service/errors.gen.d.ts +96 -0
- package/out-js/decentraland/social_service/errors.gen.js +405 -0
- package/out-js/decentraland/social_service/errors.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.d.ts +501 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js +2517 -0
- package/out-js/decentraland/social_service/v1/social_service_v1.gen.js.map +1 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +1827 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +9308 -0
- package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -0
- package/out-js/google/protobuf/descriptor.gen.d.ts +200 -87148
- package/out-js/google/protobuf/descriptor.gen.js +882 -707
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -1
- package/out-js/google/protobuf/empty.gen.d.ts +8 -8
- package/out-js/google/protobuf/empty.gen.js +23 -16
- package/out-js/google/protobuf/empty.gen.js.map +1 -1
- package/out-js/quests.gen.d.ts +1 -0
- package/out-js/quests.gen.js +6 -0
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +124 -19
- package/out-ts/decentraland/common/colors.gen.ts +116 -37
- package/out-ts/decentraland/common/content_mapping.gen.ts +17 -17
- package/out-ts/decentraland/common/gradient.gen.ts +170 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +59 -59
- package/out-ts/decentraland/common/texture.gen.ts +114 -81
- package/out-ts/decentraland/common/vectors.gen.ts +157 -53
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +884 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +318 -31
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +32 -32
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +500 -1880
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +310 -277
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +220 -199
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +132 -132
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +82 -66
- package/out-ts/decentraland/kernel/apis/players.gen.ts +106 -94
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +196 -149
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +988 -355
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +705 -178
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +34 -34
- package/out-ts/decentraland/kernel/apis/scene_credits.gen.ts +459 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +266 -89
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +50 -48
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +33 -31
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +66 -62
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1576 -225
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +209 -200
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +872 -596
- package/out-ts/decentraland/pulse/pulse_clusters.gen.ts +422 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/{bff/http_endpoints.gen.ts → realm/about.gen.ts} +582 -225
- package/out-ts/decentraland/sdk/components/animator.gen.ts +41 -64
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +68 -21
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +79 -19
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +150 -17
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +171 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +202 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +218 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +27 -19
- package/out-ts/decentraland/sdk/components/avatar_nametag.gen.ts +162 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +73 -42
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +49 -22
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +17 -17
- package/out-ts/decentraland/sdk/components/common/avatar_mask.gen.ts +31 -0
- package/out-ts/decentraland/sdk/components/common/explorer_ui.gen.ts +77 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +52 -0
- package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +22 -22
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/environment_fog.gen.ts +113 -0
- package/out-ts/decentraland/sdk/components/explorer_item_purchase_result.gen.ts +370 -0
- package/out-ts/decentraland/sdk/components/explorer_ui_events_result.gen.ts +281 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +58 -18
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
- package/out-ts/decentraland/sdk/components/gltf_node_modifiers.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +111 -93
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +116 -100
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +109 -91
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +28 -28
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +186 -58
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +42 -23
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +36 -33
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +35 -20
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +183 -0
- package/out-ts/decentraland/sdk/components/skybox.gen.ts +440 -0
- package/out-ts/decentraland/sdk/components/sun.gen.ts +155 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +55 -37
- package/out-ts/decentraland/sdk/components/touch_screen_controls.gen.ts +265 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +1336 -0
- package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +22 -21
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +43 -25
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +16 -16
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +42 -24
- package/out-ts/decentraland/sdk/components/ui_input_binding.gen.ts +114 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +35 -18
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +99 -23
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +532 -66
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +80 -22
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +46 -19
- package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
- package/out-ts/decentraland/social_service/errors.gen.ts +442 -0
- package/out-ts/decentraland/social_service/v1/social_service_v1.gen.ts +2799 -0
- package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +10674 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +529 -499
- package/out-ts/google/protobuf/empty.gen.ts +15 -15
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/package.json +20 -11
- package/proto/decentraland/common/border_rect.proto +9 -1
- package/proto/decentraland/common/colors.proto +6 -0
- package/proto/decentraland/common/floats.proto +8 -0
- package/proto/decentraland/common/gradient.proto +16 -0
- package/proto/decentraland/common/options.proto +51 -0
- package/proto/decentraland/common/quantization_example.proto +164 -0
- package/proto/decentraland/common/texture.proto +13 -9
- package/proto/decentraland/common/vectors.proto +7 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +61 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +19 -4
- package/proto/decentraland/kernel/apis/engine_api.proto +9 -110
- package/proto/decentraland/kernel/apis/environment_api.proto +1 -1
- package/proto/decentraland/kernel/apis/permissions.proto +1 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +4 -1
- package/proto/decentraland/kernel/apis/restricted_actions.proto +84 -16
- package/proto/decentraland/kernel/apis/runtime.proto +47 -9
- package/proto/decentraland/kernel/apis/scene_credits.proto +108 -0
- package/proto/decentraland/kernel/apis/signed_fetch.proto +6 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +101 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +58 -34
- package/proto/decentraland/pulse/pulse_client.proto +120 -0
- package/proto/decentraland/pulse/pulse_clusters.proto +61 -0
- package/proto/decentraland/pulse/pulse_server.proto +144 -0
- package/proto/decentraland/pulse/pulse_shared.proto +57 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +138 -0
- package/proto/decentraland/sdk/components/animator.proto +9 -4
- package/proto/decentraland/sdk/components/asset_load.proto +10 -0
- package/proto/decentraland/sdk/components/asset_load_loading_state.proto +16 -0
- package/proto/decentraland/sdk/components/audio_analysis.proto +44 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +10 -2
- package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +26 -3
- package/proto/decentraland/sdk/components/avatar_base.proto +16 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +22 -0
- package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +21 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +1 -0
- package/proto/decentraland/sdk/components/avatar_nametag.proto +33 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +34 -17
- package/proto/decentraland/sdk/components/billboard.proto +11 -3
- package/proto/decentraland/sdk/components/common/avatar_mask.proto +7 -0
- package/proto/decentraland/sdk/components/common/camera_transition.proto +11 -0
- package/proto/decentraland/sdk/components/common/explorer_ui.proto +15 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +9 -0
- package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
- package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
- package/proto/decentraland/sdk/components/engine_info.proto +16 -0
- package/proto/decentraland/sdk/components/environment_fog.proto +21 -0
- package/proto/decentraland/sdk/components/explorer_item_purchase_result.proto +24 -0
- package/proto/decentraland/sdk/components/explorer_ui_events_result.proto +33 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +6 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
- package/proto/decentraland/sdk/components/gltf_node_modifiers.proto +25 -0
- package/proto/decentraland/sdk/components/input_modifier.proto +22 -0
- package/proto/decentraland/sdk/components/light_source.proto +28 -0
- package/proto/decentraland/sdk/components/main_camera.proto +11 -0
- package/proto/decentraland/sdk/components/map_pin.proto +16 -0
- package/proto/decentraland/sdk/components/material.proto +6 -6
- package/proto/decentraland/sdk/components/mesh_collider.proto +6 -6
- package/proto/decentraland/sdk/components/mesh_renderer.proto +2 -2
- package/proto/decentraland/sdk/components/nft_shape.proto +3 -3
- package/proto/decentraland/sdk/components/particle_system.proto +133 -0
- package/proto/decentraland/sdk/components/physics_combined_force.proto +21 -0
- package/proto/decentraland/sdk/components/physics_combined_impulse.proto +23 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +33 -2
- package/proto/decentraland/sdk/components/pointer_events_result.proto +2 -1
- package/proto/decentraland/sdk/components/primary_pointer_info.proto +39 -0
- package/proto/decentraland/sdk/components/raycast.proto +1 -1
- package/proto/decentraland/sdk/components/raycast_result.proto +1 -0
- package/proto/decentraland/sdk/components/realm_info.proto +15 -0
- package/proto/decentraland/sdk/components/skybox.proto +51 -0
- package/proto/decentraland/sdk/components/skybox_time.proto +20 -0
- package/proto/decentraland/sdk/components/sun.proto +26 -0
- package/proto/decentraland/sdk/components/text_shape.proto +1 -0
- package/proto/decentraland/sdk/components/touch_screen_controls.proto +38 -0
- package/proto/decentraland/sdk/components/trigger_area.proto +23 -0
- package/proto/decentraland/sdk/components/trigger_area_result.proto +34 -0
- package/proto/decentraland/sdk/components/tween.proto +117 -0
- package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
- package/proto/decentraland/sdk/components/tween_state.proto +18 -0
- package/proto/decentraland/sdk/components/ui_background.proto +2 -2
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +30 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +1 -0
- package/proto/decentraland/sdk/components/ui_input.proto +1 -0
- package/proto/decentraland/sdk/components/ui_input_binding.proto +27 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +1 -0
- package/proto/decentraland/sdk/components/ui_text.proto +8 -1
- package/proto/decentraland/sdk/components/ui_transform.proto +37 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +8 -0
- package/proto/decentraland/sdk/components/virtual_camera.proto +18 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +7 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social_service/errors.proto +30 -0
- package/proto/decentraland/social_service/v1/social_service_v1.proto +163 -0
- package/proto/decentraland/social_service/v2/social_service_v2.proto +721 -0
- package/protoc-gen-bitwise/generator_csharp.js +248 -0
- package/protoc-gen-bitwise/options.js +139 -0
- package/protoc-gen-bitwise/plugin.js +87 -0
- package/protoc-gen-bitwise/runtime/cs/Quantize.cs +70 -0
- package/protoc-gen-bitwise/wire.js +239 -0
- package/public/about.proto +5 -0
- package/public/comms.proto +2 -1
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +3 -0
- package/public/sdk-components.proto +37 -19
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +3 -1
- package/out-js/bff-services.gen.d.ts +0 -1
- package/out-js/bff-services.gen.js.map +0 -1
- package/out-js/decentraland/bff/authentication_service.gen.d.ts +0 -197
- package/out-js/decentraland/bff/authentication_service.gen.js +0 -266
- package/out-js/decentraland/bff/authentication_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_director_service.gen.d.ts +0 -289
- package/out-js/decentraland/bff/comms_director_service.gen.js +0 -228
- package/out-js/decentraland/bff/comms_director_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/comms_service.gen.d.ts +0 -348
- package/out-js/decentraland/bff/comms_service.gen.js +0 -175
- package/out-js/decentraland/bff/comms_service.gen.js.map +0 -1
- package/out-js/decentraland/bff/http_endpoints.gen.d.ts +0 -929
- package/out-js/decentraland/bff/http_endpoints.gen.js +0 -873
- package/out-js/decentraland/bff/http_endpoints.gen.js.map +0 -1
- package/out-js/decentraland/bff/topics_service.gen.d.ts +0 -272
- package/out-js/decentraland/bff/topics_service.gen.js +0 -386
- package/out-js/decentraland/bff/topics_service.gen.js.map +0 -1
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +0 -4816
- package/out-js/decentraland/social/friendships/friendships.gen.js +0 -1334
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +0 -1
- package/out-ts/bff-services.gen.ts +0 -3
- package/out-ts/decentraland/bff/authentication_service.gen.ts +0 -323
- package/out-ts/decentraland/bff/comms_director_service.gen.ts +0 -272
- package/out-ts/decentraland/bff/comms_service.gen.ts +0 -212
- package/out-ts/decentraland/bff/topics_service.gen.ts +0 -468
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +0 -1598
- package/proto/buf.yaml +0 -47
- package/proto/decentraland/bff/authentication_service.proto +0 -27
- package/proto/decentraland/bff/comms_director_service.proto +0 -33
- package/proto/decentraland/bff/comms_service.proto +0 -25
- package/proto/decentraland/bff/http_endpoints.proto +0 -80
- package/proto/decentraland/bff/topics_service.proto +0 -34
- package/proto/decentraland/social/friendships/friendships.proto +0 -106
- package/proto/google/LICENSE +0 -27
- package/proto/google/README.md +0 -1
- package/proto/google/api/annotations.json +0 -83
- package/proto/google/api/annotations.proto +0 -11
- package/proto/google/api/http.json +0 -86
- package/proto/google/api/http.proto +0 -31
- package/proto/google/protobuf/api.json +0 -118
- package/proto/google/protobuf/api.proto +0 -34
- package/proto/google/protobuf/descriptor.json +0 -739
- package/proto/google/protobuf/descriptor.proto +0 -286
- package/proto/google/protobuf/source_context.json +0 -20
- package/proto/google/protobuf/source_context.proto +0 -7
- package/proto/google/protobuf/type.json +0 -202
- package/proto/google/protobuf/type.proto +0 -89
- package/public/bff-services.proto +0 -16
|
@@ -36,320 +36,14 @@ export interface PBUiBackground {
|
|
|
36
36
|
/** default=[0,0,0,1,1,0,1,0]: starting from bottom-left vertex clock-wise */
|
|
37
37
|
uvs: number[];
|
|
38
38
|
}
|
|
39
|
-
export declare
|
|
40
|
-
encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
41
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
|
|
42
|
-
fromJSON(object: any): PBUiBackground;
|
|
43
|
-
toJSON(message: PBUiBackground): unknown;
|
|
44
|
-
create<I extends
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
g?: number | undefined;
|
|
48
|
-
b?: number | undefined;
|
|
49
|
-
a?: number | undefined;
|
|
50
|
-
} | undefined;
|
|
51
|
-
texture?: {
|
|
52
|
-
tex?: ({
|
|
53
|
-
texture?: {
|
|
54
|
-
src?: string | undefined;
|
|
55
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
56
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
57
|
-
} | undefined;
|
|
58
|
-
} & {
|
|
59
|
-
$case: "texture";
|
|
60
|
-
}) | ({
|
|
61
|
-
avatarTexture?: {
|
|
62
|
-
userId?: string | undefined;
|
|
63
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
64
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
65
|
-
} | undefined;
|
|
66
|
-
} & {
|
|
67
|
-
$case: "avatarTexture";
|
|
68
|
-
}) | ({
|
|
69
|
-
videoTexture?: {
|
|
70
|
-
videoPlayerEntity?: number | undefined;
|
|
71
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
72
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
73
|
-
} | undefined;
|
|
74
|
-
} & {
|
|
75
|
-
$case: "videoTexture";
|
|
76
|
-
}) | undefined;
|
|
77
|
-
} | undefined;
|
|
78
|
-
textureMode?: BackgroundTextureMode | undefined;
|
|
79
|
-
textureSlices?: {
|
|
80
|
-
top?: number | undefined;
|
|
81
|
-
left?: number | undefined;
|
|
82
|
-
right?: number | undefined;
|
|
83
|
-
bottom?: number | undefined;
|
|
84
|
-
} | undefined;
|
|
85
|
-
uvs?: number[] | undefined;
|
|
86
|
-
} & {
|
|
87
|
-
color?: ({
|
|
88
|
-
r?: number | undefined;
|
|
89
|
-
g?: number | undefined;
|
|
90
|
-
b?: number | undefined;
|
|
91
|
-
a?: number | undefined;
|
|
92
|
-
} & {
|
|
93
|
-
r?: number | undefined;
|
|
94
|
-
g?: number | undefined;
|
|
95
|
-
b?: number | undefined;
|
|
96
|
-
a?: number | undefined;
|
|
97
|
-
} & { [K in Exclude<keyof I["color"], keyof Color4>]: never; }) | undefined;
|
|
98
|
-
texture?: ({
|
|
99
|
-
tex?: ({
|
|
100
|
-
texture?: {
|
|
101
|
-
src?: string | undefined;
|
|
102
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
103
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
104
|
-
} | undefined;
|
|
105
|
-
} & {
|
|
106
|
-
$case: "texture";
|
|
107
|
-
}) | ({
|
|
108
|
-
avatarTexture?: {
|
|
109
|
-
userId?: string | undefined;
|
|
110
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
111
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
112
|
-
} | undefined;
|
|
113
|
-
} & {
|
|
114
|
-
$case: "avatarTexture";
|
|
115
|
-
}) | ({
|
|
116
|
-
videoTexture?: {
|
|
117
|
-
videoPlayerEntity?: number | undefined;
|
|
118
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
119
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
120
|
-
} | undefined;
|
|
121
|
-
} & {
|
|
122
|
-
$case: "videoTexture";
|
|
123
|
-
}) | undefined;
|
|
124
|
-
} & {
|
|
125
|
-
tex?: ({
|
|
126
|
-
texture?: {
|
|
127
|
-
src?: string | undefined;
|
|
128
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
129
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
130
|
-
} | undefined;
|
|
131
|
-
} & {
|
|
132
|
-
$case: "texture";
|
|
133
|
-
} & {
|
|
134
|
-
texture?: ({
|
|
135
|
-
src?: string | undefined;
|
|
136
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
137
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
138
|
-
} & {
|
|
139
|
-
src?: string | undefined;
|
|
140
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
141
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
142
|
-
} & { [K_1 in Exclude<keyof I["texture"]["tex"]["texture"], keyof import("../../common/texture.gen").Texture>]: never; }) | undefined;
|
|
143
|
-
$case: "texture";
|
|
144
|
-
} & { [K_2 in Exclude<keyof I["texture"]["tex"], "$case" | "texture">]: never; }) | ({
|
|
145
|
-
avatarTexture?: {
|
|
146
|
-
userId?: string | undefined;
|
|
147
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
148
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
149
|
-
} | undefined;
|
|
150
|
-
} & {
|
|
151
|
-
$case: "avatarTexture";
|
|
152
|
-
} & {
|
|
153
|
-
avatarTexture?: ({
|
|
154
|
-
userId?: string | undefined;
|
|
155
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
156
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
157
|
-
} & {
|
|
158
|
-
userId?: string | undefined;
|
|
159
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
160
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
161
|
-
} & { [K_3 in Exclude<keyof I["texture"]["tex"]["avatarTexture"], keyof import("../../common/texture.gen").AvatarTexture>]: never; }) | undefined;
|
|
162
|
-
$case: "avatarTexture";
|
|
163
|
-
} & { [K_4 in Exclude<keyof I["texture"]["tex"], "$case" | "avatarTexture">]: never; }) | ({
|
|
164
|
-
videoTexture?: {
|
|
165
|
-
videoPlayerEntity?: number | undefined;
|
|
166
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
167
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
168
|
-
} | undefined;
|
|
169
|
-
} & {
|
|
170
|
-
$case: "videoTexture";
|
|
171
|
-
} & {
|
|
172
|
-
videoTexture?: ({
|
|
173
|
-
videoPlayerEntity?: number | undefined;
|
|
174
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
175
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
176
|
-
} & {
|
|
177
|
-
videoPlayerEntity?: number | undefined;
|
|
178
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
179
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
180
|
-
} & { [K_5 in Exclude<keyof I["texture"]["tex"]["videoTexture"], keyof import("../../common/texture.gen").VideoTexture>]: never; }) | undefined;
|
|
181
|
-
$case: "videoTexture";
|
|
182
|
-
} & { [K_6 in Exclude<keyof I["texture"]["tex"], "$case" | "videoTexture">]: never; }) | undefined;
|
|
183
|
-
} & { [K_7 in Exclude<keyof I["texture"], "tex">]: never; }) | undefined;
|
|
184
|
-
textureMode?: BackgroundTextureMode | undefined;
|
|
185
|
-
textureSlices?: ({
|
|
186
|
-
top?: number | undefined;
|
|
187
|
-
left?: number | undefined;
|
|
188
|
-
right?: number | undefined;
|
|
189
|
-
bottom?: number | undefined;
|
|
190
|
-
} & {
|
|
191
|
-
top?: number | undefined;
|
|
192
|
-
left?: number | undefined;
|
|
193
|
-
right?: number | undefined;
|
|
194
|
-
bottom?: number | undefined;
|
|
195
|
-
} & { [K_8 in Exclude<keyof I["textureSlices"], keyof BorderRect>]: never; }) | undefined;
|
|
196
|
-
uvs?: (number[] & number[] & { [K_9 in Exclude<keyof I["uvs"], keyof number[]>]: never; }) | undefined;
|
|
197
|
-
} & { [K_10 in Exclude<keyof I, keyof PBUiBackground>]: never; }>(base?: I | undefined): PBUiBackground;
|
|
198
|
-
fromPartial<I_1 extends {
|
|
199
|
-
color?: {
|
|
200
|
-
r?: number | undefined;
|
|
201
|
-
g?: number | undefined;
|
|
202
|
-
b?: number | undefined;
|
|
203
|
-
a?: number | undefined;
|
|
204
|
-
} | undefined;
|
|
205
|
-
texture?: {
|
|
206
|
-
tex?: ({
|
|
207
|
-
texture?: {
|
|
208
|
-
src?: string | undefined;
|
|
209
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
210
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
211
|
-
} | undefined;
|
|
212
|
-
} & {
|
|
213
|
-
$case: "texture";
|
|
214
|
-
}) | ({
|
|
215
|
-
avatarTexture?: {
|
|
216
|
-
userId?: string | undefined;
|
|
217
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
218
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
219
|
-
} | undefined;
|
|
220
|
-
} & {
|
|
221
|
-
$case: "avatarTexture";
|
|
222
|
-
}) | ({
|
|
223
|
-
videoTexture?: {
|
|
224
|
-
videoPlayerEntity?: number | undefined;
|
|
225
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
226
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
227
|
-
} | undefined;
|
|
228
|
-
} & {
|
|
229
|
-
$case: "videoTexture";
|
|
230
|
-
}) | undefined;
|
|
231
|
-
} | undefined;
|
|
232
|
-
textureMode?: BackgroundTextureMode | undefined;
|
|
233
|
-
textureSlices?: {
|
|
234
|
-
top?: number | undefined;
|
|
235
|
-
left?: number | undefined;
|
|
236
|
-
right?: number | undefined;
|
|
237
|
-
bottom?: number | undefined;
|
|
238
|
-
} | undefined;
|
|
239
|
-
uvs?: number[] | undefined;
|
|
240
|
-
} & {
|
|
241
|
-
color?: ({
|
|
242
|
-
r?: number | undefined;
|
|
243
|
-
g?: number | undefined;
|
|
244
|
-
b?: number | undefined;
|
|
245
|
-
a?: number | undefined;
|
|
246
|
-
} & {
|
|
247
|
-
r?: number | undefined;
|
|
248
|
-
g?: number | undefined;
|
|
249
|
-
b?: number | undefined;
|
|
250
|
-
a?: number | undefined;
|
|
251
|
-
} & { [K_11 in Exclude<keyof I_1["color"], keyof Color4>]: never; }) | undefined;
|
|
252
|
-
texture?: ({
|
|
253
|
-
tex?: ({
|
|
254
|
-
texture?: {
|
|
255
|
-
src?: string | undefined;
|
|
256
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
257
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
258
|
-
} | undefined;
|
|
259
|
-
} & {
|
|
260
|
-
$case: "texture";
|
|
261
|
-
}) | ({
|
|
262
|
-
avatarTexture?: {
|
|
263
|
-
userId?: string | undefined;
|
|
264
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
265
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
266
|
-
} | undefined;
|
|
267
|
-
} & {
|
|
268
|
-
$case: "avatarTexture";
|
|
269
|
-
}) | ({
|
|
270
|
-
videoTexture?: {
|
|
271
|
-
videoPlayerEntity?: number | undefined;
|
|
272
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
273
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
274
|
-
} | undefined;
|
|
275
|
-
} & {
|
|
276
|
-
$case: "videoTexture";
|
|
277
|
-
}) | undefined;
|
|
278
|
-
} & {
|
|
279
|
-
tex?: ({
|
|
280
|
-
texture?: {
|
|
281
|
-
src?: string | undefined;
|
|
282
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
283
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
284
|
-
} | undefined;
|
|
285
|
-
} & {
|
|
286
|
-
$case: "texture";
|
|
287
|
-
} & {
|
|
288
|
-
texture?: ({
|
|
289
|
-
src?: string | undefined;
|
|
290
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
291
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
292
|
-
} & {
|
|
293
|
-
src?: string | undefined;
|
|
294
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
295
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
296
|
-
} & { [K_12 in Exclude<keyof I_1["texture"]["tex"]["texture"], keyof import("../../common/texture.gen").Texture>]: never; }) | undefined;
|
|
297
|
-
$case: "texture";
|
|
298
|
-
} & { [K_13 in Exclude<keyof I_1["texture"]["tex"], "$case" | "texture">]: never; }) | ({
|
|
299
|
-
avatarTexture?: {
|
|
300
|
-
userId?: string | undefined;
|
|
301
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
302
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
303
|
-
} | undefined;
|
|
304
|
-
} & {
|
|
305
|
-
$case: "avatarTexture";
|
|
306
|
-
} & {
|
|
307
|
-
avatarTexture?: ({
|
|
308
|
-
userId?: string | undefined;
|
|
309
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
310
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
311
|
-
} & {
|
|
312
|
-
userId?: string | undefined;
|
|
313
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
314
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
315
|
-
} & { [K_14 in Exclude<keyof I_1["texture"]["tex"]["avatarTexture"], keyof import("../../common/texture.gen").AvatarTexture>]: never; }) | undefined;
|
|
316
|
-
$case: "avatarTexture";
|
|
317
|
-
} & { [K_15 in Exclude<keyof I_1["texture"]["tex"], "$case" | "avatarTexture">]: never; }) | ({
|
|
318
|
-
videoTexture?: {
|
|
319
|
-
videoPlayerEntity?: number | undefined;
|
|
320
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
321
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
322
|
-
} | undefined;
|
|
323
|
-
} & {
|
|
324
|
-
$case: "videoTexture";
|
|
325
|
-
} & {
|
|
326
|
-
videoTexture?: ({
|
|
327
|
-
videoPlayerEntity?: number | undefined;
|
|
328
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
329
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
330
|
-
} & {
|
|
331
|
-
videoPlayerEntity?: number | undefined;
|
|
332
|
-
wrapMode?: import("../../common/texture.gen").TextureWrapMode | undefined;
|
|
333
|
-
filterMode?: import("../../common/texture.gen").TextureFilterMode | undefined;
|
|
334
|
-
} & { [K_16 in Exclude<keyof I_1["texture"]["tex"]["videoTexture"], keyof import("../../common/texture.gen").VideoTexture>]: never; }) | undefined;
|
|
335
|
-
$case: "videoTexture";
|
|
336
|
-
} & { [K_17 in Exclude<keyof I_1["texture"]["tex"], "$case" | "videoTexture">]: never; }) | undefined;
|
|
337
|
-
} & { [K_18 in Exclude<keyof I_1["texture"], "tex">]: never; }) | undefined;
|
|
338
|
-
textureMode?: BackgroundTextureMode | undefined;
|
|
339
|
-
textureSlices?: ({
|
|
340
|
-
top?: number | undefined;
|
|
341
|
-
left?: number | undefined;
|
|
342
|
-
right?: number | undefined;
|
|
343
|
-
bottom?: number | undefined;
|
|
344
|
-
} & {
|
|
345
|
-
top?: number | undefined;
|
|
346
|
-
left?: number | undefined;
|
|
347
|
-
right?: number | undefined;
|
|
348
|
-
bottom?: number | undefined;
|
|
349
|
-
} & { [K_19 in Exclude<keyof I_1["textureSlices"], keyof BorderRect>]: never; }) | undefined;
|
|
350
|
-
uvs?: (number[] & number[] & { [K_20 in Exclude<keyof I_1["uvs"], keyof number[]>]: never; }) | undefined;
|
|
351
|
-
} & { [K_21 in Exclude<keyof I_1, keyof PBUiBackground>]: never; }>(object: I_1): PBUiBackground;
|
|
352
|
-
};
|
|
39
|
+
export declare namespace PBUiBackground {
|
|
40
|
+
function encode(message: PBUiBackground, writer?: _m0.Writer): _m0.Writer;
|
|
41
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
|
|
42
|
+
function fromJSON(object: any): PBUiBackground;
|
|
43
|
+
function toJSON(message: PBUiBackground): unknown;
|
|
44
|
+
function create<I extends Exact<DeepPartial<PBUiBackground>, I>>(base?: I): PBUiBackground;
|
|
45
|
+
function fromPartial<I extends Exact<DeepPartial<PBUiBackground>, I>>(object: I): PBUiBackground;
|
|
46
|
+
}
|
|
353
47
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
354
48
|
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 {
|
|
355
49
|
$case: string;
|
|
@@ -3,7 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PBUiBackground = exports.
|
|
6
|
+
exports.PBUiBackground = exports.BackgroundTextureMode = exports.protobufPackage = void 0;
|
|
7
|
+
exports.backgroundTextureModeFromJSON = backgroundTextureModeFromJSON;
|
|
8
|
+
exports.backgroundTextureModeToJSON = backgroundTextureModeToJSON;
|
|
7
9
|
/* eslint-disable */
|
|
8
10
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
11
|
const border_rect_gen_1 = require("../../common/border_rect.gen");
|
|
@@ -31,7 +33,7 @@ var BackgroundTextureMode;
|
|
|
31
33
|
*/
|
|
32
34
|
BackgroundTextureMode[BackgroundTextureMode["STRETCH"] = 2] = "STRETCH";
|
|
33
35
|
BackgroundTextureMode[BackgroundTextureMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
34
|
-
})(BackgroundTextureMode
|
|
36
|
+
})(BackgroundTextureMode || (exports.BackgroundTextureMode = BackgroundTextureMode = {}));
|
|
35
37
|
function backgroundTextureModeFromJSON(object) {
|
|
36
38
|
switch (object) {
|
|
37
39
|
case 0:
|
|
@@ -49,7 +51,6 @@ function backgroundTextureModeFromJSON(object) {
|
|
|
49
51
|
return BackgroundTextureMode.UNRECOGNIZED;
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
|
-
exports.backgroundTextureModeFromJSON = backgroundTextureModeFromJSON;
|
|
53
54
|
function backgroundTextureModeToJSON(object) {
|
|
54
55
|
switch (object) {
|
|
55
56
|
case BackgroundTextureMode.NINE_SLICES:
|
|
@@ -63,12 +64,12 @@ function backgroundTextureModeToJSON(object) {
|
|
|
63
64
|
return "UNRECOGNIZED";
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
|
-
exports.backgroundTextureModeToJSON = backgroundTextureModeToJSON;
|
|
67
67
|
function createBasePBUiBackground() {
|
|
68
68
|
return { color: undefined, texture: undefined, textureMode: 0, textureSlices: undefined, uvs: [] };
|
|
69
69
|
}
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
var PBUiBackground;
|
|
71
|
+
(function (PBUiBackground) {
|
|
72
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
72
73
|
if (message.color !== undefined) {
|
|
73
74
|
colors_gen_1.Color4.encode(message.color, writer.uint32(10).fork()).ldelim();
|
|
74
75
|
}
|
|
@@ -87,8 +88,9 @@ exports.PBUiBackground = {
|
|
|
87
88
|
}
|
|
88
89
|
writer.ldelim();
|
|
89
90
|
return writer;
|
|
90
|
-
}
|
|
91
|
-
|
|
91
|
+
}
|
|
92
|
+
PBUiBackground.encode = encode;
|
|
93
|
+
function decode(input, length) {
|
|
92
94
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
93
95
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
94
96
|
const message = createBasePBUiBackground();
|
|
@@ -96,35 +98,35 @@ exports.PBUiBackground = {
|
|
|
96
98
|
const tag = reader.uint32();
|
|
97
99
|
switch (tag >>> 3) {
|
|
98
100
|
case 1:
|
|
99
|
-
if (tag
|
|
101
|
+
if (tag !== 10) {
|
|
100
102
|
break;
|
|
101
103
|
}
|
|
102
104
|
message.color = colors_gen_1.Color4.decode(reader, reader.uint32());
|
|
103
105
|
continue;
|
|
104
106
|
case 2:
|
|
105
|
-
if (tag
|
|
107
|
+
if (tag !== 18) {
|
|
106
108
|
break;
|
|
107
109
|
}
|
|
108
110
|
message.texture = texture_gen_1.TextureUnion.decode(reader, reader.uint32());
|
|
109
111
|
continue;
|
|
110
112
|
case 3:
|
|
111
|
-
if (tag
|
|
113
|
+
if (tag !== 24) {
|
|
112
114
|
break;
|
|
113
115
|
}
|
|
114
116
|
message.textureMode = reader.int32();
|
|
115
117
|
continue;
|
|
116
118
|
case 4:
|
|
117
|
-
if (tag
|
|
119
|
+
if (tag !== 34) {
|
|
118
120
|
break;
|
|
119
121
|
}
|
|
120
122
|
message.textureSlices = border_rect_gen_1.BorderRect.decode(reader, reader.uint32());
|
|
121
123
|
continue;
|
|
122
124
|
case 5:
|
|
123
|
-
if (tag
|
|
125
|
+
if (tag === 45) {
|
|
124
126
|
message.uvs.push(reader.float());
|
|
125
127
|
continue;
|
|
126
128
|
}
|
|
127
|
-
if (tag
|
|
129
|
+
if (tag === 42) {
|
|
128
130
|
const end2 = reader.uint32() + reader.pos;
|
|
129
131
|
while (reader.pos < end2) {
|
|
130
132
|
message.uvs.push(reader.float());
|
|
@@ -133,14 +135,15 @@ exports.PBUiBackground = {
|
|
|
133
135
|
}
|
|
134
136
|
break;
|
|
135
137
|
}
|
|
136
|
-
if ((tag & 7)
|
|
138
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
137
139
|
break;
|
|
138
140
|
}
|
|
139
141
|
reader.skipType(tag & 7);
|
|
140
142
|
}
|
|
141
143
|
return message;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
+
}
|
|
145
|
+
PBUiBackground.decode = decode;
|
|
146
|
+
function fromJSON(object) {
|
|
144
147
|
return {
|
|
145
148
|
color: isSet(object.color) ? colors_gen_1.Color4.fromJSON(object.color) : undefined,
|
|
146
149
|
texture: isSet(object.texture) ? texture_gen_1.TextureUnion.fromJSON(object.texture) : undefined,
|
|
@@ -148,8 +151,9 @@ exports.PBUiBackground = {
|
|
|
148
151
|
textureSlices: isSet(object.textureSlices) ? border_rect_gen_1.BorderRect.fromJSON(object.textureSlices) : undefined,
|
|
149
152
|
uvs: Array.isArray(object === null || object === void 0 ? void 0 : object.uvs) ? object.uvs.map((e) => Number(e)) : [],
|
|
150
153
|
};
|
|
151
|
-
}
|
|
152
|
-
|
|
154
|
+
}
|
|
155
|
+
PBUiBackground.fromJSON = fromJSON;
|
|
156
|
+
function toJSON(message) {
|
|
153
157
|
const obj = {};
|
|
154
158
|
message.color !== undefined && (obj.color = message.color ? colors_gen_1.Color4.toJSON(message.color) : undefined);
|
|
155
159
|
message.texture !== undefined && (obj.texture = message.texture ? texture_gen_1.TextureUnion.toJSON(message.texture) : undefined);
|
|
@@ -163,11 +167,13 @@ exports.PBUiBackground = {
|
|
|
163
167
|
obj.uvs = [];
|
|
164
168
|
}
|
|
165
169
|
return obj;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
170
|
+
}
|
|
171
|
+
PBUiBackground.toJSON = toJSON;
|
|
172
|
+
function create(base) {
|
|
173
|
+
return PBUiBackground.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
174
|
+
}
|
|
175
|
+
PBUiBackground.create = create;
|
|
176
|
+
function fromPartial(object) {
|
|
171
177
|
var _a, _b;
|
|
172
178
|
const message = createBasePBUiBackground();
|
|
173
179
|
message.color = (object.color !== undefined && object.color !== null)
|
|
@@ -182,8 +188,9 @@ exports.PBUiBackground = {
|
|
|
182
188
|
: undefined;
|
|
183
189
|
message.uvs = ((_b = object.uvs) === null || _b === void 0 ? void 0 : _b.map((e) => e)) || [];
|
|
184
190
|
return message;
|
|
185
|
-
}
|
|
186
|
-
|
|
191
|
+
}
|
|
192
|
+
PBUiBackground.fromPartial = fromPartial;
|
|
193
|
+
})(PBUiBackground || (exports.PBUiBackground = PBUiBackground = {}));
|
|
187
194
|
function isSet(value) {
|
|
188
195
|
return value !== null && value !== undefined;
|
|
189
196
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui_background.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/ui_background.gen.ts"],"names":[],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"ui_background.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/sdk/components/ui_background.gen.ts"],"names":[],"mappings":";;;;;;AA8BA,sEAgBC;AAED,kEAYC;AA5DD,oBAAoB;AACpB,iEAAqC;A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AAC,GAAG,0CAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAI,EAAE,CAAC;QAC9C,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,0BAAW,cAc1B,CAAA;AACH,CAAC,EA/HgB,cAAc,8BAAd,cAAc,QA+H9B;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
|
|
@@ -17,85 +17,17 @@ export interface PBUiDropdown {
|
|
|
17
17
|
font?: Font | undefined;
|
|
18
18
|
/** default=10 */
|
|
19
19
|
fontSize?: number | undefined;
|
|
20
|
+
/** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
|
|
21
|
+
fontSrc?: string | undefined;
|
|
22
|
+
}
|
|
23
|
+
export declare namespace PBUiDropdown {
|
|
24
|
+
function encode(message: PBUiDropdown, writer?: _m0.Writer): _m0.Writer;
|
|
25
|
+
function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiDropdown;
|
|
26
|
+
function fromJSON(object: any): PBUiDropdown;
|
|
27
|
+
function toJSON(message: PBUiDropdown): unknown;
|
|
28
|
+
function create<I extends Exact<DeepPartial<PBUiDropdown>, I>>(base?: I): PBUiDropdown;
|
|
29
|
+
function fromPartial<I extends Exact<DeepPartial<PBUiDropdown>, I>>(object: I): PBUiDropdown;
|
|
20
30
|
}
|
|
21
|
-
export declare const PBUiDropdown: {
|
|
22
|
-
encode(message: PBUiDropdown, writer?: _m0.Writer): _m0.Writer;
|
|
23
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): PBUiDropdown;
|
|
24
|
-
fromJSON(object: any): PBUiDropdown;
|
|
25
|
-
toJSON(message: PBUiDropdown): unknown;
|
|
26
|
-
create<I extends {
|
|
27
|
-
acceptEmpty?: boolean | undefined;
|
|
28
|
-
emptyLabel?: string | undefined;
|
|
29
|
-
options?: string[] | undefined;
|
|
30
|
-
selectedIndex?: number | undefined;
|
|
31
|
-
disabled?: boolean | undefined;
|
|
32
|
-
color?: {
|
|
33
|
-
r?: number | undefined;
|
|
34
|
-
g?: number | undefined;
|
|
35
|
-
b?: number | undefined;
|
|
36
|
-
a?: number | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
textAlign?: TextAlignMode | undefined;
|
|
39
|
-
font?: Font | undefined;
|
|
40
|
-
fontSize?: number | undefined;
|
|
41
|
-
} & {
|
|
42
|
-
acceptEmpty?: boolean | undefined;
|
|
43
|
-
emptyLabel?: string | undefined;
|
|
44
|
-
options?: (string[] & string[] & { [K in Exclude<keyof I["options"], keyof string[]>]: never; }) | undefined;
|
|
45
|
-
selectedIndex?: number | undefined;
|
|
46
|
-
disabled?: boolean | undefined;
|
|
47
|
-
color?: ({
|
|
48
|
-
r?: number | undefined;
|
|
49
|
-
g?: number | undefined;
|
|
50
|
-
b?: number | undefined;
|
|
51
|
-
a?: number | undefined;
|
|
52
|
-
} & {
|
|
53
|
-
r?: number | undefined;
|
|
54
|
-
g?: number | undefined;
|
|
55
|
-
b?: number | undefined;
|
|
56
|
-
a?: number | undefined;
|
|
57
|
-
} & { [K_1 in Exclude<keyof I["color"], keyof Color4>]: never; }) | undefined;
|
|
58
|
-
textAlign?: TextAlignMode | undefined;
|
|
59
|
-
font?: Font | undefined;
|
|
60
|
-
fontSize?: number | undefined;
|
|
61
|
-
} & { [K_2 in Exclude<keyof I, keyof PBUiDropdown>]: never; }>(base?: I | undefined): PBUiDropdown;
|
|
62
|
-
fromPartial<I_1 extends {
|
|
63
|
-
acceptEmpty?: boolean | undefined;
|
|
64
|
-
emptyLabel?: string | undefined;
|
|
65
|
-
options?: string[] | undefined;
|
|
66
|
-
selectedIndex?: number | undefined;
|
|
67
|
-
disabled?: boolean | undefined;
|
|
68
|
-
color?: {
|
|
69
|
-
r?: number | undefined;
|
|
70
|
-
g?: number | undefined;
|
|
71
|
-
b?: number | undefined;
|
|
72
|
-
a?: number | undefined;
|
|
73
|
-
} | undefined;
|
|
74
|
-
textAlign?: TextAlignMode | undefined;
|
|
75
|
-
font?: Font | undefined;
|
|
76
|
-
fontSize?: number | undefined;
|
|
77
|
-
} & {
|
|
78
|
-
acceptEmpty?: boolean | undefined;
|
|
79
|
-
emptyLabel?: string | undefined;
|
|
80
|
-
options?: (string[] & string[] & { [K_3 in Exclude<keyof I_1["options"], keyof string[]>]: never; }) | undefined;
|
|
81
|
-
selectedIndex?: number | undefined;
|
|
82
|
-
disabled?: boolean | undefined;
|
|
83
|
-
color?: ({
|
|
84
|
-
r?: number | undefined;
|
|
85
|
-
g?: number | undefined;
|
|
86
|
-
b?: number | undefined;
|
|
87
|
-
a?: number | undefined;
|
|
88
|
-
} & {
|
|
89
|
-
r?: number | undefined;
|
|
90
|
-
g?: number | undefined;
|
|
91
|
-
b?: number | undefined;
|
|
92
|
-
a?: number | undefined;
|
|
93
|
-
} & { [K_4 in Exclude<keyof I_1["color"], keyof Color4>]: never; }) | undefined;
|
|
94
|
-
textAlign?: TextAlignMode | undefined;
|
|
95
|
-
font?: Font | undefined;
|
|
96
|
-
fontSize?: number | undefined;
|
|
97
|
-
} & { [K_5 in Exclude<keyof I_1, keyof PBUiDropdown>]: never; }>(object: I_1): PBUiDropdown;
|
|
98
|
-
};
|
|
99
31
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
100
32
|
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 {
|
|
101
33
|
$case: string;
|