MCPing::Query::QueryBasic
Inherits Struct < Value < Object
A basic response from a server query.
Note that numeric fields are still represented as strings, as that is how the server returns them.
Constructors
new(motd : Nil | String = nil, gametype : Nil | String = nil, map : Nil | String = nil, numplayers : Nil | String = nil, maxplayers : Nil | String = nil, hostport : Int16 | Nil = nil, hostip : Nil | String = nil)
SourceInstance methods
gametype
Sourcegametype=(gametype : String | Nil)
Sourcehostip
Sourcehostip=(hostip : String | Nil)
Sourcehostport
Sourcehostport=(hostport : Int16 | Nil)
Sourcemap
Sourcemap=(map : String | Nil)
Sourcemaxplayers
Sourcemaxplayers=(maxplayers : String | Nil)
Sourcemotd
Sourcemotd=(motd : String | Nil)
Sourcenumplayers
Sourcenumplayers=(numplayers : String | Nil)
Source