C# Class withSIX.Play.Core.Games.Legacy.ServerQuery.SourceMasterQuery

Inheritance: ServerQueryBase, IMasterServerQuery, IEnableLogging
Afficher le fichier Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Private Properties

Свойство Type Description
BuildMessage byte[]
ParseResponse string

Méthodes publiques

Méthode Description
GetParsedServers ( bool forceLocal = false, int limit ) : Task>
SetFilter ( string name, string value ) : void
SourceMasterQuery ( string serverBrowserTag, Region region = Region.All ) : System

Méthodes protégées

Méthode Description
CreateServerDictionary ( ServerAddress address ) : SourceMasterServerQueryResult
RetrieveAsync ( int limit, IPEndPoint remote = null, int tried = -1 ) : Task>

Private Methods

Méthode Description
BuildMessage ( string seed ) : byte[]
ParseResponse ( ICollection servers, byte reply, int limit ) : string

Method Details

CreateServerDictionary() protected méthode

protected CreateServerDictionary ( ServerAddress address ) : SourceMasterServerQueryResult
address ServerAddress
Résultat SourceMasterServerQueryResult

GetParsedServers() public méthode

public GetParsedServers ( bool forceLocal = false, int limit ) : Task>
forceLocal bool
limit int
Résultat Task>

RetrieveAsync() protected méthode

protected RetrieveAsync ( int limit, IPEndPoint remote = null, int tried = -1 ) : Task>
limit int
remote System.Net.IPEndPoint
tried int
Résultat Task>

SetFilter() public méthode

public SetFilter ( string name, string value ) : void
name string
value string
Résultat void

SourceMasterQuery() public méthode

public SourceMasterQuery ( string serverBrowserTag, Region region = Region.All ) : System
serverBrowserTag string
region Region
Résultat System