SteamContent

This handler is used for interacting with content server directory on the Steam network.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun getCDNAuthToken(app: Int, depot: Int, hostName: String, parentScope: CoroutineScope): Deferred<AuthToken>

Request product information for an app or package Results are returned in a AuthToken.

Link copied to clipboard
fun getManifestRequestCode(depotId: Int, appId: Int, manifestId: Long, branch: String? = null, branchPasswordHash: String? = null, parentScope: CoroutineScope): Deferred<ULong>

Request the manifest request code for the specified arguments.

Link copied to clipboard
fun getServersForSteamPipe(cellId: Int? = null, maxNumServers: Int? = null, parentScope: CoroutineScope): Deferred<List<Server>>

Load a list of servers from the Content Server Directory Service. This is an alternative to ContentServerDirectoryService.loadAsync (does not exist in JS atm).

Link copied to clipboard
open override fun handleMsg(packetMsg: IPacketMsg)

Handles a client message. This should not be called directly.

Link copied to clipboard
fun setup(client: SteamClient)