public void Execute(object parameter) { GClass831 gclass = parameter as GClass831; gclass.Reset(); gclass.Started = new DateTime?(DateTime.Now); }
public GClass836(HeroPet heroPet_1, GClass831 gclass831_1) { Class13.NP5bWyNzLwONS(); base..ctor("Pet", new string[] { "Name", "Value" }, null); this.Pet = heroPet_1; this.Stats = gclass831_1; base.Subscribe <HeroPet>(this.Pet); base.Subscribe <GClass831>(this.Stats); }
public GClass835(Hero hero_1, GClass831 gclass831_1) { Class13.NP5bWyNzLwONS(); base..ctor("Hero", new string[] { "Name", "Value" }, null); this.Hero = hero_1; this.Stats = gclass831_1; base.Subscribe <Hero>(this.Hero); base.Subscribe <GClass831>(this.Stats); }
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.UchShImKrY)); IL_67: this._lastSelected = CS$ < > 8__locals1.selected; MapControl lastMapControl = this._lastMapControl; if (lastMapControl != null) { lastMapControl.InvalidateVisual(); } GClass871 lastSelected = this._lastSelected; if (lastSelected != null) { GClass839 context = lastSelected.Context; if (context != null) { GClass831 stats = context.Stats; if (stats != null) { stats.method_3(); } } } GameManager game = CS$ < > 8__locals1.selected.Context.Game; } } catch { } this.LastRender = DateTimeOffset.Now; }