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
ファイルを表示 Open project: Top-Cat/SteamBot Class Usage Examples

Public Methods

Method 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

Method Description
GetServersFromPacket ( TcpPacket packet ) : SteamKit2.ContentServer[]

Method Details

GetContentServerList() public method

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.
return SteamKit2.ContentServer[]

GetContentServerList() public method

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