struct MCPing::Query::QueryFull
- MCPing::Query::QueryFull
- Struct
- Value
- Object
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.crConstructors
Instance Method Summary
- #game_id : String | Nil
- #game_id=(game_id : String | Nil)
- #gametype : String | Nil
- #gametype=(gametype : String | Nil)
- #hostip : String | Nil
- #hostip=(hostip : String | Nil)
- #hostname : String | Nil
- #hostname=(hostname : String | Nil)
- #hostport : String | Nil
- #hostport=(hostport : String | Nil)
- #map : String | Nil
- #map=(map : String | Nil)
- #maxplayers : String | Nil
- #maxplayers=(maxplayers : String | Nil)
- #numplayers : String | Nil
- #numplayers=(numplayers : String | Nil)
- #players : Array(String)
- #players=(players : Array(String))
- #plugins : String | Nil
- #plugins=(plugins : String | Nil)
- #version : String | Nil
- #version=(version : String | Nil)
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)
#