Merge pull request #3164 from pchote/lobby-tooltips
New/Improved lobby tooltips which show IP, admin status and explain ping.
This commit is contained in:
@@ -53,6 +53,7 @@ namespace OpenRA.Network
|
||||
public string Country;
|
||||
public int SpawnPoint;
|
||||
public string Name;
|
||||
public string IpAddress;
|
||||
public ClientState State;
|
||||
public int Team;
|
||||
public string Slot; // slot ID, or null for observer
|
||||
@@ -61,9 +62,9 @@ namespace OpenRA.Network
|
||||
public bool IsAdmin;
|
||||
public bool IsReady { get { return State == ClientState.Ready; } }
|
||||
public bool IsObserver { get { return Slot == null; } }
|
||||
public int Ping = -1;
|
||||
public int PingJitter = -1;
|
||||
public int[] PingHistory = {};
|
||||
public int Latency = -1;
|
||||
public int LatencyJitter = -1;
|
||||
public int[] LatencyHistory = {};
|
||||
}
|
||||
|
||||
public class Slot
|
||||
|
||||
Reference in New Issue
Block a user