File Data
constructor(filename: String, filenameHash: ByteArray, flag: EnumSet<EDepotFileFlag>, size: Long, hash: ByteArray, linkTarget: String, encrypted: Boolean, numChunks: Int)
Initializes a new instance of the FileData class with specified values.
constructor(fileName: String = "", fileNameHash: ByteArray = byteArrayOf(), chunks: MutableList<ChunkData> = mutableListOf(), flags: EnumSet<EDepotFileFlag> = EnumSet.noneOf(EDepotFileFlag::class.java), totalSize: Long = 0, fileHash: ByteArray = byteArrayOf(), linkTarget: String? = null)
Initializes a new instance of the FileData class.
Parameters
file Name
Gets the name of the file.
file Name Hash
Gets SHA-1 hash of this file's name.
chunks
Gets the chunks that this file is composed of.
flags
Gets the file flags
total Size
Gets the total size of this file.
file Hash
Gets SHA-1 hash of this file.
link Target
Gets symlink target of this file.