struct Source::InfoResponse
- Source::InfoResponse
- Struct
- Value
- Object
Defined in:
source/response.crConstructors
Instance Method Summary
-
#app : UInt16 | Nil
Steam Application ID of game.
-
#bots : UInt8 | Nil
Number of bots on the server.
-
#folder : String | Nil
Name of the folder containing the game files.
-
#game : String | Nil
Full name of the game.
-
#map : String | Nil
Map the server has currently loaded.
-
#max_players : UInt8 | Nil
Maximum number of players the server reports it can hold.
-
#name : String | Nil
Name of the server.
-
#os : Source::OS | Nil
Operating system of the server,
-
#password : Bool | Nil
Indicates whether the server requires a password,
-
#players : UInt8 | Nil
Number of players on the server.
-
#protocol : UInt8 | Nil
Protocol version used by the server.
-
#secure : Bool | Nil
Specifies whether the server uses VAC,
-
#type : Source::ServerType | Nil
Type of the server
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)
#