struct Source::InfoResponse

Defined in:

source/response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(protocol : UInt8 | Nil = nil, name : Nil | String = nil, map : Nil | String = nil, folder : Nil | String = nil, game : Nil | String = nil, app : UInt16 | Nil = nil, players : UInt8 | Nil = nil, max_players : UInt8 | Nil = nil, bots : UInt8 | Nil = nil, type : Source::ServerType | Nil = nil, os : Source::OS | Nil = nil, password : Bool | Nil = nil, secure : Bool | Nil = nil) #

Instance Method Detail

def app : UInt16 | Nil #

Steam Application ID of game.


def bots : UInt8 | Nil #

Number of bots on the server.


def folder : String | Nil #

Name of the folder containing the game files.


def game : String | Nil #

Full name of the game.


def map : String | Nil #

Map the server has currently loaded.


def max_players : UInt8 | Nil #

Maximum number of players the server reports it can hold.


def name : String | Nil #

Name of the server.


def os : Source::OS | Nil #

Operating system of the server,


def password : Bool | Nil #

Indicates whether the server requires a password,


def players : UInt8 | Nil #

Number of players on the server.


def protocol : UInt8 | Nil #

Protocol version used by the server.


def secure : Bool | Nil #

Specifies whether the server uses VAC,


def type : Source::ServerType | Nil #

Type of the server