Example #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;
        }
        public ModifierMonitor(Common common)
        {
            PartialMapHackMenu = common.MenuConfig.PartialMapHackMenu;

            Verification = common.Verification;

            SpiritBreakerCharge = common.SpiritBreakerCharge;
            LifeStealerInfest   = common.LifeStealerInfest;
            PhantomAssassinBlur = common.PhantomAssassinBlur;
            BloodseekerRupture  = common.BloodseekerRupture;

            ModifierManager.ModifierAdded += OnModifierAdded;
        }
Example #3
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);
        }