2018-12-05 05:37:05 +00:00
|
|
|
|
using RecrownedAthenaeum.ContentSystem;
|
2018-09-16 06:37:48 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2018-12-04 05:05:54 +00:00
|
|
|
|
namespace RecrownedAthenaeum.ContentResolvers
|
2018-09-16 06:37:48 +00:00
|
|
|
|
{
|
2018-10-30 23:29:54 +00:00
|
|
|
|
class FontContentResolver : IContentPathModifier
|
2018-09-16 06:37:48 +00:00
|
|
|
|
{
|
|
|
|
|
readonly ResolutionContentResolver rcr;
|
|
|
|
|
|
|
|
|
|
public FontContentResolver(ResolutionContentResolver rcr)
|
|
|
|
|
{
|
|
|
|
|
this.rcr = rcr;
|
|
|
|
|
}
|
|
|
|
|
|
2018-10-30 23:29:54 +00:00
|
|
|
|
public string Modify(string assetName)
|
2018-09-16 06:37:48 +00:00
|
|
|
|
{
|
2018-10-30 23:29:54 +00:00
|
|
|
|
return rcr.Modify("fonts/" + assetName);
|
2018-09-16 06:37:48 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|