Beispiel #1
0
        public bool Close()
        {
            Gump g = Gump.GetGump(GumpType);

            if (g != null)
            {
                if (!g.Serial.Equals(0))
                {
                    g.Close();
                }
            }
            Stealth.Client.Wait(1000);
            if (!Gump.WaitForGumpClose(GumpType, GumpDelay))
            {
                return(false);
            }
            return(true);
        }
Beispiel #2
0
 public bool Close()
 {
     _lastparsedgump.Close();
     return(_lastparsedgump.WaitForGumpClose(1000));
 }