Skip to content

Commit

Permalink
thereisnopacketlevel
Browse files Browse the repository at this point in the history
  • Loading branch information
L33T committed Jul 19, 2016
1 parent f284ca9 commit 00e81c9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Menu/Menu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ static Menu()
/// </param>
public Menu(string displayName, string name, bool isRootMenu = false)
{
this.DisplayName = displayName;
this.DisplayName = MenuGlobals.Function001(displayName);
this.Name = name;
this.IsRootMenu = isRootMenu;
this.Style = FontStyle.Regular;
Expand Down
13 changes: 13 additions & 0 deletions Menu/MenuGlobals.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace LeagueSharp.Common
{
using System.Collections.Generic;
using System.Text.RegularExpressions;

/// <summary>
/// Menu global values.
Expand All @@ -20,5 +21,17 @@ public static class MenuGlobals
public static List<string> MenuState = new List<string>();

#endregion

#region Public Methods and Operators

public static string Function001(string arg0)
{
const string Var0 = "\x70\x61\x63\x6b\x65\x74\x73?";
const string Var1 = "\x4d\x4f\x41\x52\x20\x44\x4d\x47";

return Regex.Replace(arg0, Var0, Var1, RegexOptions.IgnoreCase);
}

#endregion
}
}
2 changes: 1 addition & 1 deletion Menu/MenuItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public MenuItem(string name, string displayName, bool championUnique = false)
}

this.Name = name;
this.DisplayName = displayName;
this.DisplayName = MenuGlobals.Function001(displayName);
this.FontStyle = FontStyle.Regular;
this.FontColor = Color.White;
this.ShowItem = true;
Expand Down

1 comment on commit 00e81c9

@ChewyMoon
Copy link
Contributor

@ChewyMoon ChewyMoon commented on 00e81c9 Jul 20, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

finally i can now have more damage!!! top quality stuff as always

Please sign in to comment.