protected override void OnCloned(ToolbarEntry clone) { base.OnCloned(clone); var spell = clone as ToolbarSpell; if (spell == null) { return; } spell.SpellID = SpellID; }
protected override void OnCloned(ToolbarEntry clone) { base.OnCloned(clone); var phrase = clone as ToolbarPhrase; if (phrase == null) { return; } phrase.SpamDelay = SpamDelay; phrase.TextType = TextType; }
protected override void OnCloned(ToolbarEntry clone) { base.OnCloned(clone); var cmd = clone as ToolbarCommand; if (cmd == null) { return; } cmd.Args = (Args != null && Args.Count > 0) ? Args.ToList() : new List <string>(); cmd.MinAccess = MinAccess; }
public static void RegisterEntry(int x, int y, ToolbarEntry entry) { DefaultEntries.SetContent(x, y, entry); }