C# 클래스 SteamKit2.ContentServerClient.StorageSession

This represents a storage session with a storage server, used to download game content.
상속: IDisposable
파일 보기 프로젝트 열기: Top-Cat/SteamBot

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[]