private static bool Open_OnAction(string args) { if (args != null && args.Length > 0) { switch (args.ToLower()) { case "help": Engine.OpenHelp(); break; case "options": Engine.OpenOptions(); break; case "journal": Engine.OpenJournal(); break; case "skills": Engine.OpenSkills(); break; case "status": Engine.OpenStatus(); break; case "spellbook": Engine.OpenSpellbook(1); break; case "necrospellbook": Engine.OpenSpellbook(2); break; case "paladinspellbook": Engine.OpenSpellbook(3); break; case "paperdoll": Engine.OpenPaperdoll(); break; case "backpack": Engine.OpenBackpack(); break; case "radar": GRadar.Open(); break; case "abilities": GCombatGump.Open(); break; case "macros": GMacroEditorForm.Open(); break; } } return(true); }
public static void ClearActive() { AbilityInfo.m_Active = (AbilityInfo)null; GCombatGump.Update(); }