Beispiel #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;
 }
Beispiel #2
0
 public WadEntryBuilder(WadEntryChecksumType checksumType)
 {
     this.ChecksumType = checksumType;
 }