CASCExplorer.CASCHandlerBase.OpenRootFile C# (CSharp) 메소드

OpenRootFile() 보호된 메소드

protected OpenRootFile ( EncodingHandler enc, CASCHandlerBase casc ) : BinaryReader
enc EncodingHandler
casc CASCHandlerBase
리턴 System.IO.BinaryReader
        protected BinaryReader OpenRootFile(EncodingHandler enc, CASCHandlerBase casc)
        {
            EncodingEntry encInfo;

            if (!enc.GetEntry(casc.Config.RootMD5, out encInfo))
                throw new FileNotFoundException("encoding info for root file missing!");

            //ExtractFile(encInfo.Key, ".", "root");

            return new BinaryReader(casc.OpenFile(encInfo.Key));
        }