public final class SteamApps extends ClientMsgHandler
Constructor and Description |
---|
SteamApps() |
Modifier and Type | Method and Description |
---|---|
void |
getAppChanges() |
void |
getAppChanges(int lastChangeNumber) |
void |
getAppChanges(int lastChangeNumber,
boolean sendChangelist)
Requests a list of app changes since the last provided change number value.
|
JobID |
getAppInfo(AppDetails app) |
JobID |
getAppInfo(AppDetails app,
boolean supportsBatches)
Requests app information for a single app.
|
JobID |
getAppInfo(Collection<AppDetails> apps) |
JobID |
getAppInfo(Collection<AppDetails> apps,
boolean supportsBatches)
Requests app information for a list of apps.
|
JobID |
getAppInfo(int app) |
JobID |
getAppInfo(int app,
boolean supportsBatches)
Requests app information for a single app.
|
JobID |
getAppInfoI(Collection<Integer> apps) |
JobID |
getAppInfoI(Collection<Integer> apps,
boolean supportsBatches)
Requests app information for a list of apps.
|
JobID |
getAppOwnershipTicket(int appid)
Requests an app ownership ticket for the specified AppID.
|
JobID |
getDepotDecryptionKey() |
JobID |
getDepotDecryptionKey(int depotid) |
JobID |
getDepotDecryptionKey(int depotid,
int appid)
Request the depot decryption key for a specified DepotID.
|
JobID |
getPackageInfo(Collection<Integer> packageId) |
JobID |
getPackageInfo(Collection<Integer> packageId,
boolean metaDataOnly)
Requests package information for a list of packages.
|
JobID |
getPackageInfo(int packageId) |
JobID |
getPackageInfo(int packageId,
boolean metaDataOnly)
Requests package information for a single package.
|
(package private) void |
handleAppInfoChanges(IPacketMsg packetMsg) |
(package private) void |
handleAppInfoResponse(IPacketMsg packetMsg) |
(package private) void |
handleAppOwnershipTicketResponse(IPacketMsg packetMsg) |
(package private) void |
handleDepotKeyResponse(IPacketMsg packetMsg) |
(package private) void |
handleGameConnectTokens(IPacketMsg packetMsg) |
(package private) void |
handleLicenseList(IPacketMsg packetMsg) |
void |
handleMsg(IPacketMsg packetMsg)
Handles a client message.
|
(package private) void |
handlePackageInfoResponse(IPacketMsg packetMsg) |
(package private) void |
handleVACBanStatus(IPacketMsg packetMsg) |
setup
public JobID getAppOwnershipTicket(int appid)
AppOwnershipTicketCallback
callback.appid
- The appid to request the ownership ticket of.JobCallback
.public JobID getAppInfo(AppDetails app, boolean supportsBatches)
AppInfoCallback
callback.app
- The app to request information for.supportsBatches
- if set to true, the request supports batches.JobCallback
.public JobID getAppInfo(AppDetails app)
public JobID getAppInfo(int app, boolean supportsBatches)
AppInfoCallback
callback.app
- The app to request information for.supportsBatches
- if set to true, the request supports batches.JobCallback
.public JobID getAppInfo(int app)
public JobID getAppInfoI(Collection<Integer> apps, boolean supportsBatches)
AppInfoCallback
callback.apps
- The apps to request information for.supportsBatches
- if set to true, the request supports batches.JobCallback
.public JobID getAppInfoI(Collection<Integer> apps)
public JobID getAppInfo(Collection<AppDetails> apps, boolean supportsBatches)
AppInfoCallback
callback.apps
- The apps to request information for.supportsBatches
- if set to true, the request supports batches.JobCallback
.public JobID getAppInfo(Collection<AppDetails> apps)
public JobID getPackageInfo(int packageId, boolean metaDataOnly)
PackageInfoCallback
callback.packageId
- The package id to request information for.metaDataOnly
- if set to true, request metadata only.JobCallback
.public JobID getPackageInfo(int packageId)
public JobID getPackageInfo(Collection<Integer> packageId, boolean metaDataOnly)
PackageInfoCallback
callback.packageId
- The packages to request information for.metaDataOnly
- if set to true to request metadata only.JobCallback
.public JobID getPackageInfo(Collection<Integer> packageId)
public void getAppChanges(int lastChangeNumber, boolean sendChangelist)
AppChangesCallback
callback.lastChangeNumber
- The last change number value.sendChangelist
- if set to true, request a change list.public void getAppChanges(int lastChangeNumber)
public void getAppChanges()
public JobID getDepotDecryptionKey(int depotid, int appid)
DepotKeyCallback
callback.depotid
- The DepotID to request a decryption key for.appid
- The AppID to request the decryption key for.JobCallback
.public JobID getDepotDecryptionKey(int depotid)
public JobID getDepotDecryptionKey()
public void handleMsg(IPacketMsg packetMsg)
handleMsg
in class ClientMsgHandler
packetMsg
- The packet message that contains the data.void handleAppOwnershipTicketResponse(IPacketMsg packetMsg)
void handleAppInfoResponse(IPacketMsg packetMsg)
void handlePackageInfoResponse(IPacketMsg packetMsg)
void handleAppInfoChanges(IPacketMsg packetMsg)
void handleDepotKeyResponse(IPacketMsg packetMsg)
void handleGameConnectTokens(IPacketMsg packetMsg)
void handleLicenseList(IPacketMsg packetMsg)
void handleVACBanStatus(IPacketMsg packetMsg)
Copyright © 2012. All Rights Reserved.