コード例 #1
0
        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;
        }