public static string GetAssetBundleFileName( ePlatformType osType, string fileName) { string url = GetABCacheURL(osType); return(AssetsCommon.BuildFileName(url, fileName)); }
public static string GetPackageFullFileName(ABPathInfo pathInfo, int index) { string assetPath = GetFenBaoPath(pathInfo); string fileName = PathConstant.FileName.GetPackage(pathInfo.Version, index); return(AssetsCommon.BuildFileName(assetPath, fileName)); }
public static string GetPackageFileName( ABPathInfo pathInfo, string fileName) { string url = GetFenBaoURL(pathInfo); return(AssetsCommon.BuildFileName(url, fileName)); }
public static string GetVersionListURL(ePlatformType osType) { string assetFolderName = PathConstant.FolderName.FILE_MANIFEST; string osFolderName = AssetsCommon.GetPlatformFolderName(osType); List <string> paths = new List <string>() { assetFolderName, osFolderName }; string url = AssetsCommon.BuildPath(URL, paths); return(AssetsCommon.BuildFileName(url, PathConstant.FileName.VERSION_LIST)); }
public static string GetABFile(string assetName) { ePlatformType osType = UnpackCommon.GetOsType(); string dataPath = Application.streamingAssetsPath; string osFolderName = AssetsCommon.GetPlatformFolderName(osType); List <string> folders = new List <string>() { osFolderName }; string path = AssetsCommon.BuildPath(dataPath, folders); if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } return(AssetsCommon.BuildFileName(path, assetName)); }
public static string GetFenBaoURL(ABPathInfo pathInfo) { string url = GetFileManifestURL(pathInfo); return(AssetsCommon.BuildFileName(url, PathConstant.FileName.FEN_BAO)); }
public static string GetVersionURL(ABPathInfo pathInfo) { string url = GetFileManifestURL(pathInfo); return(AssetsCommon.BuildFileName(url, PathConstant.FileName.VERSION)); }
public static string GetABAssetInfoURL(ABPathInfo pathInfo) { string url = GetFileManifestURL(pathInfo); return(AssetsCommon.BuildFileName(url, PathConstant.FileName.AB_ASSET_INFO)); }
public static string GetFenBaoFileName(ABPathInfo pathInfo) { string assetPath = GetFileManifestPath(pathInfo); return(AssetsCommon.BuildFileName(assetPath, PathConstant.FileName.FEN_BAO)); }
public static string GetVersionListFileName(ePlatformType osType) { string assetPath = GetVersionListPath(osType); return(AssetsCommon.BuildFileName(assetPath, PathConstant.FileName.VERSION_LIST)); }
public static string GetVersionFileName(ABPathInfo pathInfo) { string assetPath = GetFileManifestPath(pathInfo); return(AssetsCommon.BuildFileName(assetPath, PathConstant.FileName.VERSION)); }
public static string GetABAssetInfoFileName(ABPathInfo pathInfo) { string assetPath = GetFileManifestPath(pathInfo); return(AssetsCommon.BuildFileName(assetPath, PathConstant.FileName.AB_ASSET_INFO)); }