Ejemplo n.º 1
0
 /// <summary>
 /// Emits smoke to the player.
 /// </summary>
 public void SendSmoke(SmokeDirection direction, int x, int y, int z)
 {
     SendPacket(new Packet61SoundEffect((int)SoundType.SMOKE, x, y, z, (int)direction));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Emits smoke to the player at their current position.
 /// </summary>
 public void SendSmoke(SmokeDirection direction)
 {
     SendSmoke(direction, (int)Math.Floor(Entity.posX), (int)Math.Floor(Entity.posY), (int)Math.Floor(Entity.posZ));
 }