mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-15 16:52:34 +00:00
24 lines
721 B
Ruby
24 lines
721 B
Ruby
class W3DHub
|
|
class RenegadeServer
|
|
attr_accessor :country, :country_code, :time_left, :ip, :host_port, :hostname, :map_name,
|
|
:website, :player_count, :max_players, :password, :players
|
|
|
|
def initialize(country, country_code, time_left, ip, host_port, hostname, map_name,
|
|
website, player_count, max_players, password, players)
|
|
@country = country
|
|
@country_code = country_code
|
|
@time_left = time_left
|
|
@ip = ip
|
|
@host_port = host_port
|
|
@hostname = hostname
|
|
@map_name = map_name
|
|
@website = website
|
|
@player_count = player_count
|
|
@max_players = max_players
|
|
@password = password
|
|
|
|
@players = players
|
|
end
|
|
end
|
|
end
|