Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
        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();
        }