public SecureTradeInfo(SecureTrade owner, Mobile m, SecureTradeContainer c) { Owner = owner; Mobile = m; Container = c; Mobile.AddItem(Container); VirtualCheck = new VirtualCheck(0, 0); Container.DropItem(VirtualCheck); }
public void Close() { User.CloseGump(GetType()); if (Check != null && !Check.Deleted) { Check.UpdateTrade(User); } else { Check = null; } }
public void Dispose() { VirtualCheck.Delete(); VirtualCheck = null; Container.Delete(); Container = null; Mobile = null; Owner = null; IsDisposed = true; }
public EditGump(Mobile user, VirtualCheck check) : base(50, 50) { User = user; Check = check; _Plat = Check.Plat; _Gold = Check.Gold; Closable = true; Disposable = true; Dragable = true; Resizable = false; User.CloseGump(GetType()); CompileLayout(); }