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:
Matthias Mailänder
2013-04-25 00:59:31 -07:00
19 changed files with 403 additions and 75 deletions

View File

@@ -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