public void Execute(object parameter) { GClass882 gclass = parameter as GClass882; gclass.Reset(); gclass.Started = new DateTime?(DateTime.Now); }
public GClass886(Hero hero_1, GClass882 gclass882_1) { Class13.lOBHd9Nzn7x2T(); base..ctor("Hero", new string[] { "Name", "Value" }, null); this.Hero = hero_1; this.Stats = gclass882_1; base.Subscribe <Hero>(this.Hero); base.Subscribe <GClass882>(this.Stats); }
public GClass887(HeroPet heroPet_1, GClass882 gclass882_1) { Class13.lOBHd9Nzn7x2T(); base..ctor("Pet", new string[] { "Name", "Value" }, null); this.Pet = heroPet_1; this.Stats = gclass882_1; base.Subscribe <HeroPet>(this.Pet); base.Subscribe <GClass882>(this.Stats); }
public GClass5() { GClass5.smethod_0(); this.logger_0 = LogManager.GetLogger("DOPE"); this.logger_0.Info("Loading DOPE {arch} {version} on {architecture} ({os})", new object[] { GClass876.smethod_1() ? "x86" : "x64", Constants.VersionString, Environment.Is64BitOperatingSystem ? "x64" : "x86", Environment.OSVersion.VersionString }); AppDomain.CurrentDomain.FirstChanceException += this.method_0; AppDomain.CurrentDomain.UnhandledException += this.method_2; base.ShutdownMode = ShutdownMode.OnMainWindowClose; GClass82.smethod_2(); bool flag; using (WindowsIdentity current = WindowsIdentity.GetCurrent()) { flag = new WindowsPrincipal(current).IsInRole(WindowsBuiltInRole.Administrator); } PErkava.IsSupported = flag; try { PErkava.smethod_3(); } catch { PErkava.IsSupported = false; } if (flag && PErkava.IsSupported) { try { GClass882 gclass = new GClass882(); gclass.Start(); PErkava.Host = gclass; } catch { } } this.logger_0.Info("PErkava support status: {status}", PErkava.IsSupported); if (PErkava.IsSupported) { this.logger_0.Info("Use legacy proxy: {proxy}", PErkava.smethod_2()); } AppDomain.CurrentDomain.ProcessExit += this.method_1; }
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; }