mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Improved server list to show server release channel and to use correct channel for launch game, disable update interval manager due to current implementation being a bit janky looking
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class W3DHub
|
||||
class Api
|
||||
class ServerListServer
|
||||
attr_reader :id, :game, :address, :port, :region, :status
|
||||
attr_reader :id, :game, :address, :port, :region, :channel, :status
|
||||
|
||||
def initialize(hash)
|
||||
@data = hash
|
||||
@@ -11,6 +11,7 @@ class W3DHub
|
||||
@address = @data[:address]
|
||||
@port = @data[:port]
|
||||
@region = @data[:region]
|
||||
@channel = @data[:channel] || "release"
|
||||
|
||||
@status = @data[:status] ? Status.new(@data[:status]) : nil
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user