private void Name_OnClick(Gump sender) { AbilityInfo abilityInfo = (AbilityInfo)sender.GetTag("Ability"); if (AbilityInfo.Active == abilityInfo) { AbilityInfo.Active = (AbilityInfo)null; } else { AbilityInfo.Active = abilityInfo; } }
private void SetIndex_OnClick(Gump g) { this.Index = (int)g.GetTag("Index"); Gumps.Destroy((Gump)this.m_Dropdown); }