private void method_5(GClass886 gclass886_0) { DarkOrbitWebAPI darkOrbitWebAPI = new DarkOrbitWebAPI(null); darkOrbitWebAPI.Server = gclass886_0.Name; this.LoadingStatus = "Finding game servers for " + gclass886_0.Name + "..."; gclass886_0.method_3(darkOrbitWebAPI); PErkava.concurrentDictionary_3[gclass886_0.Name] = gclass886_0; }
public static void smethod_6(GClass886 gclass886_0) { HashSet <string> hashSet = new HashSet <string>(); foreach (string text in gclass886_0.Servers) { HashSet <GClass886> hashSet2 = null; if (!PErkava.concurrentDictionary_4.TryGetValue(text, out hashSet2)) { hashSet2 = (PErkava.concurrentDictionary_4[text] = new HashSet <GClass886>()); } hashSet2.Remove(gclass886_0); if (hashSet2.Count == 0) { hashSet.Add(text); } } PErkava.Proxy.imethod_0(hashSet); }
public static void smethod_5(GClass886 gclass886_0) { List <string> list = new List <string>(); foreach (string text in gclass886_0.Servers) { HashSet <GClass886> hashSet = null; if (!PErkava.concurrentDictionary_4.TryGetValue(text, out hashSet)) { hashSet = (PErkava.concurrentDictionary_4[text] = new HashSet <GClass886>()); } if (hashSet.Count == 0) { list.Add(text); } hashSet.Add(gclass886_0); } PErkava.Proxy.imethod_1(list.ToArray()); }