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); }
public bool Close() { _lastparsedgump.Close(); return(_lastparsedgump.WaitForGumpClose(1000)); }