
namespace YooAsset
{
    internal interface IBundleQuery
    {
        /// <summary>
        /// 获取主资源包信息
        /// </summary>
        BundleInfo GetMainBundleInfo(AssetInfo assetInfo);

        /// <summary>
        /// 获取依赖的资源包信息集合
        /// </summary>
        BundleInfo[] GetDependBundleInfos(AssetInfo assetPath);

        /// <summary>
        /// 获取主资源包名称
        /// </summary>
        string GetMainBundleName(int bundleID);

        /// <summary>
        /// 获取主资源包名称
        /// </summary>
        string GetMainBundleName(AssetInfo assetInfo);

        /// <summary>
        /// 获取依赖的资源包名称集合
        /// </summary>
        string[] GetDependBundleNames(AssetInfo assetInfo);
    }
}