C# Class SteamKit2.SteamApps

This handler is used for interacting with apps and packages on the Steam network.
Inheritance: ClientMsgHandler
Mostrar archivo Open project: Top-Cat/SteamBot Class Usage Examples

Public Methods

Method Description
GetAppChanges ( uint lastChangeNumber, bool sendChangelist = true ) : void

Requests a list of app changes since the last provided change number value. Results are returned in a AppChangesCallback callback.

GetAppInfo ( AppDetails app, bool supportsBatches = false ) : JobID

Requests app information for a single app. Use the overload for requesting information on a batch of apps. Results are returned in a AppInfoCallback callback.

GetAppInfo ( IEnumerable apps, bool supportsBatches = false ) : JobID

Requests app information for a list of apps. Results are returned in a AppInfoCallback callback.

GetAppInfo ( IEnumerable apps, bool supportsBatches = false ) : JobID

Requests app information for a list of apps. Results are returned in a AppInfoCallback callback.

GetAppInfo ( uint app, bool supportsBatches = false ) : JobID

Requests app information for a single app. Use the overload for requesting information on a batch of apps. Results are returned in a AppInfoCallback callback.

GetAppOwnershipTicket ( uint appid ) : JobID

Requests an app ownership ticket for the specified AppID. Results are returned in a AppOwnershipTicketCallback callback.

GetDepotDecryptionKey ( uint depotid, uint appid ) : JobID

Request the depot decryption key for a specified DepotID. Results are returned in a DepotKeyCallback callback.

GetPackageInfo ( IEnumerable packageId, bool metaDataOnly = false ) : JobID

Requests package information for a list of packages. Results are returned in a PackageInfoCallback callback.

GetPackageInfo ( uint packageId, bool metaDataOnly = false ) : JobID

Requests package information for a single package. Use the overload for requesting information on a batch of packages. Results are returned in a PackageInfoCallback callback.

HandleMsg ( IPacketMsg packetMsg ) : void

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

Private Methods

Method Description
HandleAppInfoChanges ( IPacketMsg packetMsg ) : void
HandleAppInfoResponse ( IPacketMsg packetMsg ) : void
HandleAppOwnershipTicketResponse ( IPacketMsg packetMsg ) : void
HandleDepotKeyResponse ( IPacketMsg packetMsg ) : void
HandleGameConnectTokens ( IPacketMsg packetMsg ) : void
HandleLicenseList ( IPacketMsg packetMsg ) : void
HandlePackageInfoResponse ( IPacketMsg packetMsg ) : void
HandleVACBanStatus ( IPacketMsg packetMsg ) : void
SteamApps ( ) : System.Collections.Generic

Method Details

GetAppChanges() public method

Requests a list of app changes since the last provided change number value. Results are returned in a AppChangesCallback callback.
public GetAppChanges ( uint lastChangeNumber, bool sendChangelist = true ) : void
lastChangeNumber uint The last change number value.
sendChangelist bool if set to true, request a change list.
return void

GetAppInfo() public method

Requests app information for a single app. Use the overload for requesting information on a batch of apps. Results are returned in a AppInfoCallback callback.
public GetAppInfo ( AppDetails app, bool supportsBatches = false ) : JobID
app AppDetails The app to request information for.
supportsBatches bool if set to true, the request supports batches.
return JobID

GetAppInfo() public method

Requests app information for a list of apps. Results are returned in a AppInfoCallback callback.
public GetAppInfo ( IEnumerable apps, bool supportsBatches = false ) : JobID
apps IEnumerable The apps to request information for.
supportsBatches bool if set to true, the request supports batches.
return JobID

GetAppInfo() public method

Requests app information for a list of apps. Results are returned in a AppInfoCallback callback.
public GetAppInfo ( IEnumerable apps, bool supportsBatches = false ) : JobID
apps IEnumerable The apps to request information for.
supportsBatches bool if set to true, the request supports batches.
return JobID

GetAppInfo() public method

Requests app information for a single app. Use the overload for requesting information on a batch of apps. Results are returned in a AppInfoCallback callback.
public GetAppInfo ( uint app, bool supportsBatches = false ) : JobID
app uint The app to request information for.
supportsBatches bool if set to true, the request supports batches.
return JobID

GetAppOwnershipTicket() public method

Requests an app ownership ticket for the specified AppID. Results are returned in a AppOwnershipTicketCallback callback.
public GetAppOwnershipTicket ( uint appid ) : JobID
appid uint The appid to request the ownership ticket of.
return JobID

GetDepotDecryptionKey() public method

Request the depot decryption key for a specified DepotID. Results are returned in a DepotKeyCallback callback.
public GetDepotDecryptionKey ( uint depotid, uint appid ) : JobID
depotid uint The DepotID to request a decryption key for.
appid uint The AppID to request the decryption key for.
return JobID

GetPackageInfo() public method

Requests package information for a list of packages. Results are returned in a PackageInfoCallback callback.
public GetPackageInfo ( IEnumerable packageId, bool metaDataOnly = false ) : JobID
packageId IEnumerable The packages to request information for.
metaDataOnly bool if set to true to request metadata only.
return JobID

GetPackageInfo() public method

Requests package information for a single package. Use the overload for requesting information on a batch of packages. Results are returned in a PackageInfoCallback callback.
public GetPackageInfo ( uint packageId, bool metaDataOnly = false ) : JobID
packageId uint The package id to request information for.
metaDataOnly bool if set to true, request metadata only.
return JobID

HandleMsg() public method

Handles a client message. This should not be called directly.
public HandleMsg ( IPacketMsg packetMsg ) : void
packetMsg IPacketMsg The packet message that contains the data.
return void