示例#1
0
 public override void GetContextMenuEntries(Mobile from, List <ContextMenuEntry> list)
 {
     if (m_Owner == null)
     {
         return;
     }
     else
     {
         if (m_Owner != from)
         {
             from.SendMessage("This is not yours to use.");
             return;
         }
         else
         {
             base.GetContextMenuEntries(from, list);
             StaffOrb.GetContextMenuEntries(from, this, list);
         }
     }
 }
示例#2
0
 public GoHomeEntry(Mobile from, Item item) : base(5134)                 // uses "Goto Loc" entry
 {
     m_Item   = (StaffOrb)item;
     m_Mobile = from;
 }
示例#3
0
 public SetHomeEntry(Mobile from, Item item) : base(2055)                 // uses "Mark" entry
 {
     m_Item   = (StaffOrb)item;
     m_Mobile = from;
 }
示例#4
0
			public GoHomeEntry( Mobile from, Item item ) : base( 5134 ) // uses "Goto Loc" entry
			{
				m_Item = (StaffOrb)item;
				m_Mobile = from;
			}
示例#5
0
			public SetHomeEntry( Mobile from, Item item ) : base( 2055 ) // uses "Mark" entry
			{
				m_Item = (StaffOrb)item;
				m_Mobile = from;
			}
示例#6
0
 public GoHomeEntry(Mobile from, Item item)
     : base(10006, 1)// uses "Goto Loc" entry (Go! more friendly -Fraz)
 {
     this.m_Item   = (StaffOrb)item;
     this.m_Mobile = from;
 }