public bool LoadYird(string yirdName) { if (mIndexFile == null) { return(false); } return(mIndexFile.LoadYird(dir, yirdName)); }
public static ArchiveIndexFile LoadFromFile(string dir, string yirdName = null) { ArchiveIndexFile archiveIndexFile = new ArchiveIndexFile(); if (!archiveIndexFile.Load(dir)) { return(null); } archiveIndexFile.LoadYird(dir, yirdName); return(archiveIndexFile); }