// Copyright (c) 2025-2026 GeWuYou
// SPDX-License-Identifier: Apache-2.0
namespace GFramework.Game.Abstractions.UI;
///
/// 由页面视图实现,用于接收路由仲裁后的 UI 语义动作。
///
public interface IUiActionHandler
{
///
/// 处理一个 UI 语义动作。
///
/// 当前要处理的动作。
///
/// 如果页面已经完成处理则返回 ;
/// 返回 时,路由器仍会把声明捕获该动作视为已消费。
///
bool TryHandleUiAction(UiInputAction action);
}