recrownedgtk/RecrownedAthenaeum/ContentSystem/IContentPathResolver.cs

16 lines
522 B
C#

namespace RecrownedAthenaeum.ContentSystem
{
/// <summary>
/// Modifies the given path based on a name. Used to simplify long paths for the <see cref="ContentManagerController"/>
/// </summary>
public interface IContentPathResolver
{
/// <summary>
/// Returns the complete path with the content folder as root.
/// </summary>
/// <param name="contentPath">Is the asset's name</param>
/// <returns></returns>
string Modify(string contentPath);
}
}