File

data class File(val id: Int, val gameId: Int, val modId: Int, val isAvailable: Boolean, val displayName: String, val fileName: String, val releaseType: Int = 0, val fileStatus: Int = 0, val hashes: List<CfModModel.File.FileHash> = listOf(), val fileDate: String, val fileLength: Int, val downloadCount: Int, val fileSizeOnDisk: Int? = null, val downloadUrl: String? = null, val gameVersions: List<String> = listOf(), val sortableGameVersions: List<CfModModel.File.SortableGameVersion> = listOf(), val dependencies: List<CfModModel.File.FileDependency> = listOf(), val exposeAsAlternative: Boolean? = null, val parentProjectFileId: Int? = null, val alternateFileId: Int? = null, val isServerPack: Boolean? = null, val serverPackFileId: Int? = null, val isEarlyAccessContent: Boolean? = null, val earlyAccessEndDate: String? = null)

Constructors

Link copied to clipboard
constructor(id: Int, gameId: Int, modId: Int, isAvailable: Boolean, displayName: String, fileName: String, releaseType: Int = 0, fileStatus: Int = 0, hashes: List<CfModModel.File.FileHash> = listOf(), fileDate: String, fileLength: Int, downloadCount: Int, fileSizeOnDisk: Int? = null, downloadUrl: String? = null, gameVersions: List<String> = listOf(), sortableGameVersions: List<CfModModel.File.SortableGameVersion> = listOf(), dependencies: List<CfModModel.File.FileDependency> = listOf(), exposeAsAlternative: Boolean? = null, parentProjectFileId: Int? = null, alternateFileId: Int? = null, isServerPack: Boolean? = null, serverPackFileId: Int? = null, isEarlyAccessContent: Boolean? = null, earlyAccessEndDate: String? = null)

Types

Link copied to clipboard
data class FileDependency(val modId: Int, val relationType: Int)
Link copied to clipboard
data class FileHash(val value: String, val algo: Int)
Link copied to clipboard
data class SortableGameVersion(val gameVersionName: String, val gameVersionPadded: String, val gameVersion: String, val gameVersionReleaseDate: String, val gameVersionTypeId: Int? = null)

Properties

Link copied to clipboard
val alternateFileId: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val downloadUrl: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val fileSizeOnDisk: Int? = null
Link copied to clipboard
val fileStatus: Int = 0
Link copied to clipboard
val gameId: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val isServerPack: Boolean? = null
Link copied to clipboard
val modId: Int
Link copied to clipboard
Link copied to clipboard
val releaseType: Int = 0
Link copied to clipboard
val serverPackFileId: Int? = null