public IEnumerable <string> method_1() { GEnum5 genum = MapUtils.smethod_10(this.MapId); if (genum != GEnum5.None) { int all = 0; int done = 0; foreach (KeyValuePair <int, Ship> keyValuePair in this.Ships) { Ship value = keyValuePair.Value; if (value.IsNpc) { int num = all; all = num + 1; bool flag; if (value.HpPercentage < 25f || this.method_8(value, out flag)) { num = done; done = num + 1; } } } DarkOrbitWebAPI.GalaxyGatesInfo ggInfo = this.Game.Web.GgInfo; DarkOrbitWebAPI.jumpgateGate jumpgateGate = (ggInfo != null) ? ggInfo.GetGate(genum) : null; string text = string.Format("Wave {0}/{1}", (jumpgateGate != null) ? new int?(jumpgateGate.currentWave) : null, (jumpgateGate != null) ? new int?(jumpgateGate.totalWave) : null); if (jumpgateGate != null) { yield return(text); } yield return(string.Format("{0}/{1}", done, all)); } yield break; }
public static bool smethod_7(int int_0) { GEnum5 genum = MapUtils.smethod_10(int_0); return(!MapUtils.Events.Contains(genum) && genum != GEnum5.None && genum != (GEnum5)227 && genum != (GEnum5)77); }
public static bool smethod_8(int int_0) { GEnum5 item = MapUtils.smethod_10(int_0); return(MapUtils.Events.Contains(item)); }
public static bool smethod_6(int int_0) { return(MapUtils.smethod_10(int_0) > GEnum5.None); }