Пример #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (Disposed)
            {
                return;
            }

            if (disposing)
            {
                ModifierMonitor.Dispose();
                UnitMonitor.Dispose();
                ParticleMonitor.Dispose();

                SpiritBreakerCharge.Dispose();

                Range.Dispose();
                TrueSightVision.Dispose();
                //VisibleByEnemy.Dispose();
                TowerHelper.Dispose();
                Additional.Dispose();
                LinkenShow.Dispose();
                //IllusionShow.Dispose();

                Verification.Dispose();

                NetworthPanel.Dispose();
                EnemyOverlay.Dispose();
                AllyOverlay.Dispose();

                MenuConfig.Dispose();
            }

            Disposed = true;
        }
Пример #2
0
 public void Dispose()
 {
     TopPanel.OnDeactivate();
     HeroOverlay.OnDeactivate();
     ItemPanel.OnDeactivate();
     NetworthPanel.OnDeactivate();
     ShrineHelper.OnDeactivate();
     TpCatcher.OnDeactivate();
     LastPositionTracker.OnDeactivate();
     OpenDotaHelper.OnDeactivate();
     ShowMeMore.Dispose();
     RoshanTimer.Dispose();
     ShowIllusions.Dispose();
     Factory?.Dispose();
 }
Пример #3
0
        public Config(OverlayInformation overlayInformation)
        {
            Factory = MenuFactory.Create("Overlay Information");
            Factory.Target.SetFontColor(Color.YellowGreen);

            Main                = overlayInformation;
            TopPanel            = new TopPanel(this);
            HeroOverlay         = new HeroOverlay(this);
            CourEsp             = new CourEsp(this);
            ItemPanel           = new ItemPanel(this);
            NetworthPanel       = new NetworthPanel(this);
            ShrineHelper        = new ShrineHelper(this);
            TpCatcher           = new TpCatcher(this);
            LastPositionTracker = new LastPositionTracker(this);
            OpenDotaHelper      = new OpenDotaHelper(this);
            ShowMeMore          = new ShowMeMore(this);
            RoshanTimer         = new RoshanTimer(this);
            ShowIllusions       = new ShowIllusions(this);
        }
Пример #4
0
        public Common()
        {
            MenuConfig = new MenuConfig();

            MessageCreator = new MessageCreator(this);
            SoundHelper    = new SoundHelper(this);

            AllyOverlay   = new AllyOverlay(this);
            EnemyOverlay  = new EnemyOverlay(this);
            NetworthPanel = new NetworthPanel(this);

            Verification = new Verification(this);

            SpiritBreakerCharge       = new SpiritBreakerCharge(this);
            MiranaArrow               = new MiranaArrow(this);
            InvokerEMP                = new InvokerEMP(this);
            InvokerSunStrike          = new InvokerSunStrike(this);
            KunkkaTorrent             = new KunkkaTorrent(this);
            LeshracSplitEarth         = new LeshracSplitEarth(this);
            LifeStealerInfest         = new LifeStealerInfest(this);
            LinaLightStrikeArray      = new LinaLightStrikeArray(this);
            PhantomAssassinBlur       = new PhantomAssassinBlur(this);
            PudgeHook                 = new PudgeHook(this);
            AncientApparitionIceBlast = new AncientApparitionIceBlast(this);
            BloodseekerRupture        = new BloodseekerRupture(this);
            WindrunnerPowershot       = new WindrunnerPowershot(this);

            //IllusionShow = new IllusionShow(this);
            LinkenShow  = new LinkenShow(this);
            Additional  = new Additional(this);
            TowerHelper = new TowerHelper(this);
            //VisibleByEnemy = new VisibleByEnemy(this);
            TrueSightVision = new TrueSightVision(this);
            Range           = new Range(this);

            ParticleMonitor = new ParticleMonitor(this);
            UnitMonitor     = new UnitMonitor(this);
            ModifierMonitor = new ModifierMonitor(this);
        }