IBundleServices.cs 508 B

1234567891011121314151617181920212223242526
  1. 
  2. namespace YooAsset
  3. {
  4. internal interface IBundleServices
  5. {
  6. /// <summary>
  7. /// 获取资源包信息
  8. /// </summary>
  9. BundleInfo GetBundleInfo(AssetInfo assetInfo);
  10. /// <summary>
  11. /// 获取依赖的资源包信息集合
  12. /// </summary>
  13. BundleInfo[] GetAllDependBundleInfos(AssetInfo assetPath);
  14. /// <summary>
  15. /// 获取资源包名称
  16. /// </summary>
  17. string GetBundleName(int bundleID);
  18. /// <summary>
  19. /// 服务接口是否有效
  20. /// </summary>
  21. bool IsServicesValid();
  22. }
  23. }