Examples of ExGetOffAirShip


Examples of l2p.gameserver.serverpackets.ExGetOffAirShip

            for(L2Player player : L2ObjectsStorage.getAllPlayersForIterate())
            {
              if(player != null && player.getVehicle() == airship)
              {
                activeChar.setVehicle(null);
                activeChar.broadcastPacket(new ExGetOffAirShip(activeChar, airship, activeChar.getLoc()));
                activeChar.teleToLocation(activeChar.getLoc());
              }
            }
            airship.deleteMe();
            break;
View Full Code Here

Examples of l2p.gameserver.serverpackets.ExGetOffAirShip

    double radian = Math.toRadians(angle - 90);
    int x = _x - (int) (100 * Math.sin(radian));
    int y = _y + (int) (100 * Math.cos(radian));
    int z = GeoEngine.getHeight(x, y, _z, activeChar.getReflection().getGeoIndex());
    activeChar.setXYZ(x, y, z);
    activeChar.broadcastPacket(new ExGetOffAirShip(activeChar, boat, new Location(x, y, z)));
  }
View Full Code Here

Examples of l2p.gameserver.serverpackets.ExGetOffAirShip

  }

  @Override
  public void broadcastGetOffVehicle(L2Player player, Location loc)
  {
    broadcastPacket(new ExGetOffAirShip(player, this, loc));
  }
View Full Code Here

Examples of l2p.gameserver.serverpackets.ExGetOffAirShip

    {
      airship.setDriver(null);
    }
    player._stablePoint = null; // TODO очень внимательно проверить, во всех ли случаях оно очищается
    player.setVehicle(null);
    player.broadcastPacket(new ExGetOffAirShip(player, airship, loc));
    player.teleToLocation(loc);
  }
View Full Code Here

Examples of lineage2.gameserver.network.serverpackets.ExGetOffAirShip

   * @return L2GameServerPacket
   */
  @Override
  public L2GameServerPacket getOffPacket(Playable playable, Location location)
  {
    return new ExGetOffAirShip(playable.getPlayer(), this, location);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.