struct MCPing::Query::QueryFull

Overview

A full response from a server query.

Note that numeric fields are still represented as strings, as that is how the server returns them.

Defined in:

mcping/query.cr

Constructors

Instance Method Summary

Constructor Detail

def self.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) #

[View source]

Instance Method Detail

def game_id : String | Nil #

[View source]
def game_id=(game_id : String | Nil) #

[View source]
def gametype : String | Nil #

[View source]
def gametype=(gametype : String | Nil) #

[View source]
def hostip : String | Nil #

[View source]
def hostip=(hostip : String | Nil) #

[View source]
def hostname : String | Nil #

[View source]
def hostname=(hostname : String | Nil) #

[View source]
def hostport : String | Nil #

[View source]
def hostport=(hostport : String | Nil) #

[View source]
def map : String | Nil #

[View source]
def map=(map : String | Nil) #

[View source]
def maxplayers : String | Nil #

[View source]
def maxplayers=(maxplayers : String | Nil) #

[View source]
def numplayers : String | Nil #

[View source]
def numplayers=(numplayers : String | Nil) #

[View source]
def players : Array(String) #

[View source]
def players=(players : Array(String)) #

[View source]
def plugins : String | Nil #

[View source]
def plugins=(plugins : String | Nil) #

[View source]
def version : String | Nil #

[View source]
def version=(version : String | Nil) #

[View source]