C# Класс SteamKit2.ContentServerClient.StorageSession

This represents a storage session with a storage server, used to download game content.
Наследование: IDisposable
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
DecompressFileChunk int
DecryptFileChunk int
DownloadFileParts byte[]
SendCommand bool
StorageSession System

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

DownloadChecksums() публичный Метод

Downloads the Steam2ChecksumData for this depot.
public DownloadChecksums ( ) : Steam2ChecksumData
Результат Steam2ChecksumData

DownloadFile() публичный Метод

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.
Результат byte[]

DownloadManifest() публичный Метод

Downloads the Steam2Manifest which contains metadata representing the files within the depot.
public DownloadManifest ( ) : Steam2Manifest
Результат Steam2Manifest

DownloadUpdates() публичный Метод

Downloads a list of updated FileIDs since the given version.
public DownloadUpdates ( uint oldVersion ) : uint[]
oldVersion uint The old version to compare to.
Результат uint[]