struct

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

Instance methods

gametype
Source
gametype=(gametype : String | Nil)
Source
hostip
Source
hostip=(hostip : String | Nil)
Source
hostport
Source
hostport=(hostport : Int16 | Nil)
Source
map=(map : String | Nil)
Source
maxplayers
Source
maxplayers=(maxplayers : String | Nil)
Source
motd
Source
motd=(motd : String | Nil)
Source
numplayers
Source
numplayers=(numplayers : String | Nil)
Source