C# Class SteamKit2.ContentServerClient.StorageSession

This represents a storage session with a storage server, used to download game content.
Inheritance: IDisposable
Afficher le fichier Open project: Top-Cat/SteamBot

Private Properties

Свойство Type Description
DecompressFileChunk int
DecryptFileChunk int
DownloadFileParts byte[]
SendCommand bool
StorageSession System

Méthodes publiques

Méthode Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

DownloadChecksums ( ) : Steam2ChecksumData

Downloads the Steam2ChecksumData for this depot.

DownloadFile ( Steam2Manifest file, DownloadPriority priority = DownloadPriority.Low, byte cryptKey = null ) : byte[]

Downloads a specific file from the Steam servers.

DownloadManifest ( ) : Steam2Manifest

Downloads the Steam2Manifest which contains metadata representing the files within the depot.

DownloadUpdates ( uint oldVersion ) : uint[]

Downloads a list of updated FileIDs since the given version.

Private Methods

Méthode Description
DecompressFileChunk ( byte &chunk, int blockSize ) : int
DecryptFileChunk ( byte &chunk, int chunkLen, byte cryptKey ) : int
DownloadFileParts ( Steam2Manifest file, uint filePart, uint numParts, DownloadPriority priority = DownloadPriority.Low, byte cryptKey = null ) : byte[]
SendCommand ( byte cmd ) : bool
StorageSession ( ContentServerClient cli, uint depotId, uint depotVersion, Credentials credentials ) : System

Method Details

Dispose() public méthode

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Résultat void

DownloadChecksums() public méthode

Downloads the Steam2ChecksumData for this depot.
public DownloadChecksums ( ) : Steam2ChecksumData
Résultat Steam2ChecksumData

DownloadFile() public méthode

Downloads a specific file from the Steam servers.
public DownloadFile ( Steam2Manifest file, DownloadPriority priority = DownloadPriority.Low, byte cryptKey = null ) : byte[]
file Steam2Manifest The file to download, given from the manifest.
priority DownloadPriority The download priority.
cryptKey byte The AES encryption key used for any encrypted files.
Résultat byte[]

DownloadManifest() public méthode

Downloads the Steam2Manifest which contains metadata representing the files within the depot.
public DownloadManifest ( ) : Steam2Manifest
Résultat Steam2Manifest

DownloadUpdates() public méthode

Downloads a list of updated FileIDs since the given version.
public DownloadUpdates ( uint oldVersion ) : uint[]
oldVersion uint The old version to compare to.
Résultat uint[]