class MineStat::Data

Defined in:

minestat.cr

Constant Summary

NUM_FIELDS = 6

Constructors

Instance Method Summary

Constructor Detail

def self.new(address : String, port : UInt32, timeout = 7) #

[View source]

Instance Method Detail

def address : String #

[View source]
def address=(address : String) #

[View source]
def max_players : UInt32 | Nil #

[View source]
def max_players=(max_players : UInt32 | Nil) #

[View source]
def motd : String | Nil #

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

[View source]
def online : Bool #

[View source]
def online=(online : Bool) #

[View source]
def players : UInt32 | Nil #

[View source]
def players=(players : UInt32 | Nil) #

[View source]
def port : UInt32 #

[View source]
def port=(port : UInt32) #

[View source]
def status : String #

[View source]
def status=(status : String) #

[View source]
def version : String | Nil #

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

[View source]