public override void OnResponse(NetState sender, RelayInfo info)
        {
            base.OnResponse(sender, info);
            Mobile from = sender.Mobile;

            switch (info.ButtonID)
            {
            case 1:
            {
                m_Vendor.VendorBuy(from);
                break;
            }

            case 2:
            {
                m_Vendor.VendorSell(from);
                break;
            }
            }
        }
Beispiel #2
0
 public override void OnClick()
 {
     m_Vendor.VendorSell(this.Owner.From);
 }