Pull down IResourceDestination.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using Cryville.Crtr.Browsing.Actions;
|
||||
using Cryville.Crtr.Skin;
|
||||
using Newtonsoft.Json;
|
||||
using System.IO;
|
||||
@@ -6,7 +7,7 @@ namespace Cryville.Crtr.Browsing.Legacy {
|
||||
internal class LegacySkinResourceManager : LegacyResourceManager<LegacySkinDetail> {
|
||||
protected override string Extension { get { return ".umgs"; } }
|
||||
|
||||
public LegacySkinResourceManager(string rootPath) : base(rootPath) { }
|
||||
public LegacySkinResourceManager(LegacyResourceStore store) : base(store) { }
|
||||
|
||||
protected override string GetSubRootPath(string rootPath) {
|
||||
return Path.Combine(rootPath, "skins");
|
||||
@@ -23,5 +24,9 @@ namespace Cryville.Crtr.Browsing.Legacy {
|
||||
else
|
||||
return new LegacySkinDetail { OverrideName = dir.Name };
|
||||
}
|
||||
|
||||
public override IResourceAction GetImportAction() {
|
||||
return _store.ImportAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user