namespace TinaX.VFSKit.Const
{
public static class VFSConst
{
public const string ServiceName = "TinaX.VFS";
public const string ConfigFileName = "VFSConfig";
public static string ConfigFilePath_Resources = $"{TinaX.Const.FrameworkConst.Framework_Configs_Folder_Path}/{ConfigFileName}";
public static string Config_WebVFS_URLs = $"{TinaX.Const.FrameworkConst.Framework_Configs_Folder_Path}/WebVFSUrl";
public const string Config_Runtime_FileName = "VFSConfig.json"; //在Runtime下,我们来加载这个
public static System.Type[] IgnoreType =
{
#if UNITY_EDITOR
typeof(UnityEditor.MonoScript),
typeof(UnityEditor.DefaultAsset),
#endif
};
public const string AssetBundleFilesHash_FileName = "files_hash.json";
///
/// vfs_data下,存放main package 中所有组的assetbundle的hash文件的目录名
///
public const string MainPackage_AssetBundle_Hash_Files_Folder = "Hashs";
public static readonly string AssetsHashFileName = "assets_hash.json";
public static readonly string ExtensionGroupAssetsHashFolderName = "ExtensionGroupAssetsHash";
///
/// vfs 主文件夹名
///
public const string VFS_FOLDER_MAIN = "vfs_root";
///
/// vfs 扩展包文件夹名
///
public const string VFS_FOLDER_EXTENSION = "vfs_extensions";
public const string VFS_FOLDER_DATA = "vfs_data";
public const string VFS_FOLDER_REMOTE = "vfs_remote";
public const string VFS_STREAMINGASSETS_PATH = "TinaX_VFS"; //Assets/StreamingAssets/TinaX_VFS
public const string AssetBundleManifestFileName = "VFSManifest.json";
public const string MainPackage_AssetBundleManifests_Folder = "Manifests";
///
/// 放在扩展组根目录下,表示扩展组信息的文件
///
public const string VFS_ExtensionGroupInfo_FileName = "group_info.json";
public const string PakcageVersionFileName = "package_version.json";
public const string BuildInfoFileName = "build_info.json";
public const string ExtensionGroup_GroupOption_FileName = "group_option.json";
public const string Patch_Info_FileName = "info.json";
public const string Patch_Record_FileName = "record.json";
public const string Patch_Assets_Folder_Name = "assets";
public const string Patch_File_Extension = ".xpk";
public const string Upgradable_Vesion_FileName = "virtual_disk_version.json";
}
}