public static void Drawing(EventArgs args) { if (!Updater.CanUpdate()) { return; } #region HpBar if (!MenuLoader.MenuVariables.LastHitEnable) { return; } if (MenuLoader.MenuVariables.HpBar) { Lasthit.Drawhpbar(); } #endregion HpBar }
public static void Drawing(EventArgs args) { if (!OnUpdate.CanUpdate()) { return; } if (MenuVar.Maphack || MenuVar.ShowLastPos) { foreach (var hero in EnemyHeroes.Heroes) { ShowMeMore.DrawLastPosition(hero); } } #region Hero radius MyHero.RadiusHeroParticleEffect("ExpRange", 1300, new Color(0, 100, 0), MenuVar.ShowExpRange.GetValue <bool>()); MyHero.RadiusHeroParticleEffect("AttackRange", Var.Me.IsRanged ? MyHeroInfo.AttackRange() + 70 : MyHeroInfo.AttackRange(), new Color(255, 0, 0), MenuVar.ShowAttackRange.GetValue <bool>()); #endregion Hero radius #region Runes if (MenuVar.ShowRunesMinimap) { RunesOnMinimap.Draw(); } #endregion Runes #region Lasthit if (MenuVar.LastHitEnable) { if (MenuVar.ShowHp) { Lasthit.Drawhpbar(); } } #endregion Lasthit #region JungleStack if (MenuVar.StackKey && MenuVar.DrawStackLine) { JungleDraw.DrawLine(); } else { JungleDraw.Clear(); } #endregion JungleStack #region ShowMeMore if (MenuVar.ShowIllusions && EnemyHeroes.Illusions.Count > 0) { ShowMeMore.ShowIllusion(); } else { ShowMeMore.ClearParticle(); } foreach (var hero in AllyHeroes.Heroes) { ShowMeMore.DrawShowMeMoreBara(hero); } #endregion ShowMeMore #region Top ovellay if (MenuVar.ShowTopOverlayEnemyHp) { Overlay.DrawTopOverlayHealth(EnemyHeroes.Heroes, MenuVar.HealthHeightEnemy, new Color(MenuVar.OverlayHealthEnemyRed, MenuVar.OverlayHealthEnemyGreen, MenuVar.OverlayHealthEnemyBlue, MenuVar.OverlayAlpha)); } if (MenuVar.ShowTopOverlayEnemyMp) { Overlay.DrawTopOverlayMana(EnemyHeroes.Heroes, MenuVar.ManaHeightEnemy, new Color(MenuVar.OverlayManaEnemyRed, MenuVar.OverlayManaEnemyGreen, MenuVar.OverlayManaEnemyBlue, MenuVar.OverlayAlpha)); } if (MenuVar.ShowTopOverlayEnemyUltLine) { Overlay.DrawTopOverlayUltimateCooldownLine(EnemyHeroes.Heroes, MenuVar.UltimateHeightEnemy, MenuVar.OverlayAlpha); } if (MenuVar.ShowTopOverlayEnemyUltText) { Overlay.DrawTopOverlayUltimateCooldownText(EnemyHeroes.Heroes, MenuVar.OverlayAlpha); } if (MenuVar.ShowTopOverlayEnemy) { Overlay.DrawTopOverlay(EnemyHeroes.Heroes); } if (MenuVar.ShowTopOverlayAllyHp) { Overlay.DrawTopOverlayHealth(AllyHeroes.Heroes, MenuVar.HealthHeightAlly, new Color(MenuVar.OverlayHealthAllyRed, MenuVar.OverlayHealthAllyGreen, MenuVar.OverlayHealthAllyBlue, MenuVar.OverlayAlpha)); } if (MenuVar.ShowTopOverlayAllyMp) { Overlay.DrawTopOverlayMana(AllyHeroes.Heroes, MenuVar.ManaHeightAlly, new Color(MenuVar.OverlayManaAllyRed, MenuVar.OverlayManaAllyGreen, MenuVar.OverlayManaAllyBlue, MenuVar.OverlayAlpha)); } if (MenuVar.ShowTopOverlayAllyUltLine) { Overlay.DrawTopOverlayUltimateCooldownLine(AllyHeroes.Heroes, MenuVar.UltimateHeightAlly, MenuVar.OverlayAlpha); } if (MenuVar.ShowTopOverlayAllyUltText) { Overlay.DrawTopOverlayUltimateCooldownText(AllyHeroes.Heroes, MenuVar.OverlayAlpha); } if (MenuVar.ShowTopOverlayAlly) { Overlay.DrawTopOverlay(AllyHeroes.Heroes); } Overlay.DrawTopHelpOverlay(EnemyHeroes.Heroes, new Color(MenuVar.OverlayHealthEnemyRed, MenuVar.OverlayHealthEnemyGreen, MenuVar.OverlayHealthEnemyBlue, MenuVar.OverlayAlpha)); Overlay.DrawTopHelpOverlay(AllyHeroes.Heroes, new Color(MenuVar.OverlayHealthAllyRed, MenuVar.OverlayHealthAllyGreen, MenuVar.OverlayHealthAllyBlue, MenuVar.OverlayAlpha)); #endregion Top ovellay #region JungleStack if (MenuVar.StackKey) { JungleDraw.DrawCamp(); } //foreach (var x in ShowMeMore.Courier) //{ // try // { // var pos = Ensage.Drawing.WorldToScreen(x.Value); // DrawText(x.Key.Name, (int) pos.X, (int) pos.Y, Color.Aqua, Var.VisibleFont); // } // catch (Exception) // { // // // } //} //if (Utils.SleepCheck("111")) //{ // ShowMeMore.Courier.Clear(); // Utils.Sleep(3000, "111"); //} #endregion JungleStack #region CouInfo if (MenuVar.CouForced) { Overlay.DrawCouForce(); } if (MenuVar.CouAbuse) { Overlay.DrawCouAbuse(); } if (MenuVar.CouLock) { Overlay.DrawCouLock(); } #endregion CouInfo #region DevInfo if (MenuVar.ShowInfo) { Dev.DevInfo(); } else { Dev.DevInfoDispose(); } #endregion DevInfo }