Class AssetExtensions
public static class AssetExtensions
- Inheritance
-
AssetExtensions
- Inherited Members
Fields
ExcludedDirectories
public static readonly IReadOnlySet<string> ExcludedDirectories
Field Value
Map
public static readonly IReadOnlyDictionary<string, AssetCategory> Map
Field Value
Methods
IsPackedAsset(AssetCategory)
Returns true if assets of this category should be written to a .cecal archive.
Code files are excluded — game code is compiled to DLLs and loaded via .NET
assembly resolution, not the asset VFS.
public static bool IsPackedAsset(AssetCategory category)
Parameters
categoryAssetCategory
Returns
TryGetCategory(string, out AssetCategory)
Attempts to classify a file by its extension (case-insensitive).
public static bool TryGetCategory(string path, out AssetCategory category)
Parameters
pathstringcategoryAssetCategory