예제 #1
0
 protected override void OnTarget(Mobile from, object target)
 {
     if (target is HouseSign && (target as HouseSign).Structure != null)
     {
         try
         {
             BaseHouse bh = (target as HouseSign).Structure as BaseHouse;
             bh.AdminTransfer(from);
         }
         catch (Exception tse)
         {
             LogHelper.LogException(tse);
         }
     }
     else
     {
         from.SendMessage("That is not a house sign.");
     }
 }