예제 #1
0
 internal WadEntry(Wad wad, ulong xxhash, int compressedSize, int uncompressedSize, WadEntryType entryType,
                   WadEntryChecksumType checksumType, byte[] checksum, string fileRedirection, uint dataOffset)
 {
     this._wad             = wad;
     this.XXHash           = xxhash;
     this.CompressedSize   = compressedSize;
     this.UncompressedSize = uncompressedSize;
     this.Type             = entryType;
     this.ChecksumType     = checksumType;
     this.Checksum         = checksum;
     this.FileRedirection  = fileRedirection;
     this._dataOffset      = dataOffset;
 }
예제 #2
0
 public WadEntryBuilder(WadEntryChecksumType checksumType)
 {
     this.ChecksumType = checksumType;
 }