public static SendPacket ( IPoint3D origin, Server.Map map, Packet p ) : void | ||
origin | IPoint3D | |
map | Server.Map | |
p | Packet | |
return | void |
public static void SendTargetEffect(IEntity target, int itemID, int speed, int duration, int hue, int renderMode) { if ((target is Mobile)) { ((Mobile)target).ProcessDelta(); } Effects.SendPacket(target.Location, target.Map, new TargetEffect(target, itemID, speed, duration, hue, renderMode)); }
public static void SendMovingEffect(IEntity from, IEntity to, int itemID, int speed, int duration, bool fixedDirection, bool explodes, int hue, int renderMode) { if ((from is Mobile)) { ((Mobile)from).ProcessDelta(); } if ((to is Mobile)) { ((Mobile)to).ProcessDelta(); } Effects.SendPacket(from.Location, from.Map, new MovingEffect(from, to, itemID, speed, duration, fixedDirection, explodes, hue, renderMode)); }
public static void SendLocationEffect(IPoint3D p, Map map, int itemID, int duration, int speed, int hue, int renderMode) { Effects.SendPacket(p, map, new LocationEffect(p, itemID, speed, duration, hue, renderMode)); }