public override void OnResponse(Server.Network.NetState sender, RelayInfo info) { if (info.ButtonID == 1) { MobileStatuette ms = m_Check.AuctionedItem as MobileStatuette; if (ms != null) { ms.Stable(sender.Mobile); m_Check.DeliveryComplete(); m_Check.Delete(); } } }
public override void OnResponse(Server.Network.NetState sender, RelayInfo info) { int buttonid = info.ButtonID; if (buttonid < 0 || buttonid > 1) { sender.Mobile.SendMessage("Invalid option. Please try again."); return; } if (info.ButtonID == 1) { MobileStatuette ms = m_Check.AuctionedItem as MobileStatuette; if (ms != null) { ms.Stable(sender.Mobile); m_Check.DeliveryComplete(); m_Check.Delete(); } } }