Пример #1
0
        private void ReadRawTextfile()
        {
            PkgFile pkgFile = Calculation.Hash2File(this._d2TextParam.EngFileHash);

            byte[] buffer = new PkgExtract().ToBuffer(pkgFile);
            this._d2TextMs = new MemoryStream(buffer);
        }
Пример #2
0
 public VoiceLines(string filename)
 {
     this._pkgFile = new PkgFile(filename);
     byte[] buffer = new PkgExtract().ToBuffer(this._pkgFile);
     this._vcms = new MemoryStream(buffer);
     this.StartProcess();
     this._vcms.Close();
 }
Пример #3
0
 public VoiceLines(uint voiceCollectionHash)
 {
     this._pkgFile = new PkgFile(voiceCollectionHash);
     byte[] buffer = new PkgExtract().ToBuffer(this._pkgFile);
     this._vcms = new MemoryStream(buffer);
     this.StartProcess();
     this._vcms.Close();
 }