GameStat.NET Reference

ServerInfo Members

[This is preliminary documentation and subject to change.]

ServerInfo overview

Public Static Methods

QueryOverloaded. Creates a new instance of the ServerInfo class and queries a server.
QueryMasterOverloaded. Creates a new instance of the ServerCollection class and queries a master server.

Public Instance Constructors

ServerInfo Constructor Creates a new instance of the ServerInfo class.

Public Instance Fields

Host The server's name.
Map The current map being played.
MaxPlayers The maximum amount of players the server or map can hold.
Mod The server's current mod, or game type if mods aren't supported.
NumPlayers The number of players currently on the server.
Passworded Describes if the server is password protected.
Ping The server's response time to a query.
ScoreLimit The score limit of the current map.
TimeLimit The time limit of the current map.

Public Instance Properties

Players Gets player information, if available.
Properties Gets miscellaneous properties that dont fit into the ServerInfo.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ServerInfo Class | GameStat Namespace