コード例 #1
0
ファイル: Config.cs プロジェクト: xiaohei111/EnsageSharp
 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();
 }
コード例 #2
0
ファイル: Config.cs プロジェクト: xiaohei111/EnsageSharp
        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);
        }