Ejemplo n.º 1
0
 public WadEntry(string name, WadEntryType type, uint offset, byte compressionType, uint compressedLength, uint fullLength)
 {
     Name             = name;
     Offset           = offset;
     CompressionType  = compressionType;
     CompressedLength = compressedLength;
     Length           = fullLength;
     Type             = type;
 }
Ejemplo n.º 2
0
 internal WadEntry(Wad wad, ulong xxhash, int compressedSize, int uncompressedSize, WadEntryType entryType, byte[] sha, string fileRedirection, uint dataOffset)
 {
     this._wad             = wad;
     this.XXHash           = xxhash;
     this.CompressedSize   = compressedSize;
     this.UncompressedSize = uncompressedSize;
     this.Type             = entryType;
     this.SHA             = sha;
     this.FileRedirection = fileRedirection;
     this._dataOffset     = dataOffset;
 }