struct

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)
Source

Instance methods

game_id
Source
game_id=(game_id : String | Nil)
Source
gametype
Source
gametype=(gametype : String | Nil)
Source
hostip
Source
hostip=(hostip : String | Nil)
Source
hostname
Source
hostname=(hostname : String | Nil)
Source
hostport
Source
hostport=(hostport : String | Nil)
Source
map=(map : String | Nil)
Source
maxplayers
Source
maxplayers=(maxplayers : String | Nil)
Source
numplayers
Source
numplayers=(numplayers : String | Nil)
Source
players
Source
players=(players : Array(String))
Source
plugins
Source
plugins=(plugins : String | Nil)
Source
version
Source
version=(version : String | Nil)
Source