private void Ignore(object obj) { if (!(obj is int)) { return; } if ((int)obj >= c_List.Count || (int)obj < 0) { return; } c_Info.AddIgnore((Mobile)c_List[(int)obj]); NewGump(); }
private void Ignore(object obj) { if (!(obj is bool)) { return; } if ((bool)obj) { c_Info.RemoveIgnore(c_Target); } else { c_Info.AddIgnore(c_Target); } Owner.CloseGump(typeof(ListGump), -5); NewGump(); }