Target() 공개 메소드

public Target ( Server.Items.LockableContainer targ ) : void
targ Server.Items.LockableContainer
리턴 void
예제 #1
0
 protected override void OnTarget(Mobile from, object o)
 {
     if (o is LockableContainer)
     {
         m_Owner.Target((LockableContainer)o);
     }
     else
     {
         from.SendLocalizedMessage(501762);                       // Target must be an unlocked chest.
     }
 }
예제 #2
0
 protected override void OnTarget(Mobile from, object o)
 {
     if (o is LockableContainer)
     {
         m_Owner.Target((LockableContainer)o);
     }
     else
     {
         from.SendAsciiMessage("Target must be an unlocked chest.");
     }
 }
예제 #3
0
            protected override void OnTarget(Mobile from, object o)
            {
                IEntity entity = o as IEntity; if (XmlScript.HasTrigger(entity, TriggerName.onTargeted) && UberScriptTriggers.Trigger(entity, from, TriggerName.onTargeted, null, null, m_Owner))

                {
                    return;
                }
                if (o is LockableContainer)
                {
                    m_Owner.Target((LockableContainer)o);
                }
                else
                {
                    from.SendLocalizedMessage(501762);                       // Target must be an unlocked chest.
                }
            }
예제 #4
0
 protected override void OnTarget(Mobile from, object o)
 {
     m_Owner.Target(o);
 }