C# Class SteamKit2.ContentServerDSClient

This client is capable of connecting to the content server directory server. This directory server is used for the sole purpose of getting a list of content servers.
Inheritance: DSClient
Afficher le fichier Open project: Top-Cat/SteamBot Class Usage Examples

Méthodes publiques

Méthode Description
GetContentServerList ( uint depotId, uint depotVersion, uint cellid, ushort maxServers = 20 ) : SteamKit2.ContentServer[]

Gets a list of content servers that provide specific content.

GetContentServerList ( ) : System.Net.IPEndPoint[]

Gets a list of all currently active content servers.

Private Methods

Méthode Description
GetServersFromPacket ( TcpPacket packet ) : SteamKit2.ContentServer[]

Method Details

GetContentServerList() public méthode

Gets a list of content servers that provide specific content.
public GetContentServerList ( uint depotId, uint depotVersion, uint cellid, ushort maxServers = 20 ) : SteamKit2.ContentServer[]
depotId uint The depot ID of the content you wish to request.
depotVersion uint The version ID of the content you wish to request.
cellid uint A cell ID of the preferred server.
maxServers ushort The maximum number of servers to request.
Résultat SteamKit2.ContentServer[]

GetContentServerList() public méthode

Gets a list of all currently active content servers.
public GetContentServerList ( ) : System.Net.IPEndPoint[]
Résultat System.Net.IPEndPoint[]