Esempio n. 1
0
        private void Claim()
        {
            StoreFields();

            TownHouseConfirmGump.SendTo(Owner, c_Sign);

            OnClose();
        }
Esempio n. 2
0
 public override void OnDoubleClick(Mobile m)
 {
     if (m.AccessLevel != AccessLevel.Player)
     {
         TownHouseSetupGump.SendTo(m, this);
     }
     else if (!Visible)
     {
         return;
     }
     else if (CanBuyHouse(m) && !BaseHouse.HasAccountHouse(m))
     {
         TownHouseConfirmGump.SendTo(m, this);
     }
     else
     {
         m.SendMessage("You cannot purchase this house.");
     }
 }