struct MCPing::Query::QueryBasic
- MCPing::Query::QueryBasic
- Struct
- Value
- Object
Overview
A basic 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
- #gametype : String | Nil
- #gametype=(gametype : String | Nil)
- #hostip : String | Nil
- #hostip=(hostip : String | Nil)
- #hostport : Int16 | Nil
- #hostport=(hostport : Int16 | Nil)
- #map : String | Nil
- #map=(map : String | Nil)
- #maxplayers : String | Nil
- #maxplayers=(maxplayers : String | Nil)
- #motd : String | Nil
- #motd=(motd : String | Nil)
- #numplayers : String | Nil
- #numplayers=(numplayers : String | Nil)
Constructor Detail
def self.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)
#