Server.Effects.SendTargetEffect C# (CSharp) Méthode

SendTargetEffect() public static méthode

public static SendTargetEffect ( IEntity target, int itemID, int speed, int duration, int hue, int renderMode ) : void
target IEntity
itemID int
speed int
duration int
hue int
renderMode int
Résultat void
		public static void SendTargetEffect( IEntity target, int itemID, int speed, int duration, int hue, int renderMode )
		{
			if ( target is Mobile )
				((Mobile)target).ProcessDelta();

			SendPacket( target.Location, target.Map, new TargetEffect( target, itemID, speed, duration, hue, renderMode ) );
		}

Same methods

Effects::SendTargetEffect ( IEntity target, int itemID, int duration ) : void
Effects::SendTargetEffect ( IEntity target, int itemID, int speed, int duration ) : void
Effects::SendTargetEffect ( IEntity target, int itemID, int duration, int hue, int renderMode ) : void

Usage Example

 public static void SendTargetEffect(IEntity target, int itemID, int duration, int hue, int renderMode)
 {
     Effects.SendTargetEffect(target, itemID, 10, duration, hue, renderMode);
 }
All Usage Examples Of Server.Effects::SendTargetEffect