예제 #1
0
        public bool LoadYird(string yirdName)
        {
            if (mIndexFile == null)
            {
                return(false);
            }

            return(mIndexFile.LoadYird(dir, yirdName));
        }
예제 #2
0
            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);
            }