GFramework/GFramework.Game.Abstractions/UI/IUiInteractionProfileProvider.cs
gewuyou ff553977e3 chore(license): 补齐 Apache-2.0 文件头治理
- 新增许可证文件头检查与修复脚本

- 补充维护者手动修复 PR 工作流和 CI 校验

- 更新贡献指南中的文件头说明

- 补齐仓库维护源码和配置文件的许可证声明
2026-05-03 19:39:49 +08:00

20 lines
621 B
C#

// Copyright (c) 2025-2026 GeWuYou
// SPDX-License-Identifier: Apache-2.0
using GFramework.Game.Abstractions.Enums;
namespace GFramework.Game.Abstractions.UI;
/// <summary>
/// 由页面视图实现,用于按运行时状态动态提供交互语义配置。
/// </summary>
public interface IUiInteractionProfileProvider
{
/// <summary>
/// 获取页面当前应使用的交互配置。
/// </summary>
/// <param name="layer">页面绑定的默认 UI 层级。</param>
/// <returns>当前页面的交互配置。</returns>
UiInteractionProfile GetUiInteractionProfile(UiLayer layer);
}