public GClass906(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); this.list_0 = new List <Rectangle>(); base..ctor(gclass890_1); this.list_0.Add(GClass906.rectangle_0); }
public int method_7() { int num = this.method_15(); GClass890 context = base.Context; SpinnerModeSelection?spinnerModeSelection; if (context == null) { spinnerModeSelection = null; } else { AccountSettings account = context.Account; spinnerModeSelection = ((account != null) ? new SpinnerModeSelection?(account.Spinner_SpinSize) : null); } SpinnerModeSelection?spinnerModeSelection2 = spinnerModeSelection; SpinnerModeSelection valueOrDefault = spinnerModeSelection2.GetValueOrDefault(); if (num >= 10 && valueOrDefault == SpinnerModeSelection.X10) { return(10); } if (num >= 5 && valueOrDefault == SpinnerModeSelection.X5) { return(5); } return(1); }
public GClass916(GClass890 gclass890_1, string string_0) { Class13.lOBHd9Nzn7x2T(); base..ctor(); this.Context = gclass890_1; this.Log = this.Context.method_71("BackgroundLogic-" + string_0); }
public GClass904(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); this.unknownMapObjectsTracker_0 = new UnknownMapObjectsTracker <bool>(); base..ctor(); this.Context = gclass890_1; }
public GClass894(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); this.bool_0 = true; base..ctor(gclass890_1, "Palladium", int.MinValue); this.gclass910_0 = new GClass910(gclass890_1); this.gclass911_0 = new GClass911(gclass890_1); }
public GClass892(GClass890 gclass890_1, string string_1, int int_2 = -2147483648) { Class13.lOBHd9Nzn7x2T(); base..ctor(); this.Name = string_1; this.Context = gclass890_1; this.Priority = int_2; }
public GClass907(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); this.float_1 = 100f; base..ctor(gclass890_1); this.float_0 = (float)base.C.Game.Random.NextDouble() * 2f; this.float_1 = (float)base.C.Game.Random.Next(100, 300); }
public GClass897(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1, TargetMap.X6); GClass897.< > c__DisplayClass7_0 CS$ < > 8__locals1 = new GClass897.< > c__DisplayClass7_0(); CS$ < > 8__locals1.random_0 = base.C.Game.Random; this.dictionary_0 = GClass897.list_0.ToDictionary(new Func <Vector2, Vector2>(CS$ < > 8__locals1.method_0), new Func <Vector2, DateTimeOffset>(GClass897.< > c.< > c_0.method_0)); this.Behavior = new GClass913(gclass890_1, this); }
public GClass910(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1); this.list_1 = new List <Rectangle> { GClass910.list_0[0] }; }
public GClass893(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); this.mapProfile_1 = new MapProfile { TargetMap = TargetMap.X1 }; base..ctor(gclass890_1, "Idle", -1); base.MapProfile = null; }
public GClass888(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); this.dictionary_0 = new Dictionary <string, DateTimeOffset>(); this.random_0 = new Random(); this.list_0 = new List <GClass892>(); this.object_0 = new object(); base..ctor(); this.Context = gclass890_1; this.list_0.Add(this.Module = new GClass893(gclass890_1)); foreach (object obj in Enum.GetValues(typeof(TargetMap))) { TargetMap targetMap = (TargetMap)obj; if (targetMap != TargetMap.PayloadEscort) { GClass892 gclass = null; if (MapUtils.smethod_6((int)targetMap)) { if (MapUtils.smethod_7((int)targetMap)) { gclass = new GClass900(gclass890_1, targetMap); } else if (MapUtils.smethod_8((int)targetMap)) { gclass = new GClass901(gclass890_1, targetMap); } } else { gclass = new GClass896(gclass890_1, targetMap); } if (gclass != null) { this.list_0.Add(gclass); } } } this.list_0.Add(new GClass894(gclass890_1)); if (Constants.bool_0) { this.list_0.Add(new GClass902(gclass890_1)); } this.list_0.Add(new GClass897(gclass890_1)); if (Constants.FrozenLabirynthEnabled) { this.list_0.Add(new GClass898(gclass890_1)); } if (Constants.PayloadEscortEnabled) { this.list_0.Add(new GClass899(gclass890_1)); } this.list_0.Add(new GClass903(gclass890_1)); this.Module.Start(); }
private static EntityDataRoot smethod_18(GClass890 gclass890_0, Map map_0) { string text = string.Join("\r\n", gclass890_0.method_70()); if (string.IsNullOrWhiteSpace(text)) { return(null); } return(GClass891.smethod_16(0.98f, 0.1f, new EntityRenderFragment[] { GClass891.smethod_11(Color.Red, "30px Arial", "right", text, null) })); }
private void method_10() { try { MainWindow.< > c__DisplayClass60_0 CS$ < > 8__locals1 = new MainWindow.< > c__DisplayClass60_0(); CS$ < > 8__locals1.selected = this.Selected; if (CS$ < > 8__locals1.selected != null) { if (this._lastSelected == CS$ < > 8__locals1.selected && this._lastMapControl != null) { int renders = this.Renders; this.Renders = renders + 1; if (renders % 100 != 0) { goto IL_67; } } this._lastMapControl = GClass6.smethod_0 <MapControl>(this.MainTabs, new Func <MapControl, bool>(CS$ < > 8__locals1.method_0)); IL_67: this._lastSelected = CS$ < > 8__locals1.selected; MapControl lastMapControl = this._lastMapControl; if (lastMapControl != null) { lastMapControl.InvalidateVisual(); } GClass922 lastSelected = this._lastSelected; if (lastSelected != null) { GClass890 context = lastSelected.Context; if (context != null) { GClass882 stats = context.Stats; if (stats != null) { stats.method_3(); } } } GameManager game = CS$ < > 8__locals1.selected.Context.Game; } } catch { } this.LastRender = DateTimeOffset.Now; }
private static EntityDataRoot smethod_12(GClass890 gclass890_0, Map map_0, Ship ship_0) { EntityDataRoot entityDataRoot = GClass891.smethod_2(map_0, ship_0); Color color_ = MapUtils.smethod_16(map_0, ship_0); NpcShip npcShip = ship_0 as NpcShip; if (npcShip != null && (!(gclass890_0.Behavior ?? gclass890_0.gclass904_0).vmethod_7(npcShip) || npcShip.LeashedBy > 0)) { color_ = Color.Gray; } Color?nullable_ = null; entityDataRoot.Data = new List <EntityRenderFragment> { GClass891.smethod_6(color_, 4, nullable_) }; return(entityDataRoot); }
public GClass882(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(); this.Context = gclass890_1; base.HeroStats = (this.gclass886_0 = new GClass886(gclass890_1.Hero, this)); base.PetStats = (this.gclass887_0 = new GClass887(gclass890_1.Hero.Pet, this)); base.GgStats = (this.gclass885_0 = new GClass885(gclass890_1.Game.Web)); this.DeathLog = new Dictionary <string, GClass884.GStruct0>(); base.DeathStats = (this.gclass884_0 = new GClass884(this.DeathLog)); this.dictionary_0 = new Dictionary <string, int>(); base.NpcStats = (this.gclass883_0 = new GClass883("NPCs", this.dictionary_0)); this.dictionary_1 = new Dictionary <string, int>(); base.BoxStats = (this.gclass883_1 = new GClass883("Boxes", this.dictionary_1)); gclass890_1.Game.LogMessage += this.method_2; gclass890_1.Game.Map.ShipDestroyed += this.method_1; gclass890_1.Game.Map.CollectibleCollected += this.method_0; }
private static EntityDataRoot smethod_19(GClass890 gclass890_0) { string text = string.Format("{0} | CFG: {1} | FRM: {2}", gclass890_0.State.ToString(), gclass890_0.Hero.Config, gclass890_0.Hero.Formation.ToString()); HeroPet pet = gclass890_0.Hero.Pet; if (pet != null && pet.IsAvailable) { text += " | PET: "; if (gclass890_0.Hero.Pet.IsEnabled) { text += gclass890_0.Hero.Pet.Mode.ToString(); } else { text += "Off"; } } return(GClass891.smethod_16(0.02f, 0.95f, new EntityRenderFragment[] { GClass891.smethod_11(Color.Red, "16px Arial", "left", text, null) })); }
public Task <BotDetailedViewModel> method_3(int int_0, bool bool_0) { MapViewData spacemap = GClass891.smethod_24(this.Context, bool_0 | this.Context.Map.MapId != int_0); BotSummaryViewModel summary = new BotSummaryViewModel(this.Context.Hero, this.Context.Stats, this.Context.Stats.RunTime); BotDetailedViewModel botDetailedViewModel = new BotDetailedViewModel(); botDetailedViewModel.Spacemap = spacemap; GClass890 context = this.Context; string botId; if (context == null) { botId = null; } else { AccountSettings account = context.Account; botId = ((account != null) ? account.BotId : null); } botDetailedViewModel.BotId = botId; botDetailedViewModel.Summary = summary; return(Task.FromResult <BotDetailedViewModel>(botDetailedViewModel)); }
public GClass902(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1, TargetMap.GG_VoT); }
public GClass896(GClass890 gclass890_1, TargetMap targetMap_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1, targetMap_1, "S", int.MinValue); }
public GClass921(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); this.bool_1 = true; base..ctor(gclass890_1, "SkylabWorker"); }
public GClass915(GClass890 gclass890_1, GClass903 gclass903_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1); this.Module = gclass903_1; }
public GClass900(GClass890 gclass890_1, TargetMap targetMap_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1, targetMap_1, "G", int.MinValue); this.GalaxyGateType = MapUtils.smethod_10((int)targetMap_1); }
public GClass911(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1); }
public GClass918(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1, "GgInfoProvider"); }
public GClass920(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1, "HangarInfoProvider"); }
public GClass919(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1, "GgSpinner"); }
public void method_11(DrawingContext drawingContext_0, float float_0, float float_1, GClass890 gclass890_0) { foreach (KeyValuePair <string, Collectible> keyValuePair in gclass890_0.DormantTargets) { Collectible value = keyValuePair.Value; drawingContext_0.DrawRectangle(System.Windows.Media.Brushes.Pink, null, MapControl.smethod_0((double)(value.Position.X * float_0), (double)(value.Position.Y * float_1), 2.0, 2.0)); } if (gclass890_0.RoamTarget != Vector2.Zero) { Vector2 roamTarget = gclass890_0.RoamTarget; drawingContext_0.DrawEllipse(System.Windows.Media.Brushes.Magenta, null, new System.Windows.Point((double)(roamTarget.X * float_0), (double)(roamTarget.Y * float_1)), 6.0, 6.0); } GClass904 behavior = gclass890_0.Behavior; List <Rectangle> list = (behavior != null) ? behavior.vmethod_16() : null; if (list != null) { foreach (Rectangle rectangle in list) { Rect rectangle2 = new Rect((double)((float)rectangle.X * float_0), (double)((float)rectangle.Y * float_1), (double)((float)rectangle.Width * float_0), (double)((float)rectangle.Height * float_1)); drawingContext_0.DrawRectangle(null, new System.Windows.Media.Pen(System.Windows.Media.Brushes.Pink, 2.0), rectangle2); } } }
public GClass901(GClass890 gclass890_1, TargetMap targetMap_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1, targetMap_1); }
public GClass898(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1, TargetMap.FL_ATLAS_A); }
public GClass903(GClass890 gclass890_1) { Class13.lOBHd9Nzn7x2T(); base..ctor(gclass890_1, TargetMap.GG_QZ); this.Behavior = new GClass915(gclass890_1, this); }