Server.Commands.Add.Invoke C# (CSharp) Méthode

Invoke() public static méthode

public static Invoke ( Server.Mobile from, Server.Point3D start, Server.Point3D end, string args ) : void
from Server.Mobile
start Server.Point3D
end Server.Point3D
args string
Résultat void
		public static void Invoke( Mobile from, Point3D start, Point3D end, string[] args )
		{
			Invoke( from, start, end, args, null, false, false );
		}

Same methods

Add::Invoke ( Server.Mobile from, Server.Point3D start, Server.Point3D end, string args, List packs ) : void
Add::Invoke ( Server.Mobile from, Server.Point3D start, Server.Point3D end, string args, List packs, bool outline, bool mapAvg ) : void

Usage Example

Exemple #1
0
            protected override void OnTarget(Mobile from, object o)
            {
                IPoint3D p = o as IPoint3D;

                if (p != null)
                {
                    if (p is Item)
                    {
                        p = ((Item)p).GetWorldTop();
                    }
                    else if (p is Mobile)
                    {
                        p = ((Mobile)p).Location;
                    }

                    Add.Invoke(from, new Point3D(p), new Point3D(p), m_Args);
                }
            }
All Usage Examples Of Server.Commands.Add::Invoke