public QuickMainMenu( string translationKey, Func <Language, Dictionary <string, string> > translationGenerator, ReservedCollection replacements = null, string customHeader = null) : base(translationKey.Replace('_', '.'), translationKey, translationGenerator, replacements, customHeader) { }
public MainMenu(string name, string translationKey, Func <Language, Dictionary <string, string> > translationGenerator, ReservedCollection replacements = null, string customHeader = null) : this(name, translationKey) { this.generator = translationGenerator; this.Replacements = replacements; this.Instance = EloBuddy.SDK.Menu.MainMenu.AddMenu(customHeader ?? this.GetText(), name); if (customHeader != null) { this.UpdateText(); } }