protected override void OnCMList(SteamClient.CMListCallback callback) { List <IPEndPoint> sortedServers = callback.Servers .OrderBy(s => s.ToString()) .ToList(); if (!lastCmList.SequenceEqual(sortedServers)) { Log.WriteInfo("MasterMonitor", "Got new CM list containing {0} servers", sortedServers.Count); lastCmList = sortedServers; } base.OnCMList(callback); }
private static void OnCMList(SteamClient.CMListCallback callback) { SteamManager.Instance.UpdateCMList(callback.Servers); }
protected virtual void OnCMList(SteamClient.CMListCallback callback) { SteamManager.Instance.UpdateCMList(callback.Servers); }