File Data
data class FileData(var fileName: String = "", var fileNameHash: ByteArray = byteArrayOf(), var chunks: MutableList<ChunkData> = mutableListOf(), var flags: EnumSet<EDepotFileFlag> = EnumSet.noneOf(EDepotFileFlag::class.java), var totalSize: Long = 0, var fileHash: ByteArray = byteArrayOf(), var linkTarget: String? = null)
Represents a single file within a manifest.
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.
Constructors
Link copied to clipboard
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.