@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
|
@@ -3,16 +3,37 @@ 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.PBUiTransform = exports.
|
|
6
|
+
exports.PBUiTransform = exports.PointerFilterMode = exports.YGEdge = exports.YGDisplay = exports.YGOverflow = exports.YGJustify = exports.YGWrap = exports.YGFlexDirection = exports.YGUnit = exports.YGAlign = exports.YGPositionType = exports.protobufPackage = void 0;
|
|
7
|
+
exports.yGPositionTypeFromJSON = yGPositionTypeFromJSON;
|
|
8
|
+
exports.yGPositionTypeToJSON = yGPositionTypeToJSON;
|
|
9
|
+
exports.yGAlignFromJSON = yGAlignFromJSON;
|
|
10
|
+
exports.yGAlignToJSON = yGAlignToJSON;
|
|
11
|
+
exports.yGUnitFromJSON = yGUnitFromJSON;
|
|
12
|
+
exports.yGUnitToJSON = yGUnitToJSON;
|
|
13
|
+
exports.yGFlexDirectionFromJSON = yGFlexDirectionFromJSON;
|
|
14
|
+
exports.yGFlexDirectionToJSON = yGFlexDirectionToJSON;
|
|
15
|
+
exports.yGWrapFromJSON = yGWrapFromJSON;
|
|
16
|
+
exports.yGWrapToJSON = yGWrapToJSON;
|
|
17
|
+
exports.yGJustifyFromJSON = yGJustifyFromJSON;
|
|
18
|
+
exports.yGJustifyToJSON = yGJustifyToJSON;
|
|
19
|
+
exports.yGOverflowFromJSON = yGOverflowFromJSON;
|
|
20
|
+
exports.yGOverflowToJSON = yGOverflowToJSON;
|
|
21
|
+
exports.yGDisplayFromJSON = yGDisplayFromJSON;
|
|
22
|
+
exports.yGDisplayToJSON = yGDisplayToJSON;
|
|
23
|
+
exports.yGEdgeFromJSON = yGEdgeFromJSON;
|
|
24
|
+
exports.yGEdgeToJSON = yGEdgeToJSON;
|
|
25
|
+
exports.pointerFilterModeFromJSON = pointerFilterModeFromJSON;
|
|
26
|
+
exports.pointerFilterModeToJSON = pointerFilterModeToJSON;
|
|
7
27
|
/* eslint-disable */
|
|
8
28
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
29
|
+
const colors_gen_1 = require("../../common/colors.gen");
|
|
9
30
|
exports.protobufPackage = "decentraland.sdk.components";
|
|
10
31
|
var YGPositionType;
|
|
11
32
|
(function (YGPositionType) {
|
|
12
33
|
YGPositionType[YGPositionType["YGPT_RELATIVE"] = 0] = "YGPT_RELATIVE";
|
|
13
34
|
YGPositionType[YGPositionType["YGPT_ABSOLUTE"] = 1] = "YGPT_ABSOLUTE";
|
|
14
35
|
YGPositionType[YGPositionType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
15
|
-
})(YGPositionType
|
|
36
|
+
})(YGPositionType || (exports.YGPositionType = YGPositionType = {}));
|
|
16
37
|
function yGPositionTypeFromJSON(object) {
|
|
17
38
|
switch (object) {
|
|
18
39
|
case 0:
|
|
@@ -27,7 +48,6 @@ function yGPositionTypeFromJSON(object) {
|
|
|
27
48
|
return YGPositionType.UNRECOGNIZED;
|
|
28
49
|
}
|
|
29
50
|
}
|
|
30
|
-
exports.yGPositionTypeFromJSON = yGPositionTypeFromJSON;
|
|
31
51
|
function yGPositionTypeToJSON(object) {
|
|
32
52
|
switch (object) {
|
|
33
53
|
case YGPositionType.YGPT_RELATIVE:
|
|
@@ -39,7 +59,6 @@ function yGPositionTypeToJSON(object) {
|
|
|
39
59
|
return "UNRECOGNIZED";
|
|
40
60
|
}
|
|
41
61
|
}
|
|
42
|
-
exports.yGPositionTypeToJSON = yGPositionTypeToJSON;
|
|
43
62
|
var YGAlign;
|
|
44
63
|
(function (YGAlign) {
|
|
45
64
|
YGAlign[YGAlign["YGA_AUTO"] = 0] = "YGA_AUTO";
|
|
@@ -51,7 +70,7 @@ var YGAlign;
|
|
|
51
70
|
YGAlign[YGAlign["YGA_SPACE_BETWEEN"] = 6] = "YGA_SPACE_BETWEEN";
|
|
52
71
|
YGAlign[YGAlign["YGA_SPACE_AROUND"] = 7] = "YGA_SPACE_AROUND";
|
|
53
72
|
YGAlign[YGAlign["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
54
|
-
})(YGAlign
|
|
73
|
+
})(YGAlign || (exports.YGAlign = YGAlign = {}));
|
|
55
74
|
function yGAlignFromJSON(object) {
|
|
56
75
|
switch (object) {
|
|
57
76
|
case 0:
|
|
@@ -84,7 +103,6 @@ function yGAlignFromJSON(object) {
|
|
|
84
103
|
return YGAlign.UNRECOGNIZED;
|
|
85
104
|
}
|
|
86
105
|
}
|
|
87
|
-
exports.yGAlignFromJSON = yGAlignFromJSON;
|
|
88
106
|
function yGAlignToJSON(object) {
|
|
89
107
|
switch (object) {
|
|
90
108
|
case YGAlign.YGA_AUTO:
|
|
@@ -108,7 +126,6 @@ function yGAlignToJSON(object) {
|
|
|
108
126
|
return "UNRECOGNIZED";
|
|
109
127
|
}
|
|
110
128
|
}
|
|
111
|
-
exports.yGAlignToJSON = yGAlignToJSON;
|
|
112
129
|
var YGUnit;
|
|
113
130
|
(function (YGUnit) {
|
|
114
131
|
YGUnit[YGUnit["YGU_UNDEFINED"] = 0] = "YGU_UNDEFINED";
|
|
@@ -116,7 +133,7 @@ var YGUnit;
|
|
|
116
133
|
YGUnit[YGUnit["YGU_PERCENT"] = 2] = "YGU_PERCENT";
|
|
117
134
|
YGUnit[YGUnit["YGU_AUTO"] = 3] = "YGU_AUTO";
|
|
118
135
|
YGUnit[YGUnit["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
119
|
-
})(YGUnit
|
|
136
|
+
})(YGUnit || (exports.YGUnit = YGUnit = {}));
|
|
120
137
|
function yGUnitFromJSON(object) {
|
|
121
138
|
switch (object) {
|
|
122
139
|
case 0:
|
|
@@ -137,7 +154,6 @@ function yGUnitFromJSON(object) {
|
|
|
137
154
|
return YGUnit.UNRECOGNIZED;
|
|
138
155
|
}
|
|
139
156
|
}
|
|
140
|
-
exports.yGUnitFromJSON = yGUnitFromJSON;
|
|
141
157
|
function yGUnitToJSON(object) {
|
|
142
158
|
switch (object) {
|
|
143
159
|
case YGUnit.YGU_UNDEFINED:
|
|
@@ -153,7 +169,6 @@ function yGUnitToJSON(object) {
|
|
|
153
169
|
return "UNRECOGNIZED";
|
|
154
170
|
}
|
|
155
171
|
}
|
|
156
|
-
exports.yGUnitToJSON = yGUnitToJSON;
|
|
157
172
|
var YGFlexDirection;
|
|
158
173
|
(function (YGFlexDirection) {
|
|
159
174
|
YGFlexDirection[YGFlexDirection["YGFD_ROW"] = 0] = "YGFD_ROW";
|
|
@@ -161,7 +176,7 @@ var YGFlexDirection;
|
|
|
161
176
|
YGFlexDirection[YGFlexDirection["YGFD_COLUMN_REVERSE"] = 2] = "YGFD_COLUMN_REVERSE";
|
|
162
177
|
YGFlexDirection[YGFlexDirection["YGFD_ROW_REVERSE"] = 3] = "YGFD_ROW_REVERSE";
|
|
163
178
|
YGFlexDirection[YGFlexDirection["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
164
|
-
})(YGFlexDirection
|
|
179
|
+
})(YGFlexDirection || (exports.YGFlexDirection = YGFlexDirection = {}));
|
|
165
180
|
function yGFlexDirectionFromJSON(object) {
|
|
166
181
|
switch (object) {
|
|
167
182
|
case 0:
|
|
@@ -182,7 +197,6 @@ function yGFlexDirectionFromJSON(object) {
|
|
|
182
197
|
return YGFlexDirection.UNRECOGNIZED;
|
|
183
198
|
}
|
|
184
199
|
}
|
|
185
|
-
exports.yGFlexDirectionFromJSON = yGFlexDirectionFromJSON;
|
|
186
200
|
function yGFlexDirectionToJSON(object) {
|
|
187
201
|
switch (object) {
|
|
188
202
|
case YGFlexDirection.YGFD_ROW:
|
|
@@ -198,14 +212,13 @@ function yGFlexDirectionToJSON(object) {
|
|
|
198
212
|
return "UNRECOGNIZED";
|
|
199
213
|
}
|
|
200
214
|
}
|
|
201
|
-
exports.yGFlexDirectionToJSON = yGFlexDirectionToJSON;
|
|
202
215
|
var YGWrap;
|
|
203
216
|
(function (YGWrap) {
|
|
204
217
|
YGWrap[YGWrap["YGW_NO_WRAP"] = 0] = "YGW_NO_WRAP";
|
|
205
218
|
YGWrap[YGWrap["YGW_WRAP"] = 1] = "YGW_WRAP";
|
|
206
219
|
YGWrap[YGWrap["YGW_WRAP_REVERSE"] = 2] = "YGW_WRAP_REVERSE";
|
|
207
220
|
YGWrap[YGWrap["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
208
|
-
})(YGWrap
|
|
221
|
+
})(YGWrap || (exports.YGWrap = YGWrap = {}));
|
|
209
222
|
function yGWrapFromJSON(object) {
|
|
210
223
|
switch (object) {
|
|
211
224
|
case 0:
|
|
@@ -223,7 +236,6 @@ function yGWrapFromJSON(object) {
|
|
|
223
236
|
return YGWrap.UNRECOGNIZED;
|
|
224
237
|
}
|
|
225
238
|
}
|
|
226
|
-
exports.yGWrapFromJSON = yGWrapFromJSON;
|
|
227
239
|
function yGWrapToJSON(object) {
|
|
228
240
|
switch (object) {
|
|
229
241
|
case YGWrap.YGW_NO_WRAP:
|
|
@@ -237,7 +249,6 @@ function yGWrapToJSON(object) {
|
|
|
237
249
|
return "UNRECOGNIZED";
|
|
238
250
|
}
|
|
239
251
|
}
|
|
240
|
-
exports.yGWrapToJSON = yGWrapToJSON;
|
|
241
252
|
var YGJustify;
|
|
242
253
|
(function (YGJustify) {
|
|
243
254
|
YGJustify[YGJustify["YGJ_FLEX_START"] = 0] = "YGJ_FLEX_START";
|
|
@@ -247,7 +258,7 @@ var YGJustify;
|
|
|
247
258
|
YGJustify[YGJustify["YGJ_SPACE_AROUND"] = 4] = "YGJ_SPACE_AROUND";
|
|
248
259
|
YGJustify[YGJustify["YGJ_SPACE_EVENLY"] = 5] = "YGJ_SPACE_EVENLY";
|
|
249
260
|
YGJustify[YGJustify["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
250
|
-
})(YGJustify
|
|
261
|
+
})(YGJustify || (exports.YGJustify = YGJustify = {}));
|
|
251
262
|
function yGJustifyFromJSON(object) {
|
|
252
263
|
switch (object) {
|
|
253
264
|
case 0:
|
|
@@ -274,7 +285,6 @@ function yGJustifyFromJSON(object) {
|
|
|
274
285
|
return YGJustify.UNRECOGNIZED;
|
|
275
286
|
}
|
|
276
287
|
}
|
|
277
|
-
exports.yGJustifyFromJSON = yGJustifyFromJSON;
|
|
278
288
|
function yGJustifyToJSON(object) {
|
|
279
289
|
switch (object) {
|
|
280
290
|
case YGJustify.YGJ_FLEX_START:
|
|
@@ -294,14 +304,13 @@ function yGJustifyToJSON(object) {
|
|
|
294
304
|
return "UNRECOGNIZED";
|
|
295
305
|
}
|
|
296
306
|
}
|
|
297
|
-
exports.yGJustifyToJSON = yGJustifyToJSON;
|
|
298
307
|
var YGOverflow;
|
|
299
308
|
(function (YGOverflow) {
|
|
300
309
|
YGOverflow[YGOverflow["YGO_VISIBLE"] = 0] = "YGO_VISIBLE";
|
|
301
310
|
YGOverflow[YGOverflow["YGO_HIDDEN"] = 1] = "YGO_HIDDEN";
|
|
302
311
|
YGOverflow[YGOverflow["YGO_SCROLL"] = 2] = "YGO_SCROLL";
|
|
303
312
|
YGOverflow[YGOverflow["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
304
|
-
})(YGOverflow
|
|
313
|
+
})(YGOverflow || (exports.YGOverflow = YGOverflow = {}));
|
|
305
314
|
function yGOverflowFromJSON(object) {
|
|
306
315
|
switch (object) {
|
|
307
316
|
case 0:
|
|
@@ -319,7 +328,6 @@ function yGOverflowFromJSON(object) {
|
|
|
319
328
|
return YGOverflow.UNRECOGNIZED;
|
|
320
329
|
}
|
|
321
330
|
}
|
|
322
|
-
exports.yGOverflowFromJSON = yGOverflowFromJSON;
|
|
323
331
|
function yGOverflowToJSON(object) {
|
|
324
332
|
switch (object) {
|
|
325
333
|
case YGOverflow.YGO_VISIBLE:
|
|
@@ -333,13 +341,12 @@ function yGOverflowToJSON(object) {
|
|
|
333
341
|
return "UNRECOGNIZED";
|
|
334
342
|
}
|
|
335
343
|
}
|
|
336
|
-
exports.yGOverflowToJSON = yGOverflowToJSON;
|
|
337
344
|
var YGDisplay;
|
|
338
345
|
(function (YGDisplay) {
|
|
339
346
|
YGDisplay[YGDisplay["YGD_FLEX"] = 0] = "YGD_FLEX";
|
|
340
347
|
YGDisplay[YGDisplay["YGD_NONE"] = 1] = "YGD_NONE";
|
|
341
348
|
YGDisplay[YGDisplay["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
342
|
-
})(YGDisplay
|
|
349
|
+
})(YGDisplay || (exports.YGDisplay = YGDisplay = {}));
|
|
343
350
|
function yGDisplayFromJSON(object) {
|
|
344
351
|
switch (object) {
|
|
345
352
|
case 0:
|
|
@@ -354,7 +361,6 @@ function yGDisplayFromJSON(object) {
|
|
|
354
361
|
return YGDisplay.UNRECOGNIZED;
|
|
355
362
|
}
|
|
356
363
|
}
|
|
357
|
-
exports.yGDisplayFromJSON = yGDisplayFromJSON;
|
|
358
364
|
function yGDisplayToJSON(object) {
|
|
359
365
|
switch (object) {
|
|
360
366
|
case YGDisplay.YGD_FLEX:
|
|
@@ -366,7 +372,6 @@ function yGDisplayToJSON(object) {
|
|
|
366
372
|
return "UNRECOGNIZED";
|
|
367
373
|
}
|
|
368
374
|
}
|
|
369
|
-
exports.yGDisplayToJSON = yGDisplayToJSON;
|
|
370
375
|
var YGEdge;
|
|
371
376
|
(function (YGEdge) {
|
|
372
377
|
YGEdge[YGEdge["YGE_LEFT"] = 0] = "YGE_LEFT";
|
|
@@ -379,7 +384,7 @@ var YGEdge;
|
|
|
379
384
|
YGEdge[YGEdge["YGE_VERTICAL"] = 7] = "YGE_VERTICAL";
|
|
380
385
|
YGEdge[YGEdge["YGE_ALL"] = 8] = "YGE_ALL";
|
|
381
386
|
YGEdge[YGEdge["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
382
|
-
})(YGEdge
|
|
387
|
+
})(YGEdge || (exports.YGEdge = YGEdge = {}));
|
|
383
388
|
function yGEdgeFromJSON(object) {
|
|
384
389
|
switch (object) {
|
|
385
390
|
case 0:
|
|
@@ -415,7 +420,6 @@ function yGEdgeFromJSON(object) {
|
|
|
415
420
|
return YGEdge.UNRECOGNIZED;
|
|
416
421
|
}
|
|
417
422
|
}
|
|
418
|
-
exports.yGEdgeFromJSON = yGEdgeFromJSON;
|
|
419
423
|
function yGEdgeToJSON(object) {
|
|
420
424
|
switch (object) {
|
|
421
425
|
case YGEdge.YGE_LEFT:
|
|
@@ -441,7 +445,37 @@ function yGEdgeToJSON(object) {
|
|
|
441
445
|
return "UNRECOGNIZED";
|
|
442
446
|
}
|
|
443
447
|
}
|
|
444
|
-
|
|
448
|
+
var PointerFilterMode;
|
|
449
|
+
(function (PointerFilterMode) {
|
|
450
|
+
PointerFilterMode[PointerFilterMode["PFM_NONE"] = 0] = "PFM_NONE";
|
|
451
|
+
PointerFilterMode[PointerFilterMode["PFM_BLOCK"] = 1] = "PFM_BLOCK";
|
|
452
|
+
PointerFilterMode[PointerFilterMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
453
|
+
})(PointerFilterMode || (exports.PointerFilterMode = PointerFilterMode = {}));
|
|
454
|
+
function pointerFilterModeFromJSON(object) {
|
|
455
|
+
switch (object) {
|
|
456
|
+
case 0:
|
|
457
|
+
case "PFM_NONE":
|
|
458
|
+
return PointerFilterMode.PFM_NONE;
|
|
459
|
+
case 1:
|
|
460
|
+
case "PFM_BLOCK":
|
|
461
|
+
return PointerFilterMode.PFM_BLOCK;
|
|
462
|
+
case -1:
|
|
463
|
+
case "UNRECOGNIZED":
|
|
464
|
+
default:
|
|
465
|
+
return PointerFilterMode.UNRECOGNIZED;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
function pointerFilterModeToJSON(object) {
|
|
469
|
+
switch (object) {
|
|
470
|
+
case PointerFilterMode.PFM_NONE:
|
|
471
|
+
return "PFM_NONE";
|
|
472
|
+
case PointerFilterMode.PFM_BLOCK:
|
|
473
|
+
return "PFM_BLOCK";
|
|
474
|
+
case PointerFilterMode.UNRECOGNIZED:
|
|
475
|
+
default:
|
|
476
|
+
return "UNRECOGNIZED";
|
|
477
|
+
}
|
|
478
|
+
}
|
|
445
479
|
function createBasePBUiTransform() {
|
|
446
480
|
return {
|
|
447
481
|
parent: 0,
|
|
@@ -495,10 +529,34 @@ function createBasePBUiTransform() {
|
|
|
495
529
|
paddingRight: 0,
|
|
496
530
|
paddingBottomUnit: 0,
|
|
497
531
|
paddingBottom: 0,
|
|
532
|
+
pointerFilter: undefined,
|
|
533
|
+
borderLeftWidthUnit: undefined,
|
|
534
|
+
borderLeftWidth: undefined,
|
|
535
|
+
borderTopWidthUnit: undefined,
|
|
536
|
+
borderTopWidth: undefined,
|
|
537
|
+
borderRightWidthUnit: undefined,
|
|
538
|
+
borderRightWidth: undefined,
|
|
539
|
+
borderBottomWidthUnit: undefined,
|
|
540
|
+
borderBottomWidth: undefined,
|
|
541
|
+
borderTopLeftRadiusUnit: undefined,
|
|
542
|
+
borderTopLeftRadius: undefined,
|
|
543
|
+
borderTopRightRadiusUnit: undefined,
|
|
544
|
+
borderTopRightRadius: undefined,
|
|
545
|
+
borderBottomLeftRadiusUnit: undefined,
|
|
546
|
+
borderBottomLeftRadius: undefined,
|
|
547
|
+
borderBottomRightRadiusUnit: undefined,
|
|
548
|
+
borderBottomRightRadius: undefined,
|
|
549
|
+
borderTopColor: undefined,
|
|
550
|
+
borderBottomColor: undefined,
|
|
551
|
+
borderLeftColor: undefined,
|
|
552
|
+
borderRightColor: undefined,
|
|
553
|
+
opacity: undefined,
|
|
554
|
+
zIndex: undefined,
|
|
498
555
|
};
|
|
499
556
|
}
|
|
500
|
-
|
|
501
|
-
|
|
557
|
+
var PBUiTransform;
|
|
558
|
+
(function (PBUiTransform) {
|
|
559
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
502
560
|
if (message.parent !== 0) {
|
|
503
561
|
writer.uint32(8).int32(message.parent);
|
|
504
562
|
}
|
|
@@ -652,9 +710,79 @@ exports.PBUiTransform = {
|
|
|
652
710
|
if (message.paddingBottom !== 0) {
|
|
653
711
|
writer.uint32(413).float(message.paddingBottom);
|
|
654
712
|
}
|
|
713
|
+
if (message.pointerFilter !== undefined) {
|
|
714
|
+
writer.uint32(416).int32(message.pointerFilter);
|
|
715
|
+
}
|
|
716
|
+
if (message.borderLeftWidthUnit !== undefined) {
|
|
717
|
+
writer.uint32(424).int32(message.borderLeftWidthUnit);
|
|
718
|
+
}
|
|
719
|
+
if (message.borderLeftWidth !== undefined) {
|
|
720
|
+
writer.uint32(437).float(message.borderLeftWidth);
|
|
721
|
+
}
|
|
722
|
+
if (message.borderTopWidthUnit !== undefined) {
|
|
723
|
+
writer.uint32(440).int32(message.borderTopWidthUnit);
|
|
724
|
+
}
|
|
725
|
+
if (message.borderTopWidth !== undefined) {
|
|
726
|
+
writer.uint32(453).float(message.borderTopWidth);
|
|
727
|
+
}
|
|
728
|
+
if (message.borderRightWidthUnit !== undefined) {
|
|
729
|
+
writer.uint32(456).int32(message.borderRightWidthUnit);
|
|
730
|
+
}
|
|
731
|
+
if (message.borderRightWidth !== undefined) {
|
|
732
|
+
writer.uint32(469).float(message.borderRightWidth);
|
|
733
|
+
}
|
|
734
|
+
if (message.borderBottomWidthUnit !== undefined) {
|
|
735
|
+
writer.uint32(472).int32(message.borderBottomWidthUnit);
|
|
736
|
+
}
|
|
737
|
+
if (message.borderBottomWidth !== undefined) {
|
|
738
|
+
writer.uint32(485).float(message.borderBottomWidth);
|
|
739
|
+
}
|
|
740
|
+
if (message.borderTopLeftRadiusUnit !== undefined) {
|
|
741
|
+
writer.uint32(488).int32(message.borderTopLeftRadiusUnit);
|
|
742
|
+
}
|
|
743
|
+
if (message.borderTopLeftRadius !== undefined) {
|
|
744
|
+
writer.uint32(501).float(message.borderTopLeftRadius);
|
|
745
|
+
}
|
|
746
|
+
if (message.borderTopRightRadiusUnit !== undefined) {
|
|
747
|
+
writer.uint32(504).int32(message.borderTopRightRadiusUnit);
|
|
748
|
+
}
|
|
749
|
+
if (message.borderTopRightRadius !== undefined) {
|
|
750
|
+
writer.uint32(517).float(message.borderTopRightRadius);
|
|
751
|
+
}
|
|
752
|
+
if (message.borderBottomLeftRadiusUnit !== undefined) {
|
|
753
|
+
writer.uint32(520).int32(message.borderBottomLeftRadiusUnit);
|
|
754
|
+
}
|
|
755
|
+
if (message.borderBottomLeftRadius !== undefined) {
|
|
756
|
+
writer.uint32(533).float(message.borderBottomLeftRadius);
|
|
757
|
+
}
|
|
758
|
+
if (message.borderBottomRightRadiusUnit !== undefined) {
|
|
759
|
+
writer.uint32(536).int32(message.borderBottomRightRadiusUnit);
|
|
760
|
+
}
|
|
761
|
+
if (message.borderBottomRightRadius !== undefined) {
|
|
762
|
+
writer.uint32(549).float(message.borderBottomRightRadius);
|
|
763
|
+
}
|
|
764
|
+
if (message.borderTopColor !== undefined) {
|
|
765
|
+
colors_gen_1.Color4.encode(message.borderTopColor, writer.uint32(554).fork()).ldelim();
|
|
766
|
+
}
|
|
767
|
+
if (message.borderBottomColor !== undefined) {
|
|
768
|
+
colors_gen_1.Color4.encode(message.borderBottomColor, writer.uint32(562).fork()).ldelim();
|
|
769
|
+
}
|
|
770
|
+
if (message.borderLeftColor !== undefined) {
|
|
771
|
+
colors_gen_1.Color4.encode(message.borderLeftColor, writer.uint32(570).fork()).ldelim();
|
|
772
|
+
}
|
|
773
|
+
if (message.borderRightColor !== undefined) {
|
|
774
|
+
colors_gen_1.Color4.encode(message.borderRightColor, writer.uint32(578).fork()).ldelim();
|
|
775
|
+
}
|
|
776
|
+
if (message.opacity !== undefined) {
|
|
777
|
+
writer.uint32(589).float(message.opacity);
|
|
778
|
+
}
|
|
779
|
+
if (message.zIndex !== undefined) {
|
|
780
|
+
writer.uint32(616).int32(message.zIndex);
|
|
781
|
+
}
|
|
655
782
|
return writer;
|
|
656
|
-
}
|
|
657
|
-
|
|
783
|
+
}
|
|
784
|
+
PBUiTransform.encode = encode;
|
|
785
|
+
function decode(input, length) {
|
|
658
786
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
659
787
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
660
788
|
const message = createBasePBUiTransform();
|
|
@@ -662,320 +790,459 @@ exports.PBUiTransform = {
|
|
|
662
790
|
const tag = reader.uint32();
|
|
663
791
|
switch (tag >>> 3) {
|
|
664
792
|
case 1:
|
|
665
|
-
if (tag
|
|
793
|
+
if (tag !== 8) {
|
|
666
794
|
break;
|
|
667
795
|
}
|
|
668
796
|
message.parent = reader.int32();
|
|
669
797
|
continue;
|
|
670
798
|
case 2:
|
|
671
|
-
if (tag
|
|
799
|
+
if (tag !== 16) {
|
|
672
800
|
break;
|
|
673
801
|
}
|
|
674
802
|
message.rightOf = reader.int32();
|
|
675
803
|
continue;
|
|
676
804
|
case 3:
|
|
677
|
-
if (tag
|
|
805
|
+
if (tag !== 24) {
|
|
678
806
|
break;
|
|
679
807
|
}
|
|
680
808
|
message.alignContent = reader.int32();
|
|
681
809
|
continue;
|
|
682
810
|
case 4:
|
|
683
|
-
if (tag
|
|
811
|
+
if (tag !== 32) {
|
|
684
812
|
break;
|
|
685
813
|
}
|
|
686
814
|
message.alignItems = reader.int32();
|
|
687
815
|
continue;
|
|
688
816
|
case 5:
|
|
689
|
-
if (tag
|
|
817
|
+
if (tag !== 40) {
|
|
690
818
|
break;
|
|
691
819
|
}
|
|
692
820
|
message.flexWrap = reader.int32();
|
|
693
821
|
continue;
|
|
694
822
|
case 6:
|
|
695
|
-
if (tag
|
|
823
|
+
if (tag !== 53) {
|
|
696
824
|
break;
|
|
697
825
|
}
|
|
698
826
|
message.flexShrink = reader.float();
|
|
699
827
|
continue;
|
|
700
828
|
case 7:
|
|
701
|
-
if (tag
|
|
829
|
+
if (tag !== 56) {
|
|
702
830
|
break;
|
|
703
831
|
}
|
|
704
832
|
message.positionType = reader.int32();
|
|
705
833
|
continue;
|
|
706
834
|
case 8:
|
|
707
|
-
if (tag
|
|
835
|
+
if (tag !== 64) {
|
|
708
836
|
break;
|
|
709
837
|
}
|
|
710
838
|
message.alignSelf = reader.int32();
|
|
711
839
|
continue;
|
|
712
840
|
case 9:
|
|
713
|
-
if (tag
|
|
841
|
+
if (tag !== 72) {
|
|
714
842
|
break;
|
|
715
843
|
}
|
|
716
844
|
message.flexDirection = reader.int32();
|
|
717
845
|
continue;
|
|
718
846
|
case 10:
|
|
719
|
-
if (tag
|
|
847
|
+
if (tag !== 80) {
|
|
720
848
|
break;
|
|
721
849
|
}
|
|
722
850
|
message.justifyContent = reader.int32();
|
|
723
851
|
continue;
|
|
724
852
|
case 11:
|
|
725
|
-
if (tag
|
|
853
|
+
if (tag !== 88) {
|
|
726
854
|
break;
|
|
727
855
|
}
|
|
728
856
|
message.overflow = reader.int32();
|
|
729
857
|
continue;
|
|
730
858
|
case 12:
|
|
731
|
-
if (tag
|
|
859
|
+
if (tag !== 96) {
|
|
732
860
|
break;
|
|
733
861
|
}
|
|
734
862
|
message.display = reader.int32();
|
|
735
863
|
continue;
|
|
736
864
|
case 13:
|
|
737
|
-
if (tag
|
|
865
|
+
if (tag !== 104) {
|
|
738
866
|
break;
|
|
739
867
|
}
|
|
740
868
|
message.flexBasisUnit = reader.int32();
|
|
741
869
|
continue;
|
|
742
870
|
case 14:
|
|
743
|
-
if (tag
|
|
871
|
+
if (tag !== 117) {
|
|
744
872
|
break;
|
|
745
873
|
}
|
|
746
874
|
message.flexBasis = reader.float();
|
|
747
875
|
continue;
|
|
748
876
|
case 15:
|
|
749
|
-
if (tag
|
|
877
|
+
if (tag !== 125) {
|
|
750
878
|
break;
|
|
751
879
|
}
|
|
752
880
|
message.flexGrow = reader.float();
|
|
753
881
|
continue;
|
|
754
882
|
case 16:
|
|
755
|
-
if (tag
|
|
883
|
+
if (tag !== 128) {
|
|
756
884
|
break;
|
|
757
885
|
}
|
|
758
886
|
message.widthUnit = reader.int32();
|
|
759
887
|
continue;
|
|
760
888
|
case 17:
|
|
761
|
-
if (tag
|
|
889
|
+
if (tag !== 141) {
|
|
762
890
|
break;
|
|
763
891
|
}
|
|
764
892
|
message.width = reader.float();
|
|
765
893
|
continue;
|
|
766
894
|
case 18:
|
|
767
|
-
if (tag
|
|
895
|
+
if (tag !== 144) {
|
|
768
896
|
break;
|
|
769
897
|
}
|
|
770
898
|
message.heightUnit = reader.int32();
|
|
771
899
|
continue;
|
|
772
900
|
case 19:
|
|
773
|
-
if (tag
|
|
901
|
+
if (tag !== 157) {
|
|
774
902
|
break;
|
|
775
903
|
}
|
|
776
904
|
message.height = reader.float();
|
|
777
905
|
continue;
|
|
778
906
|
case 20:
|
|
779
|
-
if (tag
|
|
907
|
+
if (tag !== 160) {
|
|
780
908
|
break;
|
|
781
909
|
}
|
|
782
910
|
message.minWidthUnit = reader.int32();
|
|
783
911
|
continue;
|
|
784
912
|
case 21:
|
|
785
|
-
if (tag
|
|
913
|
+
if (tag !== 173) {
|
|
786
914
|
break;
|
|
787
915
|
}
|
|
788
916
|
message.minWidth = reader.float();
|
|
789
917
|
continue;
|
|
790
918
|
case 22:
|
|
791
|
-
if (tag
|
|
919
|
+
if (tag !== 176) {
|
|
792
920
|
break;
|
|
793
921
|
}
|
|
794
922
|
message.minHeightUnit = reader.int32();
|
|
795
923
|
continue;
|
|
796
924
|
case 23:
|
|
797
|
-
if (tag
|
|
925
|
+
if (tag !== 189) {
|
|
798
926
|
break;
|
|
799
927
|
}
|
|
800
928
|
message.minHeight = reader.float();
|
|
801
929
|
continue;
|
|
802
930
|
case 24:
|
|
803
|
-
if (tag
|
|
931
|
+
if (tag !== 192) {
|
|
804
932
|
break;
|
|
805
933
|
}
|
|
806
934
|
message.maxWidthUnit = reader.int32();
|
|
807
935
|
continue;
|
|
808
936
|
case 25:
|
|
809
|
-
if (tag
|
|
937
|
+
if (tag !== 205) {
|
|
810
938
|
break;
|
|
811
939
|
}
|
|
812
940
|
message.maxWidth = reader.float();
|
|
813
941
|
continue;
|
|
814
942
|
case 26:
|
|
815
|
-
if (tag
|
|
943
|
+
if (tag !== 208) {
|
|
816
944
|
break;
|
|
817
945
|
}
|
|
818
946
|
message.maxHeightUnit = reader.int32();
|
|
819
947
|
continue;
|
|
820
948
|
case 27:
|
|
821
|
-
if (tag
|
|
949
|
+
if (tag !== 221) {
|
|
822
950
|
break;
|
|
823
951
|
}
|
|
824
952
|
message.maxHeight = reader.float();
|
|
825
953
|
continue;
|
|
826
954
|
case 28:
|
|
827
|
-
if (tag
|
|
955
|
+
if (tag !== 224) {
|
|
828
956
|
break;
|
|
829
957
|
}
|
|
830
958
|
message.positionLeftUnit = reader.int32();
|
|
831
959
|
continue;
|
|
832
960
|
case 29:
|
|
833
|
-
if (tag
|
|
961
|
+
if (tag !== 237) {
|
|
834
962
|
break;
|
|
835
963
|
}
|
|
836
964
|
message.positionLeft = reader.float();
|
|
837
965
|
continue;
|
|
838
966
|
case 30:
|
|
839
|
-
if (tag
|
|
967
|
+
if (tag !== 240) {
|
|
840
968
|
break;
|
|
841
969
|
}
|
|
842
970
|
message.positionTopUnit = reader.int32();
|
|
843
971
|
continue;
|
|
844
972
|
case 31:
|
|
845
|
-
if (tag
|
|
973
|
+
if (tag !== 253) {
|
|
846
974
|
break;
|
|
847
975
|
}
|
|
848
976
|
message.positionTop = reader.float();
|
|
849
977
|
continue;
|
|
850
978
|
case 32:
|
|
851
|
-
if (tag
|
|
979
|
+
if (tag !== 256) {
|
|
852
980
|
break;
|
|
853
981
|
}
|
|
854
982
|
message.positionRightUnit = reader.int32();
|
|
855
983
|
continue;
|
|
856
984
|
case 33:
|
|
857
|
-
if (tag
|
|
985
|
+
if (tag !== 269) {
|
|
858
986
|
break;
|
|
859
987
|
}
|
|
860
988
|
message.positionRight = reader.float();
|
|
861
989
|
continue;
|
|
862
990
|
case 34:
|
|
863
|
-
if (tag
|
|
991
|
+
if (tag !== 272) {
|
|
864
992
|
break;
|
|
865
993
|
}
|
|
866
994
|
message.positionBottomUnit = reader.int32();
|
|
867
995
|
continue;
|
|
868
996
|
case 35:
|
|
869
|
-
if (tag
|
|
997
|
+
if (tag !== 285) {
|
|
870
998
|
break;
|
|
871
999
|
}
|
|
872
1000
|
message.positionBottom = reader.float();
|
|
873
1001
|
continue;
|
|
874
1002
|
case 36:
|
|
875
|
-
if (tag
|
|
1003
|
+
if (tag !== 288) {
|
|
876
1004
|
break;
|
|
877
1005
|
}
|
|
878
1006
|
message.marginLeftUnit = reader.int32();
|
|
879
1007
|
continue;
|
|
880
1008
|
case 37:
|
|
881
|
-
if (tag
|
|
1009
|
+
if (tag !== 301) {
|
|
882
1010
|
break;
|
|
883
1011
|
}
|
|
884
1012
|
message.marginLeft = reader.float();
|
|
885
1013
|
continue;
|
|
886
1014
|
case 38:
|
|
887
|
-
if (tag
|
|
1015
|
+
if (tag !== 304) {
|
|
888
1016
|
break;
|
|
889
1017
|
}
|
|
890
1018
|
message.marginTopUnit = reader.int32();
|
|
891
1019
|
continue;
|
|
892
1020
|
case 39:
|
|
893
|
-
if (tag
|
|
1021
|
+
if (tag !== 317) {
|
|
894
1022
|
break;
|
|
895
1023
|
}
|
|
896
1024
|
message.marginTop = reader.float();
|
|
897
1025
|
continue;
|
|
898
1026
|
case 40:
|
|
899
|
-
if (tag
|
|
1027
|
+
if (tag !== 320) {
|
|
900
1028
|
break;
|
|
901
1029
|
}
|
|
902
1030
|
message.marginRightUnit = reader.int32();
|
|
903
1031
|
continue;
|
|
904
1032
|
case 41:
|
|
905
|
-
if (tag
|
|
1033
|
+
if (tag !== 333) {
|
|
906
1034
|
break;
|
|
907
1035
|
}
|
|
908
1036
|
message.marginRight = reader.float();
|
|
909
1037
|
continue;
|
|
910
1038
|
case 42:
|
|
911
|
-
if (tag
|
|
1039
|
+
if (tag !== 336) {
|
|
912
1040
|
break;
|
|
913
1041
|
}
|
|
914
1042
|
message.marginBottomUnit = reader.int32();
|
|
915
1043
|
continue;
|
|
916
1044
|
case 43:
|
|
917
|
-
if (tag
|
|
1045
|
+
if (tag !== 349) {
|
|
918
1046
|
break;
|
|
919
1047
|
}
|
|
920
1048
|
message.marginBottom = reader.float();
|
|
921
1049
|
continue;
|
|
922
1050
|
case 44:
|
|
923
|
-
if (tag
|
|
1051
|
+
if (tag !== 352) {
|
|
924
1052
|
break;
|
|
925
1053
|
}
|
|
926
1054
|
message.paddingLeftUnit = reader.int32();
|
|
927
1055
|
continue;
|
|
928
1056
|
case 45:
|
|
929
|
-
if (tag
|
|
1057
|
+
if (tag !== 365) {
|
|
930
1058
|
break;
|
|
931
1059
|
}
|
|
932
1060
|
message.paddingLeft = reader.float();
|
|
933
1061
|
continue;
|
|
934
1062
|
case 46:
|
|
935
|
-
if (tag
|
|
1063
|
+
if (tag !== 368) {
|
|
936
1064
|
break;
|
|
937
1065
|
}
|
|
938
1066
|
message.paddingTopUnit = reader.int32();
|
|
939
1067
|
continue;
|
|
940
1068
|
case 47:
|
|
941
|
-
if (tag
|
|
1069
|
+
if (tag !== 381) {
|
|
942
1070
|
break;
|
|
943
1071
|
}
|
|
944
1072
|
message.paddingTop = reader.float();
|
|
945
1073
|
continue;
|
|
946
1074
|
case 48:
|
|
947
|
-
if (tag
|
|
1075
|
+
if (tag !== 384) {
|
|
948
1076
|
break;
|
|
949
1077
|
}
|
|
950
1078
|
message.paddingRightUnit = reader.int32();
|
|
951
1079
|
continue;
|
|
952
1080
|
case 49:
|
|
953
|
-
if (tag
|
|
1081
|
+
if (tag !== 397) {
|
|
954
1082
|
break;
|
|
955
1083
|
}
|
|
956
1084
|
message.paddingRight = reader.float();
|
|
957
1085
|
continue;
|
|
958
1086
|
case 50:
|
|
959
|
-
if (tag
|
|
1087
|
+
if (tag !== 400) {
|
|
960
1088
|
break;
|
|
961
1089
|
}
|
|
962
1090
|
message.paddingBottomUnit = reader.int32();
|
|
963
1091
|
continue;
|
|
964
1092
|
case 51:
|
|
965
|
-
if (tag
|
|
1093
|
+
if (tag !== 413) {
|
|
966
1094
|
break;
|
|
967
1095
|
}
|
|
968
1096
|
message.paddingBottom = reader.float();
|
|
969
1097
|
continue;
|
|
1098
|
+
case 52:
|
|
1099
|
+
if (tag !== 416) {
|
|
1100
|
+
break;
|
|
1101
|
+
}
|
|
1102
|
+
message.pointerFilter = reader.int32();
|
|
1103
|
+
continue;
|
|
1104
|
+
case 53:
|
|
1105
|
+
if (tag !== 424) {
|
|
1106
|
+
break;
|
|
1107
|
+
}
|
|
1108
|
+
message.borderLeftWidthUnit = reader.int32();
|
|
1109
|
+
continue;
|
|
1110
|
+
case 54:
|
|
1111
|
+
if (tag !== 437) {
|
|
1112
|
+
break;
|
|
1113
|
+
}
|
|
1114
|
+
message.borderLeftWidth = reader.float();
|
|
1115
|
+
continue;
|
|
1116
|
+
case 55:
|
|
1117
|
+
if (tag !== 440) {
|
|
1118
|
+
break;
|
|
1119
|
+
}
|
|
1120
|
+
message.borderTopWidthUnit = reader.int32();
|
|
1121
|
+
continue;
|
|
1122
|
+
case 56:
|
|
1123
|
+
if (tag !== 453) {
|
|
1124
|
+
break;
|
|
1125
|
+
}
|
|
1126
|
+
message.borderTopWidth = reader.float();
|
|
1127
|
+
continue;
|
|
1128
|
+
case 57:
|
|
1129
|
+
if (tag !== 456) {
|
|
1130
|
+
break;
|
|
1131
|
+
}
|
|
1132
|
+
message.borderRightWidthUnit = reader.int32();
|
|
1133
|
+
continue;
|
|
1134
|
+
case 58:
|
|
1135
|
+
if (tag !== 469) {
|
|
1136
|
+
break;
|
|
1137
|
+
}
|
|
1138
|
+
message.borderRightWidth = reader.float();
|
|
1139
|
+
continue;
|
|
1140
|
+
case 59:
|
|
1141
|
+
if (tag !== 472) {
|
|
1142
|
+
break;
|
|
1143
|
+
}
|
|
1144
|
+
message.borderBottomWidthUnit = reader.int32();
|
|
1145
|
+
continue;
|
|
1146
|
+
case 60:
|
|
1147
|
+
if (tag !== 485) {
|
|
1148
|
+
break;
|
|
1149
|
+
}
|
|
1150
|
+
message.borderBottomWidth = reader.float();
|
|
1151
|
+
continue;
|
|
1152
|
+
case 61:
|
|
1153
|
+
if (tag !== 488) {
|
|
1154
|
+
break;
|
|
1155
|
+
}
|
|
1156
|
+
message.borderTopLeftRadiusUnit = reader.int32();
|
|
1157
|
+
continue;
|
|
1158
|
+
case 62:
|
|
1159
|
+
if (tag !== 501) {
|
|
1160
|
+
break;
|
|
1161
|
+
}
|
|
1162
|
+
message.borderTopLeftRadius = reader.float();
|
|
1163
|
+
continue;
|
|
1164
|
+
case 63:
|
|
1165
|
+
if (tag !== 504) {
|
|
1166
|
+
break;
|
|
1167
|
+
}
|
|
1168
|
+
message.borderTopRightRadiusUnit = reader.int32();
|
|
1169
|
+
continue;
|
|
1170
|
+
case 64:
|
|
1171
|
+
if (tag !== 517) {
|
|
1172
|
+
break;
|
|
1173
|
+
}
|
|
1174
|
+
message.borderTopRightRadius = reader.float();
|
|
1175
|
+
continue;
|
|
1176
|
+
case 65:
|
|
1177
|
+
if (tag !== 520) {
|
|
1178
|
+
break;
|
|
1179
|
+
}
|
|
1180
|
+
message.borderBottomLeftRadiusUnit = reader.int32();
|
|
1181
|
+
continue;
|
|
1182
|
+
case 66:
|
|
1183
|
+
if (tag !== 533) {
|
|
1184
|
+
break;
|
|
1185
|
+
}
|
|
1186
|
+
message.borderBottomLeftRadius = reader.float();
|
|
1187
|
+
continue;
|
|
1188
|
+
case 67:
|
|
1189
|
+
if (tag !== 536) {
|
|
1190
|
+
break;
|
|
1191
|
+
}
|
|
1192
|
+
message.borderBottomRightRadiusUnit = reader.int32();
|
|
1193
|
+
continue;
|
|
1194
|
+
case 68:
|
|
1195
|
+
if (tag !== 549) {
|
|
1196
|
+
break;
|
|
1197
|
+
}
|
|
1198
|
+
message.borderBottomRightRadius = reader.float();
|
|
1199
|
+
continue;
|
|
1200
|
+
case 69:
|
|
1201
|
+
if (tag !== 554) {
|
|
1202
|
+
break;
|
|
1203
|
+
}
|
|
1204
|
+
message.borderTopColor = colors_gen_1.Color4.decode(reader, reader.uint32());
|
|
1205
|
+
continue;
|
|
1206
|
+
case 70:
|
|
1207
|
+
if (tag !== 562) {
|
|
1208
|
+
break;
|
|
1209
|
+
}
|
|
1210
|
+
message.borderBottomColor = colors_gen_1.Color4.decode(reader, reader.uint32());
|
|
1211
|
+
continue;
|
|
1212
|
+
case 71:
|
|
1213
|
+
if (tag !== 570) {
|
|
1214
|
+
break;
|
|
1215
|
+
}
|
|
1216
|
+
message.borderLeftColor = colors_gen_1.Color4.decode(reader, reader.uint32());
|
|
1217
|
+
continue;
|
|
1218
|
+
case 72:
|
|
1219
|
+
if (tag !== 578) {
|
|
1220
|
+
break;
|
|
1221
|
+
}
|
|
1222
|
+
message.borderRightColor = colors_gen_1.Color4.decode(reader, reader.uint32());
|
|
1223
|
+
continue;
|
|
1224
|
+
case 73:
|
|
1225
|
+
if (tag !== 589) {
|
|
1226
|
+
break;
|
|
1227
|
+
}
|
|
1228
|
+
message.opacity = reader.float();
|
|
1229
|
+
continue;
|
|
1230
|
+
case 77:
|
|
1231
|
+
if (tag !== 616) {
|
|
1232
|
+
break;
|
|
1233
|
+
}
|
|
1234
|
+
message.zIndex = reader.int32();
|
|
1235
|
+
continue;
|
|
970
1236
|
}
|
|
971
|
-
if ((tag & 7)
|
|
1237
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
972
1238
|
break;
|
|
973
1239
|
}
|
|
974
1240
|
reader.skipType(tag & 7);
|
|
975
1241
|
}
|
|
976
1242
|
return message;
|
|
977
|
-
}
|
|
978
|
-
|
|
1243
|
+
}
|
|
1244
|
+
PBUiTransform.decode = decode;
|
|
1245
|
+
function fromJSON(object) {
|
|
979
1246
|
return {
|
|
980
1247
|
parent: isSet(object.parent) ? Number(object.parent) : 0,
|
|
981
1248
|
rightOf: isSet(object.rightOf) ? Number(object.rightOf) : 0,
|
|
@@ -1028,9 +1295,47 @@ exports.PBUiTransform = {
|
|
|
1028
1295
|
paddingRight: isSet(object.paddingRight) ? Number(object.paddingRight) : 0,
|
|
1029
1296
|
paddingBottomUnit: isSet(object.paddingBottomUnit) ? yGUnitFromJSON(object.paddingBottomUnit) : 0,
|
|
1030
1297
|
paddingBottom: isSet(object.paddingBottom) ? Number(object.paddingBottom) : 0,
|
|
1298
|
+
pointerFilter: isSet(object.pointerFilter) ? pointerFilterModeFromJSON(object.pointerFilter) : undefined,
|
|
1299
|
+
borderLeftWidthUnit: isSet(object.borderLeftWidthUnit) ? yGUnitFromJSON(object.borderLeftWidthUnit) : undefined,
|
|
1300
|
+
borderLeftWidth: isSet(object.borderLeftWidth) ? Number(object.borderLeftWidth) : undefined,
|
|
1301
|
+
borderTopWidthUnit: isSet(object.borderTopWidthUnit) ? yGUnitFromJSON(object.borderTopWidthUnit) : undefined,
|
|
1302
|
+
borderTopWidth: isSet(object.borderTopWidth) ? Number(object.borderTopWidth) : undefined,
|
|
1303
|
+
borderRightWidthUnit: isSet(object.borderRightWidthUnit)
|
|
1304
|
+
? yGUnitFromJSON(object.borderRightWidthUnit)
|
|
1305
|
+
: undefined,
|
|
1306
|
+
borderRightWidth: isSet(object.borderRightWidth) ? Number(object.borderRightWidth) : undefined,
|
|
1307
|
+
borderBottomWidthUnit: isSet(object.borderBottomWidthUnit)
|
|
1308
|
+
? yGUnitFromJSON(object.borderBottomWidthUnit)
|
|
1309
|
+
: undefined,
|
|
1310
|
+
borderBottomWidth: isSet(object.borderBottomWidth) ? Number(object.borderBottomWidth) : undefined,
|
|
1311
|
+
borderTopLeftRadiusUnit: isSet(object.borderTopLeftRadiusUnit)
|
|
1312
|
+
? yGUnitFromJSON(object.borderTopLeftRadiusUnit)
|
|
1313
|
+
: undefined,
|
|
1314
|
+
borderTopLeftRadius: isSet(object.borderTopLeftRadius) ? Number(object.borderTopLeftRadius) : undefined,
|
|
1315
|
+
borderTopRightRadiusUnit: isSet(object.borderTopRightRadiusUnit)
|
|
1316
|
+
? yGUnitFromJSON(object.borderTopRightRadiusUnit)
|
|
1317
|
+
: undefined,
|
|
1318
|
+
borderTopRightRadius: isSet(object.borderTopRightRadius) ? Number(object.borderTopRightRadius) : undefined,
|
|
1319
|
+
borderBottomLeftRadiusUnit: isSet(object.borderBottomLeftRadiusUnit)
|
|
1320
|
+
? yGUnitFromJSON(object.borderBottomLeftRadiusUnit)
|
|
1321
|
+
: undefined,
|
|
1322
|
+
borderBottomLeftRadius: isSet(object.borderBottomLeftRadius) ? Number(object.borderBottomLeftRadius) : undefined,
|
|
1323
|
+
borderBottomRightRadiusUnit: isSet(object.borderBottomRightRadiusUnit)
|
|
1324
|
+
? yGUnitFromJSON(object.borderBottomRightRadiusUnit)
|
|
1325
|
+
: undefined,
|
|
1326
|
+
borderBottomRightRadius: isSet(object.borderBottomRightRadius)
|
|
1327
|
+
? Number(object.borderBottomRightRadius)
|
|
1328
|
+
: undefined,
|
|
1329
|
+
borderTopColor: isSet(object.borderTopColor) ? colors_gen_1.Color4.fromJSON(object.borderTopColor) : undefined,
|
|
1330
|
+
borderBottomColor: isSet(object.borderBottomColor) ? colors_gen_1.Color4.fromJSON(object.borderBottomColor) : undefined,
|
|
1331
|
+
borderLeftColor: isSet(object.borderLeftColor) ? colors_gen_1.Color4.fromJSON(object.borderLeftColor) : undefined,
|
|
1332
|
+
borderRightColor: isSet(object.borderRightColor) ? colors_gen_1.Color4.fromJSON(object.borderRightColor) : undefined,
|
|
1333
|
+
opacity: isSet(object.opacity) ? Number(object.opacity) : undefined,
|
|
1334
|
+
zIndex: isSet(object.zIndex) ? Number(object.zIndex) : undefined,
|
|
1031
1335
|
};
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1336
|
+
}
|
|
1337
|
+
PBUiTransform.fromJSON = fromJSON;
|
|
1338
|
+
function toJSON(message) {
|
|
1034
1339
|
const obj = {};
|
|
1035
1340
|
message.parent !== undefined && (obj.parent = Math.round(message.parent));
|
|
1036
1341
|
message.rightOf !== undefined && (obj.rightOf = Math.round(message.rightOf));
|
|
@@ -1086,13 +1391,69 @@ exports.PBUiTransform = {
|
|
|
1086
1391
|
message.paddingRight !== undefined && (obj.paddingRight = message.paddingRight);
|
|
1087
1392
|
message.paddingBottomUnit !== undefined && (obj.paddingBottomUnit = yGUnitToJSON(message.paddingBottomUnit));
|
|
1088
1393
|
message.paddingBottom !== undefined && (obj.paddingBottom = message.paddingBottom);
|
|
1394
|
+
message.pointerFilter !== undefined &&
|
|
1395
|
+
(obj.pointerFilter = message.pointerFilter !== undefined
|
|
1396
|
+
? pointerFilterModeToJSON(message.pointerFilter)
|
|
1397
|
+
: undefined);
|
|
1398
|
+
message.borderLeftWidthUnit !== undefined &&
|
|
1399
|
+
(obj.borderLeftWidthUnit = message.borderLeftWidthUnit !== undefined
|
|
1400
|
+
? yGUnitToJSON(message.borderLeftWidthUnit)
|
|
1401
|
+
: undefined);
|
|
1402
|
+
message.borderLeftWidth !== undefined && (obj.borderLeftWidth = message.borderLeftWidth);
|
|
1403
|
+
message.borderTopWidthUnit !== undefined &&
|
|
1404
|
+
(obj.borderTopWidthUnit = message.borderTopWidthUnit !== undefined
|
|
1405
|
+
? yGUnitToJSON(message.borderTopWidthUnit)
|
|
1406
|
+
: undefined);
|
|
1407
|
+
message.borderTopWidth !== undefined && (obj.borderTopWidth = message.borderTopWidth);
|
|
1408
|
+
message.borderRightWidthUnit !== undefined &&
|
|
1409
|
+
(obj.borderRightWidthUnit = message.borderRightWidthUnit !== undefined
|
|
1410
|
+
? yGUnitToJSON(message.borderRightWidthUnit)
|
|
1411
|
+
: undefined);
|
|
1412
|
+
message.borderRightWidth !== undefined && (obj.borderRightWidth = message.borderRightWidth);
|
|
1413
|
+
message.borderBottomWidthUnit !== undefined &&
|
|
1414
|
+
(obj.borderBottomWidthUnit = message.borderBottomWidthUnit !== undefined
|
|
1415
|
+
? yGUnitToJSON(message.borderBottomWidthUnit)
|
|
1416
|
+
: undefined);
|
|
1417
|
+
message.borderBottomWidth !== undefined && (obj.borderBottomWidth = message.borderBottomWidth);
|
|
1418
|
+
message.borderTopLeftRadiusUnit !== undefined &&
|
|
1419
|
+
(obj.borderTopLeftRadiusUnit = message.borderTopLeftRadiusUnit !== undefined
|
|
1420
|
+
? yGUnitToJSON(message.borderTopLeftRadiusUnit)
|
|
1421
|
+
: undefined);
|
|
1422
|
+
message.borderTopLeftRadius !== undefined && (obj.borderTopLeftRadius = message.borderTopLeftRadius);
|
|
1423
|
+
message.borderTopRightRadiusUnit !== undefined &&
|
|
1424
|
+
(obj.borderTopRightRadiusUnit = message.borderTopRightRadiusUnit !== undefined
|
|
1425
|
+
? yGUnitToJSON(message.borderTopRightRadiusUnit)
|
|
1426
|
+
: undefined);
|
|
1427
|
+
message.borderTopRightRadius !== undefined && (obj.borderTopRightRadius = message.borderTopRightRadius);
|
|
1428
|
+
message.borderBottomLeftRadiusUnit !== undefined &&
|
|
1429
|
+
(obj.borderBottomLeftRadiusUnit = message.borderBottomLeftRadiusUnit !== undefined
|
|
1430
|
+
? yGUnitToJSON(message.borderBottomLeftRadiusUnit)
|
|
1431
|
+
: undefined);
|
|
1432
|
+
message.borderBottomLeftRadius !== undefined && (obj.borderBottomLeftRadius = message.borderBottomLeftRadius);
|
|
1433
|
+
message.borderBottomRightRadiusUnit !== undefined &&
|
|
1434
|
+
(obj.borderBottomRightRadiusUnit = message.borderBottomRightRadiusUnit !== undefined
|
|
1435
|
+
? yGUnitToJSON(message.borderBottomRightRadiusUnit)
|
|
1436
|
+
: undefined);
|
|
1437
|
+
message.borderBottomRightRadius !== undefined && (obj.borderBottomRightRadius = message.borderBottomRightRadius);
|
|
1438
|
+
message.borderTopColor !== undefined &&
|
|
1439
|
+
(obj.borderTopColor = message.borderTopColor ? colors_gen_1.Color4.toJSON(message.borderTopColor) : undefined);
|
|
1440
|
+
message.borderBottomColor !== undefined &&
|
|
1441
|
+
(obj.borderBottomColor = message.borderBottomColor ? colors_gen_1.Color4.toJSON(message.borderBottomColor) : undefined);
|
|
1442
|
+
message.borderLeftColor !== undefined &&
|
|
1443
|
+
(obj.borderLeftColor = message.borderLeftColor ? colors_gen_1.Color4.toJSON(message.borderLeftColor) : undefined);
|
|
1444
|
+
message.borderRightColor !== undefined &&
|
|
1445
|
+
(obj.borderRightColor = message.borderRightColor ? colors_gen_1.Color4.toJSON(message.borderRightColor) : undefined);
|
|
1446
|
+
message.opacity !== undefined && (obj.opacity = message.opacity);
|
|
1447
|
+
message.zIndex !== undefined && (obj.zIndex = Math.round(message.zIndex));
|
|
1089
1448
|
return obj;
|
|
1090
|
-
}
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1449
|
+
}
|
|
1450
|
+
PBUiTransform.toJSON = toJSON;
|
|
1451
|
+
function create(base) {
|
|
1452
|
+
return PBUiTransform.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1453
|
+
}
|
|
1454
|
+
PBUiTransform.create = create;
|
|
1455
|
+
function fromPartial(object) {
|
|
1456
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45;
|
|
1096
1457
|
const message = createBasePBUiTransform();
|
|
1097
1458
|
message.parent = (_a = object.parent) !== null && _a !== void 0 ? _a : 0;
|
|
1098
1459
|
message.rightOf = (_b = object.rightOf) !== null && _b !== void 0 ? _b : 0;
|
|
@@ -1145,9 +1506,41 @@ exports.PBUiTransform = {
|
|
|
1145
1506
|
message.paddingRight = (_24 = object.paddingRight) !== null && _24 !== void 0 ? _24 : 0;
|
|
1146
1507
|
message.paddingBottomUnit = (_25 = object.paddingBottomUnit) !== null && _25 !== void 0 ? _25 : 0;
|
|
1147
1508
|
message.paddingBottom = (_26 = object.paddingBottom) !== null && _26 !== void 0 ? _26 : 0;
|
|
1509
|
+
message.pointerFilter = (_27 = object.pointerFilter) !== null && _27 !== void 0 ? _27 : undefined;
|
|
1510
|
+
message.borderLeftWidthUnit = (_28 = object.borderLeftWidthUnit) !== null && _28 !== void 0 ? _28 : undefined;
|
|
1511
|
+
message.borderLeftWidth = (_29 = object.borderLeftWidth) !== null && _29 !== void 0 ? _29 : undefined;
|
|
1512
|
+
message.borderTopWidthUnit = (_30 = object.borderTopWidthUnit) !== null && _30 !== void 0 ? _30 : undefined;
|
|
1513
|
+
message.borderTopWidth = (_31 = object.borderTopWidth) !== null && _31 !== void 0 ? _31 : undefined;
|
|
1514
|
+
message.borderRightWidthUnit = (_32 = object.borderRightWidthUnit) !== null && _32 !== void 0 ? _32 : undefined;
|
|
1515
|
+
message.borderRightWidth = (_33 = object.borderRightWidth) !== null && _33 !== void 0 ? _33 : undefined;
|
|
1516
|
+
message.borderBottomWidthUnit = (_34 = object.borderBottomWidthUnit) !== null && _34 !== void 0 ? _34 : undefined;
|
|
1517
|
+
message.borderBottomWidth = (_35 = object.borderBottomWidth) !== null && _35 !== void 0 ? _35 : undefined;
|
|
1518
|
+
message.borderTopLeftRadiusUnit = (_36 = object.borderTopLeftRadiusUnit) !== null && _36 !== void 0 ? _36 : undefined;
|
|
1519
|
+
message.borderTopLeftRadius = (_37 = object.borderTopLeftRadius) !== null && _37 !== void 0 ? _37 : undefined;
|
|
1520
|
+
message.borderTopRightRadiusUnit = (_38 = object.borderTopRightRadiusUnit) !== null && _38 !== void 0 ? _38 : undefined;
|
|
1521
|
+
message.borderTopRightRadius = (_39 = object.borderTopRightRadius) !== null && _39 !== void 0 ? _39 : undefined;
|
|
1522
|
+
message.borderBottomLeftRadiusUnit = (_40 = object.borderBottomLeftRadiusUnit) !== null && _40 !== void 0 ? _40 : undefined;
|
|
1523
|
+
message.borderBottomLeftRadius = (_41 = object.borderBottomLeftRadius) !== null && _41 !== void 0 ? _41 : undefined;
|
|
1524
|
+
message.borderBottomRightRadiusUnit = (_42 = object.borderBottomRightRadiusUnit) !== null && _42 !== void 0 ? _42 : undefined;
|
|
1525
|
+
message.borderBottomRightRadius = (_43 = object.borderBottomRightRadius) !== null && _43 !== void 0 ? _43 : undefined;
|
|
1526
|
+
message.borderTopColor = (object.borderTopColor !== undefined && object.borderTopColor !== null)
|
|
1527
|
+
? colors_gen_1.Color4.fromPartial(object.borderTopColor)
|
|
1528
|
+
: undefined;
|
|
1529
|
+
message.borderBottomColor = (object.borderBottomColor !== undefined && object.borderBottomColor !== null)
|
|
1530
|
+
? colors_gen_1.Color4.fromPartial(object.borderBottomColor)
|
|
1531
|
+
: undefined;
|
|
1532
|
+
message.borderLeftColor = (object.borderLeftColor !== undefined && object.borderLeftColor !== null)
|
|
1533
|
+
? colors_gen_1.Color4.fromPartial(object.borderLeftColor)
|
|
1534
|
+
: undefined;
|
|
1535
|
+
message.borderRightColor = (object.borderRightColor !== undefined && object.borderRightColor !== null)
|
|
1536
|
+
? colors_gen_1.Color4.fromPartial(object.borderRightColor)
|
|
1537
|
+
: undefined;
|
|
1538
|
+
message.opacity = (_44 = object.opacity) !== null && _44 !== void 0 ? _44 : undefined;
|
|
1539
|
+
message.zIndex = (_45 = object.zIndex) !== null && _45 !== void 0 ? _45 : undefined;
|
|
1148
1540
|
return message;
|
|
1149
|
-
}
|
|
1150
|
-
|
|
1541
|
+
}
|
|
1542
|
+
PBUiTransform.fromPartial = fromPartial;
|
|
1543
|
+
})(PBUiTransform || (exports.PBUiTransform = PBUiTransform = {}));
|
|
1151
1544
|
function isSet(value) {
|
|
1152
1545
|
return value !== null && value !== undefined;
|
|
1153
1546
|
}
|