示例#1
0
文件: GARC.cs 项目: wooddice/pkNX
 protected override void Initialize()
 {
     Reader.BaseStream.Position = 0;
     Header = new GARCHeader(Reader);
     FATO   = new FATO(Reader);
     FATB   = new FATB(Reader, Header.DataOffset);
 }
示例#2
0
文件: GARC.cs 项目: PMArkive/pkNX
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.

        public GARC(IReadOnlyList <string> files, GARCVersion version = GARCVersion.VER_6)
        {
            Header = new GARCHeader(version);
            FATO   = new FATO(files.Count);
            FATB   = new FATB(files);
            Files  = new byte[]?[files.Count];
        }
示例#3
0
文件: GARC.cs 项目: PMArkive/pkNX
 protected override void Initialize()
 {
     Reader !.BaseStream.Position = 0;
     Header = new GARCHeader(Reader);
     FATO   = new FATO(Reader);
     FATB   = new FATB(Reader, Header.DataOffset);
     Files  = new byte[]?[FATO.EntryCount];
 }