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

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

Méthodes publiques

Méthode Description
SourceServerQuery ( ServerAddress address, string serverBrowserTag, IServerQueryParser parser ) : System
UpdateAsync ( ServerQueryState state ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
CollectPacket ( byte reply, int pos ) : byte[]
Connect ( IPEndPoint e ) : UdpClient
FetchAsync ( ) : System.Threading.Tasks.Task
GetChallengeResponse ( byte b ) : Task
GetInfo ( ) : Task
GetPlayerRequestPacket ( IEnumerable challengeBytes ) : byte[]
GetPlayers ( ) : Task
GetRules ( ) : Task
GetRulesRequestPacket ( IEnumerable challengeBytes ) : byte[]
JoinPackets ( int id, byte total, bool bzipped ) : byte[]
ProcessAllPackets ( ) : System.Threading.Tasks.Task
ProcessPacketHeader ( byte reply ) : byte[]
ReceiveTillEnd ( ) : Task
SendPacket ( byte msg ) : System.Threading.Tasks.Task

Method Details

SourceServerQuery() public méthode

public SourceServerQuery ( ServerAddress address, string serverBrowserTag, IServerQueryParser parser ) : System
address ServerAddress
serverBrowserTag string
parser IServerQueryParser
Résultat System

UpdateAsync() public méthode

public UpdateAsync ( ServerQueryState state ) : System.Threading.Tasks.Task
state ServerQueryState
Résultat System.Threading.Tasks.Task