ContentDownloader

class ContentDownloader(val steamClient: SteamClient)

Constructors

Link copied to clipboard
constructor(steamClient: SteamClient)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun downloadApp(appId: Int, depotId: Int, installPath: String, stagingPath: String, branch: String = "public", maxDownloads: Int = 8, progressCallback: ProgressCallback? = null): CompletableFuture<Boolean>

Java-friendly version that returns a CompletableFuture

fun downloadApp(appId: Int, depotId: Int, installPath: String, stagingPath: String, branch: String = "public", maxDownloads: Int = 8, onDownloadProgress: (Float) -> Unit? = null, parentScope: CoroutineScope = defaultScope): Deferred<Boolean>

Kotlin coroutines version