recrownedgtk/RecrownedAthenaeum/Assets/NormalContentResolver.cs

19 lines
610 B
C#

namespace RecrownedAthenaeum.Assets
{
/// <summary>
/// A resolver that does nothing. Used for looking in the root by default.
/// </summary>
public class NormalAssetPathResolver : IAssetPathResolver
{
/// <summary>
/// Passes the path through without modification as this is the normal content resolver and is meant to just pass things on.
/// </summary>
/// <param name="contentPath">The path to modify.</param>
/// <returns></returns>
public string Modify(string contentPath)
{
return contentPath;
}
}
}