internal MpqBlockEntry(long offset, uint compressedSize, uint uncompressedSize, uint flags, ref uint fileIndex) { this.Offset = offset; this.CompressedSize = compressedSize; this.UncompressedSize = uncompressedSize; this.Flags = unchecked((MpqFileFlags)flags); this.Name = ""; this.FileIndex = (this.Flags & MpqFileFlags.Exists) != 0 ? fileIndex++ : 0; this.Seed = 0; this.Listed = false; }