Метод | Описание | |
---|---|---|
CDNClient ( ClientEndPoint cdnServer, byte appticket ) : System |
Initializes a new instance of the CDNClient class.
|
|
Connect ( ) : bool |
Connects this instance to the server.
|
|
DownloadDepotChunk ( int depotid, string chunkid ) : byte[] |
Downloads the specified depot chunk from the content server.
|
|
DownloadDepotManifest ( int depotid, ulong manifestid ) : |
Downloads the depot manifest for the given depot and manifest.
|
|
FetchServerList ( ClientEndPoint csServer, int cellID ) : List |
Fetches a server list from the given content server for the provided CellID.
|
|
PointTo ( ClientEndPoint ep ) : void |
Points this CDNClient instance to another server.
|
|
ProcessChunk ( byte chunk, byte depotkey ) : byte[] |
Processes a chunk by decrypting and decompressing it.
|
Метод | Описание | |
---|---|---|
AuthDepot ( ) : void | ||
BuildCommand ( ClientEndPoint csServer, string command ) : |
||
CDNClient ( ) : System | ||
PrepareAuthHeader ( |
public CDNClient ( ClientEndPoint cdnServer, byte appticket ) : System | ||
cdnServer | ClientEndPoint | The CDN server to connect to. |
appticket | byte | The appticket of the app this instance is for. |
Результат | System |
public DownloadDepotChunk ( int depotid, string chunkid ) : byte[] | ||
depotid | int | The DepotID of the chunk to download. |
chunkid | string | The the ID of the chunk to download. |
Результат | byte[] |
public DownloadDepotManifest ( int depotid, ulong manifestid ) : |
||
depotid | int | The depotid. |
manifestid | ulong | The manifestid. |
Результат |
public static FetchServerList ( ClientEndPoint csServer, int cellID ) : List |
||
csServer | ClientEndPoint | The server to request a server list from. |
cellID | int | The CellID. |
Результат | List |
public PointTo ( ClientEndPoint ep ) : void | ||
ep | ClientEndPoint | The endpoint. |
Результат | void |
public static ProcessChunk ( byte chunk, byte depotkey ) : byte[] | ||
chunk | byte | The chunk to process. |
depotkey | byte | The AES encryption key to use when decrypting the chunk. |
Результат | byte[] |