Target() публичный Метод

public Target ( IPoint3D p ) : void
p IPoint3D
Результат void
Пример #1
0
 protected override void OnTarget(Mobile from, object o)
 {
     if (o is IPoint3D p)
     {
         m_Owner.Target(p);
     }
 }
Пример #2
0
            protected override void OnTarget(Mobile from, object o)
            {
                IPoint3D p = o as IPoint3D;

                if (p != null)
                {
                    m_Owner.Target(p);
                }
            }
Пример #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;
                }
                IPoint3D p = o as IPoint3D;

                if (p != null)
                {
                    m_Owner.Target(p);
                }
            }