using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TinaX.VFSKitInternal { /// /// 可自定义的 /// public class VFSCustomizable { private readonly TinaX.VFSKit.VFSKit mVFS; public VFSCustomizable(TinaX.VFSKit.VFSKit vfs) { mVFS = vfs; } /// /// Get download url of web asset. /// /// public void GetWebAssetUrl(TinaX.VFSKit.GetWebAssetDownloadUrlDelegate func) { mVFS.GetWebAssetUrl = func; } public void GetWebFilesHashUrl(TinaX.VFSKit.GetFileHashDownloadUrlDalegate func) { mVFS.GetWebFileHashBookUrl = func; } public void GetWebAssetBundleManifestUrl(TinaX.VFSKit.GetAssetBundleManifestDownloadUrlDalegate func) { mVFS.GetAssetBundleManifestDoanloadUrl = func; } } }