Pull down IResourceDestination.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Cryville.Common.Unity;
|
||||
using Cryville.Common;
|
||||
using Cryville.Common.Unity;
|
||||
using Cryville.Crtr.Browsing.Actions;
|
||||
using Cryville.Crtr.Extension;
|
||||
using Newtonsoft.Json;
|
||||
using System.IO;
|
||||
@@ -9,7 +10,7 @@ namespace Cryville.Crtr.Browsing.Legacy {
|
||||
internal class LegacyChartResourceManager : LegacyResourceManager<LegacyChartDetail> {
|
||||
protected override string Extension { get { return ".umgc"; } }
|
||||
|
||||
public LegacyChartResourceManager(string rootPath) : base(rootPath) { }
|
||||
public LegacyChartResourceManager(LegacyResourceStore store) : base(store) { }
|
||||
|
||||
protected override string GetSubRootPath(string rootPath) {
|
||||
return Path.Combine(rootPath, "charts");
|
||||
@@ -37,5 +38,9 @@ namespace Cryville.Crtr.Browsing.Legacy {
|
||||
Meta = meta,
|
||||
};
|
||||
}
|
||||
|
||||
public override IResourceAction GetImportAction() {
|
||||
return _store.ImportAction;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user