MCPing::Query::QueryFull
Inherits Struct < Value < Object
A full response from a server query.
Note that numeric fields are still represented as strings, as that is how the server returns them.
Constructors
new(hostname : Nil | String = nil, gametype : Nil | String = nil, game_id : Nil | String = nil, version : Nil | String = nil, plugins : Nil | String = nil, map : Nil | String = nil, numplayers : Nil | String = nil, maxplayers : Nil | String = nil, hostport : Nil | String = nil, hostip : Nil | String = nil, players : Array(String) = [] of String)
SourceInstance methods
game_id
Sourcegame_id=(game_id : String | Nil)
Sourcegametype
Sourcegametype=(gametype : String | Nil)
Sourcehostip
Sourcehostip=(hostip : String | Nil)
Sourcehostname
Sourcehostname=(hostname : String | Nil)
Sourcehostport
Sourcehostport=(hostport : String | Nil)
Sourcemap
Sourcemap=(map : String | Nil)
Sourcemaxplayers
Sourcemaxplayers=(maxplayers : String | Nil)
Sourcenumplayers
Sourcenumplayers=(numplayers : String | Nil)
Sourceplayers
Sourceplayers=(players : Array(String))
Sourceplugins
Sourceplugins=(plugins : String | Nil)
Sourceversion
Sourceversion=(version : String | Nil)
Source